206 Commits

Author SHA1 Message Date
Daniel Dietzler
204149afb5 Feature: separate save / save & close buttons (#3575)
* Add setting to decide whether the edit dialog should automatically close on save

* Add the actual button to the ui

* Revert "Add the actual button to the ui"

This reverts commit e1f5a8bde0e8a2f6bafa2896d6a7e57e70d0c670.

* Revert "Add setting to decide whether the edit dialog should automatically close on save"

This reverts commit feef3c909b055b4bc4d2884324a4678348e1e536.

* Add button for save without exit

* Correct save button ordering, ensure perms, update translation strings

* fix e2e tests

* Add unit testing for save / save & close button

---------

Update messages.xlf

Update document-detail.component.spec.ts

Co-Authored-By: shamoon <4887959+shamoon@users.noreply.github.com>
2023-06-18 08:06:54 -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
932569580a Metadata error use new error toast 2023-05-20 10:28:37 -07:00
shamoon
517ce72b84 Suggestions error use new error toast 2023-05-20 10:15:53 -07:00
shamoon
1d50883cee Refactoring a few frontend components 2023-05-11 12:49:33 -07:00
shamoon
ac7eeaa877 Render frontend html as plain text 2023-05-09 21:59:24 -07:00
shamoon
595f46fe39 Update document-detail.component.ts 2023-05-09 21:48:31 -07:00
shamoon
43a54676fc Retain doc changes on tab switch after refresh doc 2023-04-29 00:23:30 -07:00
shamoon
f80fcb06cf Doc detail tab switch fixes 2023-04-28 08:14:24 -07:00
shamoon
27fd53055c Hide Permissions if user cannot view users 2023-04-09 16:17:48 -07:00
shamoon
091c1f2b3d Hide delete button on detail page if no perms, fix error display & allow retry confirm button (#3020) 2023-04-04 16:16:17 -07:00
shamoon
515714325d Inline plaintext document previews for complete styling 2023-04-03 10:03:59 -07:00
shamoon
0f7fc2272d Fix doc detail button reset on error 2023-03-31 13:47:35 -07:00
shamoon
03cc5cbae1 Handle user saved and no longer has permissions 2023-03-19 23:39:52 -07:00
shamoon
55e3744a71 fix doc detail discard perm changes 2023-03-19 23:39:52 -07:00
shamoon
e636acbed5 fix unable to change owner to someone else 2023-03-19 23:39:52 -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
shamoon
25a7bf74a4 Hide selects when user doesnt have view permissions
[ci skip]
2023-03-06 11:07:40 -08:00
shamoon
69096d5af3 Disable suggestions for read-only docs 2023-03-03 15:21:02 -08:00
shamoon
21c0413240 Show errors on document save 2023-02-17 07:51:21 -08:00
shamoon
7050a114ea Merge pull request #2147 from paperless-ngx/feature-permissions
Feature: multi-user permissions
2023-02-17 07:21:18 -08:00
Nathanaël Houn
486b60e068 fix: added missing i18n placeholder for file preview 2023-02-17 14:08:05 +01:00
shamoon
1332d9a389 Merge branch 'dev' into feature-permissions 2023-02-14 11:32:37 -08:00
shamoon
05e2e512e7 Fix toggle split doesnt have rounded right corner 2023-02-09 20:17:00 -08:00
shamoon
622372429f Fix long dropdown contents break column layout 2023-02-09 20:16:45 -08:00
shamoon
e6d6efa903 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
Michael Shamoon
72c9a0753e Disable redo OCR without edit permissions 2023-01-27 12:21:45 -08:00
Michael Shamoon
ad7c594dab Try to prevent title debounce overwriting 2023-01-25 10:53:08 -08:00
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
shamoon
e1d52f4884 Merge pull request #2302 from paperless-ngx/feature-fix-display-rtl-content 2023-01-10 07:30:52 -08:00
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Michael Shamoon
058ff8db23 Add tests for mail rules / accounts, partial tags, mobile preview 2023-01-05 00:36:03 -08:00
Michael Shamoon
1b788efdde Fix preview not loading on mobile 2023-01-04 06:58:42 -08:00
Michael Shamoon
bc318416cf Use correct direction for RTL content 2023-01-03 12:42:57 -08:00
Michael Shamoon
a7563f935e Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Michael Shamoon
ac447b4baf fix edit dialog creation d/t success emitter was renamed 2022-12-30 07:33:45 -08:00
Michael Shamoon
d875d06f37 lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
605480ab4a Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -08:00
Michael Shamoon
20e1779313 lint frontend 2022-12-15 23:36:01 -08:00
Michael Shamoon
b55f43df84 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
360a2258e1 Add ability to set owner per object 2022-12-09 15:54:30 -08:00
Michael Shamoon
8a229bf74d disable instead of hide doc edit buttons 2022-12-08 11:19:52 -08:00
Michael Shamoon
692f43f43e Refactor permissions API endpoints, UI group permissions 2022-12-08 00:05:16 -08:00
Michael Shamoon
932051d80d disable document form components when no object permissions 2022-12-07 15:46:52 -08:00
Michael Shamoon
43b9909a09 add share to c/dt/t/sp, refactor share input, ifOwner directive 2022-12-07 14:55:40 -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