Ralf Becker
|
bafcc80e35
|
fixed translations not loaded on very first request, as postponing ready for waiting on translations did not work, now using a direct callback instead
|
2013-10-08 08:55:15 +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 |
|
Ralf Becker
|
a6311fa1a3
|
creating and using an app-specific egw object
|
2013-10-07 16:53:13 +00:00 |
|
Nathan Gray
|
746e6ea193
|
Also accept just the window name to windowClosed(), as sometimes window.name is not available anymore.
|
2013-10-07 11:20:47 +00:00 |
|
Nathan Gray
|
57c412bd47
|
Slightly more robust popup handling.
It's still not possible to completely track them, but it's a little better.
|
2013-10-07 10:09:08 +00:00 |
|
Nathan Gray
|
3ca2448f94
|
Make storage api global
|
2013-10-07 10:08:24 +00:00 |
|
Ralf Becker
|
43e1bfcc12
|
switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it
|
2013-10-05 13:33:28 +00:00 |
|
Nathan Gray
|
8a7ffaa182
|
Restore accidentally removed return of popup window
|
2013-10-05 09:38:22 +00:00 |
|
Nathan Gray
|
893648e189
|
Add the ability to track named popups opened using egw.open() or egw.open_link(). Unnamed popups or those opened in other ways are not tracked. You can get the list using egw.getOpenWindows(app, regex_filter), which returns a list of names.
Also, a wrapper around session storage.
|
2013-10-05 09:28:12 +00:00 |
|
Nathan Gray
|
282fb76cb6
|
Improve error message
|
2013-10-04 09:40:35 +00:00 |
|
Ralf Becker
|
2f39c7b4dd
|
fixed not working preferences under idots template
|
2013-10-03 15:54:19 +00:00 |
|
Ralf Becker
|
66db293a67
|
missing commit for new preferences
|
2013-10-03 15:17:14 +00:00 |
|
Ralf Becker
|
6f162f144e
|
add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed
|
2013-10-02 16:29:08 +00:00 |
|
Nathan Gray
|
756b3d3380
|
Fix app-level redirect affects whole page
|
2013-09-30 12:34:45 +00:00 |
|
Nathan Gray
|
07b311d495
|
Enhance error message to actually include the original error message
|
2013-09-17 20:17:20 +00:00 |
|
Nathan Gray
|
68b1178657
|
Undefined needs quotes.
|
2013-09-16 14:35:55 +00:00 |
|
Nathan Gray
|
b4007621f7
|
When applying (call a function) call it on the request window, not current - they may be different
|
2013-09-11 15:52:49 +00:00 |
|
Nathan Gray
|
958167b0f7
|
Add an optional async parameter to sendRequest() to make simple async calls easier
|
2013-09-10 20:22:47 +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 |
|
Nathan Gray
|
eef2235f2e
|
Merge egw_jsons - change jsonq to use egw.json()
|
2013-09-04 22:01:33 +00:00 |
|
Nathan Gray
|
467734258c
|
Merge egw_jsons - change preferences to use egw.json()
|
2013-09-04 21:51:08 +00:00 |
|
Ralf Becker
|
1f8e0e9e41
|
global method egw_message(_msg, _type) to display success-, warning- or error-messages in app-header
|
2013-09-04 19:02:34 +00:00 |
|
Ralf Becker
|
e2cce43bad
|
fixed not working _self target
|
2013-09-02 13:25:00 +00:00 |
|
Ralf Becker
|
ccab8e0ac1
|
fix alert("1"), caused by data-window-close being a string
|
2013-08-27 16:49:57 +00:00 |
|
Ralf Becker
|
aa8a848871
|
optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window
|
2013-08-26 10:24:11 +00:00 |
|
Nathan Gray
|
1d9589db99
|
If et2 object changes, we need the new one, not reject.
|
2013-08-20 23:20:56 +00:00 |
|
Nathan Gray
|
dca0c40418
|
Promote some useful common functionality to the app.js parent class
|
2013-08-20 19:20:10 +00:00 |
|
Nathan Gray
|
dba3bcc2aa
|
Update timepicker, some work on date-timeonly so it returns a value
|
2013-08-20 18:37:09 +00:00 |
|
Ralf Becker
|
b5ca4ac505
|
fixed jdots/Stylite template to contain no more inline scripts
|
2013-08-20 18:01:49 +00:00 |
|
Ralf Becker
|
73aa652c41
|
missing egw.js from last commit and egw_framework::window_focus() method
|
2013-08-20 13:25:36 +00:00 |
|
Ralf Becker
|
8b8faba28c
|
some docu and jsdoc tags to show the outline
|
2013-08-20 07:06:59 +00:00 |
|
Ralf Becker
|
cf25e7bae0
|
get Eclipse to display outline
|
2013-08-16 09:16:40 +00:00 |
|
Ralf Becker
|
118657ddee
|
using etemplate_new::ajax_proecess_content to allow to have etemplate still extend etemplate_old, making etemplate_new autoloadable
|
2013-08-06 18:24:30 +00:00 |
|
Ralf Becker
|
3afd9aaa18
|
check if quick-add selectbox is alread there, only create it again if not
|
2013-08-01 09:54:09 +00:00 |
|
Ralf Becker
|
16191d4db4
|
rendering quick-add menu on clientside and content-security safe, thought not yet in idots template, also removed not used inline javascript from idots
|
2013-07-22 19:20:13 +00:00 |
|
Nathan Gray
|
cd64ef06dc
|
Fix copy/paste error initializing app.js object
|
2013-07-20 14:16:21 +00:00 |
|
Nathan Gray
|
d4880a3351
|
Load & parse etemplate2 if set in egw.js object's data-attributes
|
2013-07-20 13:42:23 +00:00 |
|
Nathan Gray
|
26e9792256
|
Load javascript files before processing other response types, so all JS is available.
|
2013-07-20 13:41:17 +00:00 |
|
Ralf Becker
|
0d7c5455df
|
fixed wrong dependency
|
2013-07-19 15:22:54 +00:00 |
|
Ralf Becker
|
70c56ebab6
|
one more missing debug
|
2013-07-19 15:22:37 +00:00 |
|
Ralf Becker
|
d16c426fb6
|
first step towards content-security by passing parameters to egw.js script via data-attributes of script tag instead of using inline scripts in page
|
2013-07-19 08:45:26 +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
|
744345d751
|
Change egw.open() (which accepts _blank, _self, etc. as targets) to not pass invalid parameters to egw_link_handler() (which only accepts app names).
|
2013-07-15 16:03:37 +00:00 |
|
Nathan Gray
|
44e96714af
|
Fix adding distribution list (& maybe some other link issues) by looking for framework's link handler in open_link()
|
2013-06-12 17:04:42 +00:00 |
|
Nathan Gray
|
04fd3b82a9
|
If egw_link_handler() is defined, use that instead of window.open()
|
2013-06-12 16:56:12 +00:00 |
|
Nathan Gray
|
3300e82b27
|
Implement queue when setting preferences
|
2013-06-11 22:48:27 +00:00 |
|
Nathan Gray
|
b2cb70f15f
|
Use egw.LAB object if available
|
2013-04-12 16:30:30 +00:00 |
|
Ralf Becker
|
34a2f8c6e0
|
support for non-global func eg. "app.someapp.func" need to be in both egw_json objects (until we fix it so one calls the other)
|
2013-04-12 16:03:45 +00:00 |
|
Nathan Gray
|
868c41643c
|
Only expire old data if there are no registered callbacks
|
2013-04-11 10:22:51 +00:00 |
|
Nathan Gray
|
8834d86818
|
Give a trace on all logs if debug level is 5 to help track things down
|
2013-04-10 14:14:06 +00:00 |
|