Commit Graph

5631 Commits

Author SHA1 Message Date
Ralf Becker
834cc466f5 to allow installing api or EGroupware without phpgwapi, old exceptions which we have to extend in order allow old apps to catch exceptions thrown from new api, have to reside in api/inc and get autoloaded 2016-05-02 16:57:50 +00:00
Ralf Becker
cea5c69b7f move CreateObject and ExecMethod into new api 2016-05-02 14:41:48 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Ralf Becker
8536635b1c no more dynamic minifying 2016-04-30 14:30:13 +00:00
Ralf Becker
b6403e336e move common::get_tpl_dir to Api\Framework\Template::get_dir, and replaced some other overlooked methods 2016-04-27 19:11:41 +00:00
Ralf Becker
8315cbfee0 move egw and applications class to api including (common_)functions.inc.php 2016-04-26 14:38:08 +00:00
Ralf Becker
aa2275ace8 cant completly remove egw_framework::set_on* methods, as they are still in use 2016-04-15 15:12:27 +00:00
Ralf Becker
f3c1f5b5fb move old Template class to Api\Framework\Template, as it is still used to render header and login page 2016-04-08 07:50:15 +00:00
Ralf Becker
8c87cf9dfc move egw_framework to api and refactor it 2016-04-07 20:42:06 +00:00
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
9fd7b645ec move asyncservices class to api 2016-04-06 19:27:47 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
9eb1ecbd36 fix all IDE warnings, before moving classes to api, in case we want to merge it back to 14.x 2016-04-02 08:40:34 +00:00
Ralf Becker
d7f38ce16e no need to call ancient CreateObject when class is autoloadable 2016-04-01 12:15:10 +00:00
Ralf Becker
8fb9063157 moving common::(next|last)_id methods to Api\Accounts\Ldap, storing ids now in egw_config instead of egw_nextid table (which will be droped), also fix "Protocol error" on creating new accouts r55591 on 14.x 2016-04-01 08:07:03 +00:00
Ralf Becker
f838eb0f01 move country class to api, made all methods static and update country list with current (lowercase) ISO 3166 list 2016-03-31 19:41:39 +00:00
Ralf Becker
082884007e move acl class to api 2016-03-31 18:52:09 +00:00
Nathan Gray
25bcc1c864 Avoid 'Class ... not found' error when throwing exceptions that extend NoPermission 2016-03-30 17:05:18 +00:00
Ralf Becker
5f68bc6664 move html mail specific part of translation class to Api\Mail\Html 2016-03-28 19:38:21 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
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