50 Commits

Author SHA1 Message Date
shamoon
c4d57522a2 Useful buttons for saved view widgets 2023-07-26 11:36:55 -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
e69057886b migrate frontend tests to playwright
tasks spec
settings spec
manage spec
document-detail spec
global permissions spec
documents-list & dashboard specs
tasks network requests
settings network requests
permissions network requests
manage network request
bulk-edit network requests
Fix specs
try to get playwright working on ci
rename some specs
reconfigure playwright config
increase webserver timeout for ci
fix report path
2023-05-18 13:47:43 -07:00
Michael Shamoon
d875d06f37 lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
405a7b4684 Merge branch 'dev' into feature-permissions 2022-12-09 17:54:14 -08:00
Michael Shamoon
5b0cc85776 Dont use document data from /documents API call for edit 2022-11-27 21:19:23 -08:00
Michael Shamoon
dfdfd8a7d7 Refactor permissions to use enums, permissions service 2022-11-12 04:31:42 -08:00
Michael Shamoon
5c5486d2ea Refactor permissions check code
Directly check permissions and no subscription (uisettings is always initialized on frontend startup)
update permission directive to accept single string
add explicit management permission name
2022-11-11 15:45:37 -08:00
Kaaybi
084fe2c050 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
shamoon
e168bde125 Merge branch 'dev' into feature-created-date 2022-05-26 14:28:33 -07:00
Quinn Casey
b4708ba238 Merge pull request #1000 from paperless-ngx/rework-query-params-logic
Fix: Rework query params logic
2022-05-26 08:18:43 -07:00
Michael Shamoon
0c641d5f07 Update saved-view-widget.component.ts
[ci skip]
2022-05-23 01:54:21 -07:00
Michael Shamoon
5267fecc9e Refactor query params service 2022-05-20 23:18:18 -07:00
Michael Shamoon
caa9c49e05 use created_date 2022-05-18 03:25:02 -07:00
Michael Shamoon
c1fb277f25 let OpenDocumentsService handle nav 2022-05-15 23:44:29 -07:00
Michael Shamoon
dc75035bdc Warn on closing edited doc due to max open docs 2022-05-15 22:55:25 -07:00
Michael Shamoon
2e47b6b22f loading indicator for dashboard widgets 2022-05-08 09:12:29 -07:00
Michael Shamoon
f9fb62b04a support sort fields & some refactoring 2022-05-05 08:36:18 -07:00
Michael Shamoon
84c2b8ee77 Refactor query param handling to service 2022-05-05 00:23:06 -07:00
Michael Shamoon
754c657e1f Add query params for saved views 2022-05-04 22:31:09 -07:00
Michael Shamoon
3acafea5d0 Remove text interpolation from doc routerLink 2022-03-24 08:09:41 -07:00
Michael Shamoon
922641d54c Clickable tags in dashboard widgets 2022-03-23 22:08:00 -07:00
Frank Strieter
4377d15599 test: remove most of the boilerplate tests 2022-03-23 09:24:07 +01:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
Michael Shamoon
703a81eb5d fix logo coloring, saved view widget link, card coloring 2022-03-08 16:41:49 -08:00
Michael Shamoon
6211846e14 Initial conversion to css variables 2022-03-08 14:49:40 -08:00
Michael Shamoon
dddba2a767 bs5: fix dark mode dashboard widget table display 2022-02-20 00:16:49 -08:00
Yannic Schroeder
0aaf553acc Migrate Bootstrap utilities to v5
Names of utility classes have changed:
https://getbootstrap.com/docs/5.0/migration/#utilities
2022-02-20 01:25:57 +01:00
Yannic Schroeder
73f1bcc9ef Update to Angular 13 2022-02-20 00:14:35 +01:00
jonaswinkler
923057e2ea refactored most of the list view; fixes #147, much snappier UX when switching between views 2021-02-18 17:29:21 +01:00
jonaswinkler
58af2e2493 update statistics when new documents are added 2021-02-06 00:13:49 +01:00
jonaswinkler
044aa55d74 Merge branch 'dev' into feature-websockets-status 2021-01-23 22:22:17 +01:00
jonaswinkler
d93dd20c7f add configuration option for changing date display in paperless #325 2021-01-17 00:15:45 +01:00
Michael Shamoon
e8bff7bba5 Prevent dashboard overflow on mobile 2021-01-08 09:33:45 -08:00
jonaswinkler
179b53d373 Merge branch 'dev' into feature-websockets-status 2021-01-04 22:45:56 +01:00
Michael Shamoon
7a09519a3f Fix overflowing document titles on homepage mobile view 2020-12-30 23:16:30 -08:00
jonaswinkler
10deab8fb6 added many localization markers to the front end #123 2020-12-23 15:09:39 +01:00
jonaswinkler
9fb2be641e bugfix 2020-12-22 01:17:07 +01:00
jonaswinkler
6aab50ed73 more fixes regarding empty titles 2020-12-16 16:44:54 +01:00
jonaswinkler
a64138a62e many changes to support server side saved views 2020-12-14 19:26:36 +01:00
jonaswinkler
0c396dfd48 fixes #105 2020-12-07 12:46:46 +01:00
jonaswinkler
dd60100796 changes 2020-12-07 12:44:23 +01:00
jonaswinkler
0bfecaa0fc Merge branch 'dev' into feature-websockets-status 2020-12-06 22:53:54 +01:00
jonaswinkler
e40fdd469d use the observables everywhere in the application. 2020-12-04 01:25:52 +01:00
jonaswinkler
509f018d85 adjustments of the front end for API changes. 2020-12-03 20:28:17 +01:00
jonaswinkler
5b60e3129e fixes #71 2020-11-29 23:32:03 +01:00
Jonas Winkler
3893a23852 Merge branch 'dev' into celery-tasks 2020-11-22 22:49:37 +01:00
Jonas Winkler
63ea3684fa modular dashboard 2020-11-22 22:35:39 +01:00
Jonas Winkler
fae7ae06eb better toasts, better dashboard, first implementation of consumer status 2020-11-07 12:05:15 +01:00