Ralf Becker
3752c35a5a
add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog
2016-08-12 11:35:30 +02:00
Ralf Becker
3b18244106
* Admin: fix PHP Fatal error when editing custom fields in a minimal install
2016-08-09 11:25:49 +02:00
Ralf Becker
01c396e5d3
using new api for admin, though 3 classes still use old etemplate
2016-04-27 19:12:20 +00:00
Ralf Becker
7ada2354d3
move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields
2016-03-06 13:45:15 +00:00
Nathan Gray
edffbeea99
Remove custom statuses for the type when you remove a custom type
2015-12-02 21:40:05 +00:00
Nathan Gray
8e657aeb0e
Do not die if select custom field is not fully set up
2015-09-21 19:43:36 +00:00
Nathan Gray
31a23f0dbd
Add filemanager custom field type using vfs-upload
2015-09-02 19:52:47 +00:00
Nathan Gray
a602dd3e86
Fix custom field order renumbering to keep at multiples of 10.
2015-06-18 16:48:16 +00:00
Nathan Gray
1beba97dcf
Fixed custom field select options removed empty label if there was white space after options
2015-05-19 19:58:43 +00:00
Nathan Gray
27e2f787a1
Date widget:
...
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
7c2b6a44f8
Customfields:
...
- fix saving of @filename style options got automatically converted to label=@value style
2015-04-21 16:13:10 +00:00
Nathan Gray
a627dea3d6
Customfields:
...
- fix options/attributes not saved under some cirumstances
- fix subsequent changes not saved if you click Apply the first time
2015-04-20 22:54:58 +00:00
Nathan Gray
25a9811121
Customfields:
...
- add missing delete button confirm
- fix some js bugs when changing type
- add accidentally removed check for overwriting an existing field
- make cf_name read-only after it is set
2015-04-20 21:49:05 +00:00
Nathan Gray
55d5bd98f8
Custom fields editing:
...
- Fix length, rows & values fields were not properly enabled on first load
- If label was not provided, use name
2015-02-18 18:23:35 +00:00
Ralf Becker
d71fa725e5
* all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1
2014-12-10 14:34:48 +00:00
Nathan Gray
bdcf3df195
Floats don't have rows
2014-12-08 22:13:25 +00:00
Nathan Gray
81ef504361
- Disable options according to type too
...
- Start options, value & rows disabled according to type when popup opens
2014-11-27 16:58:11 +00:00
Nathan Gray
7f7e013ecf
UI for customfields edit dialog:
...
- More space
- Show type specific help in options tooltip
- Disable length & rows when not needed
2014-11-24 21:58:07 +00:00
Nathan Gray
5a2c3a530d
Set some styles for customfields
...
- Limit cf option size in nextmatch row to max of ~10 lines
- Limit type option size to max of 300 px
2014-11-24 17:06:06 +00:00
Nathan Gray
4da6635a51
Fix missing infolog custom types
2014-11-19 21:15:48 +00:00
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