Commit Graph
136 Commits
Author SHA1 Message Date
shamoonandGitHub 5942cd6cd2 Fix: disable toggle for share link creation without archive version, fix auto-copy in Safari (#4885)
* Fix: disable share link archive switch if archive version doesnt exist

* Fix: Add brief timeout before copy after share link creation for Safari, only show if succeeded

* Update messages.xlf
2023-12-07 13:48:33 -08:00
shamoonandGitHub 4481f12e32 Enhancement: implement document link custom field (#4799) 2023-12-05 08:16:56 -08:00
shamoonandGitHub 826322b610 Feature: pngx PDF viewer with updated pdfjs (#4679) 2023-12-04 17:17:40 -08:00
shamoonandGitHub ef9669cdb6 Fix: Miscellaneous v2.0 visual fixes (#4576)
* Fix notes count in tab button wrapping

* Fix position of custom fields dropdown on mobile

* Limit list view title width

* Update messages.xlf
2023-11-13 19:54:01 -08:00
shamoonandGitHub 18995b3561 Fix plain text preview overflow (#4555) 2023-11-13 06:44:07 -08:00
shamoon c19df84bef Fix: use ngSwitch for custom fields 2023-11-09 15:07:49 -08:00
shamoonandTrenton H 10729f0362 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 5ee9ad3e4f Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
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 Dietzlerandshamoon 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 e1f5a8bde0.

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

This reverts commit feef3c909b.

* 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
shamoonandGitHub 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
shamoonandGitHub 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
shamoonandGitHub 0cfa5211e9 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
shamoonandGitHub 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 ShamoonandTrenton H 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
shamoonandGitHub 2b1c8c8d9a Merge pull request #1375 from tim-vogel/add_comments
Feature: document comments
2022-08-25 11:48:31 -07:00
shamoonandGitHub 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
Michael Shamoon 1d2282df9e Cleanup frontend comment service & other code
[ci skip]
2022-08-23 19:20:08 -07:00