339 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
ba3c4152ce Fix password change detection on profile edit (#5028) 2023-12-17 13:36:17 -08:00
shamoon
61995d6d74 Fix: show errors for select dropdowns (#4979) 2023-12-14 10:05:36 -08:00
shamoon
aeda10bd16 Fix: alignment of share links archive toggle 2023-12-07 14:03:57 -08: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
7d8287fb5d Fix: respect baseURI for pdfjs worker URL (#4865) 2023-12-07 07:13:00 -08:00
shamoon
d7fdef32fa Fix: invalid height attr on logo svg 2023-12-05 09:08:42 -08:00
shamoon
fb002a4e26 Fix: prevent dropdown open when clicking document links 2023-12-05 08:56:13 -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
1a36d8ff23 Fix: bulk edit object permissions should use permissions object (#4797) 2023-12-04 06:40:17 -08:00
shamoon
084c31b37a Enhancement: support assigning custom fields via consumption templates (#4727) 2023-12-03 15:35:30 -08:00
shamoon
65c5d32973 Fix: use default permissions for objects created via dropdown (#4778) 2023-12-03 00:52:48 +00:00
shamoon
68e7a5266b Feature: update user profile (#4678) 2023-12-02 08:26:42 -08:00
Trenton H
7a98e3c1e7 Enhancement: Allow excluding mail attachments by name (#4691)
* Adds new filtering to exclude attachments from processing

* Frontend use include / exclude mail rule filename filters

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-12-02 08:26:19 -08:00
shamoon
e5f5579639 Fix: share links for URLs containing 'api' incorrect in dropdown (#4701) 2023-11-29 11:10:55 -08:00
shamoon
9f79959fcb Fix: consistent bottom margin for form field labels 2023-11-21 13:53:11 -08:00
shamoon
0ea7a16a75 Fix: Prevent text wrap on consumption template label (#4616) 2023-11-17 00:40:40 -08:00
shamoon
d9008dfd5c Fix: Add missing translation string in share link dropdown
Closes #4594
2023-11-15 00:20:55 -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
0f3f4ed0e7 Feature: compact toasts (#4545) 2023-11-13 21:17:44 +00:00
Trenton H
ab9e561317 Chore: Backend bulk updates (#4509) 2023-11-13 17:09:56 +00: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
c8f2883737 Update share-links-dropdown.component.ts 2023-10-31 15:44:53 -07:00
shamoon
b18028cffa Fix: visually hidden text breaks delete button wrap (#4462) 2023-10-30 19:57:11 -07:00
shamoon
f5d19522ae Fix: replace drag drop & clipboard dependencies with Angular CDK (#4362)
* Swap ngx-drag-drop dependency for Angular CDK

* Swap ngx-clipboard dependency for Angular CDK
2023-10-16 19:46:16 -07:00
shamoon
a1d5c4deec Fix: hover colors, empty lists, disable autocomplete, translation strings 2023-10-15 12:00:30 -07:00
shamoon
b34104ef90 Fix: get highest ASN regardless of user (#4326) 2023-10-06 17:22:31 -07:00
shamoon
182b4e6c72 Enhancement: dashboard improvements, drag-n-drop reorder dashboard views (#4252)
* Updated dashboard

* Make entire screen dropzone on dashboard too

* Floating upload widget status alerts

* Visual tweaks: spacing, borders

* Better empty view widget

* Support drag + drop reorder of dashboard saved views

* Update messages.xlf

* Disable dashbaord dnd if global dnd active

* Remove ngx-file-drop dep, rebuild file-drop & upload files widget

* Revert custom file drop implementation

* Try patch-package fix

* Simplify dropzone transitions to make more reliable

* Update messages.xlf

* Update dashboard.spec.ts

* Fix coverage
2023-09-28 10:18:12 -07:00
shamoon
54783f706f Feature: consumption templates (#4196)
* Initial implementation of consumption templates

* Frontend implementation of consumption templates

Testing

* Support consumption template source

* order templates, automatically add permissions

* Support title assignment in consumption templates

* Refactoring, filters to and, show sources on list

Show sources on template list, update some translation strings

Make filters and

minor testing

* Update strings

* Only update django-multiselectfield

* Basic docs, document some methods

* Improve testing coverage, template multi-assignment merges
2023-09-22 16:53:13 -07:00
shamoon
026a77184a Fix mixed rule / owner check, component input / output 2023-09-22 01:20:25 -07:00
shamoon
a9ab344678 Support edit permissions for mail rules and accounts 2023-09-22 01:01:35 -07:00
shamoon
a7e632de16 Support default permissions for object creation via frontend (#4233) 2023-09-21 16:28:22 -07:00
shamoon
93ef011126 Enhancement: bulk edit object permissions (#4176)
* bulk_edit_object_perms API endpoint

* Frontend support for bulk object permissions edit
2023-09-19 13:40:21 -07: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
c80c3b3374 Frontend better handle slow backend requests 2023-09-08 19:49:54 -07:00
shamoon
cca465aa00 Improved error notifications 2023-09-08 11:49:56 -07:00
dependabot[bot]
68c76e0bc2 Bump the frontend-jest-dependencies group in /src-ui with 4 updates (#4112)
* Bump the frontend-jest-dependencies group in /src-ui with 4 updates

Bumps the frontend-jest-dependencies group in /src-ui with 4 updates: [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest), [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest), [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) and [jest-websocket-mock](https://github.com/romgain/jest-websocket-mock).


Updates `jest` from 29.6.2 to 29.6.4
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest)

Updates `@types/jest` from 29.5.3 to 29.5.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `jest-environment-jsdom` from 29.6.2 to 29.6.4
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest-environment-jsdom)

Updates `jest-websocket-mock` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/romgain/jest-websocket-mock/releases)
- [Commits](https://github.com/romgain/jest-websocket-mock/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-jest-dependencies
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-jest-dependencies
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-jest-dependencies
- dependency-name: jest-websocket-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-jest-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update toasts.component.spec.ts

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-02 07:08:40 +00:00
shamoon
4c5da051ed Fix: tag creation sometimes retained search text 2023-08-20 16:18:34 -07:00
shamoon
11b9347763 Improve 404 navigation and styling 2023-08-09 00:30:20 -07:00
Trenton H
dbcf040dde Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -07:00
shamoon
33e017e776 Fix date component incorrect translation unit 2023-06-21 20:59:29 -07:00
shamoon
0dc46581e6 Fix invalid translation unit 2023-06-21 20:40:29 -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
shamoon
64ffe09e5d Merge pull request #3476 from paperless-ngx/feature-detail-quick-filters
Feature: quick filters from document detail
2023-06-01 13:52:25 -07:00
shamoon
42a45075db Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
64acb9eb18 Add explanations to relative dates 2023-05-27 10:25:41 -07:00
shamoon
4e295f0c71 Improve frontend error handling 2023-05-17 12:56:59 -07:00
shamoon
c12c7c23fb Fix 'create' edit dialog without permissions form 2023-05-17 11:40:43 -07:00