Commit Graph

5590 Commits

Author SHA1 Message Date
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
Ralf Becker
b5aeadf265 remove Exception from function signature of egw_exception_handler and _egw_log_exception, as php 7 throws Error not inherited from Exception, but Throwable does not exist in php < 7.0 2016-02-14 17:54:14 +00:00
Ralf Becker
0a2b861af9 remove et2_button_text class from old eTemplate buttons, as it only caused unnecessary left-padding of buttons without image 2016-02-14 16:21:07 +00:00
Klaus Leithoff
55b88bc859 remove egw_idna and its implementation, as it is replaced by Horde_Idna 2016-02-11 12:17:02 +00:00
Klaus Leithoff
c45600b256 fix rare problem encountered when setting egroupware test job: first char of emailaddress (job-data) was replaced by the number 1 2016-02-09 11:11:13 +00:00
Ralf Becker
845d7d20a7 * ActiveDirectory: fixed user who never changed his password get forced to change his password
pwdlastset attributes seems not set, if password was never changed, different from 0 value for forced password change
2016-02-05 14:02:00 +00:00
Klaus Leithoff
cf54b25ca2 attempt to improve html2text conversion 2016-02-02 12:57:21 +00:00
Ralf Becker
b137f4710c remove old network class from Trunk/16.1 2016-02-01 12:50:34 +00:00
Ralf Becker
c982167602 * ActiveDirectory: fix creation of groups without description or removing of description of an existing group 2016-01-26 13:29:30 +00:00
Hadi Nategh
4eefabc256 Fix styling for buttons with image and text in old etemplate 2016-01-25 09:43:14 +00:00
Klaus Leithoff
08287dd1ce on activate_links, use preg_replace_callback as we experienced problems with https links when rebuilding links 2016-01-12 11:22:20 +00:00
Hadi Nategh
536c32d8f8 Apply Stefan Werfling's patch which add additional parameter to search_link called file_dir for sub-apps 2016-01-11 10:32:31 +00:00
Klaus Leithoff
8b3e9bd0c4 attempt to improve activate_links; do not break lines with hrefs when word-wrapping; do not use strip_tags on plain messages when using get_mailcontent (mostly used by app-integration) as it eats away too much content. we use convertHTML2text now 2016-01-08 15:05:04 +00:00
Nathan Gray
7d97e70893 Remove visible &nbsp 2015-12-15 20:17:08 +00:00
Ralf Becker
688cc2a76d fix XSS tests to not fail something starting like a forbidden html tag, eg. "<mathias@stylite.de>" 2015-12-14 09:29:52 +00:00
Nathan Gray
d9b43423a7 Fix some incorrect responses for account list:
- owngroups included members
- groupmembers was empty
2015-12-09 18:55:57 +00:00