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
Trenton Holmes
55486ac151
Reduces number of warnings from testing from 165 to 128. In doing so, fixes a few minor things in the decrypt and export commands
2022-03-10 18:12:48 -08:00
kpj
c56cb25b5f
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
7da4d39bb9
sorting for full text queries
2021-05-15 13:58:11 +02:00
jonaswinkler
f36b1c2b9d
more testing
2021-04-04 01:19:07 +02:00
jonaswinkler
8c147f8b62
fixed the test cases
2021-04-04 00:29:40 +02:00
jonaswinkler
d70df4367e
added a test case for title_content filter
2021-03-06 12:41:59 +01:00
jonaswinkler
6c704acd08
tests for API versioning
2021-02-26 13:21:33 +01:00
jonaswinkler
9f56fbfa1d
tests
2021-02-25 22:17:18 +01:00
jonaswinkler
a56896543c
validation for regular expressions on matching models #605
2021-02-23 12:35:24 +01:00
jonaswinkler
02f93792c1
API support for downloading compressed archives of multiple documents
2021-02-20 16:09:29 +01:00
jonaswinkler
aced453d82
only show inbox statistics if inbox tags are defined
2021-02-15 23:14:54 +01:00
jonaswinkler
691713ed40
metadata tab not showing anything if files are missing #534
2021-02-13 16:41:03 +01:00
jonaswinkler
866d6f814d
update all test cases to address the archive filename changes
2021-02-09 19:51:16 +01:00
jonaswinkler
0871128638
fix some test cases
2021-02-09 00:00:46 +01:00
jonaswinkler
1e1f2267e7
update API access for logs
2021-02-06 17:02:00 +01:00
jonaswinkler
c5000f6c7f
add support for suggestions
2021-01-29 16:45:23 +01:00
jonaswinkler
85fe92a0a0
fixes duplicate documents with tags__id__in
2021-01-21 12:07:50 +01:00
jonaswinkler
4311266e17
more test
2021-01-20 12:34:01 +01:00
jonaswinkler
de29aff04a
update tests, remove dead code
2021-01-07 15:20:00 +01:00
jonaswinkler
0423d6d530
more tests
2020-12-29 20:55:27 +01:00
jonaswinkler
15e8407cf4
move the two post bulk edit tasks into one
2020-12-28 13:31:22 +01:00
jonaswinkler
8abf101a1e
Merge branch 'dev' into feature-bulk-edit
2020-12-27 17:06:17 +01:00
jonaswinkler
03f8db481e
update index after bulk edit operations #195
2020-12-27 17:05:35 +01:00
jonaswinkler
0427d1fbe9
add api support for adding and removing many tags simultaneously
2020-12-23 15:13:55 +01:00
jonaswinkler
7968d3184f
more tests
2020-12-22 21:08:54 +01:00
jonaswinkler
c58d4df11a
api validation, more tests
2020-12-22 20:28:41 +01:00
jonaswinkler
4268d3a36f
error in test case
2020-12-22 17:08:30 +01:00