152 Commits

Author SHA1 Message Date
shamoon
350c20d6ab
Merge pull request #3359 from paperless-ngx/feature-fix-autocomplete-respect-perms
Fix: respect permissions for autocomplete suggestions
2023-05-12 13:35:45 -07:00
shamoon
66a0783e7b Respect permissions for autocomplete suggestions 2023-05-11 14:43:25 -07:00
shamoon
09086e574d
Merge pull request #3309 from paperless-ngx/feature-owner-filtering
Feature: owner filtering
2023-05-11 10:05:51 -07:00
shamoon
b802f3a71f
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
f78f212a77
Merge pull request #3347 from paperless-ngx/fix/issue-3346
Fix: default frontend to current owner, allow setting no owner on create
2023-05-10 08:18:08 -07:00
shamoon
515146d4a2 Default frontend to current owner, allow setting no owner on create 2023-05-09 19:53:34 -07:00
shamoon
3c4dadd905 Re-work filter editor, bulk editor & reset buttons 2023-05-09 19:48:04 -07:00
shamoon
487d3a6262 Support owner API query vars 2023-05-08 15:34:14 -07:00
shamoon
5b6956ff24
Merge pull request #3345 from paperless-ngx/fix/issue-3341 2023-05-08 07:04:49 -07:00
shamoon
b783d2e210 Fix PassUserMixin not properly being used in DocumentViewSet 2023-05-07 17:40:09 -07:00
shamoon
9a40a5f019 Add proper testing for *__id__in testing 2023-05-07 00:04:23 -07:00
shamoon
f124e2a889 Add "all" property to results 2023-05-06 11:31:47 -07:00
shamoon
df203311fe Fix note sorting, testing, bump search index version 2023-05-04 02:07:48 -07:00
shamoon
e275a2736a Respect superuser for advanced queries, test coverage for object perms 2023-04-27 15:51:34 -07:00
shamoon
1a1cf49c67 Testing for whoosh support for multi-object query vars 2023-04-27 08:47:36 -07:00
shamoon
88a5a2049b Dont perform permissions queries by default 2023-04-27 07:06:49 -07:00
Trenton H
6f163111ce Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
Trenton H
3bcbd05252 Fixes ruff not running isort against the codebase 2023-04-26 09:35:27 -07:00
shamoon
1fb03a755f Respect permissions on document view actions 2023-04-25 22:49:37 -07:00
Trenton H
ce41ac9158 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
Trenton H
3c2bbf244d 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
6a34a35585
Merge pull request #2910 from paperless-ngx/feature-improved-statistics-widget
Feature: Improved statistics widget
2023-03-19 23:34:19 -07:00
shamoon
bf8ae22f3f Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
f3eedec402 Improved statistics widget 2023-03-18 01:51:18 -07:00
Trenton Holmes
97ff2e126c Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
Trenton H
5e7b93d153 Comment up the testing a bit more 2023-03-09 08:43:31 -08:00
shamoon
c4ac35164b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
29251b6e38 Add test coverage for owner-aware unique constraints 2023-03-08 19:07:32 -08:00
shamoon
4726fe8b6f Only return logs that exist 2023-02-23 14:43:43 -08:00
Trenton H
8df1324afd Updates the latest test to use status codes 2023-02-20 10:25:21 -08:00
Trenton Holmes
a6e2708605 Changes testing to use more declarative status code names from DRF 2023-02-20 10:25:21 -08:00
Trenton Holmes
bec8d00232 Allow setting the ASN on document upload 2023-02-20 07:56:37 -08:00
Trenton H
abc58000b4 Moves the renaming ttask into the serialiser update instead of post_save. Feels more correct 2023-02-18 12:19:33 -08:00
shamoon
32754defef Merge branch 'dev' into feature-permissions 2023-02-14 11:32:37 -08:00
shamoon
add647afe6 Add missing storage path placeholders 2023-02-12 02:01:44 -08:00
Trenton Holmes
3e777f2a5b Fixes up some minor warnings from test code 2023-02-11 14:35:16 -08:00
Trenton H
bdcba570cb Adding more test coverage, in particular around Tika and its parser 2023-02-05 11:01:55 -08:00
shamoon
d2a6f79612 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
Trenton H
b85d39b189 Fixes commenting error 2023-01-31 12:53:46 -08:00
Trenton H
dc7bef5d48 Fixes relative date Whoosh queries and adds testing to ensure it remains working with multiple timezones 2023-01-31 12:53:46 -08:00
Trenton H
94db39e055 A few minor tweaks to the backend 2023-01-30 14:37:09 -08:00
shamoon
0cfa5211e9
Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
Trenton Holmes
a88b318d7d Simplifies file upload naming to use the document name, instead in needing to keep it around 2023-01-11 07:52:58 -08:00
Michael Shamoon
a4d96061de Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Trenton H
6ff28c92a4 Resolves minor flake8 warnings in the test suite 2023-01-05 08:39:48 -08:00
Michael Shamoon
a08467342c Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Trenton Holmes
b12ab5fe04 Adds testing coverage and fixing up post API tests 2022-12-30 14:00:40 -08:00
Michael Shamoon
737f00df3a Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
f021e7fcc3 Merge branch 'dev' into feature-permissions 2022-12-13 06:57:33 -08:00
Trenton H
97d6503fef Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00