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
Michael Shamoon
279263fadf
Merge frontend user model
2022-11-13 21:31:46 -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
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
4dac5fa02d
Fix python + frontend tests
2022-09-30 18:32:21 -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
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
shamoon
4f6ad5369b
Merge pull request #1375 from tim-vogel/add_comments
...
Feature: document comments
2022-08-25 11:48:31 -07:00
Trenton Holmes
8f4c048d4e
Finalizes testing of the delete comment
2022-08-24 14:24:10 -07:00
Trenton Holmes
44c607042e
Starts on implementing tests for the new API
2022-08-24 14:24:10 -07:00
Matthias Eck
05d97d2cf1
fix(parsers|test_api): fix failed tests
2022-08-06 19:19:10 +02:00
Matthias Eck
bae65a184a
test(test-api): update existing tests for suggestions
2022-08-06 13:03:20 +02:00
Michael Shamoon
748f0bf610
fix conflicting migrations
2022-07-08 14:02:43 -07:00
shamoon
811d4973cf
Merge branch 'dev' into feature-frontend-task-queue
2022-07-02 16:54:16 -07:00
Trenton Holmes
d1418a138a
Adds invalid storage path format test
2022-07-02 16:19:22 +02:00
Michael Shamoon
f91263776f
fix content_type on test_api_create_storage_path
2022-07-02 16:19:22 +02:00
Trenton Holmes
39ee284fcd
Adds a few more test cases for coverage and adds no coverage to some others
2022-07-02 16:19:22 +02:00
Trenton Holmes
361c255e46
Fixes the whitenoise warning in the test suite
2022-07-02 16:19:22 +02:00
Trenton Holmes
6b2f8544ce
Increases test coverage of storage paths
2022-07-02 16:19:22 +02:00
Michael Shamoon
3c186f19ac
python tests for tasks api endpoints
2022-06-17 23:11:29 -04:00
Trenton Holmes
ee4e3cebe2
Removes last vestiges of PNG from the tests, code, docs and samples
2022-06-11 14:20:50 -07:00
Michael Shamoon
f6aeb12a95
use force_authenticate in api tests
2022-05-23 23:07:49 -07:00
Markus
dd3b5c129c
Feature: Dynamic document storage pathes ( #916 )
...
* Added devcontainer
* Add feature storage pathes
* Exclude tests and add versioning
* Check escaping
* Check escaping
* Check quoting
* Echo
* Escape
* Escape :
* Double escape \
* Escaping
* Remove if
* Escape colon
* Missing \
* Esacpe :
* Escape all
* test
* Remove sed
* Fix exclude
* Remove SED command
* Add LD_LIBRARY_PATH
* Adjusted to v1.7
* Updated test-cases
* Remove devcontainer
* Removed internal build-file
* Run pre-commit
* Corrected flak8 error
* Adjusted to v1.7
* Updated test-cases
* Corrected flak8 error
* Adjusted to new plural translations
* Small adjustments due to code-review backend
* Adjusted line-break
* Removed PAPERLESS prefix from settings variables
* Corrected style change due to search+replace
* First documentation draft
* Revert changes to Pipfile
* Add sphinx-autobuild with keep-outdated
* Revert merge error that results in wrong storage path is evaluated
* Adjust styles of generated files ...
* Adds additional testing to cover dynamic storage path functionality
* Remove unnecessary condition
* Add hint to edit storage path dialog
* Correct spelling of pathes to paths
* Minor documentation tweaks
* Minor typo
* improving wrapping of filter editor buttons with new storage path button
* Update .gitignore
* Fix select border radius in non input-groups
* Better storage path edit hint
* Add note to edit storage path dialog re document_renamer
* Add note to bulk edit storage path re document_renamer
* Rename FILTER_STORAGE_DIRECTORY to PATH
* Fix broken filter rule parsing
* Show default storage if unspecified
* Remove note re storage path on bulk edit
* Add basic validation of filename variables
Co-authored-by: Markus Kling <markus@markus-kling.net>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
2022-05-19 14:42:25 -07:00
shamoon
0c8889a1fc
Merge pull request #919 from paperless-ngx/feature-settings-saved-to-db
...
Feature: frontend settings saved to database
2022-05-18 11:33:17 -07:00
Philipp
87866bcab0
Add "Created" as additional (optional) parameter for post_documents ( #965 )
...
* Added "created" as optional parameter for post_documents.
* Fixed Conflict
* After Black Reformatting
* Run "add-trailing-comma"
* The right order between black and trailing comma is important....
* Added required=False
* Adds unit test for optional created in document api POST
* Fixes adding of settings override
* And a mis-added print, sigh
Co-authored-by: Philipp <philipp@invalid.invalid>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
2022-05-18 02:56:32 -07:00
Trenton Holmes
cb65c5e6d5
Removes accidental printing left in testing
2022-05-17 11:13:58 -07:00
Trenton Holmes
78b721a817
Makes minor improvements to ui_settings API testing
2022-05-17 11:13:58 -07:00
Michael Shamoon
b7b44bfb4e
Code suggestions
...
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-17 11:13:58 -07:00
Michael Shamoon
8cda57588d
basic python tests
2022-05-17 11:13:19 -07:00
Trenton Holmes
cd113ea5c9
Adds unit testing for remote version getting
2022-05-11 12:59:38 -07:00
Trenton Holmes
f62193099c
Runs pyupgrade to Python 3.8+ and adds a hook for it
2022-05-06 09:04:08 -07:00
Trenton Holmes
5a4741dcab
Bumps django to 4.0 and fixes associated issues
2022-03-24 07:39:11 -07:00
Trenton Holmes
6635fa5f0d
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00