530 Commits

Author SHA1 Message Date
shamoon
b294153ef5 prevent date suggestion search if disabled 2023-05-27 10:51:30 -07:00
Trenton H
bad8d304cb Improves the logging mixin and allows it to be typed better 2023-05-23 17:16:39 -07:00
Trenton H
1396f25419 Updates handling of barcodes to encapsulate logic, moving it out of tasks and into barcodes 2023-05-22 06:52:31 -07:00
shamoon
5a579ccf1c 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
4a0d6c733d Respect permissions for autocomplete suggestions 2023-05-11 14:43:25 -07:00
shamoon
0cfb436e57 Merge pull request #3309 from paperless-ngx/feature-owner-filtering
Feature: owner filtering
2023-05-11 10:05:51 -07: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
e54e552aad 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
4443ba9d5e Default frontend to current owner, allow setting no owner on create 2023-05-09 19:53:34 -07:00
shamoon
4d84a0a87b Re-work filter editor, bulk editor & reset buttons 2023-05-09 19:48:04 -07:00
shamoon
2a65235e66 Support owner API query vars 2023-05-08 15:34:14 -07:00
shamoon
fce481620d Merge pull request #3345 from paperless-ngx/fix/issue-3341 2023-05-08 07:04:49 -07:00
shamoon
c446a98520 Fix PassUserMixin not properly being used in DocumentViewSet 2023-05-07 17:40:09 -07:00
shamoon
33400cd4f3 Add proper testing for *__id__in testing 2023-05-07 00:04:23 -07:00
shamoon
ab78b98d6a Add "all" property to results 2023-05-06 11:31:47 -07:00
shamoon
31080cec5c Fix note sorting, testing, bump search index version 2023-05-04 02:07:48 -07:00
Trenton Holmes
e34b8c4b1f Replace usages of os.rename with shutil.move to properly handle cases where the source and dest arent't on the same filesystem 2023-05-01 07:28:52 -07:00
shamoon
902ae3597e Respect superuser for advanced queries, test coverage for object perms 2023-04-27 15:51:34 -07:00
shamoon
1419b07315 Testing for whoosh support for multi-object query vars 2023-04-27 08:47:36 -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
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
Trenton H
98811df439 Make the importer a little more robust against some types of errors 2023-04-26 07:08:50 -07:00
shamoon
ceb985057c Respect permissions on document view actions 2023-04-25 22:49:37 -07:00
shamoon
8c39514aab Merge branch 'main' into dev 2023-04-24 13:10:18 -07:00
shamoon
5bada2aeb5 Update testing for ignore macOS directory services file 2023-04-18 19:10:03 -07:00
shamoon
a91afc4bbe Update paperlesstask on hard consumption failures 2023-04-09 20:40:16 -07:00
Trenton Holmes
93f5b989a4 Fixes barcode tests not running 2023-04-01 17:38:18 -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
Trenton H
899f3ba9fc Merge remote-tracking branch 'origin/dev' into feature-multiple-barcode-scanners 2023-03-29 09:40:10 -07:00
Trenton H
f124228e86 Instead of using PIL directly to convert TIFF to PDF, use the existing library of img2pdf 2023-03-20 13:48:05 -07:00
Marvin Gaube
cca607f7b8 fix: skip tiff tests for zxing 2023-03-20 20:59:59 +01: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
Marvin Gaube
c66a0ec82e feature: Add support for zxing as barcode scanning lib 2023-03-19 13:48:35 +01: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
Trenton Holmes
b78d87f44a Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
Trenton H
6f5c2fa2fc Comment up the testing a bit more 2023-03-09 08:43:31 -08:00
shamoon
d8625c057b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
710e9e2c78 Add test coverage for owner-aware unique constraints 2023-03-08 19:07:32 -08:00
Trenton H
ec2b0eb308 Changes out the settings and a decent amount of test code to be pathlib compatible 2023-03-06 09:16:07 -08:00
Trenton Holmes
73dc928832 Returns to using hashing against primary keys, at least for fields. Improves testing coverage 2023-02-28 08:13:10 -08:00
Trenton Holmes
303e81eb79 Changes from a hash based system to a time based system to prevent extra retrains 2023-02-28 08:13:10 -08:00
shamoon
1ea9c37dd1 Only return logs that exist 2023-02-23 14:43:43 -08:00
Brandon Rothweiler
ffd132b700 Add test 2023-02-22 09:39:29 -05:00
Trenton H
e061db00db Updates the latest test to use status codes 2023-02-20 10:25:21 -08:00
Trenton Holmes
6644ccc33f Changes testing to use more declarative status code names from DRF 2023-02-20 10:25:21 -08:00
Trenton Holmes
acfa7d633d Creates a mix-in for asserting file system states 2023-02-20 10:25:21 -08:00