Michael Shamoon
2ca691d3b8
use created_date
2022-05-18 03:25:02 -07:00
Philipp
bb15b744c8
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
b21edde1bc
Code suggestions
...
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-17 11:13:58 -07:00
Michael Shamoon
de89f75707
Refactor to UiSettings
2022-05-17 11:11:39 -07:00
Michael Shamoon
321e0ced2a
fix key constraint error
2022-05-17 11:11:38 -07:00
Michael Shamoon
a697eb8530
Basic frontend settings retrieval
2022-05-17 11:11:38 -07:00
Michael Shamoon
4b37c1963b
skeleton frontend_settings api endpoint
2022-05-17 11:11:38 -07:00
Trenton Holmes
3003bdd507
Runs pyupgrade to Python 3.8+ and adds a hook for it
2022-05-06 09:04:08 -07:00
Trenton Holmes
dc657f2eb0
Maybe make CodeQL happy about this exception handling
2022-03-11 12:39:40 -08:00
Trenton Holmes
1771d18a21
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
fc695896dd
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
c2b82fa063
fix up some messages
2021-03-07 21:34:55 +01:00
jonaswinkler
3a75b2571a
increase luminance threshold for better readability
2021-02-25 22:49:38 +01:00
jonaswinkler
7b1145c75e
bugfixes
2021-02-25 22:16:31 +01:00
jonaswinkler
c75e30fd28
validate hex color strings
2021-02-25 11:30:49 +01:00
jonaswinkler
7cc940a16c
add text color generation based on luminance
2021-02-25 11:30:36 +01:00
jonaswinkler
d84ca511d4
versioning for the tags API
2021-02-24 23:54:19 +01:00
jonaswinkler
7a73e18596
fix pycodestyle and messages
2021-02-23 13:21:11 +01:00
jonaswinkler
f397c5472c
validation for regular expressions on matching models #605
2021-02-23 12:35:24 +01:00
jonaswinkler
31f03ef1d3
API support for downloading compressed archives of multiple documents
2021-02-20 16:09:29 +01:00
jonaswinkler
857fe3a55c
fix one incorrect use of archive_version
2021-02-10 21:34:39 +01:00
jonaswinkler
fe435f6653
update API access for logs
2021-02-06 17:02:00 +01:00
jonaswinkler
4eeb5642f5
i18n, better error handling
2021-01-26 15:02:46 +01:00
jonaswinkler
fc82121604
update tests, remove dead code
2021-01-07 15:20:00 +01:00
jonaswinkler
aa6e96e54d
fix pycodestyle
2020-12-28 13:33:58 +01:00
jonaswinkler
e228e18f04
it must have been late when I tried to do this
2020-12-28 12:29:53 +01:00
jonaswinkler
320298e3ff
add api method to get selection data
2020-12-27 12:43:05 +01:00
jonaswinkler
929b25a969
add api support for adding and removing many tags simultaneously
2020-12-23 15:13:55 +01:00
jonaswinkler
e9b5f8d9f8
api validation, more tests
2020-12-22 20:28:41 +01:00
jonaswinkler
75b22e8684
Merge branch 'dev' into feature-bulk-edit
2020-12-18 00:38:31 +01:00
jonaswinkler
56204933b0
bugfix, tests
2020-12-15 13:16:28 +01:00
jonaswinkler
49be87fe37
code style
2020-12-15 12:06:24 +01:00
jonaswinkler
8b57967836
Merge branch 'dev' into feature-bulk-edit
2020-12-15 03:13:22 +01:00
jonaswinkler
ff71b04848
editable saved views
2020-12-15 02:35:04 +01:00
jonaswinkler
dfa1f29809
add backend support for saved views
2020-12-12 15:46:56 +01:00
jonaswinkler
f5df910894
document list validation.
2020-12-11 23:34:24 +01:00
jonaswinkler
4b0027797a
bulk edit view
2020-12-11 14:30:18 +01:00
jonaswinkler
66d6d29c23
add support to the documents api to only serve selected fields
2020-12-11 14:29:43 +01:00
jonaswinkler
51b1528fee
Merge branch 'dev' into feature-bulk-edit
2020-12-10 16:26:16 +01:00
jonaswinkler
defa80d05a
fixes #91
2020-12-10 16:25:34 +01:00
jonaswinkler
abd54eeb3a
Merge branch 'dev' into feature-bulk-edit
2020-12-10 15:56:03 +01:00
jonaswinkler
74a99cf330
removed slugs entirely, since their only purpose was purely cosmetic anyway.
2020-12-09 00:04:37 +01:00
jonaswinkler
87fa118de0
added filenames to the API #108
2020-12-07 21:52:26 +01:00
jonaswinkler
eede5595e9
better error messages for file uploads. adresses #91
2020-12-06 22:31:12 +01:00
jonaswinkler
5369e0be03
more bulk edit
2020-12-06 14:39:53 +01:00
jonaswinkler
eb5bdc48aa
API now supports setting metadata when POSTing documents.
2020-12-04 12:09:21 +01:00
jonaswinkler
0a18c819d4
remove _object from document results, which makes the API about 33% faster.
2020-12-04 01:17:55 +01:00
jonaswinkler
68c233005e
api changes.
2020-12-03 19:56:52 +01:00
jonaswinkler
8b16cd99dc
updated the API, it now supports tags, correspondents, types and title when uploading documents.
2020-12-03 18:36:23 +01:00
Jonas Winkler
97639508cb
Basic support for metadata added. Fixes 404 for actions on invalid document ids.
2020-11-25 17:16:04 +01:00