Commit Graph

21298 Commits

Author SHA1 Message Date
Ralf Becker
0163442f37 changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS 2013-10-09 14:35:03 +00:00
Nathan Gray
71c2a554bd Set org rows' type column to match normal rows' type column, give # column a fixed width 2013-10-09 14:18:48 +00:00
Nathan Gray
17e8fa094d Support changing nextmatch template after initial load (ie: in get_rows callback) 2013-10-09 14:11:44 +00:00
Nathan Gray
df660bea3c Better handling of doLoadingFinished and firing load event:
- don't fire while still loading
- prevent trying to load children before template is actually loaded from file
2013-10-09 14:10:33 +00:00
Nathan Gray
daf55af475 Don't try to resize if the columns are not set yet - there's nothing to resize 2013-10-09 14:05:05 +00:00
Nathan Gray
d22489e23b Make sure callback is there before trying to call it. If the template changes before the timeout fires, it might not be. 2013-10-09 13:07:29 +00:00
Nathan Gray
fde83c834e Register an AJAX handler for assign response type. Needs exec_id, widget ID, attribute name and value. Widget must support setting that attribute. 2013-10-09 12:56:49 +00:00
Nathan Gray
bfe208c013 Make sure favorite group widget gets cleaned up 2013-10-09 12:14:36 +00:00
Nathan Gray
33a88ea089 Also accept meta (Command) key to turn on dragging files out of window 2013-10-09 09:12:02 +00:00
Ralf Becker
3c0743cb97 implemented onfocus event for input-widgets, tested with textbox and taglist, others more complex input-widgets probably need to proxy the event 2013-10-09 09:05:30 +00:00
Klaus Leithoff
473da1949d fix curly brackets issue in subject in mainview 2013-10-08 14:55:20 +00:00
Klaus Leithoff
03b901db04 work to get forward working; code cleanup; several other stuff 2013-10-08 14:23:46 +00:00
Ralf Becker
6cfd7b22b7 using jQueryUI resizable to resize sidebox, getting it to work under CSP that way 2013-10-08 12:06:07 +00:00
Ralf Becker
f46754cd1a remove href="javascript:void(0)" in favor of href="#" working with CSP 2013-10-08 10:08:09 +00:00
Ralf Becker
915183f787 allowing inline js for old apps site configuration 2013-10-08 09:54:21 +00:00
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
Nathan Gray
1a4a4fdded Always set value, not just title, in nextmatch so link gets updated 2013-10-08 08:26:59 +00:00
Nathan Gray
3816abc7a7 Fix %s in label of link widget 2013-10-08 08:19:42 +00:00
Nathan Gray
5c8c51c77d Always set label, avoids label not being set properly in nextmatch 2013-10-08 08:14:24 +00:00
Nathan Gray
52f269717e Fix %s in labels in nextmatch rows 2013-10-08 07:46:44 +00:00
Ralf Becker
52b4fd8654 * CardDAV/Addressbook: fixed all contacts were reported as NOT found and therefore not synchronised 2013-10-08 07:41:11 +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
Klaus Leithoff
6950fb0cc9 fix id behavior for identities in compose, introduced long ago when trying to utilize taglist 2013-10-07 16:33:56 +00:00
Ralf Becker
147e469b02 missed docu-update on postSubmit 2013-10-07 16:12:04 +00:00
Ralf Becker
b7d6d4266e quite some warning 2013-10-07 16:11:25 +00:00
Nathan Gray
74b869640c Allow multiple compose windows 2013-10-07 15:28:49 +00:00
Klaus Leithoff
cd5d52d811 styling on compose toolbar; add print button on compose window; some codecleanup; some control regarding the compose actions on vfs-file-selector, infolog and tracker creation 2013-10-07 15:02:35 +00:00
Klaus Leithoff
78855fa7b7 change quota percentage calculation 2013-10-07 12:35:38 +00:00
Klaus Leithoff
35167898cd try to detect changes on signatureID and Identity 2013-10-07 12:17:33 +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
81076f6e89 - Remove some unused variables
- Add check to make sure et2 object is there before using it
- Add function to set form content from array
2013-10-07 10:12:18 +00:00
Nathan Gray
764bde5bff Fix broken set_value() to properly accept strings as value, fix broken adding of free entries 2013-10-07 10:10:54 +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
Nathan Gray
a190cd7302 Remove javascript:void() href to comply with CSP 2013-10-07 10:05:51 +00:00
Nathan Gray
869ebc3ca5 - Respect force_mailto preference
- If force_mailto is not set, open in a new window instead of current
2013-10-07 09:48:17 +00:00
Ralf Becker
ffc506561a * API: fixed not working session encryption, by switch back to previous MCrypt algorithm and mode 2013-10-07 07:22:50 +00:00
Ralf Becker
a3006e87bc need include preferences css manually, if running under a different app 2013-10-05 16:49:57 +00:00
Klaus Leithoff
a61dea2677 handle delete action from popup 2013-10-05 16:36:20 +00:00
Klaus Leithoff
94a8352575 show toolbar in preview area (non functional); add priority, disposition, save to infolog/tracker; some styling for toolbars in display and preview; disabling some actions in toolbar on display; remove testhtmlarea; 2013-10-05 14:15:29 +00:00
Hadi Nategh
54ab073cab Fix et2_checkbox_ro widget for exceptional cases when we pass value as Non-Boolean 2013-10-05 14:04:10 +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
Ralf Becker
b1d5dad6b9 get sidebox of given app 2013-10-05 13:25:40 +00:00
Nathan Gray
86abbbf443 Add compose prefix to window name so we can find all compose windows 2013-10-05 10:23:01 +00:00
Nathan Gray
b955b1b495 - Set type header to nextmatch-header
- Fix styling on email addresses to show ellipsis if column is too short
- Add mail to 'Open EMail addresses in external mail program' check
2013-10-05 10:13:31 +00:00
Klaus Leithoff
82dcae783a now you are able to send mails; not fully functional yet 2013-10-05 09:47:34 +00:00
Nathan Gray
9b9a1df8a3 Use egw.open_link() to open popups so they can be tracked, if they have a target. 2013-10-05 09:40:00 +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