17 Commits

Author SHA1 Message Date
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
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
Trenton H
dbcf040dde Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -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
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
jonaswinkler
22974b6dad add ability to manually clear the cache on matching models 2020-12-28 12:31:50 +01:00
jonaswinkler
b68d58c378 Merge branch 'dev' into feature-bulk-edit 2020-12-15 03:13:22 +01:00
jonaswinkler
f0738389f6 editable saved views 2020-12-15 02:35:04 +01:00
jonaswinkler
2f6bf67d96 imports 2020-12-14 20:21:31 +01:00
jonaswinkler
a64138a62e many changes to support server side saved views 2020-12-14 19:26:36 +01:00
jonaswinkler
5ae6c30d85 fixed some issues with the data access service, support for requesting all IDs of filtered documents (required for selection) 2020-12-11 14:46:48 +01:00
jonaswinkler
1c23e10c39 caching for listAll methods 2020-12-04 01:22:14 +01:00
Jonas Winkler
0947d8a3e2 added sorting to management pages 2020-11-08 16:58:06 +01:00
Jonas Winkler
4e904cf912 a new tag editor fixes #20
also: discard document changes button
2020-11-04 17:23:36 +01:00
Jonas Winkler
d4aa2fb169 fixes #17
search for multiple tags
2020-11-04 00:01:08 +01:00
Jonas Winkler
f978703105 added autocomplete 2020-10-27 17:05:14 +01:00
Jonas Winkler
8693bee4ac added paperless ui 2020-10-27 01:11:32 +01:00