Commit Graph

247 Commits

Author SHA1 Message Date
Ralf Becker
4a12d3b32c invalidate cached bundels, if files are not from new location in /api/js 2016-04-07 15:46:36 +00:00
Ralf Becker
6e3da3d7e3 move egw_include_mgr class to Api\Framework\IncludeMgr 2016-04-07 11:16:58 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Ralf Becker
341a56dc3d moving client-data urls to api 2016-04-06 19:57:40 +00:00
Ralf Becker
2e148944cd PHP7 fix, unsetting function arguments (for quitening IDE warning of not using them) before calling func_get_args() return no longer any arguments, need to be done after 2016-03-24 08:40:43 +00:00
Ralf Becker
a03748fbb2 update Gruntfile.js to create an app.min.js for projectmanager 2016-03-23 08:20:38 +00:00
Ralf Becker
d8514e47b9 move etemplate2.css to api 2016-03-19 15:22:41 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00
Ralf Becker
99714aa9e9 move egw_framework::csp_*_source_attrs($attrs) to Api\Header\ContentSecurityPolicy::add(*-src, $attrs) and egw_ckeditor_config to Api\Html\CkEditorConfig 2016-03-13 14:08:31 +00:00
Ralf Becker
c6a52a0b03 fix mail/js/app.min.js was not used and etemplate2.min.js included twice 2016-03-03 10:39:33 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Hadi Nategh
5467b3bdf4 Mobile theme W.I.P.:
- Activate SVGs in framework
2016-02-24 16:47:32 +00:00
Hadi Nategh
2ff7313efc Mobile theme W.I.P.:
- Make pixelegg mobile theme separated from mobile fw theme
- Fix devices with high resolution don't work properly
2016-02-18 16:27:15 +00:00
Ralf Becker
c2622dcd50 get mobil template to load its own css, falling back to pixelegg and default 2016-02-17 16:50:54 +00:00
Nathan Gray
296d39a83a Fix missing username in AJAX retrieval of account name 2015-11-17 18:25:58 +00:00
Nathan Gray
48d779a337 When getting account data via AJAX, make sure account name is in user's preferred format. 2015-11-16 17:32:37 +00:00
Hadi Nategh
7c944b5aeb Mobile theme W.I.P.:
- Sidebar acts based on device size
- Remove portrait top header (sidebar toggle menu will be positioned next to nm header)
- Remove collapsed sidebar application navigator, only for devices
2015-11-16 15:45:04 +00:00
Ralf Becker
b0de2d57a6 cache version number parsed from changelog for 5min on tree level 2015-11-05 14:18:17 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Ralf Becker
f652853c7a allow client-side to detect first load aka just logged in 2015-10-19 10:26:00 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Hadi Nategh
a378d19d2a Some fixes for custom app-theme css:
- Make sure including css on ajax response respect app-theme
- Include app-theme for home portlets
2015-10-09 11:46:45 +00:00
Ralf Becker
0f0728316d support themes on application level: $app/templates/$template/app-$theme.css 2015-09-18 15:53:20 +00:00
Ralf Becker
4e986e58b8 change "password about to expire in N days" warning into an once per login info-message (was a redirect to password change) 2015-07-01 17:51:56 +00:00
Ralf Becker
d39c2a71bf * Login/Password: handle forced password change on login page 2015-07-01 12:44:34 +00:00
Ralf Becker
c7763ee259 load chosen and CKEditor as part of API javascript boundle, as they are used be old eTemplate to and loading only one of the two et2 bundles fails 2015-06-08 14:33:57 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Ralf Becker
01860bc469 * Mobile: fix redirect loop, if template_set was forced to something else then "pixelegg"
- refactored generation of framework object to egw_framework::factory used now in login.php and egw object
- using now $framework->template_dir for *.tpl files of template-sets
2015-05-27 14:01:32 +00:00
Hadi Nategh
58ddac77e9 Fix password change dialog does not open in safari 2015-03-16 17:43:42 +00:00
Ralf Becker
386ee978f3 need to query all apps for CSP frame-sources, as they need to be set on top-level window/document 2015-03-13 12:51:36 +00:00
Ralf Becker
9cc1d409eb harden login page by no longer using www.groupware.org to load social media icons 2015-02-21 13:29:10 +00:00
Ralf Becker
5ac3f95a91 * all apps: updated jQuery and jQuery-ui to version 1.11.2 fixing eg. some UI glitches in FireFox
- rename window.$ window.$j at the very end of jquery.js
- download custom jquery-ui containing everything, but with selected redmond theme
- removed not used smoothnes theme and removed version from redmond/jquery-ui.css
2015-02-03 09:26:34 +00:00
Ralf Becker
50d87c2963 fixed not working seek in stream-wrapper, caused by sw interface uses true/false while fseek uses 0/-1 2015-01-10 13:04:51 +00:00
Ralf Becker
94d91f3ac8 allow to unset a preference by calling egw.set_preference(app,name) 2015-01-08 13:13:02 +00:00
Ralf Becker
b98972582c check if allow_url_fopen = On 2014-12-15 14:29:56 +00:00
Ralf Becker
ef84797019 switching jdots bundle off, as fw_pixelegg will cause whole jdots bundle incl. fw_jdots to include 2014-12-09 16:39:42 +00:00
Ralf Becker
e6cf7c95d3 automatic select mobile theme for mobile user agents 2014-12-01 08:43:07 +00:00
Ralf Becker
be6393e91b adding cache-busters to LABjs and egw.js 2014-11-27 08:51:31 +00:00
Ralf Becker
5eeac7093c use filemanager UI as UI for sharing directories 2014-11-18 12:55:32 +00:00
Ralf Becker
cee1a48939 fix infinit recursion caused by systemtime < max modification time of files, now relying only on modification times 2014-11-07 10:33:46 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Hadi Nategh
7369a71d49 Fix a missing space in connect-src line of CPS 2014-10-13 14:06:20 +00:00
Ralf Becker
bde32aaeeb add deprecation note to egw_framework::on_* methods, as they get stoped by CSP (they work for old apps incl. old eTemplate) 2014-10-13 12:49:14 +00:00
Ralf Becker
db6e2c1ed6 allow to set CSP connect-src and fix all IDE warnings 2014-10-09 20:32:59 +00:00
Ralf Becker
245391e724 allow path instead of url with schema for login too 2014-09-27 17:11:05 +00:00
Ralf Becker
be369d7ac9 fix PHP Fatal error under PHP 5.3: Cannot access self:: when no class scope is active 2014-09-25 06:21:21 +00:00
Ralf Becker
aa10bc53a5 need to set context even for no proxy, if we need optional authentication 2014-09-23 13:43:09 +00:00
Ralf Becker
bd5796704a * Admin: using proxy configuration from setup for update-check and retrieving EPL license from my.stylite.de 2014-09-22 19:43:38 +00:00
Ralf Becker
20179f1767 * Spellchecker: marking "browser based" (default for new installs) and "No" as safer and fixing CSP policy for web-spell-checker 2014-09-04 09:58:48 +00:00