71 Commits

Author SHA1 Message Date
shamoon
4d84a0a87b Re-work filter editor, bulk editor & reset buttons 2023-05-09 19:48:04 -07:00
shamoon
d6fe540988 Update bulk-editor.component.html
[ci skip]
2023-03-17 23:13:01 -07:00
shamoon
4003f64b49 Allow filtering on multiple correspondents, doctypes, storage paths
Preserve 'Not assigned' option
Fix default logical operator
Update frontend strings
Fix radio button name overlaps
Use include / exclude with multi-select for OneToOne objects
2023-03-17 17:57:54 -07:00
shamoon
3aae80445f Merge pull request #2704 from paperless-ngx/feature-dynamic-document-counts 2023-02-23 15:32:08 -08:00
shamoon
be6c2cfcbd prevent edit docs when dont have global edit perms 2023-02-20 08:20:37 -08:00
shamoon
05cd9d36e9 Live document counts for bulk edit 2023-02-18 20:07:07 -08:00
Michael Shamoon
a7563f935e Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Michael Shamoon
6ca5dd0e49 fix dropdown selection model updating 2022-12-31 08:12:53 -08:00
Michael Shamoon
d875d06f37 lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
20e1779313 lint frontend 2022-12-15 23:36:01 -08:00
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
b55f43df84 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
5005f251fb Merge branch 'dev' into feature-permissions 2022-12-09 03:31:26 -08:00
Michael Shamoon
c24dc0f792 Add bulk download options dropdown 2022-12-08 18:32:14 -08:00
Michael Shamoon
a1c65256df Bulk editor enabling/disabling by permissions 2022-12-08 02:22:58 -08:00
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