254 Commits

Author SHA1 Message Date
shamoon
902ae3597e Respect superuser for advanced queries, test coverage for object perms 2023-04-27 15:51:34 -07:00
shamoon
3c9a209031 Dont perform permissions queries by default 2023-04-27 07:06:49 -07:00
shamoon
d553b386dd Remove debug line 2023-04-27 01:24:22 -07:00
shamoon
cc4a95a38e Respect permissions for statistics 2023-04-26 09:51:26 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
shamoon
3a189b2f15 Merge pull request #3174 from paperless-ngx/fix/issue-3172
Fix: respect permissions on document view actions
2023-04-26 09:10:58 -07:00
shamoon
ceb985057c Respect permissions on document view actions 2023-04-25 22:49:37 -07:00
Trenton H
4105dfce8d Fixes StoragePath missing the owned or granted filter 2023-04-25 18:48:22 -07:00
shamoon
7cde81d0ec Include permissions for suggestions 2023-04-16 00:09:41 -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
Trenton H
36a6df0bae Creates a data model for the document consumption, allowing stronger typing of arguments and setting of some information about the file only once 2023-04-01 11:05:34 -07:00
shamoon
875b7662f4 Fix inherited permissions should not display per user in permissions form 2023-03-19 23:41:36 -07:00
shamoon
c37abbb864 Merge pull request #2910 from paperless-ngx/feature-improved-statistics-widget
Feature: Improved statistics widget
2023-03-19 23:34:19 -07:00
shamoon
cc861aa3bd simplify character count query
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-03-18 14:31:27 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
74c733b887 Improved statistics widget 2023-03-18 01:51:18 -07:00
shamoon
78cb8cff69 Just include comments on document object 2023-03-17 18:47:03 -07:00
Trenton Holmes
2b70139db9 Replace commas with underscores to handle Chrome issues with commas 2023-03-15 10:29:04 -07:00
shamoon
475f50c64d Give superuser full doc permissions 2023-03-08 19:07:06 -08:00
shamoon
53a664fb8f TagViewSet should use PassUserMixin 2023-03-08 19:03:59 -08:00
Jonas Winkler
7b4894ca05 don't submit owner via API 2023-02-28 18:32:09 +01:00
shamoon
1ea9c37dd1 Only return logs that exist 2023-02-23 14:43:43 -08:00
Trenton Holmes
96e5e9b67c Allow setting the ASN on document upload 2023-02-20 07:56:37 -08:00
Trenton H
401b0981ee A few minor tweaks to the backend 2023-01-30 14:37:09 -08:00
Michael Shamoon
fc68c9575d Merge branch 'dev' into feature-permissions 2023-01-27 12:35:48 -08:00
Michael Shamoon
3c81d59b2d Fix whoosh auto-highlighting for comments 2023-01-27 10:20:24 -08:00
Michael Shamoon
6b30b67fe7 Trigger reindex on comment add / delete 2023-01-25 12:04:13 -08:00
Michael Shamoon
b2e07c5d67 Merge branch 'dev' into feature-permissions 2023-01-25 09:58:36 -08:00
Michael Shamoon
ded10bed5a Fix broken date range search 2023-01-25 08:37:26 -08:00
Michael Shamoon
9812e38bc5 Merge branch 'dev' into feature-permissions 2023-01-24 14:10:45 -08:00
Michael Shamoon
00ba310afd Allow sorting tags by color 2023-01-17 07:53:58 -08:00
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
Trenton H
79f01c9a37 Fixes merge conflict 2023-01-11 07:52:58 -08:00
Trenton Holmes
f0773b9807 Fixes minor depracation I noticed 2023-01-11 07:52:58 -08:00
Trenton Holmes
3d42db7505 Simplifies file upload naming to use the document name, instead in needing to keep it around 2023-01-11 07:52:58 -08:00
shamoon
e1d52f4884 Merge pull request #2302 from paperless-ngx/feature-fix-display-rtl-content 2023-01-10 07:30:52 -08:00
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Michael Shamoon
ebcf75b1b4 comment search highlighting 2023-01-04 19:06:51 -08:00
Michael Shamoon
bc318416cf Use correct direction for RTL content 2023-01-03 12:42:57 -08:00
Michael Shamoon
a7563f935e Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Trenton Holmes
de6cde2eaf Updates the post view to return the async task id. Adds query parameter to the tasks endpoint to get single task status 2022-12-30 13:43:49 -08:00
Michael Shamoon
b28040952c Support owner and object permissions for advanced queries 2022-12-12 22:40:31 -08:00
Michael Shamoon
b811585992 Document uploads should be owned by user 2022-12-12 13:24:59 -08:00
Michael Shamoon
034a7eb391 Forgot to include ObjectOwnedOrGrandtedPermissionsFilter on documents 2022-12-10 15:40:34 -08:00
Michael Shamoon
405a7b4684 Merge branch 'dev' into feature-permissions 2022-12-09 17:54:14 -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
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
601c11c6e7 Return all perms for superusers 2022-12-08 11:10:13 -08:00
Michael Shamoon
79cf1de615 Remove display_name property 2022-12-07 14:59:27 -08:00