Commit Graph

21256 Commits

Author SHA1 Message Date
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
Klaus Leithoff
7bf3db1a6f get some actions from mail-display working; fix mail-to-infolog; mail-to-tracker (missing convertHTMLToText) 2013-10-05 09:03:51 +00:00
Ralf Becker
a16a6b81a9 giving icon column a fixed width of 20px 2013-10-05 07:22:18 +00:00
Nathan Gray
3b3986e27d - Use mail_id in app.mail.compose() when there's no rows passed
- Some code consolidation in preparation for tracking open compose windows
2013-10-04 17:45:33 +00:00
Ralf Becker
ec2de1c7e6 replace unnecessary post submits with regular ajax submits, also added a couple more todos 2013-10-04 14:43:56 +00:00
Nathan Gray
2a502c3a16 - set empty placeholder action for when there are no mails in the list
- set mail_id so we can find it for actions
2013-10-04 14:39:25 +00:00
Nathan Gray
5d746529a7 Documentation update 2013-10-04 13:25:05 +00:00
Hadi Nategh
da42c28e57 Fix grid with auto-repeat rows 2013-10-04 13:03:58 +00:00
Ralf Becker
6e30816758 fixed not working download via action system: needed submit via POST request instead of Ajax, add new boolean action attribute postSubmit 2013-10-04 12:48:11 +00:00
Ralf Becker
b4accbbcb5 idots now also automatic resizes its application area like Stylite template, so eg. et2 nextmatch can fill full area 2013-10-04 11:58:13 +00:00
Ralf Becker
65223eb80a when displaying topmenu in sidebox as "General menu", use same code to display new topmenu items too 2013-10-04 11:56:47 +00:00
Ralf Becker
118d9e025d disabling all actions but add on sum rows 2013-10-04 11:19:42 +00:00
Ralf Becker
59f264ada4 do NOT require enabled=true for (enable|disable)Class or enableId attribute to work 2013-10-04 11:18:50 +00:00
Klaus Leithoff
4c6a249d40 use et2_obj.submit to toggle Editor; CKEditor prefs are lost then 2013-10-04 11:17:45 +00:00
Nathan Gray
4629785782 Add a toolbar to display 2013-10-04 11:09:31 +00:00
Klaus Leithoff
ec8011e148 toggle editor mode 2013-10-04 11:02:12 +00:00
Klaus Leithoff
53299cfce6 fix importMail for vfsfiles 2013-10-04 10:18:13 +00:00
Nathan Gray
7c3d0776dd - Add check to make sure path_widget is there before using it
- Remove extra change stuff
2013-10-04 10:09:21 +00:00
Nathan Gray
5d1a8e16ee Fire change event when input is changed via code 2013-10-04 10:07:34 +00:00
Nathan Gray
282fb76cb6 Improve error message 2013-10-04 09:40:35 +00:00
Klaus Leithoff
e630823872 fix flag message action; hide quotabox if not supported; add toggle Editor to compose (not fully implemented) 2013-10-04 09:33:44 +00:00
Nathan Gray
8c94a4fd19 File select fixes:
- some layout issues
- selecting a single file
- missing mime options
- file uploads
2013-10-04 09:28:10 +00:00
Ralf Becker
f8cb87e5a4 missing preferences_acl class uses for user-level ACL access 2013-10-04 08:42:47 +00:00
Nathan Gray
4c1dd51f0a Fix another occurrence of search icon still using jQueryUI icon 2013-10-04 07:38:34 +00:00
Nathan Gray
7cda6a630b Add a toolbar widget that displays its actions as a toolbar 2013-10-04 07:29:38 +00:00
Nathan Gray
70b8496310 Handle more complicated select_options style options, including icons. 2013-10-04 07:21:19 +00:00
Klaus Leithoff
0cea524cd7 stuff, to be able to do a server roundtrip for saving as draft; using vfs-file widget for compose AND import now. some removal of obsolete code; initialize quota bar 2013-10-03 16:09:25 +00:00
Ralf Becker
2f39c7b4dd fixed not working preferences under idots template 2013-10-03 15:54:19 +00:00
Ralf Becker
dad39e1d8a moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A) 2013-10-03 15:30:27 +00:00
Ralf Becker
d7f37f5c2d fixed not displayed icon, when using et2_dialog.show_dialog(), fixed set_message to allow only plain text 2013-10-03 15:27:00 +00:00
Ralf Becker
66db293a67 missing commit for new preferences 2013-10-03 15:17:14 +00:00
Nathan Gray
ef884aa1cd Try for a more local parent node than window to get better sizing, explicitly resize child nodes 2013-10-03 12:56:29 +00:00
Nathan Gray
0c0dc2c943 Just re-ordering for better readability 2013-10-03 12:53:58 +00:00
Nathan Gray
3d1bdceaac Deal with rounding errors etc. so columns always take full width, and some bounds checking in case things go horribly wrong. 2013-10-03 12:52:58 +00:00
Klaus Leithoff
98da72c757 fix saveToVFS on preview; fetch content for reply; prepare for click events like send and saveasdraft 2013-10-03 10:05:05 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
5778c9d964 fixed egw_framework::message($msg, $msg_type) was not displayed on ajax-load, eg. regular et2 submit 2013-10-03 09:09:24 +00:00
Nathan Gray
c4fc4699a4 Paul's fix for annoying link title error popping up 2013-10-03 07:12:53 +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
Klaus Leithoff
3733ef6d4c fiddle some stuff regarding the new vfs-file select widget; fix lable1-5 capability; 2013-10-02 14:50:24 +00:00
Nathan Gray
499c9f3c22 Avoid infinite heights in case there is nothing below 2013-10-02 13:11:07 +00:00
Nathan Gray
d8ae1a63a4 Nicer default styling for image buttons, and default vertical alignment for hboxes 2013-10-02 13:03:16 +00:00
Nathan Gray
29f8a562e2 Better usage for relative column width:
- Columns with relative width specified in template are kept relative in resize
 - Columns with no width specified in template get any left over space (relative)
 - Columns with fixed width specified in template are kept fixed
These three together mean that if the user resizes the window or adds/removes columns, fixed columns don't change and any space is divided among relative columns.
2013-10-02 12:43:30 +00:00