148 Commits

Author SHA1 Message Date
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
Michael Shamoon
f0cd10e960 Better migration of update checking settings, offer reload, strip backend_setting from db 2022-09-30 14:03:59 -07:00
Trenton H
4621c1a83a Fix logger location tag
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2022-09-28 11:02:34 -07:00
Trenton H
62872bce9d Updates how task_args and task_kwargs are parsed, adds testing to cover everything I can think of 2022-09-28 10:40:55 -07:00
Michael Shamoon
aa7b2690cb Add related_document and direct link from task UI 2022-09-27 20:50:26 -07:00
Michael Shamoon
e60a1e55f4 Add document name & error result parsing to PaperlessTask serializer 2022-09-27 19:40:24 -07:00
Trenton H
e8d237ac7c Finalizes what the PaperlessTask will look like to the frontend 2022-09-27 12:44:01 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
Michael Shamoon
5d7ae1b3f1 created_date is not supposed to be required 2022-08-14 00:58:31 -07:00
shamoon
cc2186783c Merge pull request #1020 from paperless-ngx/feature-frontend-task-queue
Feature: frontend task queue
2022-07-08 14:06:24 -07:00
Michael Shamoon
748f0bf610 fix conflicting migrations 2022-07-08 14:02:43 -07:00
shamoon
6bd4369ccc Merge pull request #957 from paperless-ngx/feature-created-date
Feature: make frontend timezone un-aware
2022-07-02 16:58:30 -07:00
shamoon
811d4973cf Merge branch 'dev' into feature-frontend-task-queue 2022-07-02 16:54:16 -07:00