Commit Graph

7295 Commits

Author SHA1 Message Date
Nathan Gray
31987e9704 Check result type, if it's not 'data' quietly reject - fixes warning in multi-part responses 2014-01-11 11:40:30 +00:00
Ralf Becker
3fe9c78c26 do NOT load egw.js a second time via minifyier 2014-01-10 16:58:50 +00:00
Ralf Becker
e3dc74eef6 enabling minifying of javascript again and added new option to debug concatination by setting debug flag for minify 2014-01-10 16:08:13 +00:00
Nathan Gray
1742d07374 Use egw.debug function instead of console to warn about missing images. 2014-01-10 15:57:02 +00:00
Nathan Gray
15bc1b3909 Wait until DOM is loaded before trying to load etemplate or set message 2014-01-10 09:13:56 +00:00
Ralf Becker
6927f61614 quieten permanent error-log 2014-01-10 09:01:41 +00:00
Ralf Becker
5ec887d70d fixing the fix: using private var to store config 2014-01-10 08:12:59 +00:00
Klaus Leithoff
4cc93e8ead fix for unexpected not defined this.configs 2014-01-10 08:00:45 +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
0092addd08 ignore SecurityError exception if opener is different security context / cross-origin 2014-01-08 15:19:04 +00:00
Ralf Becker
911e7d2955 ignore SecurityError exception if opener is different security context / cross-origin 2014-01-08 15:14:10 +00:00
Nathan Gray
271d7a869c Turn debug level down to warning 2014-01-08 14:58:41 +00:00
Ralf Becker
faecfb326b * CalDAV/calendar: fixed permanent auth request in iCal, if accountselection is set to "selectbox with groupmembers" and rights granted from group without being a member
expand-property report now ignores the url instead of throwing an exception
2014-01-07 17:32:34 +00:00
Ralf Becker
c5191e3e01 * API/Admin: fixed SQL error on repairing filesystem, if one of required directories has wrong permissions 2014-01-07 09:55:07 +00:00
Ralf Becker
f075452ee3 first try of svg support: prefer svg over other image type for all browsers but IE<9 2014-01-03 18:49:24 +00:00
Ralf Becker
02ce1e20d1 new translations from translation.stylite.de 2013-12-23 20:28:10 +00:00
Nathan Gray
9009ef44bb Pass current app to egw_app_header() so it can set header for correct app. Fixes sometimes wrong app header shown. 2013-12-23 16:13:40 +00:00
Klaus Leithoff
eabf6b2dbd translations provided by stefan becker 2013-12-20 12:09:27 +00:00
Klaus Leithoff
0c818b0928 translations provided by stefan becker 2013-12-20 09:42:37 +00:00
Nathan Gray
7381f103e5 Initialize popup flag with window.opener detection, instead of false. 2013-12-19 17:18:01 +00:00
Nathan Gray
89e1757d9e Avoid errors if no email address was provided 2013-12-19 17:16:33 +00:00
Hadi Nategh
1d14ecc80f Remove "drag-and-drop" and "IE dropdownmenu hack" from the common preferences 2013-12-19 10:19:14 +00:00
Hadi Nategh
185237291f Make sure the et2 is not empty before giving up to not refresh the whole page 2013-12-19 08:46:51 +00:00
Ralf Becker
8ad1e7ed20 get navigation-calendar to use egw_link_handler too, so listview does not reload top window 2013-12-18 05:23:45 +00:00
Nathan Gray
9bb37f5ca0 Add IDs to topmenu items 2013-12-17 20:21:48 +00:00
Nathan Gray
a79f7b87a6 Continue moving most favorite functionality from favorite widget into framework. Favorite widget now uses framework. 2013-12-12 23:45:09 +00:00
Ralf Becker
01adf460f3 silently upgrade old calendar favorites 2013-12-12 22:25:56 +00:00
Nathan Gray
0d3a7b73cf Reorder CSS inclusion so theme can override jQuery-UI
eTemplate2 does it right automatically, but it also needs to be done in framework, because framework included etemplate2.css
2013-12-12 18:03:23 +00:00
Ralf Becker
fef5bb4972 fix error if query parameters contain null 2013-12-12 03:43:17 +00:00
Ralf Becker
2bb7b7565c fix add-favorite method to NOT bubble and giving a CSP warning instead of running 2013-12-12 02:42:08 +00:00
Ralf Becker
2de3cdb780 fix encoding of favorites, so they can eg. contain single quotes 2013-12-12 02:40:31 +00:00
Nathan Gray
e15144c7f9 - Fix name in delete confirm
- Some documentation & cleanup
2013-12-12 00:38:06 +00:00
Nathan Gray
0ecc494cb4 Remove loading class if there is no favorite delete being processed 2013-12-12 00:00:54 +00:00
Nathan Gray
d2e2622b77 Remove reference to sidebox in destructor 2013-12-11 23:54:42 +00:00
Nathan Gray
b9f39dd315 - Use egw.link() instead of string concatenation so it can craft the URL 'properly'
- Load categories in a div instead of an iframe
2013-12-10 22:26:07 +00:00
Nathan Gray
72c3d211be One more fix needed to allow :: inside UIDs 2013-12-09 21:13:59 +00:00
Nathan Gray
443b8ed854 Give some UI feedback if the delete does not work 2013-12-06 23:26:48 +00:00
Nathan Gray
72c37e0849 non-et2 Favorites work in progress
Handle states that are id_data objects for egw.open()
2013-12-06 23:12:05 +00:00
Nathan Gray
d097a0bfa1 non-et2 Favorites work in progress
New states now added to list immediately, can delete states
2013-12-06 21:26:55 +00:00
Nathan Gray
79498c5ae5 non-et2 Favorites work in progress
Can now save & restore state.  Still some UI needed, not fully integrated with et2 favorites.
2013-12-06 18:24:29 +00:00
Klaus Leithoff
3219eccec4 translation work provided by ingo, michael and other stylite staff 2013-12-06 08:05:58 +00:00
Ralf Becker
b2c563e5aa restoring current app/tab, if pressing save or cancel, to do so let server know which is current app and run under that appname (otherwise redirect will happen to currently views app 2013-12-06 00:02:16 +00:00
Nathan Gray
cfefedc8f7 non-et2 Favorites work in progress
Add current link shows popup with state details.
2013-12-05 23:22:54 +00:00
Klaus Leithoff
50279607a6 only try replacement loading of classes, if there is a replacement available; if defaultimap, load emailadmin_oldimap 2013-12-05 09:23:58 +00:00
Ralf Becker
1ee480eaa3 remove configurable image-type preference in favor to hardcoded one always prefering png over gif, also removed all .gif images which have a png counterpart 2013-12-05 02:04:59 +00:00
Nathan Gray
87936488bf Implement getState() & setState() towards a more universal favorites, but still more to do:
- Need to get favorite widget to use setState()
- Move much code out of etemplate2 widgets into a higher level
2013-12-05 00:00:43 +00:00
Ralf Becker
9cba54fb63 calendar state handling via set/getState methods in calendar app.js 2013-12-04 23:28:31 +00:00
Klaus Leithoff
68f2605cf4 translations generated/retrieved on translation site: Thank you for your contributions 2013-12-04 10:31:41 +00:00
Nathan Gray
6f15f0aa4c Make popups 10px bigger 2013-11-29 17:42:20 +00:00
Ralf Becker
4f3f88ae92 fixed not updated sidebox in calendar when using framed template-set, as sidebox is now transported as data attribute, we need to set it in or before header call 2013-11-28 23:18:36 +00:00
Nathan Gray
33b01975b2 Allow :: inside data UIDs 2013-11-28 20:16:33 +00:00
Klaus Leithoff
de1b7207ec * API/CKEditor: update to CKEditor 4.3 (compatibility issues with IE10/11) 2013-11-28 12:53:06 +00:00
Klaus Leithoff
dd5ac9d70f * API/CKEditor: update to CKEditor Version 4.2.3 2013-11-28 09:41:31 +00:00
Nathan Gray
b86173ad16 Fix warning to only come when app JS object is missing 2013-11-27 00:13:56 +00:00
Nathan Gray
0502f9326c Make sure ajax flag is at the end so framework finds it 2013-11-26 22:23:08 +00:00
Hadi Nategh
fca35f8127 Revert r44596 about egw_refresh 'cause need more investigation 2013-11-26 08:48:10 +00:00
Nathan Gray
6985c3d61f Resize popups according to their content 2013-11-21 19:09:17 +00:00
Nathan Gray
fd737f10dc Change queued AJAX to go async 2013-11-20 23:40:26 +00:00
Nathan Gray
e231ca5212 Fix some splitter issues:
- Loaded at wrong size
- Docking lost previous pane size
- Docking overwrote bar location preference
- Allowed etemplate to think load was done too early
2013-11-20 23:27:10 +00:00
Ralf Becker
dbd15105e0 * CalDAV/CardDAV: do NOT use Content-Length header, if zlib.output_compression is enabled, fixes problems with iOS7 eg. eTask app
Content-Length is size AFTER applying transfer encoding which compression is, as compression is done in PHP outside our control, we only set wrong (to big) size
2013-11-20 14:12:47 +00:00
Nathan Gray
089144d986 Avoid adding CSS files again if they're already in the header 2013-11-19 23:22:33 +00:00
Hadi Nategh
74d0797904 Make sure only fall into et2 specific reload for egw_refresh when the etemplate2 object has value 2013-11-19 08:36:08 +00:00
Ralf Becker
c68ae86a18 fixed check for template specific tree-images-directory in html::tree, jdots was using it, without having one 2013-11-18 22:05:04 +00:00
Ralf Becker
2b7d9af0a2 reverting to previous app.css file and remove app.less files, as they are not used by pixelegg template and create some glitches, might re-introduce .less for regular templates later 2013-11-18 19:57:38 +00:00
Ralf Becker
5dc6ae9728 remove inline script from login page: using html5 autofocus, instead of inline focus() and no chosen 2013-11-18 16:40:51 +00:00
Ralf Becker
2a52826ad2 loading jquery.js for login screen too 2013-11-18 16:23:12 +00:00
Ralf Becker
2a4c1c3813 renamed idots orange-ball.png to bullet.png, to use identical name in all templates 2013-11-18 16:12:50 +00:00
Ralf Becker
65b3cee7ab fix ckeditor config to allow string with css unit, also added some docu 2013-11-16 16:08:35 +00:00
Ralf Becker
8e69433829 use template specific images for foldertree, use "template" handler for all calls to template/framework object, NOT instanciating a new one using eg. a parent class 2013-11-15 16:28:24 +00:00
Ralf Becker
82d3ac1d2e fixed not working close of popups after handler change 2013-11-15 13:03:09 +00:00
Ralf Becker
727cdc83b3 newewst pixelegg changed from today 2013-11-14 19:29:55 +00:00
Nathan Gray
a97ca723d3 Allow app.appcode.function(); calls in sidebox in addition to global functions. Needs the (); at the end though. 2013-11-14 16:50:16 +00:00
Ralf Becker
9643d31dd1 loading template/theme and print css last, so they can overwrite anything 2013-11-14 16:23:50 +00:00
Ralf Becker
f51f7f5731 allow to use "default" or "forced" as parameter to preferences::set_account() to load default or forced preferences 2013-11-14 15:33:12 +00:00
Ralf Becker
74dd9f0e02 allow templates packed as apps to replace login screen template by setting it as default template (without setting it in header.inc.php) 2013-11-14 13:52:50 +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
31a42e3110 Use current app to get around missing etemplate run rights 2013-11-13 23:22:44 +00:00
Ralf Becker
45a70dcf1d todays changes from pixelegg 2013-11-12 17:24:19 +00:00
Ralf Becker
b0237ef5a3 added installing with installer from http://nodejs.org/download/ 2013-11-12 11:58:12 +00:00
Ralf Becker
3b51dcda45 fixed name of old etemplate/templates/default/app.css 2013-11-12 11:43:13 +00:00
Ralf Becker
1434a55e7e new README about how EGroupware uses images and css in templates 2013-11-12 11:26:06 +00:00
Ralf Becker
6ae755b1aa added pixelegg template, to also delete image cache of it 2013-11-12 09:29:44 +00:00
Ralf Becker
81331d5820 remove pixelegg images from api templates dir, as it is installed as app 2013-11-12 07:57:49 +00:00
Ralf Becker
583538e824 using now CSS preprocessor less (http://lesscss.org) to create some of our css files, used a lot in new Pixelegg template 2013-11-11 19:10:28 +00:00
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +00:00
Ralf Becker
6195a36a1a uncommited changes (class is not used anyway) 2013-11-11 08:32:46 +00:00
Ralf Becker
af8f7b2c35 uncommited changes 2013-11-11 08:31:33 +00:00
Ralf Becker
d4d0c13876 static method can not use $this, there is no need to anyway 2013-11-11 08:28:03 +00:00
Ralf Becker
b1f5649451 fixed egw_min_php_version to 5.3 2013-11-11 08:27:10 +00:00
Ralf Becker
aeced1ddae always check for read access too 2013-11-11 08:23:14 +00:00
Ralf Becker
e4ee379138 fix wrong sql produced by column_data_implode with param $use_key="VALUES" and numerical indexes in data 2013-11-11 08:21:54 +00:00
Ralf Becker
d7a1b12d96 normalize ./ away 2013-11-11 08:19:00 +00:00
Ralf Becker
12e8a3bbcd iterator to run arbitrary callbacks on a select 2013-11-08 19:54:08 +00:00
Nathan Gray
aa47e50f97 Fix missing drag helper 2013-11-06 23:12:32 +00:00
Ralf Becker
aeb6ebd84c instanciate app.js object from egw.js, so non et2 apps can use it too, get et2_dialog working from app.calendar outside listview 2013-11-05 18:08:07 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Nathan Gray
07ff17704f Refresh current app or target app too, like it says it's supposed to 2013-11-04 18:57:20 +00:00
Ralf Becker
1dd3ad5e0a fixed ckeditor wont start with NOT expanded toolbar 2013-11-04 10:13:28 +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