Commit Graph

380 Commits

Author SHA1 Message Date
nathan
2287ca15c2 Fix PHP 8.0 Fatal error: Declaration of preferences_categories_ui::index(?array $content = null) must be compatible with admin_categories::index(?array $content = null, $msg = '') 2021-11-16 16:07:23 -07:00
Ralf Becker
e6b08cce70 fix PHP 8.0 error setting up two factor auth
key() expects array, null given
2021-10-26 19:59:10 +02:00
Ralf Becker
c53551ab2b fix PHP 8.0 error: Unsupported operand types: null + array 2021-10-20 15:03:41 +02:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
909b59320d spread operator does not take care of it automatic, have to use array_values to get ride of string keys 2021-04-06 09:47:21 +02:00
Ralf Becker
69f60d100b fix PHP 8 error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters
caused by non-numeric keys, spread operator takes care of that automatic
2021-04-06 09:19:54 +02:00
Hadi Nategh
dad82bf1f1 Implement auto color-scheme in order to respect browser's selected prefers-color-scheme 2021-01-26 17:04:37 +01:00
Hadi Nategh
f21ac58c87 Introduce dark/light mode theme switch into framework 2020-12-15 20:24:25 +01:00
Hadi Nategh
acbd23a60a * Mail: Add custom html toolbar settings in mail site-configuration in order to be able to add/remove certain actions only for mail-compose dialog. 2020-09-25 14:17:29 +02:00
Ralf Becker
6c7f9a2e33 * Preferences: new pref how to update lists: fast or exact
more precise explenation and German translation
2020-08-10 09:27:15 +02:00
nathangray
bec67d63ee Etemplate: Change how nextmatch handles update & refresh push messages 2020-08-07 09:19:15 -06:00
Ralf Becker
33e88d25ae * Preferences: use push to ask every affected client to reload preferences, if affected 2020-07-31 09:47:49 +02:00
nathangray
b398935fd6 * Preferences: Fix delete personal category required admin permission 2020-06-03 15:45:25 -06:00
Ralf Becker
c50fd8e6bf * API: new data-minimizing account display options "Firstname Inital" and "Firstname [ID]" 2020-05-04 09:25:32 +02:00
nathangray
6b0d0b18e2 Fix missing translation reported by Stefan Unverricht 2020-04-15 09:58:48 -06:00
Hadi Nategh
6c9504e647 Add fullscreen into htmleditor feature preferences. fix and use svg icons. 2020-03-20 13:02:19 +01:00
Hadi Nategh
b52f015012 Add hint and translations for Custom Paragraph option 2019-12-05 17:11:49 +01:00
Hadi Nategh
9902308540 * Html Editor: Add a custom paragraph into block formating in order to get paragraph lines with no line-height 2019-12-05 16:04:40 +01:00
nathangray
77a0076a45 Preferences: Fix multiselect settings had new values as arrays, old values as strings, which messed up history 2019-11-01 11:10:01 -06:00
Hadi Nategh
012d7a5a20 Add and fix some translations 2019-10-16 15:30:33 +02:00
Hadi Nategh
74100f53ae Add format block as preference for pre-selecting block on editor initialization 2019-10-09 16:22:23 +02:00
Hadi Nategh
ff9b3c1c03 * UiUx: Implement applications list up/down scroll buttons (as an user preference feature) 2019-09-24 11:41:18 +02:00
Ralf Becker
b80bb32375 * Password&Security: fix not working password change after 19.1.20190917 2019-09-19 12:58:17 +02:00
Ralf Becker
e2529ea8a3 * Preferences: always show Security & Password popup, only disable password tab, if no rights to change it 2019-09-11 12:15:38 +02:00
Ralf Becker
ad1f79c2e7 do NOT query widgets from setup / installation, it fails with an exception 2019-09-10 09:29:48 +02:00
Ralf Becker
de5e560eb9 refactor preferences >> security & password to allow apps to hook into it 2019-08-29 12:48:44 +02:00
nathangray
1768ee998e Preferences - Remove no longer used text editor enter mode preference 2019-07-31 12:02:55 -06:00
Ralf Becker
ccfa5d6182 fix "wrong operand type", if user enters wrong password 2019-07-15 17:51:08 +02:00
nathangray
6d54365f4f Preferences - Fix multiselect forced preferences not getting cleared out when empty 2019-06-17 15:48:38 -06:00
Ralf Becker
3f0be09dd6 setting php platform/support to just 7.0 to use bacon/bacon-qr-code 1.x supporting php 7.0 2019-06-17 12:29:37 +02:00
Ralf Becker
ad3576903a allow to disable or require 2-Factor-Auth 2019-06-07 20:28:49 +02:00
Ralf Becker
44a0079b9d new user security popup incl. 2FA and token revokation 2019-06-05 13:10:25 +02:00
Hadi Nategh
4dd62db0fc Set audio effect to disabled by default 2019-05-06 16:04:13 +02:00
nathangray
0453a43194 Keep documentation from preference changes when opened from top bar 2019-04-10 11:19:41 -06:00
Ralf Becker
4be62b63ee labels, options and widgets for admin_cmd_preferences 2019-03-20 18:15:02 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
nathangray
00c11c1a0c Preferences - Fix sections missing under some circumstances 2019-01-10 15:54:04 -07:00
Ralf Becker
cba3e713b4 fix saving of group preferences 2019-01-10 15:08:11 +01:00
nathangray
f8c742cdbb * Preferences - Add 'Firstname Lastname (Primary Group)' and 'Lastname, Firstname (Primary Group)' as account display options 2019-01-09 10:41:36 -07:00
Hadi Nategh
579b4f6923 Remove rte_features from preferences 2018-11-28 18:06:38 +01:00
Hadi Nategh
7e25284816 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add configurable toolbar as preference
- Do not load CkEditor until it's used
2018-10-24 14:48:19 +02:00
Hadi Nategh
236006b795 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Keep editor toolbar in one line at least for mail compose
- Add a preference to enable/disable menubar at the top of editor
- Respects mode preference
2018-10-22 12:37:45 +02:00
Hadi Nategh
13f3cc5260 Fix some issues with select-country widget:
- Country selection in preferences does not respect selected value
- Fix missing empty labels in country selection in preferences
- Remove flag image from empty labels
2018-09-25 11:24:22 +02:00
Hadi Nategh
6e94639b0a Implement flags indication for country-select widget:
- Migrate AB country selector to select-country tags
- Migrate Country selector in preferences to use select-country tags
2018-09-18 10:46:36 +02:00
Ralf Becker
620e20f0e4 fix admin_cmd_user_preferences to use values given and not global preferences object 2018-08-23 15:25:49 +02:00
Hadi Nategh
abaf61b72f Remove no longer used argument 2018-08-22 12:29:46 +02:00
Hadi Nategh
886bc915cf Preserve the old values to be used in values comparison 2018-08-22 12:27:17 +02:00
Hadi Nategh
563a356eaa Implement admin_cmd for preferences 2018-08-21 14:42:56 +02:00
Hadi Nategh
36726c7400 Add new attributes into core widget in order to be able to set widget->type attributes in preferences 2018-06-27 17:40:26 +02:00