67 Commits

Author SHA1 Message Date
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
Michael Shamoon
ac435f17a1 Skeleton implementation of color setting 2022-03-09 14:12:28 -08:00
Michel Weimerskirch
20865d7567 Enabled the Czech (cs-cz) translations 2022-02-18 09:39:06 +01:00
Michel Weimerskirch
7c85ae2784 Enabled the Danish (da-dk) translations 2022-02-18 09:18:04 +01:00
Michel Weimerskirch
e805ca5fc2 Sort languages by localized name at runtime 2022-02-18 08:02:03 +01:00
Michel Weimerskirch
36e134d3be Sort language lists by locale 2022-02-18 08:02:00 +01:00
Michel Weimerskirch
bcd801b47b Added support for Luxembourgish (lb_LU) as an interface language 2021-07-16 16:43:55 +02:00
Jonas Winkler
16b3f0b4b3 add swedish locale 2021-05-04 17:01:39 +02:00
jonaswinkler
131a897453 add pl-PL locale 2021-04-17 13:41:26 +02:00
jonaswinkler
4ff4ddc578 added pt-pt locale 2021-03-17 22:32:39 +01:00
jonaswinkler
959f39d843 Add spanish locale 2021-03-14 13:34:14 +01:00
jonaswinkler
c5848fc077 keep the ng2-pdf-viewer; this might come in handy for splitting documents at specific pages #706 2021-03-10 22:38:33 +01:00
jonaswinkler
9970a51cf2 Merge branch 'dev' into feature/popover-previews 2021-03-10 22:32:37 +01:00
jonaswinkler
3a6f17ad42 add ru-ru locale 2021-03-07 10:07:42 +01:00
Michael Shamoon
304b8ea237 Re-merging this branch with Reverted dev 2021-03-06 14:50:38 -08:00
jonaswinkler
bf443802dc fix language codes 2021-03-06 23:40:29 +01:00
jonaswinkler
cbb195a560 Revert "Merge pull request #628 from shamoon/feature/popover-previews"
This reverts commit 8da15215087e4b7d605dc7fd32985fb5a656ff5d, reversing
changes made to a7846925b1892c7c1148723b559135bc0fd7e47d.
2021-03-05 23:19:44 +01:00
Michael Shamoon
58f5c52f38 Merge remote-tracking branch 'upstream/dev' into feature/popover-previews 2021-03-03 21:19:51 -08:00
jonaswinkler
d819334662 add Romanian locale configuration 2021-02-28 12:40:25 +01:00
jonaswinkler
8d3f4f6d9a Merge branch 'feature-invert-thumb-option' into dev 2021-02-26 14:31:18 +01:00
jonaswinkler
0f1d8d82e3 add Italian locale 2021-02-26 12:55:39 +01:00