140 Commits

Author SHA1 Message Date
shamoon
31080cec5c Fix note sorting, testing, bump search index version 2023-05-04 02:07:48 -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
ceb985057c Respect permissions on document view actions 2023-04-25 22:49:37 -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
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
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
shamoon
1ea9c37dd1 Only return logs that exist 2023-02-23 14:43:43 -08: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
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
Trenton Holmes
7fbcc4f97e Fixes up some minor warnings from test code 2023-02-11 14:35:16 -08:00
Trenton H
09ac404148 Adding more test coverage, in particular around Tika and its parser 2023-02-05 11:01:55 -08:00
shamoon
e6d6efa903 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
Trenton H
3b01fca6fa Fixes commenting error 2023-01-31 12:53:46 -08:00
Trenton H
d35eb8d7bc 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
401b0981ee A few minor tweaks to the backend 2023-01-30 14:37:09 -08:00
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -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
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Trenton H
6f23cfe78c Resolves minor flake8 warnings in the test suite 2023-01-05 08:39:48 -08:00
Michael Shamoon
a7563f935e Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Trenton Holmes
474433021e Adds testing coverage and fixing up post API tests 2022-12-30 14:00:40 -08:00
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
205f868ad2 Merge branch 'dev' into feature-permissions 2022-12-13 06:57:33 -08:00
Trenton H
5030a5212e Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00
Michael Shamoon
b55f43df84 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
5005f251fb Merge branch 'dev' into feature-permissions 2022-12-09 03:31:26 -08:00
Trenton Holmes
447a892f17 Documents the test conditions 2022-12-08 18:32:14 -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
5dc14449f9 fix tests for auth 2022-12-07 08:04:51 -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
bc2b36234c add api permissions test 2022-11-24 22:09:28 -08:00
Michael Shamoon
c36555c7a2 Fix python tests with auth on API endpoints, add python tests for User/Group endpoints 2022-11-24 21:19:00 -08:00