42 Commits

Author SHA1 Message Date
Michael Shamoon
dbca9cf671 Merge branch 'dev' into feature-permissions 2022-12-29 20:12:42 -08:00
Michael Shamoon
c0c36aeae3 support tags__id__none for advanced search 2022-12-17 19:49:17 -08:00
Michael Shamoon
b28040952c Support owner and object permissions for advanced queries 2022-12-12 22:40:31 -08: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
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
4daab1809d only show score when sorting by score 2021-05-15 17:25:49 +02:00
jonaswinkler
4f62fc81c6 disable reverse sorting by score 2021-05-15 17:11:26 +02:00
jonaswinkler
7da4d39bb9 sorting for full text queries 2021-05-15 13:58:11 +02:00
jonaswinkler
1a376dbc41 fix some issues with the search index 2021-04-05 21:53:07 +02:00
jonaswinkler
f36b1c2b9d more testing 2021-04-04 01:19:07 +02:00
jonaswinkler
3d88f16e8f disable sorting for now 2021-04-03 21:49:31 +02:00
jonaswinkler
9c97c6902c fix date filtering for full text search 2021-04-03 21:02:13 +02:00
jonaswinkler
5b49524d51 lots of changes for the new unified search 2021-03-17 22:25:22 +01:00
jonaswinkler
4698c6ade1 some initial attempts to merge search and document list 2021-03-07 13:16:23 +01:00
jonaswinkler
d1f206b4cd some search index optimizations 2021-02-15 13:26:36 +01:00
jonaswinkler
555e37958f better exception logging 2021-02-11 22:16:41 +01:00
jonaswinkler
e5a7dc0cc7 rework most of the logging 2021-02-05 01:10:29 +01:00
jonaswinkler
03f8db481e update index after bulk edit operations #195 2020-12-27 17:05:35 +01:00
jonaswinkler
0f47080da4 changed up the highlight fragment formatter 2020-12-18 16:42:33 +01:00
jonaswinkler
b393e457f4 code style 2020-12-18 00:10:16 +01:00
jonaswinkler
29c094e407 more like this searching 2020-12-17 21:36:21 +01:00
jonaswinkler
17af581425 bugfix 2020-12-05 00:37:05 +01:00
jonaswinkler
f6e510694e searching for types and dates, error catching, documentation and changelog. 2020-11-30 16:13:35 +01:00
jonaswinkler
8bebca466b searching for tags, spelling corrections fixes #74 2020-11-30 15:14:23 +01:00
jonaswinkler
cc15391114 parallel tests. 2020-11-27 14:00:52 +01:00
jonaswinkler
f4d6c3e5b8 The index is now recreated in case loading fails. 2020-11-26 22:18:30 +01:00
Jonas Winkler
afc3753e58 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
d8cbb74dac make the index dir if it does not exist. 2020-11-20 11:21:09 +01:00
Jonas Winkler
eb6805e37e code style fixes 2020-11-12 21:09:45 +01:00
Jonas Winkler
4fba7b661e trying to make travis work. 2020-11-12 17:12:58 +01:00
Jonas Winkler
1ddbf416d4 fixed an issue with the searcher. 2020-11-10 01:47:35 +01:00
Jonas Winkler
edb5b1ea91 moved some code 2020-11-08 11:30:16 +01:00
Jonas Winkler
ec1f65a355 I removed the model save/delete hooks for index updates since they were causing too much trouble with migrations 2020-11-08 11:24:57 +01:00
Jonas Winkler
f2ede49cba removed logging from index since it was causing issues with migrations and missing logging groups 2020-11-07 23:26:18 +01:00
Jonas Winkler
9829b3dae5 add correspondent to the index 2020-11-06 17:27:21 +01:00
Jonas Winkler
9a4ff3f807 replaced usages of .id with .pk, fixed filename issue in exporter 2020-11-03 12:37:37 +01:00
Jonas Winkler
64ee9a4941 updated settings: docker image runs without ENV variables 2020-11-03 12:23:24 +01:00
Jonas Winkler
3d02d4b446 paginated search results 2020-11-02 12:23:50 +01:00
Jonas Winkler
2c318b87a0 autocomplete ordering 2020-10-29 14:34:02 +01:00
Jonas Winkler
6011c82531 added autocomplete to backend 2020-10-27 17:07:13 +01:00
Jonas Winkler
93d963ed4e added
- document index
- api access for thumbnails/downloads
- more api filters

updated
- pipfile

removed
- filename handling
- legacy thumb/download access
- obsolete admin gui settings (per page items, FY, inline view)
2020-10-25 23:03:02 +01:00