Commit Graph

197 Commits

Author SHA1 Message Date
Hadi Nategh
1912a14fe7 Add login.js to phpgwapi in order to make it available for all templates. Implement socialMedia for jdots and idots templates too 2014-07-24 17:13:46 +00:00
Ralf Becker
448e1e3675 * Admin: automatic update check displaying an icon for available (security-)updates for admins, escalating for security updates to all users after 3 days 2014-07-17 09:22:54 +00:00
Ralf Becker
2461660920 * Preferences: do NOT use deny configuration for admins 2014-07-14 16:26:03 +00:00
Ralf Becker
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +00:00
Nathan Gray
d6fcba4dc9 Update documentation to mention filtering too 2014-06-25 16:10:43 +00:00
Ralf Becker
7505b92bcb fixed not working password link in Firefox (JSON.parse in FF does not like white-spaces) 2014-06-24 14:07:42 +00:00
Ralf Becker
ff00c695ca new API method egw_framework::popup($link, $target="_blank", $popup="640x480") to open a popup independent of running a regular or a JSON request 2014-06-18 13:57:15 +00:00
Hadi Nategh
78e701ed85 Remove another inline script which was violating CSP 2014-06-13 11:16:04 +00:00
Ralf Becker
85c5468013 fixed old tree stuff to use new dhtmlx locations, allways use dhtmlxtree/codebase/dhtmlxcommon.js 2014-06-03 08:17:43 +00:00
Ralf Becker
28b45639be to give observer method of other apps more information about what to refresh, server-side adds now links to refresh-opener and therefore observer calls 2014-05-26 13:29:35 +00:00
Nathan Gray
012b49838c Send value/label pairs to preserve sorting 2014-05-06 20:33:40 +00:00
Ralf Becker
d28315dc9f disable help until content is reworked 2014-04-24 05:56:41 +00:00
Nathan Gray
48fa6611f3 Use a single client-side cache for account selection so we don't have to send it for every widget 2014-04-23 19:00:59 +00:00
Ralf Becker
f641c2cec6 open password in a popup 2014-04-17 07:37:21 +00:00
Nathan Gray
764d7f99a5 Update CSS order so apps can customize theme:
Libs < etemplate2 < framework/theme < app < print
2014-03-18 15:29:03 +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
04442bb0cf move actions stuff to api bundle, as loading just it fails with etemplate bundle split in two parts (fixes error reported on devel list) 2014-03-04 09:10:58 +00:00
Ralf Becker
11d77f3dab fixed a couple of problems with automatic switch to idots template from mobile browsers: csp-error, wrong icons 2014-03-03 17:35:48 +00:00
Ralf Becker
876a14ff52 new 4th parameter to egw_framework::includeCSS() to tell framework NOT to load any default CSS and make send_headers public 2014-03-03 14:54:03 +00:00
Ralf Becker
2f3add4ce9 hook to allow apps to add addional domains to CSP frame-src, eg. used by sitemgr to allow access to its sites, also fixed not displayed sidebox menu of old apps 2014-02-21 17:06:11 +00:00
Ralf Becker
5734d2e143 fix some html markup IE complains about 2014-02-19 11:49:53 +00:00
Ralf Becker
e6052f9704 automatic split bundles with more then 50 files into chunks, as IE11 does NOT cache them otherwise 2014-02-17 17:15:37 +00:00
Ralf Becker
ca12321613 fixed sitemgr-links show no navbar icon in Stylite/Pixelegg template 2014-02-16 09:12:08 +00:00
Ralf Becker
5e0ac9b76f moved favorites code to new class egw_favorites 2014-02-14 13:48:45 +00:00
Ralf Becker
be60a5036e older group-favorites have just true as their group and are not deletable, if we dont find correct group 2014-02-14 13:26:32 +00:00
Ralf Becker
0fa215c9e8 fixed sometimes not deletable favorites 2014-02-14 12:46:49 +00:00
Ralf Becker
e4d65ae94d do NOT check for run rights of preferences app, as we want to be able to store implicit preferences 2014-02-13 16:34:09 +00:00
Ralf Becker
476f33af23 until home works again, we use default_app from prefs (if set and not home) or calendar, if allowed, or first app found 2014-02-13 13:18:48 +00:00
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +00:00
Nathan Gray
1ca01da9b0 Fix missing group ID when deleting group favorites, fixes unable to delete group favorites 2014-02-12 17:33:22 +00:00
Ralf Becker
384756ff71 explicitly allow svg for logo in navbar 2014-02-12 08:34:33 +00:00
Ralf Becker
0a5001ea11 explicitly allow svg for logo in login screen 2014-02-12 08:14:07 +00:00
Ralf Becker
436fe041e0 switching svg images off for everything but application icons in Stylite or Pixelegg template 2014-02-11 14:41:17 +00:00
Ralf Becker
a4c1c5ad72 include addressbook preferences in user.php, as some et2 widgets need this prefs and we dont want to block until they are loaded 2014-02-11 12:48:20 +00:00
Ralf Becker
6d17e87b0a use egw_json_response::call() instead of deprecated script() 2014-02-11 12:16:16 +00:00
Ralf Becker
ca334ad13b moving egw_preferences (handler to call preferenes, acl or categories) from jsapi.js to egw_preferences.js show_preferences() method 2014-02-07 14:04:12 +00:00
Ralf Becker
d40025f732 allow to specify app for redirects (for Stylite or Pixelegg template) 2014-01-28 11:00:39 +00:00
Ralf Becker
5a8b145b7f fixed caching in a couple of places:
- user.php was not reloaded if (session-)preferences changed eg. language via select-box in login, because we used Expires header, but did not force a different url
- (user|config|images).php now has etag on url, to force reload by browser as we use an Expires header (changed images still need Admin >> clear cache to rebuild image cache)
- preferences are now loaded via a cachable GET request
2014-01-18 17:43:15 +00:00
Ralf Becker
bcba09973f pass an id to _add_topmenu_info_item, so templates can use that to generate an id for each div 2014-01-17 09:23:23 +00:00
Ralf Becker
699b614ac1 re-adding cache buster to javascript urls, if debug_minify=True 2014-01-14 17:59:33 +00:00
Nathan Gray
71f0fcdda0 Implement refresh type 'update' to _only_ update the data of a row - sorting is not considered, so make sure to use 'edit' if sorting might be affected. 2014-01-13 09:40:23 +00:00
Ralf Becker
8c9034b3e9 using now 3 minified and concatinated javascript file-bundles:
1. api: egw, jquery, old jsapi and egw_json plus its dependences
2. et2: etemplate2.js plus dependencies
3. jdots: files from Stylite or new pixelegg template
all other javascript files are loaded on there own. 
Bundle-configuration is dynamicly created and cached.
EGw configuration allows to disable minifying and concatination of javascript and css files for deverloping purpose
or to just concatinate but not minify them aka "debug".
2014-01-11 18:49:51 +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
Ralf Becker
90edb55ec5 add async include and et2 render times to page-generation-times shown 2014-01-09 12:20:13 +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
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