Commit Graph

5605 Commits

Author SHA1 Message Date
Ralf Becker
c81884e622 for PHP 7.0+ prefer new 2. unserialize parameter ["allowed_classes"=>false] for our php_safe_unserialize over our regular expression solution giving some false positives 2016-03-27 08:41:04 +00:00
Ralf Becker
e3aef81959 kope with not unserializable content in preferences stalling update 2016-03-24 13:30:59 +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
4eddb82724 make ancient xajaxResponse autoloadable, as json.php no longer loads it by default, because it uses new Api\Json\* classes and methods 2016-03-22 09:31:20 +00:00
Ralf Becker
1b5429f0ff replacing common::egw_exit() with exit, there is no more extra cleanup 2016-03-20 16:30:01 +00:00
Ralf Becker
67cb60b972 moving egw_digest_auth, vfs_webdav_server and egw_sharing to new api 2016-03-20 16:19:53 +00:00
Ralf Becker
4da844a70f move categories class to api 2016-03-20 13:41:33 +00:00
Ralf Becker
52a7f2198a move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
Ralf Becker
df7d8c414a modified client-side to call new server-side classes in api, instead compatibility classes in etemplate 2016-03-19 16:16:59 +00:00
Ralf Becker
3453021a6d allow api as app like home for everyone, and implement calling of namespaced class-names from EGroupware namespace in index.php and json.php 2016-03-19 15:24:36 +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
064a10c990 fix wrong namespace 2016-03-14 10:48:03 +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
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
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
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
Hadi Nategh
5467b3bdf4 Mobile theme W.I.P.:
- Activate SVGs in framework
2016-02-24 16:47:32 +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
Ralf Becker
21a79c502f fix egw_json::sendHeader() should not be called static warning 2016-02-22 16:13:14 +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
Ralf Becker
651be2a4cf removing for some of our ADOdb patches 2016-02-20 18:16:21 +00:00
Ralf Becker
27fc9a48d2 async_data is NOT NULL, therefore we should not attempt to write a NULL, even if most MySQL servers dont complain 2016-02-20 15:17:12 +00:00
Ralf Becker
7c9f9a8eff remove in php70 deprecated php4 constructors 2016-02-19 08:54:53 +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
Ralf Becker
aff27b4aaa removing deprecated PHP4 constructors filling logs with deprecation notices under PHP 7 2016-02-15 11:17:09 +00:00