1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-22 23:00:56 +01:00
Commit Graph

2193 Commits

Author SHA1 Message Date
Ralf Becker
504e4ff725 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:26 +00:00
Nathan Gray
c6620e2115 Prevent column selection preference from being reset, fixes forced columns don't stay forced. 2015-07-28 14:34:33 +00:00
Hadi Nategh
c3e9afc85a Add nocheckbox option into tree widget to instruct the component not to render checkbox for the relevant item 2015-07-28 13:04:53 +00:00
Hadi Nategh
8285fb7666 Correct the value of checked option from previous commit 2015-07-28 13:02:12 +00:00
Hadi Nategh
8d424171ae Add checked option to tree widget 2015-07-28 13:01:32 +00:00
Hadi Nategh
76296180b8 added more docu and some constants with sane names 2015-07-28 13:01:07 +00:00
Ralf Becker
ed9204103c * Addressbook: custom fields of accounts enabled via own-account-acl were not editable 2015-07-27 16:53:19 +00:00
Ralf Becker
a394a53d8b if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:24:18 +00:00
Hadi Nategh
99c67eacc7 Do not reference customfields if they are already read
-Fix second row of infolog customfields in CRM view does not respect nm filters
2015-07-15 12:14:38 +00:00
Klaus Leithoff
dc78a9987b silence some chitter-chatter of etemplate_new 2015-07-07 12:15:19 +00:00
Ralf Becker
19be03438e fix groupbox to have NO namespace (it was implemented on client-side with and on server-side without namespace before) 2015-07-07 11:38:01 +00:00
Nathan Gray
56c7c34c19 If app is not found in get_rows, use the template 2015-06-29 20:39:32 +00:00
Nathan Gray
21781271e4 Fix some problems with merging into email files:
- Use correct merge sub-class when merging multiple entries
- Accept merge placeholders in to/cc/bcc fields (displayed as invalid, but still accepted)
- Use merge placeholders to pull addresses from associated entry
2015-06-02 21:21:21 +00:00
Ralf Becker
9b34bf6899 * CustomFields: keep order of select-options (was not working for nummeric values)
fixed : Order of customs field in a selectbox has changed
2015-05-28 11:30:04 +00:00
Ralf Becker
cfccc90025 * Tracker: fix slow rendering of edit popup for hugh number of tracker-user
doublicate check was iterating through all options for each option, causing it to take eg. 25s for 7000 options
2015-05-27 12:18:33 +00:00
Ralf Becker
c7d6dd66d4 remove double schema prefix "vfs://defaultvfs://default/path" 2015-05-27 12:15:53 +00:00
Nathan Gray
3b80346c3a Some date formatting options could not be automatically parsed, so explicitly use user's date & time settings.
Fixes intermittent automatic {{timestamp/date}} placeholder.
2015-05-26 14:33:27 +00:00
Ralf Becker
ee900fbafc ignore CR when comparing textfields for history 2015-05-26 10:50:04 +00:00
Hadi Nategh
809d066496 Fix some IDE warning 2015-05-21 14:25:06 +00:00
Klaus Leithoff
c217c4a60f fix/avoid warning on NULL sel_options subarray in fix_sel_options 2015-05-19 14:29:19 +00:00
Nathan Gray
439e32e750 Custom fields - implement ajax select widget, add year_range attribute for dates, and bug fixes 2015-05-11 18:22:43 +00:00
Nathan Gray
0c90a7c234 Avoid some more ambiguous columns 2015-04-29 16:34:26 +00:00
Hadi Nategh
4a554a65cd Fix htmlarea editor always wrap border around editing text in IE 2015-04-27 13:44:19 +00:00
Nathan Gray
79332f31a5 Simple et2 implementation of ajax_search widget 2015-04-21 16:47:33 +00:00
Nathan Gray
605b54183d Selectbox options kept on the client side
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-14 18:58:21 +00:00
Nathan Gray
5cfd583904 Allow applications to add additional options to selectbox type options. 2015-04-13 21:57:46 +00:00
Ralf Becker
97d57fb2a0 Merging r51397ff from Trunk: moving VFS API classes into a namespaced PSR4 autoloadable structure:
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
+ egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
+ sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
+ sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-04-07 09:21:05 +00:00
Ralf Becker
4eea57c8a8 * All apps: fix unable to remove last value from multiselect 2015-04-03 12:47:29 +00:00
Ralf Becker
d82f65e95e reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value 2015-04-03 12:43:26 +00:00
Nathan Gray
9cebe6a8fb Fix unable to remove last value from multiselect 2015-04-02 15:41:05 +00:00
Nathan Gray
1deb3d4f34 Selectbox options kept on the client side
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Hadi Nategh
02e525b95f * All apps/customfields:
Fix customfields options with multiple negated fields and single custom field
Specify css class on customfield's row with named as field's id, in order to be able to customize its style
2015-04-01 12:29:20 +00:00
Nathan Gray
1f88ddf303 Fix single-field customfields widgets not setting value properly 2015-03-31 19:48:46 +00:00
Ralf Becker
38f4980849 * Mail: setting default font-face and -size reliable and remove space in front of cursor 2015-03-31 17:04:10 +00:00
Ralf Becker
9fc67020cc * Mail: setting default font-face and -size reliable and remove space in front of cursor 2015-03-31 17:01:25 +00:00
Nathan Gray
4c1424db9b Improvements for linking mail:
- Let filemanager encode name so we can keep more characters
- Remove doubled mime removal, which sometimes damaged title
- Fix file information action
2015-03-31 14:30:55 +00:00
Hadi Nategh
5026216842 Treat iceweasel browser like as firefox 2015-03-31 13:55:05 +00:00
Hadi Nategh
467578d34f Consider iceweasel browser in autocomplete_fix handling 2015-03-31 12:30:43 +00:00
Hadi Nategh
01e339815f Fix customfields options with multiple negated fields and single custom field 2015-03-27 16:32:51 +00:00
Hadi Nategh
4368ccbb58 Fix some more typo in customfield widget 2015-03-26 19:07:08 +00:00
Hadi Nategh
0328abf1c4 Fix typo in customfield widget 2015-03-26 17:08:49 +00:00
Ralf Becker
6f804b58e8 * All apps: nummeric custom-fields (float or new integer) sort nummeric in lists 2015-03-23 08:41:51 +00:00
Ralf Becker
8431629ed2 * All apps: nummeric custom-fields (float or new integer) sort nummeric in lists 2015-03-23 08:38:30 +00:00
Ralf Becker
8c8e61630d allow to submit partial content by passing a container(-widget) to etemplate2.submit()
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 15:39:35 +00:00
Ralf Becker
d4c0992f45 do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later 2015-03-20 15:38:40 +00:00
Ralf Becker
7fa86b19ca do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later 2015-03-20 15:38:20 +00:00
Ralf Becker
63a7af621d allow to submit partial content by passing a container(-widget) to etemplate2.submit()
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Ralf Becker
12c308cd71 backport of several eT2 fixes from work on ranking / result-service app:
r52153: implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
r52163: stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
r52175: there should be no validation for disabled widgets
r52176: $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
r52194: fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
r52195: fixed not run validation on server-side for templates included via template tag
r52196: implement formatting of numbers in read-only widget
2015-03-18 22:16:15 +00:00
Ralf Becker
d40f41950b fixed not run validation on server-side for templates included via template tag 2015-03-18 21:31:16 +00:00
Nathan Gray
0db176f0b2 No need to strip out mime again, it's already removed by egw_link 2015-03-18 17:28:49 +00:00