Commit Graph

30 Commits

Author SHA1 Message Date
Hadi Nategh
686d424e58 Open customfields edit dialog as popup 2014-10-30 15:24:05 +00:00
Nathan Gray
629c66d00e Use egw_customfields::update() instead of so->save(), since it handles the arrays and cache already. 2014-10-27 16:31:24 +00:00
Nathan Gray
bcbf679f64 More custom field UI work
- Application sub-type options
- Tracker & Infolog now use common UI
2014-10-23 17:33:03 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Nathan Gray
9743c19318 Change redirect after save/cancel custom fields, fixes unwanted iframe after save 2014-09-18 18:45:46 +00:00
Ralf Becker
ed89a1b10b * Addressbook/Tracker/other apps: custom-fields were not saved (existing custom-fields and InfoLog worked) 2014-08-26 09:30:38 +00:00
Hadi Nategh
fb37282a2c Fallback to admin index after save/cancel from edit Custom fields or Site configuration 2014-07-08 14:15:48 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Nathan Gray
509482e81c Fix custom types shown on all apps 2013-06-18 15:51:46 +00:00
Nathan Gray
770ef196fc Get sub-types working for et2 2013-06-10 20:17:41 +00:00
Ralf Becker
0a22f09523 * Admin/All apps: enable private custom-fields
can be explicitly disabled via GET parameter use_private=0
2013-06-06 17:05:56 +00:00
Nathan Gray
369993d439 Make customfield page not fail in et2 2012-07-05 20:11:06 +00:00
Ralf Becker
06729148dd * Addressbook: skip letter of deleted type, when creating new contact types, as it gives SQL error 2012-05-08 08:50:19 +00:00
Ralf Becker
fe62956a96 allow to require custom fields to be filled out by users 2011-05-18 10:25:39 +00:00
Nathan Gray
cd817bf4ed Allow a key 'no_add' to turn off the ability to add a new [sub]type. If no add and no delete, the whole first line will be hidden. 2011-01-25 20:32:38 +00:00
Klaus Leithoff
e763d692c9 make sure the default type for addressbook is found if there is no entry in egw_config 2010-02-10 14:27:14 +00:00
Ralf Becker
7a948de39e do NOT allow to delete original contact content-type for addressbook, as it only creates support problems as users incidently delete it 2010-01-07 04:54:48 +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
9aed38299f "fixed fatal error: creating custom fields delete application config:
caused by a missing config::read_repository() before calling config::save_repository(), which then only stores the custom fields, but not the rest of the config"
2009-04-23 11:18:51 +00:00
Ralf Becker
5d4e591d19 new private custom fields visible only to certain users/groups, only used in addressbook at the moment, easy to add for other apps, only requires to modify the storage method to only save the available cfs, to not delete the hidden ones 2008-01-19 05:32:51 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Ralf Becker
6396d1b235 new application customfields for the other (non-infolog) apps. If the application field should generate a link, it has to be done in the application itself. 2006-10-05 06:34:12 +00:00
Cornelius Weiß
4d200374a2 fix: load translation only if a gui is involved 2006-06-16 15:14:31 +00:00
Ralf Becker
c730c82502 reading the custom fields and types in the constructor, otherwise save_repository would delete them 2006-04-26 21:26:34 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
10ced8ebd5 using common::get_referer() 2005-11-09 12:46:52 +00:00
Ralf Becker
402b114918 quitened warning if there are no customfields defined yet 2005-11-08 14:26:36 +00:00
Ralf Becker
37a5d611c0 customfields working again ;-)
- uses admin.customfields for configuration
- and customfield widget in eTemplate
2005-11-08 13:51:43 +00:00
Cornelius Weiß
21cdc2d1e7 added a general custiomfield definition module for admin-section 2005-10-28 18:27:06 +00:00