155 Commits

Author SHA1 Message Date
shamoon
d3daf01750 Chore: revert pngx pdf viewer to third party package (#6741) 2024-05-16 11:12:19 -07:00
shamoon
77752ec0a7 Feature: document history (audit log UI) (#6388) 2024-04-23 15:16:28 +00:00
shamoon
16ff22730b Fix: check original file for rotate 2024-04-20 20:14:44 -07:00
shamoon
2b1a26f81a Enhancement: refactor monetary field (#6370) 2024-04-19 08:08:46 +00:00
shamoon
a64b619351 Fix: hide page chooser if not loaded yet 2024-04-07 15:41:45 -07:00
shamoon
33e8b46404 Fix: Only disable split button if pages = 1 (#6304) 2024-04-06 23:49:00 +00:00
shamoon
17e53dd020 Feature: PDF actions - merge, split & rotate (#6094) 2024-03-25 18:41:24 -07:00
shamoon
ab4b9e8100 Fix: header button wrapping issues on mobile 2024-03-04 17:00:19 -08:00
shamoon
f1db5ae91a Enhancement: better monetary field with currency code (#5858) 2024-02-27 16:26:06 +00:00
shamoon
7de4b911bd Fix: tweak doc detail component behavior while awaiting metadata (#5546) 2024-01-25 13:22:03 -08:00
shamoon
dbeddf8786 Fix: render images not converted to pdf, refactor doc detail rendering (#5475) 2024-01-20 08:26:24 -08:00
shamoon
44ec85947d Chore: better bootstrap icons (#5403) 2024-01-18 00:27:38 +00:00
shamoon
b73c3bef4c Fix: save button layout with long button translation text 2024-01-16 21:44:41 -08:00
shamoon
a37e0a0687 Fix: doc detail component fixes (#5373) 2024-01-13 21:40:22 +00:00
shamoon
f86ff9d1be Disable custom field remove button if user does not have permissions (#5194) 2023-12-31 10:55:25 -08:00
shamoon
daed79ee98 Chore: Update Angular to v17 (#4980) 2023-12-19 15:02:05 -08:00
shamoon
5c5e43985d Enhancement: document link field fixes (#5020)
* Implement more efficient getFew for document retrieval

* Filter out parent document ID & already-selected documents

* Clip very long document titles
2023-12-18 00:39:45 +00:00
shamoon
7edaf8db71 Enhancement: above and below doc detail save buttons (#5008)
* Show doc detail nav buttons above & below fields

* Fix tests for additional button nav

* Use flexbox to fix tab order but retain visual order

* Update screenshots
2023-12-18 00:11:12 +00:00
shamoon
0bf2e01505 Fix: allow text copy in pngx pdf viewer (#4938) 2023-12-12 01:06:30 +00:00
shamoon
082df8b886 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
shamoon
22e58b8e14 Enhancement: implement document link custom field (#4799) 2023-12-05 08:16:56 -08:00
shamoon
d82e97fab7 Feature: pngx PDF viewer with updated pdfjs (#4679) 2023-12-04 17:17:40 -08:00
shamoon
863971a8c6 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
shamoon
ca7bc2ba21 Fix plain text preview overflow (#4555) 2023-11-13 06:44:07 -08:00
shamoon
967d796787 Fix: use ngSwitch for custom fields 2023-11-09 15:07:49 -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
ef9d01fefe 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
025fbe4d2a 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
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
42a45075db Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
ac7eeaa877 Render frontend html as plain text 2023-05-09 21:59:24 -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
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
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
622372429f Fix long dropdown contents break column layout 2023-02-09 20:16:45 -08:00
Michael Shamoon
72c9a0753e Disable redo OCR without edit permissions 2023-01-27 12:21:45 -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