Ralf Becker
293a7166de
to not send/set it twice for multiple etemplates (eg. CRM view)
2014-03-10 21:18:31 +00:00
Ralf Becker
f87e456be2
do not send/set extra data twice for multiple etemplate (eg. CRM view)
2014-03-10 15:20:27 +00:00
Ralf Becker
79e1b5c9b8
fixed CSP error for multiple eTemplate2s (CRM view), by allways sending etemplate data via et2_container tag (instead etemplate script tag) and create an et2 object for all of them in egw.js
2014-03-10 11:58:49 +00:00
Ralf Becker
205794f4a7
notify server about closed windows, so we can destroy no longer eT needed session/requests and so keep cache small
2014-01-16 12:13:16 +00:00
Ralf Becker
b56175a0f4
new default eTemplate request storate in EGroupware cache with an expiration time of 4 hours.
...
Benefit over old default is, that we get a short etemplate_exec_id giving better performance for ajax requests.
Drawback is currently poor garbadge collection only removing requests not used in 4 hours or which call egw_framework::window_close on server-side.
We can improve garbadge-collection by binding to window on(before)unload sending a (synchronious) request to server to remove concerned eT2 request.
2014-01-15 16:46:16 +00:00
Ralf Becker
400240f1e4
caching translations for 10days and changing translation url, when translations are changing --> saves server-roundtrip for each translation
2014-01-09 15:32:07 +00:00
Ralf Becker
90edb55ec5
add async include and et2 render times to page-generation-times shown
2014-01-09 12:20:13 +00:00
Ralf Becker
9c3c077314
fixed not updated sidebox in calendar listview
2013-12-12 23:32:30 +00:00
Ralf Becker
2479d85c77
search etemplates first under /etemplates in vfs and then in real filesystem, allows to overwrite templates on a per instance base, stylite.merge stream-wrapper can be used to mount templates editable into vfs
2013-12-05 21:06:35 +00:00
Nathan Gray
1b4d6049f5
Allow app to change the DOM ID of the div etemplate is loaded into
2013-11-27 00:06:12 +00:00
Ralf Becker
0ab743cb81
allow to load template-set specific templates, eg. addressbook/templates/pixelegg/edit.xet instead of addressbook/templates/default/edit.xet, if user is on pixelegg template-set
2013-11-18 10:52:51 +00:00
Nathan Gray
fb2c103cef
Use current app to get around missing etemplate run rights
2013-11-13 23:57:49 +00:00
Nathan Gray
23f85e9763
Enable etemplate for multiple templates
2013-11-13 22:43:19 +00:00
Nathan Gray
d4be70de5a
- Use a hook for app's custom widgets to avoid scanning filesystem
...
- Use new hook to load importexport's filter widget
- Remove some typos & error_log()s
2013-11-04 17:23:58 +00:00
Ralf Becker
7e856af544
mark popups as such by enclosing there content in div#popupMainDiv and properly closing html markup for popups
2013-11-03 09:30:25 +00:00
Ralf Becker
12717741e4
load app translations on ajax-submit too
2013-10-10 09:32:25 +00:00
Ralf Becker
47c3495a86
appending modification time to eTemplate url
2013-10-10 08:19:20 +00:00
Ralf Becker
0bb8093426
fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window!
2013-10-07 17:00:03 +00:00
Nathan Gray
bc6acd4a3e
Mix preserved arrays replacing new arrays when new array is empty
2013-10-01 09:20:23 +00:00
Ralf Becker
1590d02816
new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header
2013-09-05 11:53:25 +00:00
Ralf Becker
9d29c16c3a
fixed no footer (eg. closing body and html tag) in jdots template, because etemplate2 (unneccessary) calls footer, but ignores its return value
2013-09-04 13:50:37 +00:00
Klaus Leithoff
3bc322690e
throw exception if no name is given for instanciation of template
2013-09-02 12:51:53 +00:00
Ralf Becker
1c4f65120c
new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way
2013-08-20 12:06:41 +00:00
Nathan Gray
b74eec3d3f
Reset back to old etemplate
2013-08-09 19:19:31 +00:00
Nathan Gray
069325c89d
Do not center Filter. It had no effect on short lists, but chosen actually respected the setting
2013-08-09 19:18:58 +00:00
Nathan Gray
7085d4b51a
Still off by default
2013-07-20 14:33:17 +00:00
Nathan Gray
bd63529096
Rework etemplate2 loading to use JSON plugin when loading from regular request & AJAX. instead of inline script tag
2013-07-20 13:57:53 +00:00
Nathan Gray
b3bf5b734f
Make unique ID deterministic - use template name
2013-07-18 09:21:07 +00:00
Ralf Becker
792f1b26cc
replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document
2013-07-17 12:47:21 +00:00
Nathan Gray
0bba8fd032
Strip out any javascript added by application and it properly to the AJAX response
2013-07-17 09:57:50 +00:00
Nathan Gray
ea104a9af5
Send any accumulated json responses after flushing etemplate - allows apps to use egw_json_response even when call is not an ajax call
2013-06-12 21:06:40 +00:00
Ralf Becker
f814b6077e
reverting accidently commited default to et2
2013-04-20 12:21:22 +00:00
Ralf Becker
cd024eef1b
add nice link overlay icon to vfsMime widget (for symlinks)
2013-04-20 12:19:27 +00:00
Nathan Gray
0ae58e39de
Load jquery-ui css before ours, so we can override it
2013-04-16 18:46:23 +00:00
Nathan Gray
41d34f84a2
Set a class for common CSS
2013-04-12 16:28:11 +00:00
Ralf Becker
abee7bc2a1
allow to permanently use etemplate_new for ported applications no longer supporting old etemplate, while still having etemplate default to etemplate_old
2013-04-12 09:50:27 +00:00
Nathan Gray
8a6bba9ffe
Give the et2 container an ID matching the loaded template name
2013-04-11 11:25:28 +00:00
Nathan Gray
d996a3445f
Fix et2_ready() when app called via ajax
2013-04-10 16:03:31 +00:00
Nathan Gray
fdada6c3c0
Fix typo in missing JS object warning
2013-04-10 10:10:14 +00:00
Nathan Gray
4de7d2f432
Add a warning if application js object was not loaded
2013-04-10 10:05:17 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Nathan Gray
ef2a5d377d
Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors
2013-04-01 19:14:52 +00:00
Ralf Becker
bfc0c48210
use egw.includeJS instead of egw.ready for ajax-exec, eg. used in mail
2013-02-13 16:30:30 +00:00
Nathan Gray
ecdf60bc29
Not yet...
2013-02-06 08:16:12 +00:00
Nathan Gray
6295f1a833
Link entry:
...
- Split application parameter into two, one for just one app, one for an app list
- Also return the contents of the search box in value (if not limited to just one app)
2013-02-06 08:06:11 +00:00
Nathan Gray
534ea00418
Make et2 load application js, if present
2013-02-05 14:38:16 +00:00
Nathan Gray
8fafb1414a
Do not change it just yet...
2013-02-05 12:55:39 +00:00
Nathan Gray
bbfcb19ab8
Fix so namespaces work even without content data
2013-02-05 12:55:01 +00:00
Ralf Becker
48d4d04b42
report template name, if template can not be displayed, because it was not found
...
removed old debug code making not much sense anymore
2013-02-05 12:36:37 +00:00
Nathan Gray
77ff3ca385
Do not change it just yet...
2013-02-05 09:36:09 +00:00