347 Commits

Author SHA1 Message Date
shamoon
59e062f154 Fix: always reset theme classes on update appearance settings 2023-12-05 00:08:03 -08: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
0f3f4ed0e7 Feature: compact toasts (#4545) 2023-11-13 21:17:44 +00:00
shamoon
29d88d7827 Adds Hungarian translation (#4552) 2023-11-12 16:39:17 -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
514abab755 Adds Bulgarian translation (#4470) 2023-11-01 06:49:52 -07:00
shamoon
f9bf35147c Feature: support sorting sidebar saved views (#4381) 2023-10-20 02:41:01 +00: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
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
b5d29e821e Enhancement: settings reorganization & improvements, separate admin section (#4251)
* Separate admin / manage sections

* Move mail settings to its own component

* Move users and groups to its own component

* Move default permissions to its own settings tab

* Unify list styling, add tour step, refactor components

* Only patch saved views that have changed on settings save

* Update messages.xlf

* Remove unused methods in settings.component.ts

* Drop admin section to bottom of sidebar, cleanup outdated, add docs link to dropdown

* Better visually unify management list & other list pages
2023-09-24 19:24:28 -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
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
6408c701d5 Fix application of theme color vars at root (#4193) 2023-09-16 01:08:03 -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
Dominik Mielcarek
feeda49e2b Chore: change dark mode to use Bootstrap's color modes (#4174)
* Change setting dark mode to use Bootstrap's data-bs-theme attribute

* Update dark mode styling to use Bootstrap's color mode attribute

* Update unit tests and lints

* Fix not reflecting custom theme color

* Remove commented-out code

* fix inverted thumbnails in dark mode & card borders

* prettier

* Fix application of dark mode, tests

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-13 18:11:44 +00: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
shamoon
210f6b4044 Add Afrikaans, Greek & Norwegian languages 2023-09-08 10:01:01 -07:00
shamoon
7f8a241cbd Disable / hide some UI buttons / elements if insufficient permissions 2023-08-17 20:34:19 -07:00
shamoon
720fea45f6 Correct spelling of Ukrainian 2023-08-11 07:25:31 -07:00
shamoon
cf6ed792d7 Add backend check for ws message ownership 2023-08-09 16:46:48 -07:00
shamoon
570d7d38fb Restrict status messages by owner if set 2023-08-08 20:39:55 -07:00
shamoon
5636bc4b3f Adds Ukranian translation 2023-08-06 08:08:07 -07:00
shamoon
0a2f06b68e Update frontend consumer status phases 2023-07-26 07:03:43 -07:00
Trenton Holmes
41839728fe Small improvement to the consumer status with stronger typing 2023-07-26 07:03:43 -07:00
Trenton H
dbcf040dde Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -07:00
shamoon
44996437bf Add Slovak translation 2023-06-30 20:24:22 -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
42a45075db Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
4e295f0c71 Improve frontend error handling 2023-05-17 12:56:59 -07:00
shamoon
0cfb436e57 Merge pull request #3309 from paperless-ngx/feature-owner-filtering
Feature: owner filtering
2023-05-11 10:05:51 -07:00
shamoon
cf7c979bb1 Merge pull request #3329 from paperless-ngx/feature-full-dynamic-counts
Enhancement: dynamic counts include all pages, hide for "Any"
2023-05-10 11:15:47 -07:00
shamoon
43288153e0 Add frontend owner filtering
Add owner to doc cards, table
Frontend testing for owner filtering
2023-05-08 15:34:14 -07:00
shamoon
ab78b98d6a Add "all" property to results 2023-05-06 11:31:47 -07:00
shamoon
bd1f9acc62 Dynamic counts include all pages, hide for "Any" 2023-05-05 01:01:57 -07:00
shamoon
54e8f64af3 Save tour completion, hide welcome widget 2023-05-04 23:29:20 -07:00
shamoon
43b7326859 Add Finnish translation 2023-04-27 10:12:35 -07:00
shamoon
3c9a209031 Dont perform permissions queries by default 2023-04-27 07:06:49 -07:00
shamoon
f35d51866d Add Catalan translation 2023-04-22 09:34:33 -07:00
shamoon
8743012e03 Merge pull request #2818 from paperless-ngx/fix-2809
Fix: permissions display should not show users with inherited permissions & unable to change owner
2023-03-30 19:49:12 -07:00
shamoon
f6cd40f9f2 Add test mail account 2023-03-24 15:14:02 -07:00
shamoon
875b7662f4 Fix inherited permissions should not display per user in permissions form 2023-03-19 23:41:36 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
992ac545b3 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
shamoon
475f50c64d Give superuser full doc permissions 2023-03-08 19:07:06 -08:00
Jonas Winkler
7b4894ca05 don't submit owner via API 2023-02-28 18:32:09 +01:00
shamoon
3aae80445f Merge pull request #2704 from paperless-ngx/feature-dynamic-document-counts 2023-02-23 15:32:08 -08:00