Commit Graph

237 Commits

Author SHA1 Message Date
shamoon 5842944d1e Fix: render images not converted to pdf, refactor doc detail rendering (#5475) 2024-01-20 08:26:24 -08:00
shamoon 5781a0d51f Fix frontend tests icon imports 2024-01-19 22:28:32 -08:00
shamoon bb98fc5f65 Chore: better bootstrap icons (#5403) 2024-01-18 00:27:38 +00:00
shamoon dc1918ad10 Fix: dont lose permissions ui if owner changed from null (#5433) 2024-01-17 17:44:04 +00:00
shamoon 96af953e6f Fix: save button layout with long button translation text 2024-01-16 21:44:41 -08:00
shamoon 2e2362e2df Fix: outdated confirm dialog confirm 2024-01-16 15:18:26 -08:00
shamoon 98c5cf89ef Fix: doc detail component fixes (#5373) 2024-01-13 21:40:22 +00:00
shamoon 53e04e66cf Enhancement: warn when outdated doc detected (#5372)
* Update modified property for target docs w bidirectional links

* Warn on doc change detected
2024-01-13 20:28:10 +00:00
shamoon f525ac0af6 Chore: add pre-commit hook for codespell (#5324) 2024-01-08 13:03:05 -08:00
shamoon 35a4d3fb54 Disable custom field remove button if user does not have permissions (#5194) 2023-12-31 10:55:25 -08:00
shamoon 66b2d90c50 Refactor frontend data models 2023-12-19 22:36:35 -08:00
shamoon a6248bec2d Chore: Update Angular to v17 (#4980) 2023-12-19 15:02:05 -08:00
shamoon 341815cc03 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 d22b27afe7 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 1a48910e6b Fix: allow text copy in pngx pdf viewer (#4938) 2023-12-12 01:06:30 +00:00
shamoon 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
shamoon 4481f12e32 Enhancement: implement document link custom field (#4799) 2023-12-05 08:16:56 -08:00
shamoon 826322b610 Feature: pngx PDF viewer with updated pdfjs (#4679) 2023-12-04 17:17:40 -08:00
shamoon 47a2ded30d Fix: use default permissions for objects created via dropdown (#4778) 2023-12-03 00:52:48 +00:00
shamoon 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
shamoon 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
shamoon 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
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 423e0768f9 Improved error notifications 2023-09-08 11:49:56 -07:00
shamoon 9291c98189 Improve 404 navigation and styling 2023-08-09 00:30:20 -07:00
shamoon 421e78a748 Handle very old date strings in correspondent list 2023-08-07 17:31:38 -07:00
shamoon b5dec87a62 Cancel possibly slow queries on leave doc details 2023-08-03 21:49:11 -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
shamoon 0bcda5ded8 Limit ng-select size for addition of filter button 2023-07-02 07:50:26 -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 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 06def8c11e 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 74c965d21d Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon b9a548758a Metadata error use new error toast 2023-05-20 10:28:37 -07:00
shamoon a436caf2ad Suggestions error use new error toast 2023-05-20 10:15:53 -07:00
shamoon e293d23ae3 Refactoring a few frontend components 2023-05-11 12:49:33 -07:00
shamoon 49754d33fa Render frontend html as plain text 2023-05-09 21:59:24 -07:00
shamoon d7d95037be Update document-detail.component.ts 2023-05-09 21:48:31 -07:00
shamoon ebaf509a42 Retain doc changes on tab switch after refresh doc 2023-04-29 00:23:30 -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 4cfc416cdc Handle user saved and no longer has permissions 2023-03-19 23:39:52 -07:00
shamoon 9902c4745d fix doc detail discard perm changes 2023-03-19 23:39:52 -07:00
shamoon e373ca7bdc fix unable to change owner to someone else 2023-03-19 23:39:52 -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