137 Commits

Author SHA1 Message Date
shamoon
99d1de543c Respect permissions for customfielddropdown 2023-11-03 00:26:32 -07:00
shamoon
3787f4f8fe Rework doc details nav
scroll doc details nav on mobile

Update styles.scss
2023-11-01 23:33:17 -07:00
shamoon
6a0e56662c Move nav 2023-11-01 19:14:11 -07:00
shamoon
6ed740756e Frontend support for boolean + url custom fields 2023-11-01 19:14:11 -07:00
shamoon
7879b9e91b Working removal of custom fields 2023-11-01 19:14:11 -07:00
shamoon
44728aa048 Working frontend custom field editing 2023-11-01 19:14:11 -07:00
shamoon
877b9325c4 Custom Fields dropdown, skeleton of posting custom fields 2023-11-01 19:14:11 -07:00
shamoon
6f62da077a Saving work, basic frontend getting & display 2023-11-01 19:14:11 -07:00
shamoon
5ee9ad3e4f Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
shamoon
7c9ab8c0b6
Feature: Share links (#3996)
* Implement share links

Basic implementation of share links

Make certain share link fields not editable, automatically grant permissions on migrate

Updated styling, error messages from expired / deleted links

frontend code linting, reversable sharelink migration

testing coverage

Update translation strings

No links message

* Consolidate file response methods

* improvements to share links on mobile devices

* Refactor share links file_version

* Add docs for share links

* Apply suggestions from code review

* When filtering share links, use the timezone aware now()

* Removes extra call to setup directories for usage in testing

* FIx copied badge display on some browsers

* Move copy to ngx-clipboard library

---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-09-14 13:32:43 -07:00
shamoon
2e67697d36 Note creation / deletion should respect doc permissions
- Disable add note button on frontend
- Explicitly disable add / delete via api
2023-08-01 22:28:27 -07:00
Daniel Dietzler
4693632c7d 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
74c965d21d Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
49754d33fa Render frontend html as plain text 2023-05-09 21:59:24 -07:00
shamoon
b7c7e293f7 Doc detail tab switch fixes 2023-04-28 08:14:24 -07:00
shamoon
e75510309d Hide Permissions if user cannot view users 2023-04-09 16:17:48 -07:00
shamoon
f2fb06e6f3
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
6ed637cfdd Inline plaintext document previews for complete styling 2023-04-03 10:03:59 -07:00
shamoon
2fd217ef1f Fix doc detail button reset on error 2023-03-31 13:47:35 -07:00
shamoon
bf8ae22f3f Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
89c639f850 Just include comments on document object 2023-03-17 18:47:03 -07:00
shamoon
e19dd2d527 Support navigating directly to comments 2023-03-17 18:47:03 -07:00
shamoon
3911740360 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
shamoon
cbab1a51f1 Hide selects when user doesnt have view permissions
[ci skip]
2023-03-06 11:07:40 -08:00
shamoon
21eb253c57
Merge pull request #2147 from paperless-ngx/feature-permissions
Feature: multi-user permissions
2023-02-17 07:21:18 -08:00
Nathanaël Houn
dd91d4264a
fix: added missing i18n placeholder for file preview 2023-02-17 14:08:05 +01:00
shamoon
32754defef Merge branch 'dev' into feature-permissions 2023-02-14 11:32:37 -08:00
shamoon
d73fbb1643 Fix long dropdown contents break column layout 2023-02-09 20:16:45 -08:00
Michael Shamoon
118e3703dc Disable redo OCR without edit permissions 2023-01-27 12:21:45 -08:00
shamoon
0cfa5211e9
Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
shamoon
985f298c46
Merge pull request #2302 from paperless-ngx/feature-fix-display-rtl-content 2023-01-10 07:30:52 -08:00
Michael Shamoon
a4d96061de Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Michael Shamoon
00d67d53bf Add tests for mail rules / accounts, partial tags, mobile preview 2023-01-05 00:36:03 -08:00
Michael Shamoon
80910c72cf Fix preview not loading on mobile 2023-01-04 06:58:42 -08:00
Michael Shamoon
da38efebdf Use correct direction for RTL content 2023-01-03 12:42:57 -08:00
Michael Shamoon
e2093436ac lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
f31cee75f3 Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -08:00
Michael Shamoon
5bf5710d39 lint frontend 2022-12-15 23:36:01 -08:00
Michael Shamoon
6dc5c1de32 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
a5ab6f2558 Add ability to set owner per object 2022-12-09 15:54:30 -08:00
Michael Shamoon
7a241950d4 disable instead of hide doc edit buttons 2022-12-08 11:19:52 -08:00
Michael Shamoon
211fbf0cf6 Refactor permissions API endpoints, UI group permissions 2022-12-08 00:05:16 -08:00
Michael Shamoon
8b204cac99 disable document form components when no object permissions 2022-12-07 15:46:52 -08:00
Michael Shamoon
c73688d167 add share to c/dt/t/sp, refactor share input, ifOwner directive 2022-12-07 14:55:40 -08:00
Michael Shamoon
79da613cb6 Unify API perm endpoint to set_permissions, initial frontend support for doc sharing 2022-12-07 00:49:26 -08:00
Michael Shamoon
96a29883cd Refactor permissions to use enums, permissions service 2022-11-12 04:31:42 -08:00
Michael Shamoon
59e359ff98 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
4603813896 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
shamoon
2b1c8c8d9a
Merge pull request #1375 from tim-vogel/add_comments
Feature: document comments
2022-08-25 11:48:31 -07:00
shamoon
d40c13420d
Merge pull request #1367 from Eckii24/feat/date-suggestions
Adding date suggestions to the documents details view
2022-08-25 11:47:37 -07:00