Commit Graph

279 Commits

Author SHA1 Message Date
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
Lars Kneschke
e7b8b16098 patch from Sebastion for Bug #349: Zugriffgewährung auf Adressbücher lässt sich nicht entfernen 2007-02-14 12:47:00 +00:00
Pim Snel
0c3daf5de1 new ajax server method for storing prefs 2007-01-04 16:36:33 +00:00
Christian Binder
a014327f05 drag and drop for calendar for all those who cannot wait for cooxdoo or dojoproject :o) - it is disabled by default - if you want to use it you have to go to common preferences and enable drag and drop (last entry before template-specific settings) - just for Mozilla based browsers ATM, all other browsers get auto-disabled - it lacks a lot features, e.g. recurring events and whole day events but this will come - HAVE FUN 2006-12-15 20:05:47 +00:00
Ralf Becker
94359ad8fd - patch from Klaus Leithoff: implementing lettersearch for ACL
- bugfix from Sebastian Ebeling
2006-12-06 14:53:03 +00:00
Ralf Becker
62831250e1 killed php warning if search returns no result 2006-10-28 10:11:42 +00:00
Ralf Becker
cb2a42be22 Two new options for the account-selection:
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:49:54 +00:00
Ralf Becker
2ed20963ed use country-class instead of sbox-class 2006-07-06 22:53:45 +00:00
Ralf Becker
e457717dde reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:27:56 +00:00
Ralf Becker
21cf2cf00e calling the changepassword hook when password are changed by the user 2006-06-09 00:09:05 +00:00
Ralf Becker
c4d3c38c24 fixed not working preferences tab in manage users 2006-04-14 18:48:58 +00:00
Ralf Becker
dc38f4afd8 fix for the prefs: we need to show the default or forced pw, otherwise we are never able to reset it 2006-03-21 16:03:52 +00:00
Cornelius Weiß
b97f701d05 added an optinal check for a save^tm password (criterias as in MS-Windows) 2006-03-13 21:56:28 +00:00
Ralf Becker
e2988daef4 fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists 2006-03-10 09:59:18 +00:00
Ralf Becker
ff335717b9 fixed not disabled private- and group-grant checkboxes 2005-12-14 23:26:26 +00:00
Miles Lott
d5d079dba4 Add subsection using existing class function 2005-12-12 12:58:17 +00:00
Ralf Becker
02c51aa379 fixed array message when saving prefs 2005-12-06 07:04:43 +00:00
Ralf Becker
1549913fd7 fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class 2005-11-20 07:32:51 +00:00
Ralf Becker
e376755557 removed debug-messages 2005-11-09 13:32:40 +00:00
Ralf Becker
10ced8ebd5 using common::get_referer() 2005-11-09 12:46:52 +00:00
Ralf Becker
5c3541a156 make acl called via sidebox menu of an app, to behave like a part of that app 2005-11-08 11:40:35 +00:00
Ralf Becker
b8e75460a2 make cats called via sidebox menu of an app, to behave like a part of that app 2005-11-08 10:43:49 +00:00
Ralf Becker
e36705e012 make preferences called via sidebox menu of an app, to behave like a part of that app 2005-11-08 09:43:17 +00:00
Ralf Becker
6d33f91046 make preferences called via sidebox menu of an app, to behave like a part of that app 2005-11-08 09:42:42 +00:00
Ralf Becker
78f0df9c1c run_lang was not forwared for select-boxes 2005-11-02 12:45:40 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
3d4049d873 phpgw --> egw 2005-10-14 14:31:35 +00:00
Lars Kneschke
1085534c94 modified the delete hooks to use $GLOBALS['hook_values'] 2005-09-20 10:11:38 +00:00
Ralf Becker
cfa22b9915 fix for register_long_arrays off 2005-09-20 08:19:04 +00:00
Ralf Becker
45cfb2c421 notifies NEED the translation for the application loaded, before they get processed 2005-09-07 15:15:43 +00:00
Cornelius Weiß
a7b87c78d6 fix forgotten $this as function in classes are not global 2005-08-23 20:46:03 +00:00
Pim Snel
e726d3f7ae fix bug after name change of the change-password classed. 2005-08-16 13:22:54 +00:00
Miles Lott
8e959382c1 Add list_methods for xml-rpc/soap 2005-08-13 14:03:21 +00:00
Miles Lott
58f462f6b7 Fix returns for xml-rpc functions. This has been tested using a modified Frontier for perl. 2005-07-30 10:25:17 +00:00
Ralf Becker
b8eabd7697 support for the old format of the hook_settings file, as asked by Regis Leroy 2005-07-30 08:12:13 +00:00
Miles Lott
183444dfbe Rename read() 2005-07-29 12:54:28 +00:00
Ralf Becker
7d2823ce95 1) grabing app-title from egw_info[aps] and not egw_info[navbar] (the later does not work for apps not in the navbar)
2) create_* functions: allow to set run_lang=-1 to not translate the label (eg. already translated with parameters)
2005-07-29 10:38:14 +00:00
Ralf Becker
c90c660300 fixed the run_lang parameter and added a bit docu to create_notify method 2005-07-26 15:48:22 +00:00
Ralf Becker
1ea908b40f fixed not working notifies (textfields with variable replacements) 2005-07-26 13:54:59 +00:00
Miles Lott
7208e6b85c add warning for authors of xml-rpc clients since this is new code 2005-07-26 12:21:31 +00:00
Ralf Becker
eb10db6e3f get preferences working again 2005-07-23 15:47:54 +00:00
Miles Lott
c834439135 Add reference to bo object 2005-07-23 11:28:52 +00:00
Miles Lott
ab4b6241e9 Fix glaring syntax errors - oops 2005-07-23 11:19:29 +00:00
Miles Lott
2c2bc0beb3 Update of preferences app to work as a multi-tiered application and via xml-rpc 2005-07-23 09:44:46 +00:00
Miles Lott
e97ccc5202 Update for egroupware variables and defines 2005-07-09 19:07:16 +00:00
Ralf Becker
65e77f33b5 preference_acl_row tpl can use now classes for the nextmatch color too 2005-05-21 18:25:08 +00:00
Ralf Becker
29a75560a1 fixint the problems pointed out by GulfTech, thought they should be fixed in the categories class 2005-03-12 16:35:27 +00:00
Ralf Becker
94a08a86d2 fix for bug [ 1026126 ] Changing group ACL broken 2004-09-13 08:02:59 +00:00
mgalgoci
558d9924a4 fix editing of group acls for current group. 2004-09-02 16:00:49 +00:00
Ralf Becker
368ea3ea0b fixed some new introduced and some still existing / old bugs 2004-08-31 09:33:08 +00:00
Ralf Becker
bae3e479b4 fixed problem with pagination and an other important issue 2004-08-28 13:41:23 +00:00
mgalgoci
68f68ae0db add support for Lastname, Firstname username account views 2004-08-26 18:48:12 +00:00
reinerj
89430ceeae replace the crap 2004-08-09 15:23:43 +00:00
reinerj
b3cd13141f replace the crap 2004-08-09 14:30:59 +00:00
reinerj
f203dbba06 replace the crap 2004-08-09 13:54:48 +00:00
Ralf Becker
d380aebc89 added selectbox with just the primary group and a search for other accounts 2004-07-11 06:58:49 +00:00
Ralf Becker
d9eb3ad604 not used anymore 2004-06-30 09:41:18 +00:00
Ralf Becker
0fa77633e1 removed calls to not used block data_column 2004-05-29 10:15:59 +00:00
Ralf Becker
a4f495d678 added possibility to assign a color and an icon to a category 2004-05-26 07:25:29 +00:00
alpeb
57119ecae7 fixed heading for extra data in categories (nobody uses this but I will with phpbrain) 2004-04-30 00:27:17 +00:00
Lars Kneschke
95ed13e717 second parameter was missing and generating a warning 2004-03-25 06:33:21 +00:00
Lars Kneschke
5d481b5d94 another Call-time pass-by-reference 2004-03-25 06:17:55 +00:00
Ralf Becker
de263f5b30 useing the localised lang-list from the translation class 2004-03-21 22:41:00 +00:00
Ralf Becker
b074cbf924 fix for bug #843270: unkillable categories
sub-cats should either be delete or made mains if there parent get deleted
2004-02-26 12:18:44 +00:00
shrykedude
c4b97f01cb Fix for bug #896455 2004-02-14 05:28:06 +00:00
Miles Lott
c4c6251e9d intval, ereg, and gettype updates 2003-12-20 18:54:18 +00:00
Miles Lott
562e9fb64a Add quotes to string 'private' 2003-10-18 10:30:02 +00:00
Ralf Becker
3a4c803dbd fixed bug with not saved description in preferences::add
changed logic and look to apply with the style-guide
2003-08-30 10:26:20 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
b1aa23e5d0 fix 2003-06-24 22:33:40 +00:00
Ralf Becker
06489ff747 added an other display-type for accounts: Firstname Lastname [lid]
changed < > into [ ]
2003-05-04 15:14:06 +00:00
Ralf Becker
1a01f33308 account-display is now configurable via the prefs:
- Firstname Lastname (default)
- Lastname, Firstname
- username
- <username> Lastname, Firstname
2003-05-03 22:23:50 +00:00
Ralf Becker
18e75c5a85 added notify-messages to prefs:
- notify messages contain vars to be substituted, eg. $$username$$
- the var-name gets translated for editing
- new function create_notify in preferences.php
- new function parse_notify to substitute / create the notify msg
2003-05-02 01:49:52 +00:00
Ralf Becker
21d8e8fd62 reworked preferences (ported from .16 incl. fixes):
- not set user-prefs use the default value, default values have been used only for new accounts before
- preference-table has new column preference_app
- preferences got automaticaly quoted now, eg. its save to use single and double quotes as well as backslashs
2003-05-01 09:19:50 +00:00
Ralf Becker
b69defa25b added app_header via $GLOBALS['phpgw_info']['flags']['app_header'] 2003-04-20 20:47:50 +00:00
Ralf Becker
456493f188 put helptexts in one line (!) and used new function transslation::get_installed_langs 2003-04-02 17:41:30 +00:00
Ralf Becker
8e6837762a update preferences: helptexts 2003-03-31 18:16:33 +00:00
Ralf Becker
9ad9ac0735 remove type=user, that tabs stay 2003-03-28 18:14:08 +00:00
Ralf Becker
c280a1ab7e made some more messages from the users-prefs translatable 2003-03-18 17:05:42 +00:00
Ralf Becker
362565025d made some more messages from the users-prefs translatable 2003-03-18 11:28:50 +00:00
Ralf Becker
815319e833 fixed a bug in setting group-acl's 2003-03-12 23:30:58 +00:00
ceb
0c6e15282c droped files 2002-12-10 22:38:05 +00:00
Ralf Becker
b1ace37fb0 modified to use $GLOBALS['HTTP_POST_VARS'] 2002-11-20 21:34:47 +00:00
ceb
0f50db2558 update prefs to use lang() instead 2002-11-04 00:50:18 +00:00
ceb
788a55dacd fixed lost owner 2002-10-28 23:51:57 +00:00
ceb
19f521ca05 fixed wrong name for hook_deleteaccount 2002-10-24 20:23:34 +00:00
ceb
318c206655 update cats 2002-10-15 21:41:50 +00:00
ceb
23edad505e update 2002-10-13 22:04:55 +00:00
ceb
fd64b8f0f8 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:32:10 +00:00
ceb
5cc3837622 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:03:35 +00:00
ceb
be05bc6e25 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 21:18:23 +00:00
ceb
6b1588ada5 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 20:45:27 +00:00
ceb
edc9286de9 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:43:58 +00:00
ceb
05653960d4 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:27:22 +00:00
ceb
1e7e23d21c update delete cats 2002-10-12 00:48:36 +00:00
ceb
0ae563ca08 fix for bug 1286 2002-10-04 20:59:00 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
seek3r
8abf9fa1a5 Switched to using the register_exit_function() and added scrolling divs to a couple places for examples 2002-09-28 15:20:20 +00:00
ceb
4e16995d6f update delete cats 2002-09-25 03:56:06 +00:00
ceb
e4044935f0 update cats 2002-09-08 20:40:12 +00:00
Miles Lott
c0a1b434e9 formatting 2002-06-18 01:13:43 +00:00
Ralf Becker
aa2e71c35e some changes to be compatible with seek3r new template-system
output is not longer print, but $GLOBALS['phpgw']->template->set_var('phpgw_body',$content);
2002-06-01 14:15:41 +00:00
ceb
403f8722b1 nextmatchs fix 2002-05-27 22:52:39 +00:00
ceb
0f7bcfa040 nextmatchs fix 2002-05-27 22:38:48 +00:00
ceb
f5a29b607c acl_app was missing using nextmatchs 2002-05-27 22:02:56 +00:00
seek3r
cf2a12ba1c made changes to the loading of the header, navbar, appheader, and footers 2002-05-24 10:38:03 +00:00
Miles Lott
5a1336c357 Maybe not the proper fix, but lets user prefs be set 2002-05-08 22:43:52 +00:00
Ralf Becker
3cd1fc99eb corrected typo get_vars() --> get_var() 2002-05-01 15:12:11 +00:00
skeeter
e3bf408609 Converting to get_var() for all HTTP_*_VARS. 2002-04-29 22:25:02 +00:00
ceb
0c22fc3f0b update cats 2002-03-13 16:30:51 +00:00
ceb
f612468342 update cats 2002-03-13 04:16:46 +00:00
Miles Lott
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
skeeter
4b26993512 This will name timezone_offset to tz_offset. 2002-01-17 03:38:03 +00:00
ceb
51f02b73f2 fix 2002-01-14 01:21:54 +00:00
ceb
fb6a15917b update cats prefs 2002-01-13 23:54:46 +00:00
ceb
1f611ae1b3 added data fields to cats setup 2002-01-13 23:31:03 +00:00
ceb
0385d7628f added data fields to cats setup 2002-01-13 22:35:54 +00:00
ceb
8bc7d387ce update cats 2002-01-12 18:28:42 +00:00
ceb
3a5769473b ntier for the cats 2002-01-12 04:09:56 +00:00
Miles Lott
4fd27dceca New ui version of acl_prefs manager 2001-12-28 00:59:30 +00:00
Miles Lott
b78953097a globals 2001-12-18 05:53:31 +00:00