Commit Graph

2152 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Nathan Gray
b68d7f7274 Include lettersearch when forcing preferences 2015-03-17 18:24:50 +00:00
Ralf Becker
3d05a43417 implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table 2015-03-17 09:44:14 +00:00
Nathan Gray
984bbf4d44 Include lettersearch when forcing preferences 2015-03-16 22:28:18 +00:00
Hadi Nategh
7f330b1e89 Change category icon in all apps 2015-03-12 17:01:11 +00:00
Hadi Nategh
1f177aace4 Change category icon in all apps 2015-03-12 12:39:49 +00:00
Hadi Nategh
8ec7d08589 Do not log toolbar widget content in error log 2015-03-10 15:56:09 +00:00
Hadi Nategh
1c8b6a5976 Do not log toolbar widget content in error log 2015-03-10 15:55:29 +00:00
Nathan Gray
60e13cd679 Documentation update to be a little more clear about 'none' option 2015-02-26 16:16:00 +00:00
Nathan Gray
b1b1269e0e Entry type / transformer changes
- better support for entry-types in nextmatch-customfilter
- if transformer changes widget type, run new widget's beforeSendToClient
2015-02-18 23:04:59 +00:00
Ralf Becker
e957750106 fixed not shown custom-fields in infolog 2015-02-17 14:36:01 +00:00
Ralf Becker
39115a0985 fixed not shown custom-fields in infolog 2015-02-17 14:35:40 +00:00
Ralf Becker
5c82ac5465 * ProjectManager/PostgreSQL: fix SQL error in project-list caused by new resources column
fix columns containing commas as part of function calls getting split incorrect in fix_group_by_columns
2015-02-16 10:24:29 +00:00
Ralf Becker
e87c0dfb1a * ProjectManager/PostgreSQL: fix SQL error in project-list caused by new resources column
fix columns containing commas as part of function calls getting split incorrect in fix_group_by_columns
2015-02-16 10:22:23 +00:00
Ralf Becker
3ec789adfd added more docu and some constants with sane names 2015-02-13 09:40:50 +00:00
Ralf Becker
17f83d89c7 add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s 2015-02-13 08:27:08 +00:00
Hadi Nategh
fc503e285e Make the autocomplete iframe helper invisible 2015-02-10 13:17:02 +00:00
Hadi Nategh
cdb1f042a2 Make the autocomplete iframe helper invisible 2015-02-10 13:15:48 +00:00
Ralf Becker
a964f2e8f2 - Allow app attribute to be specified in the template file, not just at run-time
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 09:38:15 +00:00
Nathan Gray
dd30ac28f4 - Allow app attribute to be specified in the template file, not just at run-time
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 00:13:31 +00:00
Hadi Nategh
4249dca91d * All apps: Activate cross-browser autocomplete 2015-02-06 13:23:40 +00:00
Hadi Nategh
2554c30da7 Fix security error about autocomplete form happens only in FF 2015-02-04 09:40:52 +00:00
Hadi Nategh
13684d4903 Activate cross-browser autocomplete
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Ralf Becker
1177acd3d3 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails
r51522: Update favorite GET fallback to use new style of favorite
2015-02-02 17:28:54 +00:00
Nathan Gray
3ec43f0421 Update favorite GET fallback to use new style of favorite 2015-02-02 17:19:20 +00:00
Hadi Nategh
59e922221c Enhance autocomplete fixer and fixes some bugs 2015-01-27 10:52:42 +00:00
Nathan Gray
456ea984c6 Clean up debug 2015-01-26 17:35:54 +00:00
Nathan Gray
6b01a18960 Clean up debug 2015-01-26 17:30:10 +00:00
Hadi Nategh
ebab506aa9 * All Applications: Get browser autocomplete form working 2015-01-26 16:13:08 +00:00
Ralf Becker
70b603ac77 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-01-26 09:15:07 +00:00
Nathan Gray
d633ce970a Don't try to transform missing templates, it doesn't end well. 2015-01-16 18:10:30 +00:00
Hadi Nategh
f8e9911743 Serach js files for new phrases for translation 2015-01-15 14:56:23 +00:00
Nathan Gray
06abca167d If a widget is transformed into a template, try to load and process that template too. 2015-01-14 20:10:34 +00:00
Ralf Becker
86eba3f137 for nextmatch filters we need to encode global nextmatch definition too 2015-01-12 14:10:40 +00:00
Ralf Becker
f15a37f368 always run fix_encoded_options to cope with customfields of type select got resorted by Firefox 2015-01-12 12:53:50 +00:00
Ralf Becker
60f67bfff8 * all apps: preserving for current user unavailable categories (eg. private categories of other user) when editing entries 2014-12-17 13:58:15 +00:00
Nathan Gray
da3d0d23c4 - Use link registry to open notification links
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Hadi Nategh
81cc0f35f7 Convert ambiguous column to tablename.column name 2014-12-15 16:57:45 +00:00
Nathan Gray
afcad4b50f Set value to a new location using a prefix to avoid changing the original, should fix contact-templates 2014-12-10 00:07:23 +00:00
Ralf Becker
9b5c68f743 hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager 2014-12-05 08:59:51 +00:00
Ralf Becker
ecc9dece92 throw an exceptin with a more maningful message if a template does not contain a template tag with an id attribute matching template name, eg. it was forgotten to rename when customizing 2014-12-04 15:51:59 +00:00