Commit Graph

385 Commits

Author SHA1 Message Date
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
nathangray
607e054f39 Revert "Add new date format preference that includes day name"
This reverts commit e1609978f7.
2017-11-21 10:07:03 -07:00
nathangray
e1609978f7 Add new date format preference that includes day name 2017-11-20 09:32:12 -07:00
Ralf Becker
b7a948bdff show a default preference of 0 (was hidden before, but used!) 2017-10-10 18:48:45 +02:00
Hadi Nategh
163b6b6522 Give preferences popup bigger size plus show fulltext of selectboxes 2017-04-18 14:57:04 +02:00
Hadi Nategh
0a8e209a31 Fix preferences tabs getting duplicated, introduced by commit 2707b1da0b 2017-01-23 16:01:55 +01:00
Hadi Nategh
a66b34c8fc Disable autocomplete_url for taglists in hooks with no sel_options 2017-01-13 15:13:44 +01:00
Hadi Nategh
2707b1da0b Add no_sel_options to preferences settings in order to be able to use taglist with no sel_options 2017-01-12 12:27:46 +01:00
nathangray
1764ee826c Fix some missing / incorrect translations, found & tranlated by Stefan Unverricht 2016-11-02 09:30:39 -06:00
Hadi Nategh
57349e6386 Remove spellchecker lang from preferences 2016-10-06 18:30:37 +02:00
Hadi Nategh
cf7ce2c27f * Calendar: Fix saving preferences place-holders in all languages except en breaks their values in database 2016-09-19 11:07:18 +02:00
Ralf Becker
b077423223 get "integer" type settings working, by removing not used size attribute from template causing a 0 size input for integer 2016-07-29 16:01:26 +02:00
Ralf Becker
e54a56efd6 set currentapp to app whos category we display to fix refresh issues for user (not admin) opening cats in app-tab 2016-06-13 16:07:04 +02:00
nathangray
c6fd40b9e0 Make sure default lang is set, even if not in setup 2016-05-27 09:31:08 -06:00
Klaus Leithoff
cb6be27b12 check if class Locale exists before using it 2016-05-06 11:07:42 +00:00
Nathan Gray
74f232a1b1 Provide a default country even if not in setup 2016-05-04 16:51:29 +00:00
Ralf Becker
fa9cd4766f use new api for preferences 2016-04-30 17:16:36 +00:00
Ralf Becker
1fb53f8e0e use new et2 site config 2016-04-25 07:33:30 +00:00
Nathan Gray
b798327eec Get fallback country from locale, rather than language
Fixes problems with EN is not a country.
2016-04-18 22:44:10 +00:00
Nathan Gray
b3611a8dfd Remove popup account selection option 2015-07-28 19:08:17 +00:00
Ralf Becker
d39c2a71bf * Login/Password: handle forced password change on login page 2015-07-01 12:44:34 +00:00
Hadi Nategh
87ee549921 Port the change password dialog to et2 2015-03-12 16:58:01 +00:00
Hadi Nategh
bbd06f1cbe Fix multiline textboxes in preferences dialog are not shown due to the lack of width 2015-02-26 15:03:20 +00:00
Ralf Becker
3dee5e9a56 reload framework if (custom-)template-color changes 2014-12-18 11:02:42 +00:00
Hadi Nategh
c31e051891 Add audio effect into the common preferences in order to be able to disable/enable audio effects used in theme
-Add the audio effect into common preferences -> feel and look
-Add audio effect on mobile theme's menu toggle
-Make mobile theme's menu swipe toggle more sensible
2014-12-15 10:00:57 +00:00
Ralf Becker
2a426ca420 reload framework when theme changes (eg. to mobile) 2014-11-27 08:13:26 +00:00
Ralf Becker
5391fd1674 only show apps available to user 2014-10-21 09:15:42 +00:00
Ralf Becker
19651fcb9b remove wrong settings definition, causing an illegal string offset in preferences 2014-07-24 09:53:04 +00:00
Ralf Becker
61dab25375 make account_id available for preferences hook 2014-07-18 11:46:10 +00:00
Klaus Leithoff
a8a5557aa7 * API/CKEditor: introduce new skins/themes 2014-07-18 09:49:17 +00:00
Hadi Nategh
025f31872f Fix delete confirmation dialog in Global categories edit popup 2014-07-14 10:19:32 +00:00
Ralf Becker
21bcc81b21 * Preferences: non-admins were allowed to changed default, forced or group preferences 2014-07-13 10:27:46 +00:00
Ralf Becker
d1c22354b9 setting Pixelegg template (if available) as forced preference, hidding/forcing maxmatches as it is no longer used in eTemplate2 and fixing not working propagation of language from setup 2014-06-25 13:16:19 +00:00
Ralf Becker
0246dec560 update client-side preferences, when preferences get saved 2014-06-06 12:21:31 +00:00
Ralf Becker
b308b0027d changed default alarms pref to single "date-duration" pref (in minutes), fixed date-duration to have for prefs reasonable default of data_format=m,display_format=mhd,hours_per_day=24,empty_not_0=1 2014-06-06 11:59:20 +00:00
Ralf Becker
f0e391220f * Calendar: adding default alarm for regular or whole-day events, preference is shared with CalDAV clients 2014-05-28 10:03:57 +00:00
Hadi Nategh
1f0c3b943f Change default preferences value for notifications and CKEditor 2014-04-24 13:03:45 +00:00
Nathan Gray
da776ede02 Modifications are kept in the request, so reset tabs if there are none. 2014-04-22 16:09:26 +00:00
Ralf Becker
7b339a0f5e changed default for account-selectin to "selectbox" 2014-04-17 10:53:56 +00:00
Ralf Becker
f641c2cec6 open password in a popup 2014-04-17 07:37:21 +00:00
Ralf Becker
18386955bc remove no longer used old acl code 2014-04-17 07:04:24 +00:00
Ralf Becker
37a87636a4 reload framework if template_set or lang common preference change 2014-04-03 10:25:21 +00:00
Ralf Becker
6fdf8c98d1 open preferences and ACL in a popup (ACL still needs a little more work: use et2_dialog to add/edit instead of an other popup) 2014-04-01 15:49:08 +00:00
Ralf Becker
20193e6418 more changes etemplate_old --> etemplate, maybe better not started that ;-) 2014-03-23 09:34:18 +00:00
Ralf Becker
2a34b88111 fixed not working referesh of ACL list 2014-03-12 13:14:23 +00:00
Ralf Becker
64f4989004 fixed not working setting of ACL, if user has no access to admin app 2014-03-12 12:49:28 +00:00
Ralf Becker
84d20661c2 fixed problem reported by Pedro Ribeiro 2014-02-04 13:50:23 +00:00
Ralf Becker
6c44f31448 specify template for redirect, to NOT open preferences (= current app) tab in Stylite/Pixelegg template 2014-01-28 11:01:17 +00:00
Ralf Becker
a2800d7fa8 fix ide warnings 2014-01-28 10:16:24 +00:00
Ralf Becker
3e5e9bf730 fixed sql error caused by using sort="account_lid" instead of order="account_lid" 2014-01-21 18:06:07 +00:00
Ralf Becker
8099b8eb4c fixed forced, but empty multiselect was stored as empty string and therefore overwrote user prefs 2014-01-20 17:51:46 +00:00
Ralf Becker
5ee25dc26b fixed forced preference with value="0"="No" was shown in preferences dialog for none-forced prefs 2014-01-20 11:07:36 +00:00
Ralf Becker
8c44986e7b fixed default value for selectbox with optgroups does not show label 2014-01-10 09:08:40 +00:00
Hadi Nategh
1d14ecc80f Remove "drag-and-drop" and "IE dropdownmenu hack" from the common preferences 2013-12-19 10:19:14 +00:00
Ralf Becker
b2c563e5aa restoring current app/tab, if pressing save or cancel, to do so let server know which is current app and run under that appname (otherwise redirect will happen to currently views app 2013-12-06 00:02:16 +00:00
Nathan Gray
2ba1eec06a Fix Save/Cancel buttons in preferences.
Registry section should be 'list', not 'index'.  Also handle deprecated 'view_list' too.
2013-12-04 18:17:01 +00:00
Nathan Gray
b4703be700 Add save & cancel buttons, they re-direct to selected app's index 2013-12-02 17:38:15 +00:00
Nathan Gray
60a9286f0a If no default is set, show nothing for default 2013-11-27 15:52:28 +00:00
Nathan Gray
9af81df945 Stop double-encoding select box values, etemplate does it in beforeSendToClient() 2013-11-26 19:05:18 +00:00
Nathan Gray
085733faa1 Better handling of defaults - options can be more than key => value maps 2013-11-26 18:23:14 +00:00
Nathan Gray
94ce4db297 Make sure we load the settings for the user's selected template/framework, not the current one. 2013-11-26 17:55:51 +00:00
Nathan Gray
127663af77 Fix defaults showing "Array" instead of array values 2013-11-26 16:50:59 +00:00
Ralf Becker
d01fceb26c * Admin/Preferences: changepassword hook was called twice
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:27:46 +00:00
Ralf Becker
e94502515d * Admin/Preferences: changepassword hook was called twice
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:24:01 +00:00
Klaus Leithoff
210a145747 support additional moonocolor skin 2013-10-21 11:33:39 +00:00
Ralf Becker
6cfd7b22b7 using jQueryUI resizable to resize sidebox, getting it to work under CSP that way 2013-10-08 12:06:07 +00:00
Ralf Becker
a3006e87bc need include preferences css manually, if running under a different app 2013-10-05 16:49:57 +00:00
Ralf Becker
b1d5dad6b9 get sidebox of given app 2013-10-05 13:25:40 +00:00
Ralf Becker
f8cb87e5a4 missing preferences_acl class uses for user-level ACL access 2013-10-04 08:42:47 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Nathan Gray
70ba888c95 Remove 'Show helpmessages' preference. Always shown via mouseover now. 2013-09-18 18:45:33 +00:00
Nathan Gray
f60e402eb0 When editing a user or group's preferences, limit app selection to just those apps the account has access to. 2013-09-17 16:26:45 +00:00
Hadi Nategh
93b7d48905 switch preferences from etemplate to etmplate2 2013-09-03 13:57:06 +00:00
Ralf Becker
15ad58522f preserv open tab, if appname is not chanaged 2013-07-25 16:07:41 +00:00
Klaus Leithoff
2bdcd29582 pass acount_id to crackcheck, as it is required for crackcheck rule validation forbid_name 2013-07-16 10:42:31 +00:00
Ralf Becker
6898ee9cdb * Admin/Preferences/Active Directory: more understandable password policy errors and using windows defaults only, if admin has not configured something else 2013-07-14 13:05:24 +00:00
Ralf Becker
aa1426b8de * Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures 2013-06-25 16:37:44 +00:00
Ralf Becker
293d395472 allow auth backends to throw exceptions to give verbose error why password changing failed, auth_ads does now password strength check (even if not configured), as this is most likely cause for not changed password 2013-06-23 10:46:26 +00:00
Nathan Gray
754e93486e Set row count for multiselect boxes 2013-06-11 14:34:28 +00:00
Ralf Becker
2bec937130 re-added "Preferences" link to Admin >> Edit user 2013-05-11 08:51:06 +00:00
Ralf Becker
f2e9d8de0d removed not (longer) used bocategories object 2013-05-11 08:36:44 +00:00
Ralf Becker
6b113a159d preserve was not set 2013-05-10 18:00:33 +00:00
Ralf Becker
a57ae54e82 fixed not working group preferences using new preferences::get/set_account_id and display group-default also as default for user 2013-05-10 17:22:14 +00:00
Ralf Becker
4ae5eb452b docu update 2013-05-10 17:21:14 +00:00
Ralf Becker
61e00e4ebc remove temp. link to "new settings" 2013-05-10 16:41:34 +00:00
Ralf Becker
a23205060b use new eTemplate preferences 2013-05-10 16:39:42 +00:00
Ralf Becker
15d92fd416 implementation for type "notify" 2013-05-10 15:56:35 +00:00
Ralf Becker
6c4a7c5f34 had to remove width: 100% from .prefValue as it conflicts with float: left, setting rows and cols for old eT 2013-05-10 08:24:15 +00:00
Ralf Becker
b235658a1c validation for vfs_* types, implemented textarea type, not yet implemented is notiy, but uses textarea now 2013-05-10 07:50:30 +00:00
Ralf Becker
59b78094da setting onchange and size attribute for pref value, thought onchange somehow got run twice in et2 :( 2013-05-09 10:41:38 +00:00
Ralf Becker
9816c79b72 replacing all possible variants of br-tag with "\n" 2013-05-09 09:45:37 +00:00
Ralf Becker
77099cf331 defining used tabs on runtime and using a single tab template 2013-05-09 09:38:12 +00:00
Ralf Becker
bb17f1ae3d using just etemplate 2013-05-03 15:29:34 +00:00
Ralf Becker
7ad1ac4736 saving preferences, for now only working with old eT, not eT2 2013-05-03 15:25:11 +00:00
Ralf Becker
3561de27aa next step with new prefs, works now in old eTemplate too - even a little more then in eT2 ;-) 2013-05-03 13:08:08 +00:00