127 Commits

Author SHA1 Message Date
shamoon
bcf8db0ad7 Feature: customizable fields display for documents, saved views & dashboard widgets (#6439) 2024-04-26 06:41:12 -07:00
Dominik Bruhn
f058d231a6 Enhancement: Hide columns in document list if user does not have permissions (#6415)
---------

Co-authored-by: Dominik Bruhn <dominik@menlo79.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-16 21:41:15 +00:00
shamoon
895defd699 Fix: isFiltered check before filter editor init 2024-04-07 15:38:38 -07:00
shamoon
e0b643a4a3 Fix: spacing in reset and incorrect display in saved views (#6324) 2024-04-07 20:50:31 +00:00
shamoon
9a15843b3b Refactor frontend data models 2023-12-19 22:36:35 -08:00
shamoon
6cbf30991d Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
shamoon
c80c3b3374 Frontend better handle slow backend requests 2023-09-08 19:49:54 -07:00
shamoon
11b9347763 Improve 404 navigation and styling 2023-08-09 00:30:20 -07:00
shamoon
181673c9a3 frontend unit tests
toasts component testing

conditional import of angular setup-jest for vscode-jest support

Update jest.config.js

Create open-documents.service.spec.ts

Add unit tests for all REST services

settings service test

Remove component from settings service test

Create permissions.service.spec.ts

upload documents service tests

Update package.json

Create toast.service.spec.ts

Tasks service test

Statistics widget component tests

Update permissions.service.ts

Create app.component.spec.ts

settings component testing

tasks component unit testing

Management list component generic tests

Some management component tests

document notes component unit tests

Create document-list.component.spec.ts

Create save-view-config-dialog.component.spec.ts

Create filter-editor.component.spec.ts

small and large document cards unit testing

Create bulk-editor.component.spec.ts

document detail unit tests

saving work on documentdetail component spec

Create document-asn.component.spec.ts

dashboard & widgets unit testing

Fix ResizeObserver mock

common component unit tests

fix some merge errors

Update app-frame.component.spec.ts

Create page-header.component.spec.ts

input component unit tests

FilterableDropdownComponent unit testing

and found minor errors

update taskservice unit tests

Edit dialogs unit tests

Create date-dropdown.component.spec.ts

Remove selectors from guard tests

confirm dialog component tests

app frame component test

Miscellaneous component tests

Update document-list-view.service.spec.ts

directives unit tests

Remove unused resizeobserver mock

guard unit tests

Update query-params.spec.ts

try to fix flaky playwright

filter rules utils & testing

Interceptor unit tests

Pipes unit testing

Utils unit tests

Update upload-documents.service.spec.ts

consumer status service tests

Update setup-jest.ts

Create document-list-view.service.spec.ts

Update app-routing.module.ts
2023-06-15 23:53:04 -07:00
shamoon
4d84a0a87b Re-work filter editor, bulk editor & reset buttons 2023-05-09 19:48:04 -07:00
shamoon
da8ee368c1 Implement double-click documents 2023-03-28 23:26:13 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
Michael Shamoon
dfdfd8a7d7 Refactor permissions to use enums, permissions service 2022-11-12 04:31:42 -08:00
Michael Shamoon
0122339286 Allow independent saved view control 2022-10-26 12:54:44 -07:00
Michael Shamoon
9e9c2057b8 Fix missing loadViewConfig breaks loading saved view 2022-10-13 12:27:41 -07:00
Michael Shamoon
5bc0f39834 fix pagination, refactor 2022-08-08 00:03:15 -07:00
Michael Shamoon
b82a18721d Handle page parameter on saved views 2022-08-05 23:35:13 -07:00
shamoon
4e9528c531 Merge pull request #1122 from paperless-ngx/feature-quick-toggleable-filters
Feature / fix quick toggleable filters
2022-07-02 08:26:42 -07:00
Michael Shamoon
021b8d4f91 Update ngbRadioGroups to native buttons 2022-07-02 00:55:18 -07:00
Michael Shamoon
898830e81d Quick toggle for tags / doctypes etc on doc view 2022-06-09 08:37:40 -07:00
Michael Shamoon
5267fecc9e Refactor query params service 2022-05-20 23:18:18 -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
c1fb277f25 let OpenDocumentsService handle nav 2022-05-15 23:44:29 -07:00
Michael Shamoon
dc75035bdc Warn on closing edited doc due to max open docs 2022-05-15 22:55:25 -07:00
Michael Shamoon
e02c767b03 Ensure retain all params when loading saved views 2022-05-06 11:27:18 -07:00
Michael Shamoon
f9fb62b04a support sort fields & some refactoring 2022-05-05 08:36:18 -07:00
Michael Shamoon
84c2b8ee77 Refactor query param handling to service 2022-05-05 00:23:06 -07:00
Michael Shamoon
754c657e1f Add query params for saved views 2022-05-04 22:31:09 -07:00
Michael Shamoon
bd3dccfa9d Fix save view error for filter_rules
see #601
2022-04-02 19:49:58 -07:00
Michael Shamoon
a239cffee3 Remove unused var 2022-03-28 00:06:42 -07:00
Michael Shamoon
cdc5e78ab4 Clarify query var transformation code 2022-03-27 23:47:53 -07:00
Michael Shamoon
664cfd0b5c Clear all subscriptions, switchMap 2022-03-27 23:41:29 -07:00
Michael Shamoon
bb8e2ee48b move const 2022-03-27 00:25:27 -07:00
Michael Shamoon
9185d5a8ef Fix quick filtering 2022-03-27 00:09:09 -07:00
Michael Shamoon
c198c61a59 Query vars for filtering 2022-03-26 23:18:12 -07:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
Michael Shamoon
bb5ac02289 Merge branch 'dev' into feature/any-all-filtering 2022-02-14 22:23:31 -08:00
jonaswinkler
5218fb6ae7 frontend support for fulltext sorting 2021-05-15 18:48:39 +02:00
jonaswinkler
9014c8b883 bugfix 2021-04-04 01:25:54 +02:00
jonaswinkler
1bb9205fdc refactor filter reset 2021-04-04 00:03:51 +02:00
jonaswinkler
47919ab65c fixed more like this 2021-04-03 21:07:36 +02:00
jonaswinkler
5b49524d51 lots of changes for the new unified search 2021-03-17 22:25:22 +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
b9d4548c3b update list view when documents are added 2021-01-27 18:47:02 +01:00
Michael Shamoon
9e88bb47ef refactor 2021-01-20 19:44:50 -08:00
Michael Shamoon
b1ecac73fe Refactor selection functions to two separate ones for clarity 2021-01-15 01:59:29 -08:00
Michael Shamoon
09e72b7fe9 Allow range selection with shift 2021-01-14 14:10:23 -08:00
Michael Shamoon
1d88b86238 Convert selection functions on cards to toggling, let service handle setting selected
Also because we need to capture mouseevents
2021-01-14 10:56:30 -08:00
jonaswinkler
7096e73915 bugfixes 2021-01-07 01:01:01 +01:00
Michael Shamoon
14813f3c8f More efficient rule equivalency checking 2021-01-06 11:12:43 -08:00