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
Ralf Becker
c9bfdcab5c
first take on preferences with et2, not yet working!
2013-04-28 14:52:41 +00:00
Klaus Leithoff
a273f67df5
* API/Auth: when required by setup check password strength upon login; strength must be specified, and user must be allowed to change password
2013-04-04 11:12:27 +00:00
Klaus Leithoff
91eafa3037
switch to ckeditor4
2013-03-14 16:44:43 +00:00
Ralf Becker
0c11206d91
change default font unit for new installs to "pt" and fixed not set font-size in email
2013-02-21 13:19:15 +00:00
Ralf Becker
f158a8c5d2
* Preferences/all apps: allow to specify font size unit of richtext editor: either "px" display pixels or "pt" as used in word processing
2013-02-21 11:32:46 +00:00
Nathan Gray
575464654c
Move default app preference out of Text editor settings into template settings section
2013-01-17 23:21:28 +00:00
Klaus Leithoff
666f4f0162
* Password: when using accounts stored in sql, and smtp is of emailadmin_smtp_sql (server must support this, and must be implemented that way) we do change passwords for mailaccounts as well, even the account is stored in sql, as the egroupware database is auth base for the mailserver
2012-12-13 16:52:29 +00:00
Nathan Gray
9fc51055cd
Use common rte preference
2012-12-06 17:14:18 +00:00
Nathan Gray
b67e2533b7
Fix missing bold on 'Features of the editor'
2012-12-05 19:36:03 +00:00
Nathan Gray
3ee18797b0
Rework common preferences
...
- Better grouping
- Added preferences for rich text editor
- Font
- Font size
Take effect on new, blank editors. Existing data is untouched.
2012-12-04 22:21:59 +00:00
Nathan Gray
f29f2f9c1a
Styles for selectboxes
2012-11-14 20:56:52 +00:00
Ralf Becker
37992d0ee4
get_specific_rights returns true, if there no acl data at all --> using 0 instead
2012-07-31 17:56:27 +00:00
Ralf Becker
0195bad452
* Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog
2012-07-31 17:44:01 +00:00
Ralf Becker
dc184e2622
* Mergeprint in all apps: fixed missing validation message for non-existing pathes and allow to unset default of "/templates/appname"
2012-07-09 16:21:06 +00:00
Nathan Gray
14f736c20b
Forced file preference left empty now means user choice - was forced to '', which was really hard to give users choice again
2012-07-04 15:29:52 +00:00
Ralf Becker
6919d8a9d3
* Preferences: show verification errors on entering preferences too, not only when attempting to save
2012-06-14 10:07:30 +00:00
Ralf Becker
47286b9f7f
fixed not working save of forced (and probably also default) prefs
2012-05-25 17:51:59 +00:00
Ralf Becker
6ff1db3534
* Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes
2012-05-22 13:51:30 +00:00
Ralf Becker
3e8501a139
fixed PHP 5.4 Warning: Illegal string offset
2012-05-21 10:56:14 +00:00
Ralf Becker
77eaf8e7f1
dont show more lines in multiselectbox as we have values
2012-02-21 09:22:42 +00:00
Ralf Becker
9dd3b99353
* CalDAV/CardDAV: continous display (like tail -f) of logs inside EGroupware
2012-02-16 16:35:58 +00:00
Ralf Becker
2bbee5b373
fixed not working display of validation errors and show them in red
2011-11-29 15:44:17 +00:00
Nathan Gray
acfd108fa1
Fix typo in previous commit
2011-06-22 20:47:52 +00:00
Nathan Gray
d15e738692
Fix filter for personal categories under a global category
2011-06-22 20:45:42 +00:00
Nathan Gray
2b65a7f446
Remove old user categories UI
2011-06-21 22:14:47 +00:00
Nathan Gray
a555588dbe
Use the same code for categories for preferences & admin, add context menu
2011-06-21 20:14:56 +00:00
Ralf Becker
16d59dc3b4
remove "{tabs}" from preferences display, if no admin
2011-06-16 10:21:33 +00:00
Ralf Becker
4bd46528d4
new preference about how to select additional lines in lists
2011-06-15 15:59:13 +00:00
Ralf Becker
0238118906
new preference about how to select additional lines in lists
2011-06-15 15:50:16 +00:00
Ralf Becker
78d32cdb64
not removing unknown placeholders in preferences, to keep eg. the mergeprint placeholders {{somename}}
2011-06-07 11:09:49 +00:00
Ralf Becker
f8d2bd1e6b
- introduced preference of type "color"
...
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Nathan Gray
f981cb40f8
Update charset label, it's used for export & import
2011-05-24 15:58:44 +00:00
Ralf Becker
93540e1604
* Preferences: fixed not working setting of preferences without a logout
...
need to call preferences::add() or preferences::delete(), to also set affective prefs!
2011-04-12 07:54:30 +00:00
Ralf Becker
9888fb0c2f
fixed not working default for checkboxes of "No"="0" and displaying sections now with class="th" and colspan="2"
2011-03-19 11:23:53 +00:00
Ralf Becker
c1f326206a
fix for bug #2053 : in edit categories, egw shows the KB menu in english rather than the locale
2010-12-06 08:51:33 +00:00
Ralf Becker
19e6251df9
certain common prefs (language, template, ...) require the session to be re-created, happend formerly always, but it now optimized away ;-)
2010-11-17 13:36:08 +00:00
Ralf Becker
f767742f67
only explode default value by comma, if we allow multiple values (otherwise defaults containing commas are never displayed, eg. addressbook link_title or fileas_type
2010-11-10 09:32:57 +00:00
Klaus Leithoff
3843c0b59b
Feature: to allow admins a) to set an allowed password age, to require all users to change their password regularily; b) force password change for a given user on the users next login; c) better control about the password strength required; Funded by Cricket
2010-09-22 09:48:27 +00:00
Ralf Becker
a5ba32b8b6
allow to change password without run rights for preferences via a new password app (part of preferences app, but separate to install)
2010-07-27 14:29:20 +00:00
Ralf Becker
0ca8c89bdd
check if we have a default/forced value from the settings hook,
...
which is NOT stored as default currently
--> store it as default, to allow to propagate defaults to existing installations
2010-06-24 07:02:40 +00:00
Ralf Becker
7e17d5f4ce
use framework->template_dir for the template directory to support templates packaged like apps
2010-06-09 10:54:22 +00:00
Ralf Becker
ca108d4c6a
for framed templates use applications index page to return, instead of referer
2010-06-08 21:02:52 +00:00
Ralf Becker
3a15cdcd6e
Finding of templates and their themes, if they are packaged in dirs as
...
apps
2010-06-02 10:59:58 +00:00
Andreas Stöckel
56ed72d045
Added support for the new CKEditor 3.2.1
2010-05-25 07:49:24 +00:00
Nathan Gray
036e03dd9f
Allow all applications to answer hook
2010-04-26 15:00:45 +00:00
Ralf Becker
1c72c8e9e0
"some more fixes:
...
- fixed not grayed out checkbox for grants to user set via group-acl
- fixed wrong soriting off accounts by account_lid instead of full name, which is displayed"
2010-04-20 11:32:14 +00:00
Ralf Becker
cb9daa98ec
"silently remove user himself (NOT decrementing total or number of shown entries): looks much better ;-)"
2010-04-20 08:41:12 +00:00
Ralf Becker
d9117ecff0
fixed handling of group acl: addressbook eg. is NOT using it at all
2010-04-20 06:57:57 +00:00
Klaus Leithoff
3ac8b33231
move the ie dropdown menu hack to jsapi, make it an preference, so you can switch it off, if it does not work for you
2010-02-12 09:04:44 +00:00
Ralf Becker
30e13c4acf
first step of group prefs (backend only for now)
2010-01-27 05:44:31 +00:00
Ralf Becker
5948c30c73
allow other apps to answer settings hook for a given app
2010-01-21 02:59:10 +00:00
Ralf Becker
f0be57c0d2
"documented and moderniced class a little"
2009-11-19 10:02:00 +00:00
Ralf Becker
221473ce0f
make dynamic resizable sidebox width app specific
2009-11-18 20:00:26 +00:00
Ralf Becker
66c4b6c0cb
"otherwise we get warnings during setup"
2009-11-14 17:39:35 +00:00
Ralf Becker
47b2216554
- new preference number_format, to specify number_format (currently only
...
used in eTemplate)
- added basic support for DateTime / egw_time to eTemplate date-widget
2009-11-12 18:36:50 +00:00
Ralf Becker
763b58912a
"do not fetch timezones (which trys to get installed languages) during setup"
2009-10-19 20:45:23 +00:00
Ralf Becker
89a81249cc
"not calling translation::get_installed_langs() while in setup"
2009-10-19 18:17:59 +00:00
Ralf Becker
20e655c466
Default and forced preferences for nearly all apps
2009-10-19 17:04:11 +00:00
Ralf Becker
5408924afb
All EGroupware apps can now set default and forced preferences on
...
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
'default' or 'forced'
- if settings hook require part of api or application, which are not
available during installation time: use a method hook (instead of
an old $app/inc/hook_settings.inc.php file), and check if
$hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
587bd2bc95
- added an optional timezone quick selection in top menu (it shows up
...
only if you select more then one timezone to display in it)
- moved generation of beautified timezone array to egw_time
- moved all preferences hooks to a new class preferences_hooks (updated
version so setup updates hook data, or you need to call admin>>update
hooks)
2009-10-12 09:41:46 +00:00
Ralf Becker
610b629325
first step for real timezones in EGroupware
2009-10-06 06:45:28 +00:00
Klaus Leithoff
2dc68b1c8d
added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised
2009-09-28 15:10:02 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
a1299aff04
"flatten values first (some selectbox values are given multi-dimensional), causing eg. default for notifications not being displayed"
2009-06-07 15:24:29 +00:00
Ralf Becker
b9f7a44f57
fix for bug #2060 - Passive Security bug: InformationLeakage
2009-04-29 06:27:54 +00:00
Ralf Becker
af286333bf
allow "settings" hook to return the settings, instead of passing it via a global variable (depricated now)
2009-04-29 06:26:58 +00:00
Ralf Becker
187d71fafb
"fix for bug #1793 : Help toggling does not toggle back"
2008-10-28 06:21:34 +00:00
Ralf Becker
f940633dad
missing prefs
2008-10-06 17:44:14 +00:00
Ralf Becker
0e62b50197
Ok, found thumbnail problem:
...
- size need to be configured in admin >> site config
--> disable no pref to display thumbnail if admin did not configure size
--> fixed last commit to use configured size for thumbnails
2008-10-04 07:59:43 +00:00
Klaus Leithoff
205e8dbce5
second attempt to resolve > *Fatal error*: Unsupported operand types in
...
> */var/www/egroupware/preferences/inc/class.uisettings.inc.php* on line *532
2008-04-01 10:27:08 +00:00
Ralf Becker
cdfcf4cfbe
removed unnecessary instancations and using static methods of html and egw_link class
2008-03-25 16:43:57 +00:00
Ralf Becker
5fd3ea2641
"fixed PHP fatal error: Cannot assign by reference to overloaded object, reported by camel on the German list"
2008-03-25 14:44:49 +00:00
Ralf Becker
80385db75c
reverted commit by Klaus, to fix problem reported by Uwe on the German list (options with numeric values (indexes) get renumbered)
2008-03-20 12:32:34 +00:00
Ralf Becker
0da675bf6e
made all methods from html class static and removed the unnecessary singleton
2008-03-09 14:35:48 +00:00
Klaus Leithoff
627aa2c228
replacing the concatenation of extra and value array by array_merge, since it crashed in line 535 in some installations
2008-03-05 09:53:44 +00:00
José Luis Gordo Romero
cf657cb5ad
Adding new preferences to fckeditor:
...
- Enter behaviour (p, br, ..)
- Spelcheck language
- Skyn
2007-12-20 06:12:09 +00:00
Patrick Bihan-Faou
bb20c359f2
The formated_list function in phpgwapi/inc/class.categories.inc.php was
...
renamed to formatted_list a while ago. There is no need to keep dead code
around.
2007-11-27 17:14:54 +00:00
Nathan Gray
4bf66e6f89
Add mime type icons and thumbnail previews to link list
2007-10-15 17:27:25 +00:00
Ralf Becker
e3a1390b6c
"fixed (new multiple) selection preference: array_merge caused a renumbering of the numeric indices, which messed up the prefs"
2007-10-15 16:45:22 +00:00
Ralf Becker
d22d90be43
new multiselection type for the preferences
2007-10-09 09:38:46 +00:00
Ralf Becker
3beb483c09
CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names.
2007-09-22 14:58:10 +00:00
Ralf Becker
3adaa7a695
fixed spelling error mentioned by David Ranking
2007-09-18 06:31:58 +00:00
Ralf Becker
6ec9f61226
fixed problems pointed out by enricomilanese-AT-gmail.com
2007-09-16 06:51:13 +00:00
Ralf Becker
bf639103fc
"removed not longer used bg_color"
2007-07-12 05:45:02 +00:00
Ralf Becker
2c5582c15b
"half hour timezones as requested on the list"
2007-05-22 06:29:41 +00:00
Ralf Becker
12f80f139b
worked around stupid php5.2 empty haystack warnings
2007-04-29 15:07:11 +00:00