35 Commits

Author SHA1 Message Date
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
4003f64b49 Allow filtering on multiple correspondents, doctypes, storage paths
Preserve 'Not assigned' option
Fix default logical operator
Update frontend strings
Fix radio button name overlaps
Use include / exclude with multi-select for OneToOne objects
2023-03-17 17:57:54 -07:00
Michael Shamoon
5bc0f39834 fix pagination, refactor 2022-08-08 00:03:15 -07:00
Michael Shamoon
b82a18721d Handle page parameter on saved views 2022-08-05 23:35:13 -07:00
shamoon
e168bde125 Merge branch 'dev' into feature-created-date 2022-05-26 14:28:33 -07:00
Michael Shamoon
2a819e8fd1 minor refactor query params utils 2022-05-21 00:22:36 -07:00
Michael Shamoon
bcbaa79311 Use 1/0 instead of true/false 2022-05-21 00:22:35 -07:00
Michael Shamoon
3d1a0b49a8 fix documents list without query params 2022-05-20 23:18:18 -07:00
Michael Shamoon
5267fecc9e Refactor query params service 2022-05-20 23:18:18 -07:00
Michael Shamoon
e664cd249b Consolidate date adapter 2022-05-18 03:25:02 -07:00
Michael Shamoon
caa9c49e05 use created_date 2022-05-18 03:25:02 -07:00
Michael Shamoon
70b9a9bbd3 Update date.ts
[ci skip]
2022-05-13 11:52:05 -07:00
Michael Shamoon
73cf64f879 Always accept yyyy-mm-dd date inputs 2022-05-01 21:38:04 -07:00
Michael Shamoon
67a1ad37fc handle very old date strings 2022-04-30 22:01:04 -07:00
Michael Shamoon
c5427c5a59 Refactor contrast to use luminance function 2022-04-13 08:18:10 -07:00
Michael Shamoon
88defa0358 Initial build of primary color contrast 2022-04-13 08:18:09 -07:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
shamoon
5d9482bcfa Merge pull request #253 from paperless-ngx/feature-better-date-keyboard-input
Improve date keyboard input
2022-03-11 10:27:56 -08:00
Michael Shamoon
31ad071cbb more code cleanup 2022-03-11 00:52:32 -08:00
Michael Shamoon
8250cdf714 code cleanup 2022-03-11 00:48:06 -08:00
Michael Shamoon
b6a75b6206 Move padding into date formatter 2022-03-11 00:28:06 -08:00
shamoon
37030f89ee Merge pull request #243 from paperless-ngx/css-variables
Custom color theming
2022-03-10 19:26:15 -08:00
Michael Shamoon
51e1336af3 fix comment 2022-03-10 15:27:02 -08:00
Michael Shamoon
548f6a41ae Allow formatting non-padded dates 2022-03-10 15:17:32 -08:00
Michael Shamoon
5872584aa6 Code formatting 2022-03-10 15:17:32 -08:00
Michael Shamoon
e2abd36ec7 strip all delimiters 2022-03-10 15:17:31 -08:00
Michael Shamoon
0708da5b67 semicolon 2022-03-10 15:17:31 -08:00
Viktor
efbe34b114 Parse dates when entered without separators
This adds date dividers if none are entered.
It also adds the current year if it wasn't entered.

This allows users to just enter 1003, 100322, 10032022 and
have it expanded to 10.03.2022, in the case of the German format.
(All other formats are also supported)

It also replaces commas with the date divider.
This allows quick entry of the date on the numpad.
2022-03-10 21:31:54 +01:00
Michael Shamoon
1658d1aa85 Working conversion 2022-03-09 15:34:26 -08:00
Michael Shamoon
c0fac27576 Converting colors experiment 2022-03-09 15:19:42 -08:00
Michael Lynch
96738277d9 Normalize whitespace in source files
Ensure that no source files have trailing whitespace at end of lines and ensure that all files end with a single trailing newline.

This also adds Github Actions to enforce whitespace conventions.
2021-06-13 10:57:40 -04:00
jonaswinkler
e85aa5bc3d improved color generation logic 2021-02-28 16:35:02 +01:00
jonaswinkler
bae41cc50a color picker fixes, random default color 2021-02-25 22:43:45 +01:00
jonaswinkler
6362af2d84 use new date inputs for the date filter as well 2021-02-24 18:45:05 +01:00
jonaswinkler
f35dcf1675 use ng-bootstrap date selector, with proper formatting/parsing according to the current locale #177 2021-02-24 18:00:26 +01:00