210 Commits

Author SHA1 Message Date
shamoon
1cc10fb316 Fix typo in #4179 2023-09-13 23:46:26 -07:00
shamoon
3fe4f3e280 Fix: support doc_pk storage path placeholder (#4179) 2023-09-13 07:43:43 -07:00
shamoon
78cb3ccc66 Pass saved_view owner as id only (#4158) 2023-09-10 16:37:35 -07:00
Trenton Holmes
34b80a4d8e Removes support for Python 3.8 and lower from the code base 2023-09-10 11:42:59 -07:00
Trenton H
ac8f5eaa7d Unlocks all things which were locked due to ARMv7, etc 2023-09-08 11:21:43 -07:00
shamoon
b7d99ab8f3 Fix owner removed when set_permissions passed 2023-06-27 01:41:20 -07:00
jayme-github
47c8cf2afa Make DocumentSerializer return the original_filename
Make get_original_file_name return the original filename instead of the
public filename.
2023-05-27 21:35:58 +02:00
shamoon
cf7c979bb1 Merge pull request #3329 from paperless-ngx/feature-full-dynamic-counts
Enhancement: dynamic counts include all pages, hide for "Any"
2023-05-10 11:15:47 -07:00
shamoon
4443ba9d5e Default frontend to current owner, allow setting no owner on create 2023-05-09 19:53:34 -07:00
shamoon
bd1f9acc62 Dynamic counts include all pages, hide for "Any" 2023-05-05 01:01:57 -07:00
shamoon
3c9a209031 Dont perform permissions queries by default 2023-04-27 07:06:49 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
Trenton H
30655f1b73 Fixes ruff not running isort against the codebase 2023-04-26 09:35:27 -07:00
Trenton H
d2c02b9102 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
shamoon
8743012e03 Merge pull request #2818 from paperless-ngx/fix-2809
Fix: permissions display should not show users with inherited permissions & unable to change owner
2023-03-30 19:49:12 -07:00
shamoon
63be51b361 Owner/name unique constraint violation should exclude self 2023-03-23 07:35:18 -07:00
shamoon
875b7662f4 Fix inherited permissions should not display per user in permissions form 2023-03-19 23:41:36 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
78cb8cff69 Just include comments on document object 2023-03-17 18:47:03 -07:00
shamoon
992ac545b3 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
Trenton Holmes
b78d87f44a Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
shamoon
d8625c057b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
ad0cb8c8a3 Change model uniqueness from name to name+owner 2023-03-08 19:07:32 -08:00
Jonas Winkler
7b4894ca05 don't submit owner via API 2023-02-28 18:32:09 +01:00
Trenton Holmes
96e5e9b67c Allow setting the ASN on document upload 2023-02-20 07:56:37 -08:00
Trenton H
facec31bad Moves the renaming ttask into the serialiser update instead of post_save. Feels more correct 2023-02-18 12:19:33 -08:00
shamoon
1332d9a389 Merge branch 'dev' into feature-permissions 2023-02-14 11:32:37 -08:00
shamoon
7c7e18f37e Add missing storage path placeholders 2023-02-12 02:01:44 -08:00
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
b28040952c Support owner and object permissions for advanced queries 2022-12-12 22:40:31 -08:00
Michael Shamoon
bda44bf83d fix empty set permissions 2022-12-12 13:37:59 -08:00
Michael Shamoon
b811585992 Document uploads should be owned by user 2022-12-12 13:24:59 -08:00
Michael Shamoon
405a7b4684 Merge branch 'dev' into feature-permissions 2022-12-09 17:54:14 -08:00
Michael Shamoon
b55f43df84 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
360a2258e1 Add ability to set owner per object 2022-12-09 15:54:30 -08:00
Michael Shamoon
df2540320c fix missing perms on Tags 2022-12-09 09:29:31 -08:00
shamoon
cf8b949325 Merge pull request #2028 from paperless-ngx/feature-truncate-content
Feature: speed up frontend by truncating content
2022-12-09 09:20:06 -08:00
Michael Shamoon
3e8bbd1dc8 fix object creation, user serialization, user creation 2022-12-09 04:59:15 -08:00
Michael Shamoon
5005f251fb Merge branch 'dev' into feature-permissions 2022-12-09 03:31:26 -08:00
Trenton Holmes
9a89fe455c Adds an optional API field to follow the filenaming format when creating a bulk download zip 2022-12-08 18:32:14 -08:00
Michael Shamoon
42a5ac3936 Bulk edit permissions 2022-12-08 02:03:50 -08:00
Michael Shamoon
692f43f43e Refactor permissions API endpoints, UI group permissions 2022-12-08 00:05:16 -08:00
Michael Shamoon
43d4f2d3d0 Unify API perm endpoint to set_permissions, initial frontend support for doc sharing 2022-12-07 00:49:26 -08:00
Michael Shamoon
5534afd65f fix python tests for user object perms 2022-12-06 22:05:24 -08:00
Michael Shamoon
c0bf77f2f8 API object permissions retrieval, grant and revoke 2022-12-06 22:05:24 -08:00
Michael Shamoon
c72f295ed6 Object creation with owner 2022-12-05 23:41:17 -08:00
Michael Shamoon
6d0d738b24 option to truncate content on /documents endpoint 2022-11-27 21:19:23 -08:00
Trenton H
20b7287dc2 Connects up the celery signals to support pending, started and success/failure, without relying on django-celery-results 2022-10-24 09:10:10 -07:00
Trenton H
4994df2e3c Fixes usage of a depracated logger method 2022-10-10 14:20:19 -07:00
shamoon
3b1f5668f5 Merge pull request #1648 from paperless-ngx/feature-use-celery
Feature: Transition to celery for background tasks
2022-10-10 00:07:55 -07:00