Commit Graph

199 Commits

Author SHA1 Message Date
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