56 Commits

Author SHA1 Message Date
Michael Shamoon
42a5ac3936 Bulk edit permissions 2022-12-08 02:03:50 -08:00
Michael Shamoon
dfdfd8a7d7 Refactor permissions to use enums, permissions service 2022-11-12 04:31:42 -08:00
Michael Shamoon
5c5486d2ea Refactor permissions check code
Directly check permissions and no subscription (uisettings is always initialized on frontend startup)
update permission directive to accept single string
add explicit management permission name
2022-11-11 15:45:37 -08:00
Kaaybi
084fe2c050 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
Michael Shamoon
2eee52240d Frontend UI for redo OCR 2022-07-02 08:39:09 -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
Michael Shamoon
083290e798 PaperlessUiSettings data object 2022-05-17 11:13:19 -07:00
shamoon
5ed8a25e5b disable download buttons while awaiting zip 2022-04-02 22:23:42 -07:00
Frank Strieter
4377d15599 test: remove most of the boilerplate tests 2022-03-23 09:24:07 +01:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
Yannic Schroeder
0aaf553acc Migrate Bootstrap utilities to v5
Names of utility classes have changed:
https://getbootstrap.com/docs/5.0/migration/#utilities
2022-02-20 01:25:57 +01:00
jonaswinkler
5c66f489db dropdown menu shadows 2021-02-22 00:04:44 +01:00
jonaswinkler
99a9b63964 front end support for downloading multiple documents 2021-02-20 16:10:50 +01:00
jonaswinkler
923057e2ea refactored most of the list view; fixes #147, much snappier UX when switching between views 2021-02-18 17:29:21 +01:00
jonaswinkler
e5a092efb3 add missing quotes 2021-01-28 22:38:12 +01:00
Michael Shamoon
579d6a0d39 Make bulk editor a little more compact 2021-01-11 15:01:40 -08:00
jonaswinkler
1ba712f778 fixes #98 2021-01-03 21:44:53 +01:00
jonaswinkler
ca2ecd0d1a language fixes 2020-12-30 16:29:45 +01:00
jonaswinkler
c7cb474133 more translation work 2020-12-30 11:33:56 +01:00
jonaswinkler
126793e625 fix a couple issues with the bulk editor 2020-12-29 17:20:45 +01:00
jonaswinkler
09bc259246 more settings 2020-12-29 17:09:07 +01:00
jonaswinkler
42915391c9 messed up, restore functionality 2020-12-28 23:53:18 +01:00
jonaswinkler
a881a7ee4f more translation tags #123 2020-12-28 21:29:28 +01:00
jonaswinkler
15134db524 add more localization tags #123 2020-12-28 15:39:53 +01:00
jonaswinkler
91afd39a0e rework the bulk editor 2020-12-28 12:36:26 +01:00
jonaswinkler
9a84e97c7c partial selection model implementation 2020-12-27 23:55:19 +01:00
jonaswinkler
85114d7b4d remove "selectionSpansPages" 2020-12-27 13:34:54 +01:00
jonaswinkler
d1421c9e6a always show count badges 2020-12-27 13:23:11 +01:00
jonaswinkler
e67ec7230c remove "Remove All" 2020-12-27 13:16:37 +01:00
Michael Shamoon
6205fae36b More simplification 2020-12-25 01:14:56 -08:00
Michael Shamoon
6c8435ab29 Refactor bulk editor to be self-contained
See https://github.com/jonaswinkler/paperless-ng/pull/162#issuecomment-750425915
2020-12-25 00:58:17 -08:00
Michael Shamoon
48a1fd028e Unify bulk operations logic, working tags assignment and removal 2020-12-22 02:58:20 -08:00
Michael Shamoon
fd29ddad96 Fix remove all operations 2020-12-22 02:18:05 -08:00
Michael Shamoon
57a9fc59cf Only pass one item to bulk methods for correspondents/doctypes 2020-12-22 02:14:37 -08:00
Michael Shamoon
dddceed451 Completely rewrite change detection, add back remove operations 2020-12-22 02:08:36 -08:00
Michael Shamoon
d2eb6b9d0c Fix 2px difference between two editors =) 2020-12-20 08:07:19 -08:00
Michael Shamoon
b729c3c6fc Typos & code fixes 2020-12-20 00:37:37 -08:00
Michael Shamoon
6ed12cdb52 Fix some TS syntax errors 2020-12-20 00:12:40 -08:00
Michael Shamoon
eb66e5e853 Mobile fixes 2020-12-19 23:49:20 -08:00
Michael Shamoon
36b7b0df6a Hide toggled state & counts when selection spans documents not in view 2020-12-19 23:42:08 -08:00
Michael Shamoon
c2c15cc35f Live filter badges when editing & hide badges when active filter items in dropdown 2020-12-19 22:54:37 -08:00
Michael Shamoon
5a4807f3f9 Refactor dropdown button component 2020-12-19 22:31:14 -08:00
Michael Shamoon
847d4ccdee Hide filter / bulk editor for better switching 2020-12-19 22:14:52 -08:00
Michael Shamoon
1e503f8d03 rework toolbar 2020-12-19 22:06:17 -08:00
Michael Shamoon
84c6c73c74 Refactor SlectableItem to ToggleableItem 2020-12-19 21:52:45 -08:00
Michael Shamoon
3c491f5889 SelectableItem dropdowns refactoring 2020-12-19 21:45:53 -08:00
Michael Shamoon
60a13d8ed9 Only apply edits when something has changed 2020-12-19 21:42:19 -08:00
Michael Shamoon
ba7f030901 Rename dropdown type enum & add pass as variable to use like an Enum 2020-12-19 20:19:37 -08:00
Michael Shamoon
83bb7d71fb Minor refactoring 2020-12-19 07:49:32 -08:00
Michael Shamoon
f5681945cd Working to backend except tags 2020-12-19 02:26:41 -08:00