138 Commits

Author SHA1 Message Date
Adam Bogdał
021189573b Fix: speed up admin panel for installs with a large number of documents (#5052) 2023-12-19 16:17:43 -08:00
shamoon
a792bf1ca1 Feature: Implement custom fields for documents (#4502)
Adds custom fields of certain data types, attachable to documents and searchable

Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-11-05 17:27:23 -08:00
nanokatz
b5613754d2 Feature: Audit Trail (#4425)
Adds new feature for optionally enabling change tracking for possible audit purposes
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2023-10-30 09:23:22 -07:00
Trenton H
dc642152d1 Standarizes the imports across all the files and modules (#4248) 2023-09-23 20:17:01 -07:00
shamoon
ef9d01fefe Feature: Share links (#3996)
* Implement share links

Basic implementation of share links

Make certain share link fields not editable, automatically grant permissions on migrate

Updated styling, error messages from expired / deleted links

frontend code linting, reversable sharelink migration

testing coverage

Update translation strings

No links message

* Consolidate file response methods

* improvements to share links on mobile devices

* Refactor share links file_version

* Add docs for share links

* Apply suggestions from code review

* When filtering share links, use the timezone aware now()

* Removes extra call to setup directories for usage in testing

* FIx copied badge display on some browsers

* Move copy to ngx-clipboard library

---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-09-14 13:32:43 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
Michael Shamoon
605480ab4a Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -08:00
Trenton H
58d6ad96b7 Adds a basic admin view for tasks 2022-12-15 11:31:50 -08:00
Michael Shamoon
c0bf77f2f8 API object permissions retrieval, grant and revoke 2022-12-06 22:05:24 -08:00
Michael Shamoon
8e552eb688 add django-guardian, djangorestframework-guardian 2022-12-05 21:02:56 -08:00
Gwyn Hannay
7e8183769b update files and model to include new field 2022-08-20 14:30:14 -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
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
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
Jonas Winkler
dc565bd035 correct file mode 2021-05-16 01:22:51 +02:00
jonaswinkler
650edcf0db adjust migration 2021-02-24 23:52:25 +01:00
jonaswinkler
d1f206b4cd some search index optimizations 2021-02-15 13:26:36 +01:00
jonaswinkler
a417be18b7 remove unused imports 2021-02-15 11:26:13 +01:00
jonaswinkler
738b89d4b7 changes to the admin document list 2021-02-10 21:34:58 +01:00
jonaswinkler
f0d202df13 update document admin 2021-02-10 18:55:39 +01:00
jonaswinkler
881e644d2a more info in the admin 2021-02-09 21:00:04 +01:00
jonaswinkler
723c10771f remove log admin 2021-02-06 17:00:06 +01:00
jonaswinkler
56585d2645 these changes shouldn't have been commited at all. my bad. 2020-12-16 21:08:03 +01:00
jonaswinkler
d4fba4a521 add backend support for saved views 2020-12-12 15:46:56 +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
Jonas Winkler
fd803435c1 updated the admin, ordering for mail rules 2020-11-21 23:12:34 +01:00
Jonas Winkler
f976a0b4ba mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
eb6805e37e code style fixes 2020-11-12 21:09:45 +01:00
Jonas Winkler
1e3e80930c enable Group and User management. 2020-11-11 20:25:33 +01:00
Jonas Winkler
5a658b7ad6 show the filename in the admin. 2020-11-11 15:58:29 +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
a89773ad71 removed unused code, small fixes 2020-11-02 18:20:04 +01:00
Jonas Winkler
dd16b7262e unified document matching, legacy and automatching work alongside now 2020-10-28 11:45:11 +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
Jonas Winkler
ccfbe3e64b some more api changes 2020-10-21 12:53:14 +02:00
Jonas Winkler
d365e8ac22 removed reminders, changed a bunch of stuff 2020-10-20 00:35:27 +02:00
Jonas Winkler
b170eaef69 Removed a bunch of stuff thats not needed anymore with the new gui. 2020-10-17 02:07:27 +02:00
Jonas Winkler
5dda05d712 Merge branch 'master' into dev 2019-05-21 13:06:16 +02:00
Stéphane Brunner
711c0925e1 Add and configure DjangoQL 2019-01-26 22:15:28 +01:00
Jonas Winkler
f711b146e1 Merge branch 'master' into dev 2018-12-11 12:38:15 +01:00
Jonas Winkler
8f0d53c54a Merge remote-tracking branch 'upstream/master' 2018-12-11 12:06:15 +01:00
Daniel Quinn
62f3a25702 Add colours to the tags pages 2018-12-01 16:21:58 +00:00
Daniel Quinn
dd3012b611 Fix the correspondent filters #423 2018-11-03 11:06:55 +00:00
Daniel Quinn
9264e89bc3 Code cleanup 2018-11-03 11:05:22 +00:00
Daniel Quinn
c570aa1a10 Add a little more read-only info for documents 2018-10-07 16:26:05 +01:00
Daniel Quinn
081f1022cf Rework how slugs are generated/referenced #393 2018-10-07 16:25:51 +01:00
Jonas Winkler
efc7bf1d23 Code style adjustments 2018-09-25 16:09:33 +02:00