45 Commits

Author SHA1 Message Date
shamoon
93be88c302 Fix: dropdown with different bindlabel (#5134) 2023-12-28 08:30:52 -08:00
shamoon
d26e577f57 Enhancement: Add tooltip for select dropdown items (#5070) 2023-12-21 08:44:34 -08:00
shamoon
9a15843b3b Refactor frontend data models 2023-12-19 22:36:35 -08:00
shamoon
daed79ee98 Chore: Update Angular to v17 (#4980) 2023-12-19 15:02:05 -08:00
shamoon
61995d6d74 Fix: show errors for select dropdowns (#4979) 2023-12-14 10:05:36 -08:00
shamoon
9f79959fcb Fix: consistent bottom margin for form field labels 2023-11-21 13:53:11 -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
shamoon
6cbf30991d Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
shamoon
33e017e776 Fix date component incorrect translation unit 2023-06-21 20:59:29 -07:00
shamoon
0dc46581e6 Fix invalid translation unit 2023-06-21 20:40:29 -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
42a45075db Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
36e506c6c5 Fix dropdown Private items with empty set 2023-04-25 22:06:16 -07:00
shamoon
5f01387ae7 Fix multi-select with private items 2023-04-17 19:56:20 -07:00
shamoon
7a90d90066 Fix heights on transitions, text/plain display in dark mode 2023-03-28 22:47:04 -07:00
shamoon
4720a61a59 Handle "private" tags, doctypes, correspondents 2023-03-08 19:07:47 -08:00
Michael Shamoon
5e6389fa6e visually disable edit fields for permissions 2022-12-17 21:49:07 -08:00
Michael Shamoon
360a2258e1 Add ability to set owner per object 2022-12-09 15:54:30 -08:00
Michael Shamoon
932051d80d disable document form components when no object permissions 2022-12-07 15:46:52 -08:00
Michael Shamoon
43d4f2d3d0 Unify API perm endpoint to set_permissions, initial frontend support for doc sharing 2022-12-07 00:49:26 -08:00
Michael Shamoon
def5c1a6cb skeleton user / group admin dialogs [WIP] 2022-11-13 09:06:56 -08: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
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
18d6c4bf0e bs5: form input spacing, renamed controls 2022-02-19 22:40:27 -08:00
Yannic Schroeder
73f1bcc9ef Update to Angular 13 2022-02-20 00:14:35 +01:00
jonaswinkler
505655fd52 add translation hint 2021-05-15 18:58:23 +02:00
jonaswinkler
592d60de40 added some missing strings 2021-05-15 18:53:55 +02:00
Michael Shamoon
f86c500239 Refactor unneeded ngIf 2021-04-04 19:57:16 -07:00
Michael Shamoon
fd9a871f81 Add back plus button which retains filter text 2021-04-04 17:05:27 -07:00
Michael Shamoon
46fe2da563 Refactor to use ng-select addTag function 2021-04-03 09:30:29 -07:00
Michael Shamoon
f399458df8 Clear last search term when clear button clicked 2021-03-24 12:37:26 -07:00
Michael Shamoon
904ff04f1d Add timeout for clearing last search term on select blur 2021-03-24 12:21:51 -07:00
Michael Shamoon
567161b2c0 Support passing current term from input-select search to create dialog e.g. for doc type / correspondent 2021-03-24 12:21:13 -07:00
jonaswinkler
dda384f4a3 update messages 2021-01-29 16:57:00 +01:00
jonaswinkler
624ea65fb3 frontend support for suggestions #264 2021-01-29 16:48:51 +01:00
jonaswinkler
6f03f83447 fixes #292 2021-01-10 01:59:47 +01:00
jonaswinkler
77fd6bba8f fixes clearing fields that should not be clearable 2020-12-22 13:39:46 +01:00
jonaswinkler
a542b30eec changed field order, updated ng-select for tag color selection 2020-12-21 18:15:28 +01:00
Michael Shamoon
3a086b550e Use ng-select for document detail screen 2020-12-17 23:09:27 -08:00
jonaswinkler
2f6bf67d96 imports 2020-12-14 20:21:31 +01:00
Jonas Winkler
1292a7e120 now using SCSS for better theming support 2020-11-22 14:43:59 +01:00
Jonas Winkler
c39d94b8cb Saved views, some refactoring 2020-10-30 22:46:43 +01:00
Jonas Winkler
2c190ddcb3 select component updated 2020-10-28 20:21:00 +01:00
Jonas Winkler
e8ef54d00d added some reusable form controls 2020-10-28 18:02:30 +01:00