Commit Graph

8683 Commits

Author SHA1 Message Date
Ralf Becker
d49f8bc45f fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Hadi Nategh
0cdcc975cb Mobile theme:
- Remove another position fixed
2016-03-14 15:57:17 +00:00
Ralf Becker
064a10c990 fix wrong namespace 2016-03-14 10:48:03 +00:00
Hadi Nategh
3ec1847b34 Mobile theme:
- Add popupMainDiv a class to be able to use the same styling for semi-popups
- Fix color for edit icon
- Try to use .popupMainDiv class instead of ID
2016-03-14 08:38:30 +00:00
Ralf Becker
c5523c649c remove 11.1 felamimail grid, unused since 14.1 2016-03-13 14:18:22 +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
02bf09aaae move egw_htmLawed to api/src/Html/HtmLawed, @Klaus: does mail really need to call that class, cant it use Html::purify? 2016-03-13 11:56:00 +00:00
Ralf Becker
85695f0d41 split html class to Api\Html, Api\Header\Content, Api\Header\UserAgent and translation 2016-03-13 11:22:44 +00:00
Klaus Leithoff
0cfe6754e5 some italian translations provided via translation.stylite.de. Thanks. 2016-03-11 11:26:23 +00:00
Hadi Nategh
1b0427a182 Mobile theme:
- Do not add copy/paste actions for mobile contextmenu
2016-03-09 12:37:02 +00:00
Nathan Gray
e902c32d9f Avoid some processing while hidden - fixes placeholders on first load when the widget is hidden 2016-03-08 22:11:58 +00:00
Ralf Becker
564b2b0fd7 fixes and first successful tests with Ldap backend 2016-03-08 08:13:26 +00:00
Ralf Becker
0ba4283f9f move egw_link to Api\Link 2016-03-07 08:46:32 +00:00
Ralf Becker
2ccb5cd58d create old accounts object with deprecated methods for old apps using it 2016-03-06 21:15:55 +00:00
Ralf Becker
b95727bb6f move auth classes to Api\Auth, only Sql is currently tested! 2016-03-06 20:47:10 +00:00
Ralf Becker
d407b9aae1 moved accounts classes to Api\Accounts 2016-03-06 15:54:07 +00:00
Ralf Becker
f7441c2e2e Api\Vfs::mime_icon() only returns url or eTemplate app/name string, no more html image tag, egw_vfs compatibility class still implements that 2016-03-05 15:59:20 +00:00
Ralf Becker
49c45ff53a cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image) 2016-03-05 15:32:49 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
0f2131e29a move egw_customfields class to Api\Customfields 2016-03-05 13:33:32 +00:00
Ralf Becker
aeb9c93b55 moved egw_session class to Api\Session and removed unused egw_session_(files|memcache) as listing sessions is done now via egw_sessions table in db and memcache has its own session handler 2016-03-05 13:14:54 +00:00
Ralf Becker
7989d702dd move mime_magic class to Api\MimeMagic 2016-03-05 12:33:37 +00:00
Ralf Becker
a24c1121a2 move egw_time class to Api\DateTime 2016-03-05 11:14:01 +00:00
Ralf Becker
49f75bc8dd move non-mail specific methods of translation class to Api\Translation 2016-03-05 10:47:20 +00:00
Ralf Becker
7aa3296cc5 move config to Api\Config 2016-03-05 10:22:40 +00:00
Nathan Gray
7b42308df2 Add "toggle" as an option for taglist multiple attribute 2016-03-04 15:36:05 +00:00
Ralf Becker
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +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
b0f061ac5e fix not working minified css, caused by it not being recogniced as loaded and loaded again out of order 2016-03-03 09:23:45 +00:00
Ralf Becker
7d90bca111 fix fatal javascript error "egwIsMobile is not defined" in fw_browser.js, if minifying is disabled, by adding an explicit dependence to egw_action_common.js 2016-03-02 18:04:47 +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
0badf82d7b missing et2 and api min.js 2016-03-02 08:46:43 +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
Ralf Becker
033c1f4a9f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 15:50:24 +00:00
Ralf Becker
68374ff0a3 use svg image itself as thumbnail 2016-02-29 13:05:48 +00:00
Ralf Becker
86bf2fb2c0 add missing deprecated fro egw_exception_redirect 2016-02-29 08:41:32 +00:00
Ralf Becker
0db8e10784 fix typo Api\Exception\WrongUserInput 2016-02-29 08:38:59 +00:00
Ralf Becker
1ab66dd811 move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones 2016-02-28 13:43:06 +00:00
Ralf Becker
9bf4dd288e moved egw_cache to Api\Cache 2016-02-28 09:38:36 +00:00
Ralf Becker
1c8d6e7b03 show no more lines and left/down triangles instead of plus/minus in tree 2016-02-25 19:29:56 +00:00
Ralf Becker
254a365911 fix [Send] button to start with a capital letter in German translation too 2016-02-25 15:14:56 +00:00
Hadi Nategh
5467b3bdf4 Mobile theme W.I.P.:
- Activate SVGs in framework
2016-02-24 16:47:32 +00:00
Nathan Gray
5b10bde980 Trigger a resize to notify listeners of the change in size
Fixes sidebox calendar is too small after expanding sidebar
2016-02-24 16:16:21 +00:00
Ralf Becker
b65cafc07b no longer use old contacts class via egw object, but addressbook_bo directly, fixes diverse warnings caused by old class 2016-02-22 17:30:20 +00:00
Hadi Nategh
95648db5fc Mobile theme W.I.P.:
- Fix iOS 300ms delay on touch
2016-02-22 17:19:12 +00:00
Ralf Becker
21a79c502f fix egw_json::sendHeader() should not be called static warning 2016-02-22 16:13:14 +00:00
Hadi Nategh
848c7d71d2 Mobile theme W.I.P.:
- Fix error 500 happens when opening view template
- Implement better approach for specifying currentapp
2016-02-22 13:03:57 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
3883dc24e4 fix IDE warnings and only allow to create new tables with utf8 2016-02-20 19:21:44 +00:00