Commit Graph

402 Commits

Author SHA1 Message Date
hadi
0ad326a507 Introduce new hooks boolean param called 'reload' in order to force main framework to refresh after saving preferences 2023-03-16 16:25:58 +01:00
Hadi Nategh
cc885c343f Add textsize preference into required to reload list 2023-01-30 16:07:21 +01:00
nathan
9aea7be231 Avoid wiping out keys of numeric preference select options with array_merge()
Fixed by changing them from key => value to Et2Select's preferred [key=>string, value=>string] format first.

This fixes wrong select option values for many preferences
2023-01-11 14:18:01 -07:00
nathan
f332b7bba5 Fully remove "tabs" attribute for tabbox, it overwrites the internal tabs collection.
Even checking for it sets 'tabs' attribute to null.  Use "extraTabs" instead.
2023-01-11 13:21:01 -07:00
nathan
f0c3d819b8 Use array_merge instead of + to avoid losing Europe
Fixes European timezones were missing in preferences
2023-01-06 09:21:45 -07:00
ralf
9dff888436 adding search attribute to timezone preferences 2023-01-01 09:38:51 -06:00
nathan
207e581590 Fix typo 2022-12-20 15:49:10 -07:00
nathan
3e54b25a91 Fix for option group validation 2022-12-20 15:45:50 -07:00
nathan
2748376f6f Make sure default option is first 2022-12-20 15:44:48 -07:00
nathan
8f7783e97c Format timezone option groups 2022-12-14 14:34:46 -07:00
Hadi Nategh
4c299b382a Make x-large textsize slightly bigger 2022-12-09 12:31:10 +01:00
Hadi Nategh
bd988386c9 Add more textsize as options and change the default to a bigger size 2022-12-08 13:17:10 +01:00
nathan
19bae0054a Calendar: Fix notification messages were no longer multi-line textboxes 2022-10-18 13:30:22 -06:00
nathan
b43dd8f2c3 Fix infinite reload in preference dialog when switching to common preferences 2022-10-11 13:14:55 -06:00
Hadi Nategh
9f33ebf782 Move content size preference into look & feel section 2022-09-26 16:40:01 +02:00
ralf
bf5389b02e * Mail/RichTextEditor: common preference "small paragraph" now changes return key to a line break instead of a paragraph (with margin) 2022-09-12 10:05:01 +02:00
Hadi Nategh
786fe5ff69 Add app icons into pref's selectbox and fix some styling 2022-08-31 14:14:53 +02:00
ralf
bb28500ef7 fix mail preferences could not be saved 2022-08-05 20:20:46 +02:00
ralf
f79c57f048 fix InfoLog preferences shows wired looking categories --> fixed by using a select-cat 2022-07-19 18:28:44 +02:00
ralf
bec95a4a9d et2-select-tab widget to fix common preferences not storing and some fixes 2022-07-19 15:17:43 +02:00
nathan
96354be5ec Get text editor toolbar preference working with webcomponents 2022-07-14 13:22:48 -06:00
nathan
f8f7d1621e Preferences: Get preferences mostly displaying again
There's still something wrong validation.
2022-07-13 10:52:11 -06:00
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