115 Commits

Author SHA1 Message Date
shamoon
6cbf30991d Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
shamoon
2124c8aefe Implement isNumber pipe 2023-08-12 08:31:42 -07:00
shamoon
c4d57522a2 Useful buttons for saved view widgets 2023-07-26 11:36:55 -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
0f9c642f0f Fix display of private items in small cards 2023-06-03 16:16:05 -07:00
shamoon
8b80c46628 other minor css fixes after bootstrap update 2023-06-03 16:03:00 -07:00
shamoon
43288153e0 Add frontend owner filtering
Add owner to doc cards, table
Frontend testing for owner filtering
2023-05-08 15:34:14 -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
shamoon
78cb8cff69 Just include comments on document object 2023-03-17 18:47:03 -07:00
shamoon
8bcb365e53 Support navigating directly to comments 2023-03-17 18:47:03 -07:00
shamoon
992ac545b3 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
Michael Shamoon
d875d06f37 lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
405a7b4684 Merge branch 'dev' into feature-permissions 2022-12-09 17:54:14 -08:00
Michael Shamoon
5b0cc85776 Dont use document data from /documents API call for edit 2022-11-27 21:19:23 -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
a011b3830f fix tag list vertical space 2022-09-13 11:54:25 -07:00
shamoon
6bd4369ccc Merge pull request #957 from paperless-ngx/feature-created-date
Feature: make frontend timezone un-aware
2022-07-02 16:58:30 -07:00
Michael Shamoon
898830e81d Quick toggle for tags / doctypes etc on doc view 2022-06-09 08:37:40 -07:00
shamoon
e168bde125 Merge branch 'dev' into feature-created-date 2022-05-26 14:28:33 -07:00
Michael Shamoon
2ea432698a Better handle long tag names 2022-05-23 11:24:13 -07:00
Michael Shamoon
d8b14697a3 Mark various tooltips for translation 2022-05-19 23:50:57 -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
e6d419c7e1 use created_date in all of frontend 2022-05-18 03:25:02 -07:00
Michael Shamoon
083290e798 PaperlessUiSettings data object 2022-05-17 11:13:19 -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
b90e339d10 Remove unneeded imports since change to css vars 2022-04-13 08:43:35 -07:00
Michael Shamoon
f173f59ec7 fix some broken css vars 2022-04-07 14:27:49 -07:00
Michael Shamoon
22a90363f6 Allow filtering by document metadata 2022-03-27 00:08:08 -07:00
Michael Shamoon
8565a2c3ed Unify management lists with single template 2022-03-23 13:31:00 -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
Michael Shamoon
ffc1dee60d Make correspondent links on cards buttons 2022-03-08 16:45:36 -08:00
Michael Shamoon
6211846e14 Initial conversion to css variables 2022-03-08 14:49:40 -08:00
Michael Shamoon
d4207cba8c card checkboxes werent clickable 2022-02-25 00:49:32 -08:00
Michael Shamoon
52b9ea44f8 bs5: fix card checkboxes no longer custom controls 2022-02-19 22:57:04 -08:00
Michael Shamoon
3a6ff637cb bs5: fix small cards display 2022-02-19 21:38:29 -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
Yannic Schroeder
73f1bcc9ef Update to Angular 13 2022-02-20 00:14:35 +01:00
jonaswinkler
4cfb987c2f update tooltips and messages 2021-04-02 14:59:02 +02:00
Michael Shamoon
b20f83dbe5 Dont change size overall 2021-03-14 09:35:53 -07:00
Michael Shamoon
d4c2f7e32f Fix icons sometimes cut off in certain browsers 2021-03-14 09:33:57 -07:00
Michael Shamoon
51e3005bb9 Small card tooltip tweaks, medium date 2021-03-12 20:15:18 -08:00
Michael Shamoon
af39fab824 dark mode background color 2021-03-12 20:12:00 -08:00
Michael Shamoon
2d3b6b5a72 Display date & ASN on one line if fits 2021-03-12 20:00:23 -08:00
Michael Shamoon
0fb39fd433 hover color for card footer buttons 2021-03-12 19:59:45 -08:00
Michael Shamoon
76560f4409 More semantically correct elements 2021-03-12 07:58:37 -08:00