Commit Graph

4874 Commits

Author SHA1 Message Date
Klaus Leithoff
273779be8f translations provided by S.Unverricht via translation.stylite.de 2016-03-24 12:07:01 +00:00
Ralf Becker
0d1eb171ac (re-)adding etemplate_request, it seems to be used in many places 2016-03-22 10:48:48 +00:00
Ralf Becker
23f07571c6 moving et2 images to api 2016-03-21 09:26:03 +00:00
Ralf Becker
4da844a70f move categories class to api 2016-03-20 13:41:33 +00:00
Ralf Becker
7b58daae42 move et2 docu to egroupware/doc/etemplate2/ 2016-03-20 11:18:19 +00:00
Ralf Becker
6af1e23b66 move et2 widget browser to api, thought link to it is currently only in old eTemplate sidebox menu 2016-03-19 15:25:32 +00:00
Ralf Becker
d8514e47b9 move etemplate2.css to api 2016-03-19 15:22:41 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00
Ralf Becker
2f4c727f9d moving eT2 server-side to api 2016-03-19 13:06:07 +00:00
Nathan Gray
edc1f098f3 Hide email address if there's a name, but allow showing it via CSS if desired 2016-03-18 16:44:51 +00:00
Ralf Becker
b94ea49aa3 new favorite filter icon, asterisk instead of funnel 2016-03-18 16:13:37 +00:00
Nathan Gray
e5cb830108 Do not fail if selectbox cannot find the top level definition, just make a new cache for the scope 2016-03-18 15:46:08 +00:00
Ralf Becker
d49f8bc45f fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Nathan Gray
6fd841ebee Don't return empty array for empty single selects, should fix some problems with empty selections 2016-03-17 17:22:56 +00:00
Ralf Becker
b60994f1f2 use (mobile) template specific url on client-side to load sub-templates 2016-03-16 11:27:49 +00:00
Ralf Becker
e4dd2e8ff2 - allow to return false in callback to stop dialog from closing
- set template-name as id of div, like elsewhere in et2
- allow a beforeClose callback, also trigged if dialog is closed via X (also allows to stop closing via return false)
2016-03-15 21:59:42 +00:00
Ralf Becker
00c3d2ed3c allow to dynamic change autocomplete_params and make minChars a widget attribute 2016-03-15 21:57:43 +00:00
Nathan Gray
6474c34721 Fix taglist x button positioning in Firefox 2016-03-15 19:02:49 +00:00
Nathan Gray
80c1097265 Close taglist dropdown if the sidebox scrolls, as this leaves the dropdown behind 2016-03-15 18:56:38 +00:00
Ralf Becker
d20873b881 expose "groupBy" attribute to group results by a given JSON attribute 2016-03-15 16:44:45 +00:00
Hadi Nategh
f1e509cf2c Make sure taglist is exist, fix taglists on mail reply do not work 2016-03-15 09:10:15 +00:00
Nathan Gray
f9fd54dd7d Avoid server side exception by only looking for user IDs that are numeric 2016-03-14 21:51:58 +00:00
Nathan Gray
9b70d4bb50 Fix broken check in current selection causing missing labels 2016-03-14 21:45:40 +00:00
Nathan Gray
e6678399d2 When server restores a disabled column, set it back to user's preference instead of just turn it on 2016-03-14 17:19:35 +00:00
Nathan Gray
d87e280bf9 Fix multiple attribute not set in template was handled as false on server 2016-03-14 15:24:17 +00:00
Ralf Becker
a449b5e93b do not overwrite already evaluated readonly attribute, allows to set buttons readonly in template and make them visible via $readonlys[$id] = false 2016-03-14 13:09:58 +00:00
Hadi Nategh
3ec1847b34 Mobile theme:
- Add popupMainDiv a class to be able to use the same styling for semi-popups
- Fix color for edit icon
- Try to use .popupMainDiv class instead of ID
2016-03-14 08:38:30 +00:00
Ralf Becker
999b0a7083 fix actions got wrong row, if thead/tfooter (part attribute != "body") was used 2016-03-11 18:57:18 +00:00
Nathan Gray
24a3478b25 When taglist is single, expand on click anywhere in the widget (except x) 2016-03-10 18:00:24 +00:00
Nathan Gray
040ee0253f Taglist fixes:
- Fix toggle multiple got stuck with single value
- Fix keyboard navigation
2016-03-10 17:44:51 +00:00
Hadi Nategh
e481c2d133 Mobile theme:
- Do not let user mess with search filter and make searchbox available as last filter state
- Implement indicator of open state for nm header/ contextmenu
2016-03-10 15:45:02 +00:00
Hadi Nategh
a2744ba4cc Fix searchbox X button overlays over search content 2016-03-10 14:14:04 +00:00
Nathan Gray
fd2bf095aa Avoid failure of nextmatch check with widgets without parents 2016-03-09 22:05:49 +00:00
Nathan Gray
cd1f03c761 Add ability to test for blank fields when merging:
{{IF~ #fieldname ~ EMPTY ~ Empty ~Not empty}} or {{IF~#fieldname~~Empty~Not empty}}
2016-03-09 21:58:56 +00:00
Nathan Gray
40f56f7ad5 Need to get cachable options synchronously if it's a read only in a nextmatch row as we won't be able to set it later 2016-03-09 21:05:09 +00:00
Nathan Gray
d105b8c751 Avoid taking focus when setting value programmatically 2016-03-09 17:37:04 +00:00
Nathan Gray
b0eee9d9a4 Re-commit of 55312, this time with improved support for columns with no label / ID (can not be toggled or resized)
Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server.  Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.

Note: to re-enable the column ,you must send no_column=false
2016-03-09 17:29:29 +00:00
Nathan Gray
f0afe953b7 Fix toggling multiple display did not reduce value 2016-03-09 16:31:25 +00:00
Nathan Gray
d1b0c25ae4 Change taglist toggle to tri-state where toggle button replaces dropdown trigger, instead of having a separate button 2016-03-09 16:20:53 +00:00
Hadi Nategh
c334956857 Revert commit 55312 because of breaking nm in mobile theme. It needs more investigation 2016-03-09 10:31:29 +00:00
Nathan Gray
04e33f4d19 Better handling for taglist overflow - ellipsis, better hiding, better layout handling 2016-03-09 00:42:33 +00:00
Nathan Gray
b9fc5e26df Respect rows attribute to restrict how big the taglist is allowed to get 2016-03-08 22:23:07 +00:00
Nathan Gray
53dcea9004 Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server. Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.

Note: to re-enable the column ,you must send no_column=false
2016-03-08 17:16:32 +00:00
Ralf Becker
42831bc18c dont waste space, if tags fit 2016-03-08 15:37:52 +00:00
Ralf Becker
66e1fae884 style et2_file and et2_textbox for toolbar/NM header 2016-03-08 12:46:27 +00:00
Ralf Becker
fa6ab4daa0 etemplate2.min.js(.map) is created by build/deployment scripts, no longer in svn 2016-03-08 08:17:09 +00:00
Nathan Gray
c329377c70 Remove debug 2016-03-08 00:08:51 +00:00
Nathan Gray
190457bef8 Give taglist special behaviour when it's too small to show everything - it uses ellipsis & hover 2016-03-07 22:39:11 +00:00
Hadi Nategh
586e485d24 Update etemplate2.dtd 2016-03-07 11:38:19 +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