Michael Shamoon
bc7bf74bf8
fix docs update endpoint
2022-05-18 03:25:02 -07:00
Michael Shamoon
caa9c49e05
use created_date
2022-05-18 03:25:02 -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
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
67b3473365
Refactor to UiSettings
2022-05-17 11:11:39 -07:00
Michael Shamoon
798c827b0f
fix key constraint error
2022-05-17 11:11:38 -07:00
Michael Shamoon
7fbd2076c3
Basic frontend settings retrieval
2022-05-17 11:11:38 -07:00
Michael Shamoon
fd59b14d88
skeleton frontend_settings api endpoint
2022-05-17 11:11: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
b330f3d170
Maybe make CodeQL happy about this exception handling
2022-03-11 12:39:40 -08:00
Trenton Holmes
6635fa5f0d
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
223532c8bb
fix up some messages
2021-03-07 21:34:55 +01:00
jonaswinkler
0ded953181
increase luminance threshold for better readability
2021-02-25 22:49:38 +01:00
jonaswinkler
c1ae9f643b
bugfixes
2021-02-25 22:16:31 +01:00
jonaswinkler
b04fa58121
validate hex color strings
2021-02-25 11:30:49 +01:00
jonaswinkler
96b082b26d
add text color generation based on luminance
2021-02-25 11:30:36 +01:00
jonaswinkler
dcff197e0a
versioning for the tags API
2021-02-24 23:54:19 +01:00
jonaswinkler
c3da66039a
fix pycodestyle and messages
2021-02-23 13:21:11 +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
18c6ecc67a
fix one incorrect use of archive_version
2021-02-10 21:34:39 +01:00
jonaswinkler
1e1f2267e7
update API access for logs
2021-02-06 17:02:00 +01:00
jonaswinkler
c1136ac83c
i18n, better error handling
2021-01-26 15:02:46 +01:00
jonaswinkler
de29aff04a
update tests, remove dead code
2021-01-07 15:20:00 +01:00
jonaswinkler
21a3dcf20a
fix pycodestyle
2020-12-28 13:33:58 +01:00
jonaswinkler
cd548548b8
it must have been late when I tried to do this
2020-12-28 12:29:53 +01:00
jonaswinkler
79d45098b5
add api method to get selection data
2020-12-27 12:43:05 +01:00
jonaswinkler
0427d1fbe9
add api support for adding and removing many tags simultaneously
2020-12-23 15:13:55 +01:00
jonaswinkler
c58d4df11a
api validation, more tests
2020-12-22 20:28:41 +01:00
jonaswinkler
01fb6fff06
Merge branch 'dev' into feature-bulk-edit
2020-12-18 00:38:31 +01:00
jonaswinkler
013df35f5f
bugfix, tests
2020-12-15 13:16:28 +01:00
jonaswinkler
2daab46d12
code style
2020-12-15 12:06:24 +01:00
jonaswinkler
b68d58c378
Merge branch 'dev' into feature-bulk-edit
2020-12-15 03:13:22 +01:00
jonaswinkler
f0738389f6
editable saved views
2020-12-15 02:35:04 +01:00
jonaswinkler
d4fba4a521
add backend support for saved views
2020-12-12 15:46:56 +01:00
jonaswinkler
19bfb426e0
document list validation.
2020-12-11 23:34:24 +01:00
jonaswinkler
2531d15841
bulk edit view
2020-12-11 14:30:18 +01:00
jonaswinkler
78a506c4d8
add support to the documents api to only serve selected fields
2020-12-11 14:29:43 +01:00
jonaswinkler
47ca6189ab
Merge branch 'dev' into feature-bulk-edit
2020-12-10 16:26:16 +01:00
jonaswinkler
3a8c612af3
fixes #91
2020-12-10 16:25:34 +01:00
jonaswinkler
2a4e18d5f5
Merge branch 'dev' into feature-bulk-edit
2020-12-10 15:56:03 +01:00
jonaswinkler
ba7bf9b2d2
removed slugs entirely, since their only purpose was purely cosmetic anyway.
2020-12-09 00:04:37 +01:00
jonaswinkler
56cb2cf267
added filenames to the API #108
2020-12-07 21:52:26 +01:00
jonaswinkler
18c9c22941
better error messages for file uploads. adresses #91
2020-12-06 22:31:12 +01:00
jonaswinkler
e81360781e
more bulk edit
2020-12-06 14:39:53 +01:00
jonaswinkler
d888e1b224
API now supports setting metadata when POSTing documents.
2020-12-04 12:09:21 +01:00
jonaswinkler
3f7d2b65ea
remove _object from document results, which makes the API about 33% faster.
2020-12-04 01:17:55 +01:00
jonaswinkler
ace897e491
api changes.
2020-12-03 19:56:52 +01:00
jonaswinkler
9546d6bf8c
updated the API, it now supports tags, correspondents, types and title when uploading documents.
2020-12-03 18:36:23 +01:00