87 Commits

Author SHA1 Message Date
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
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
a7e632de16 Support default permissions for object creation via frontend (#4233) 2023-09-21 16:28:22 -07:00
shamoon
6408c701d5 Fix application of theme color vars at root (#4193) 2023-09-16 01:08:03 -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
210f6b4044 Add Afrikaans, Greek & Norwegian languages 2023-09-08 10:01:01 -07:00
shamoon
720fea45f6 Correct spelling of Ukrainian 2023-08-11 07:25:31 -07:00
shamoon
5636bc4b3f Adds Ukranian translation 2023-08-06 08:08:07 -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
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
9ff50f8d79 Add Catalan translation 2023-04-22 09:32:29 -07:00
shamoon
475f50c64d Give superuser full doc permissions 2023-03-08 19:07:06 -08:00
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
Khaled Emad
5b0ae49819 Adding arabic language 2023-01-02 11:32:34 -08:00
Michael Shamoon
932051d80d disable document form components when no object permissions 2022-12-07 15:46:52 -08:00
Michael Shamoon
43b9909a09 add share to c/dt/t/sp, refactor share input, ifOwner directive 2022-12-07 14:55:40 -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
Michael Shamoon
f638bd5d22 fix tour placement issues, basic offerTour method 2022-10-09 23:47:45 -07:00
Michael Shamoon
e5daa9bceb Core welcome tour functionality 2022-10-09 23:46:26 -07:00
Michael Shamoon
4ec77788f1 Handle settings live refresh, unsubscribe subscriptions 2022-09-30 15:39:02 -07:00
Michael Shamoon
f0cd10e960 Better migration of update checking settings, offer reload, strip backend_setting from db 2022-09-30 14:03:59 -07:00
Michael Shamoon
4eaeac3610 Frontend update checking settings 2022-09-30 12:30:23 -07:00
Michael Shamoon
51b552168a pull frontend lang setting from db if set 2022-05-18 02:41:15 -07:00
Michael Shamoon
097795bf0c tap ui settings get to avoid dup 2022-05-17 16:12:59 -07:00
Michael Shamoon
c12e55f54c Properly get username & display name 2022-05-17 11:13:19 -07:00
Michael Shamoon
083290e798 PaperlessUiSettings data object 2022-05-17 11:13:19 -07:00
Michael Shamoon
67b3473365 Refactor to UiSettings 2022-05-17 11:11:39 -07:00
Michael Shamoon
ca14b228aa include language in db settings 2022-05-17 11:11:39 -07:00
Michael Shamoon
06490aff24 Automatic migration to database 2022-05-17 11:11:39 -07:00
Michael Shamoon
000a3ec164 Use app initializer to wait on settings 2022-05-17 11:11:38 -07:00
Michael Shamoon
7fbd2076c3 Basic frontend settings retrieval 2022-05-17 11:11:38 -07:00
Michael Shamoon
3fc5802094 Update settings.service.ts 2022-05-17 11:11:38 -07:00
Michael Shamoon
cdd7dc25b0 fix some css specificity issues, unused vars 2022-04-16 00:23:15 -07:00
Michael Shamoon
05d3731dbe miscellaneous css fixes / reorganization 2022-04-13 13:30:02 -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
6affde021b Add Belarusian localization 2022-03-31 19:42:08 -07:00
Michael Shamoon
920b03250b Add Turkish localization 2022-03-26 13:52:15 -07:00
Michael Shamoon
d89c005246 Add Serbian localization 2022-03-22 22:26:59 -07:00
Michael Shamoon
332c0bf4f3 Codestyle cleanup 2022-03-18 21:37:38 -07:00
Michael Shamoon
f843487081 Add Chinese localization
Addresses https://github.com/paperless-ngx/paperless-ngx/issues/134#issuecomment-1062950795
2022-03-13 14:26:52 -07:00
Michael Shamoon
1396825b95 Add Slovenian language for frontend
See #303
2022-03-13 09:15:42 -07:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08: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