Commit Graph

417 Commits

Author SHA1 Message Date
ralf
dde83c7b07 fix stalled install by calling defaultLabel with null 2024-09-08 17:09:32 +02:00
nathan
cfcbe3018d Fix incorrect display of default number format
Pass an array instead of CSV if needed.
2024-09-04 10:09:45 -06:00
ralf
432d36c80b automatic open "Security & password" dialog for SSO logins, if password is required in filemanager 2024-09-03 12:52:33 +02:00
ralf
fd216b07f2 * Mail/Filemanager: admin can allow users to store a password to pass to mail- and file-servers in case they use (password-less) SingleSignOn 2024-09-03 09:58:47 +02:00
ralf
42f8124242 use et2-tree-dropdown for TZ selection in general preferences 2024-08-22 10:52:16 +02:00
ralf
ddf3127140 WIP allow to place custom-fields in tabs: need to explicit content attribute, as it no longer defaults to value of id attribute
fixed preferences of apps with a single tab only are broken / not shown, e.g. notifications or timesheet
2024-03-30 08:31:08 +02:00
ralf
5352972e2a WIP allowing to speard custom fields optionally to dynamic generated tabs 2024-03-21 10:28:27 +02:00
ralf
c4541f75a2 fix default-alarm(s) in calendar could not be removed:
- et2-date-duration with emptyNot0 attribute set, was still regarding "" as 0
- preferences class was not recognising change from 0.0 to "" (Array comparison with == vs. array_diff_assoc())
- preferences_settings was not updating $GLOBALS[egw_info][user][preferences], which was used in calendar settings hook
2024-02-13 10:32:01 +02:00
nathan
999a3298c0 Preferences: New account display preferences that include email address 2023-11-02 14:37:26 -06:00
ralf
106ead2c8e WIP Mail REST API: regular user UI for application passwords 2023-07-11 13:39:46 +02:00
nathan
9b6a14f2d8 Preferences: Fix some default values were not shown correctly
Preferences that had options with label & value keys were done by index instead of value
2023-06-15 10:11:04 -06:00
hadi
68351ffb37 Fix demonstrated default value is shown as raw value instead of its relevant label 2023-06-05 16:00:33 +02:00
nathan
34dd14978c Preferences: Change default multiselect close preference from open to close except email 2023-04-19 11:06:29 -06:00
nathan
6db4bdbac0 Preferences: Add a preference option for if select multiple dropdowns stay open, excluding email selection
Also, German translations from Birgit
2023-04-18 08:52:06 -06:00
nathan
358cc70d66 Preferences: Add a preference for if select multiple dropdowns stay open or closes immediately after selection 2023-04-17 09:28:27 -06:00
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