Commit Graph

375 Commits

Author SHA1 Message Date
leithoff
249af04b21 handle pass var by reference for getSortedList 2016-06-10 09:47:19 +02:00
Ralf Becker
ab02df94d4 extract PDO code from Sqlfs streamwrapper into class Api\Db\Pdo, to be able to use it for z-push SqlStateMaschine 2016-06-09 20:40:31 +02:00
leithoff
caafb0b84b improved handling of authentication/connection failed errors 2016-06-09 15:48:01 +02:00
Ralf Becker
bca20a9534 silence "Declaration of $class::$method should be compatible with $parent::$method" warning 2016-06-09 09:24:33 +02:00
Ralf Becker
5643f0f6c2 fix PHP Warning: Declaration of EGroupware\\Api\\CalDAV::ServeRequest() should be compatible with HTTP_WebDAV_Server::ServeRequest($prefix = NULL) 2016-06-09 09:00:57 +02:00
nathangray
578ded52b8 Fix quick timezone selection
- Now updates all open apps, not just the currently active one.
- Fixed AJAX change did not stay changed
2016-06-08 16:02:10 -06:00
leithoff
40d1e52238 fix warning 2016-06-07 16:07:58 +02:00
leithoff
0bd975927f attempt to handle connection failed errors more convieniently 2016-06-07 15:31:34 +02:00
Ralf Becker
3ccea2b6d7 fix missing (global) namespace in Exception from last commit, also fixed existing cases 2016-06-07 13:02:41 +02:00
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Ralf Becker
e2190cee25 fix EGroupware\Api\Vfs\Sqlfs\StreamWrapper::mkdir('sqlfs://default/home/*****',56,8) already exist! 2016-06-06 13:59:45 +02:00
Ralf Becker
89fcf7e844 fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback 2016-06-06 13:54:09 +02:00
Ralf Becker
f1440fb9d5 catch exception caused by wrongly formatted date, as it eg. stalls whole mail app, as we created placeholders of account for signature 2016-06-06 10:09:05 +02:00
Ralf Becker
4a79713ad5 fix old Smtp/Imap plugin names causing mail hooks not to run and accounts not being activated 2016-06-05 18:09:30 +02:00
Ralf Becker
139ee0dab1 no need to log connection retries and final connection failures are always thrown, fixes 5 connection failures log for creating new databases 2016-06-05 16:59:55 +02:00
nathangray
0ab67c3280 Move api-accounts links to api app, fixes search in account selectbox does not work without home permission 2016-06-02 10:11:31 -06:00
Hadi Nategh
d040534a1f Deprecate $j global variable used in php files and replace them all with standard jQuery 2016-06-02 17:43:23 +02:00
leithoff
8a6126f12f handle problems on failed retrieval of headers, when short-preview is switched on in message-list 2016-06-02 14:48:19 +02:00
nathangray
2507fefda8 Fix account link query 2016-06-01 15:39:10 -06:00
Ralf Becker
d90c6d6e2a fix permanent error_log 2016-06-01 16:43:27 +02:00
Ralf Becker
06dee154d0 * Admin/Mail: fix admin editing (personal) mail account of other user destroys password, because it was encrypted with users session password and therefore not available 2016-06-01 16:25:36 +02:00
Ralf Becker
26916daaef fix autoloader to load news_admin_bo at installation (no $GLOBALS[egw_info][apps] available) 2016-06-01 09:08:06 +02:00
Ralf Becker
05e5c6181f fix PHP Fatal error: Call to undefined method EGroupware\Api\Session::appsession() during SiteMgr installation 2016-05-31 22:45:01 +02:00
Ralf Becker
9c3ba4240a fix wrong namespace 2016-05-31 12:30:08 +02:00
Ralf Becker
921adfb10f fix Framework\Template::get_dir() to either return a directory or throw a WrongParameter Exception, fixes several Scrutinizer warnings 2016-05-31 09:14:50 +02:00
nathangray
772b97e22d Fix namespace causes class check to fail 2016-05-30 15:41:27 -06:00
nathangray
38f1c2b76b Avoid error if file has no props 2016-05-30 10:12:54 -06:00
Ralf Becker
eb62aba637 fix PHP Fatal error: Class 'EGroupware\Api\Vfs\SharingUi' not found 2016-05-30 16:00:20 +02:00
Ralf Becker
1b8bc32f54 fix only show WebDAV autoindex, instead of filemanager GUI for sharing directories 2016-05-30 12:40:20 +02:00
leithoff
97b30f3167 explizitly handle span element on convertHTMLToText 2016-05-27 12:29:18 +02:00
Ralf Becker
2b2845fff7 fix PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP 2016-05-26 11:27:03 +02:00
nathangray
366c6aabf5 Update participating contacts in addressbook list when an event changes 2016-05-25 17:28:59 -06:00
Ralf Becker
8c821ab8cb fix wrong/different case WrongUserInput --> WrongUserinput 2016-05-25 21:41:50 +02:00
Ralf Becker
4165c649ae adding missing adLDAP stuff, support for https and ssh checkouts and (un)tagging to .mrconfig 2016-05-25 12:18:47 +02:00
nathangray
362366ed28 Fix addressbook - calendar permission issue blocking viewing contact calendar 2016-05-24 17:13:40 -06:00
nathangray
fccf83e36a Do not have draw:frames with duplicate names, they will be stripped when opening with LibreOffice 5.1 2016-05-24 13:48:41 -06:00
leithoff
00000dbeee mind namespace when calling hook_tag function 2016-05-24 16:01:55 +02:00
Ralf Becker
9f615386d8 $GLOBALS['egw_info']['flags']['deny_mobile'] to disable new 16.1 mobile support 2016-05-23 14:25:30 +02:00
Hadi Nategh
5ef5cacd62 Implement geolocation option for contacts in addressbook 2016-05-20 15:50:26 +02:00
Hadi Nategh
1517c5f323 Fix emails with single quote in local address not getting parsed correctly (eg. test.o'test@example.com) 2016-05-19 15:46:08 +02:00
Hadi Nategh
4aa1156af0 Fix framework asks always for jdots even if the jdots is not installed 2016-05-18 12:39:06 +02:00
Ralf Becker
f102460ac9 fix PHP Fatal if app got removed in filesystem (like eg. our developer_tools) 2016-05-17 22:04:12 +02:00
Ralf Becker
148e1853db put "Changelog" tab in front, then "General" tab renamed "About EGroupware" and last "Applications" renamed to "Apps & License" also containing templates after the apps 2016-05-17 21:38:12 +02:00
nathangray
82737f47e1 Replace missing transform templates 2016-05-17 08:36:37 -06:00
leithoff
3d705be6e7 avoid fatal error on merging prefs 2016-05-17 12:51:45 +02:00
Ralf Becker
dab7650dca using eT2 for about and moved code to api (api/src/Framework/About.php) 2016-05-16 16:27:33 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
5be1075f26 move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests 2016-05-14 12:38:31 +02:00
leithoff
f29066bc86 give more info on failed attachment retrieval 2016-05-13 12:26:21 +02:00
Ralf Becker
c0bd10e4fe fix EGroupware\\Api\\Translation::load_app_files() lang file etemplate/lang/egw_*.lang contains invalid app 'developer_tools' and other loading issues through phpgwapi&etemplate --> api conversation 2016-05-12 19:06:42 +02:00
Nathan Gray
e38fa525ef Unset empty filter arrays, not set them to null 2016-05-11 19:40:49 +00:00
Ralf Becker
e34fe9a4e7 using Acl::(ADD|READ|EDIT|DELETE|PRIVAT) constants instead old EGW_ACL_* defines and fix some namespace errors found by doc/check_namespace.php 2016-05-11 19:23:14 +00:00
Ralf Becker
e87cbc4832 use static Hooks methods 2016-05-11 18:58:10 +00:00
Klaus Leithoff
419f90f2e9 fix problem regarding sorting autofolders to the beginning of the foldertree 2016-05-10 15:17:40 +00:00
Nathan Gray
457e05d920 Change filterheaders to extend taglist instead of select 2016-05-09 19:17:04 +00:00
Ralf Becker
251de1dc54 move category images to api, fixes PHP Fatal in admin_categories, if phpgwapi is not installed 2016-05-09 10:05:57 +00:00
Ralf Becker
af9d5a6a66 use api instead of home for browser based mime-handlers 2016-05-06 17:50:00 +00:00
Ralf Becker
28b534d7eb implement birthday as fileas option 2016-05-06 16:17:05 +00:00
Ralf Becker
fc2e620652 replace old classname 2016-05-06 16:15:06 +00:00
Hadi Nategh
8708d598ff Remove unsupported skins from CKEditor 2016-05-06 14:12:57 +00:00
Ralf Becker
30158d1e8d get stylite search working again by adding implicit app rights for about 2016-05-06 13:42:47 +00:00
Klaus Leithoff
f163be62e2 add ClearAttachments, as it is used by notifications_email::send 2016-05-06 13:36:21 +00:00
Klaus Leithoff
c0c21e8789 implement bold, as it is used by notifications_popup 2016-05-06 13:15:36 +00:00
Ralf Becker
153c068271 fix diverse occurences of egw_db 2016-05-06 11:13:19 +00:00
Ralf Becker
5261404c53 remove accidently readded loading of no longer existing etemplate translations (moved to api) 2016-05-06 10:51:25 +00:00
Ralf Becker
4a128b913c if template-set does not supply (login_deny)login.tpl, use the ones from api/templates/default 2016-05-06 10:49:11 +00:00
Ralf Becker
db1a9c4596 need to set $_REQUEST in ajax_exec, as some apps use $_REQUEST to check $_GET or $_POST 2016-05-06 10:03:45 +00:00
Ralf Becker
bf0fbbb521 fix PHP Fatal caused by calling method of old hooks class 2016-05-06 09:34:29 +00:00
Ralf Becker
797ff38fa3 fixed "Application echoed something", when eT2 request was processed 2016-05-05 16:43:39 +00:00
Ralf Becker
33605585e2 move default login and head templates from idots to api/templates/default and some other fixes to fix up non-Pixelegg login and old templates 2016-05-05 13:29:41 +00:00
Ralf Becker
683f09bf6c moving etemplate translations to api to allow installation without (old) etemplate, added debug GET parameter to lang.php to JSON pretty-print 2016-05-05 09:31:54 +00:00
Ralf Becker
5353072052 mv template specific images from "phpgwapi" to "api" and search "api" also on client-side for image, added debug GET parameter to images.php to JSON pretty-print instead of one line javascript 2016-05-05 09:16:27 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
e5d6f6a909 fix calendar preferences to show start- and end-time of day 2016-05-03 13:24:21 +00:00
Ralf Becker
c3482510b6 load EGroupware logo from api, no longer in phpgwapi 2016-05-03 13:02:33 +00:00
Ralf Becker
39aff50989 fw_mobile needs to be moved to pixelegg 2016-05-03 12:52:08 +00:00
Nathan Gray
c8fe06551f Fix merging into email headers adds '@missing_domain' 2016-05-03 00:10:30 +00:00
Ralf Becker
c15fcdfb52 WIP egw installs now without phpgwapi and allows to login 2016-05-02 22:26:40 +00:00
Ralf Becker
19d4965762 no need to instanciate object for static methods 2016-05-02 20:24:16 +00:00
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
1034ecb8fc fix typo 2016-05-02 15:31:07 +00:00
Ralf Becker
cea5c69b7f move CreateObject and ExecMethod into new api 2016-05-02 14:41:48 +00:00
Ralf Becker
1cda6e6cb4 change Pixelegg template to no longer depend on jdots 2016-05-02 14:19:34 +00:00
Ralf Becker
57f8a9a8eb remove dependency on phpgwapi as far as css is concerned 2016-05-02 12:31:24 +00:00
Klaus Leithoff
f2effdff1c handle doublequotes that may enclose URLs 2016-05-02 12:09:42 +00:00
Ralf Becker
3bd9b98fd5 fix PHP Fatal error: Cannot use accounts as accounts because the name is already in use under PHP 5.4 2016-05-01 14:18:56 +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
70e084972a fix infinit recursion, when creating new bundles, caused by max_modified not calculated 2016-04-30 17:05:00 +00:00
Ralf Becker
8536635b1c no more dynamic minifying 2016-04-30 14:30:13 +00:00
Ralf Becker
528a4cf3d2 comment permanent error_log in includeCSS 2016-04-30 10:24:32 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Ralf Becker
22fa4e70bc moving to stray css includes into etemplate2.css, so they also get minified and loaded in one go 2016-04-29 13:43:50 +00:00
Klaus Leithoff
8e02180904 * Mail: allow to define an existing folder as archive folder and allow to move messages to the specified folder with either right-click action or EGW-shortcut 2016-04-29 11:23:05 +00:00
Ralf Becker
b86a5d469c use vcard_charset preference for generating vcards for addressbook 2016-04-29 08:52:28 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
66cdf2c089 add missing public static 2016-04-28 18:07:54 +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
Nathan Gray
66386c1a42 Remove 1 week limit if end date is not provided 2016-04-27 15:43:38 +00:00
Ralf Becker
91dcf44555 * CardDAV: fix not working creation of new CardDAV account with OS X 10.11.4 addressbook (it stays empty)
OS X 10.11.4 addressbook does a propfind for "addressbook-home-set" and "directory-gateway" in the root and does not continue without it
2016-04-27 13:28:05 +00:00
Ralf Becker
bf0d1c47a0 fix sql error after clear cache, because db class has again type "mysqli" instead of just "mysql" 2016-04-27 10:42:31 +00:00
Ralf Becker
1ffea39da0 using now Egw and Egw\Applications direct 2016-04-26 18:56:51 +00:00
Nathan Gray
7bb134b273 Fix merge print placeholders for only links to a certain app 2016-04-26 17:07:42 +00:00
Ralf Becker
5d615a4c5b fix wrong namespaces 2016-04-26 15:00:27 +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
70710d26e2 fix wrong/old class-name 2016-04-26 12:27:40 +00:00
Ralf Becker
c14f25c0e8 hide spellchecker config and always use browser native spellchecker 2016-04-25 20:14:47 +00:00
Ralf Becker
88ecdf19db check type in all cases to specified eg. select-app was as widget-type was not understood 2016-04-25 19:21:46 +00:00
Ralf Becker
112ed53f47 allow to use Framework::message together with Framework::redirect, eg. to show success message and redirect to index page 2016-04-21 15:25:04 +00:00
Ralf Becker
9a57fbaedd fix server-side validation to allow values of option children 2016-04-21 14:51:40 +00:00
Ralf Becker
b5d106a55e fix PHP Fatal error: Class 'EGroupware\Api\egw' not found in api/src/CalDAV.php on line 1527 2016-04-15 15:35:52 +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
Klaus Leithoff
9f6104f53a prevent possible endless recursion on decodeMailHeader 2016-04-15 08:50:02 +00:00
Nathan Gray
af0382ffb3 Fix async services. Fixes calendar alarms disappearing. 2016-04-14 21:30:36 +00:00
Klaus Leithoff
b4a4864717 try to prevent infinite loops when decoding mail-headers 2016-04-14 14:28:41 +00:00
Nathan Gray
8b30732aa0 Fix fatal error when deleting favorites 2016-04-13 15:01:20 +00:00
Hadi Nategh
662e82b897 Fix reload on a popup with ckeditor breaks ckeditor loading. Additionally, fixes broken popup resize 2016-04-12 12:48:40 +00:00
Klaus Leithoff
6ce3c261c0 allow quickfiltering when bydate filter is active 2016-04-12 11:05:04 +00:00
Nathan Gray
ce94f07599 Fix missing line breaks when merging entries that do not need HTML processing 2016-04-11 15:21:16 +00:00
Ralf Becker
dde6da248d search api and phpgwapi for images for now, later we can remove phpgwapi 2016-04-08 14:36:38 +00:00
Ralf Becker
8325963b06 fixed ckeditor problems if minifying was switched off, caused by egw.js loaded twice, removed old file-name based workaround on client-side in favor of not requesting it from server-side 2016-04-08 10:38:44 +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
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
028318a808 fix case in Asyncservice class 2016-04-06 22:47:01 +00:00
Ralf Becker
341a56dc3d moving client-data urls to api 2016-04-06 19:57:40 +00:00
Ralf Becker
5d72bbfc1c move thumbnailer to api 2016-04-06 19:39:49 +00:00
Ralf Becker
9fd7b645ec move asyncservices class to api 2016-04-06 19:27:47 +00:00
Hadi Nategh
aca15a2a97 Mobile theme W.I.P.:
- Alway use flat skin for ckeditor regardless of preference
- Add freetimesearch dialog
2016-04-06 16:45:32 +00:00
Ralf Becker
aa45c25685 move addressbook_merge to Api\Contacts\Merge 2016-04-06 09:49:50 +00:00
Ralf Becker
01a02a1303 hook to invalidate, if mailaccount userdata changes 2016-04-06 09:05:02 +00:00
Ralf Becker
368a99167e fix mail account dialog for non user-editable accounts was always readonly and SQL error on storing it, caused by moving tables from (no longer existing) emailadmin to api 2016-04-06 08:48:52 +00:00
Ralf Becker
36b9eb4cfb move bo_merge as Storage\Merge into api 2016-04-05 18:43:46 +00:00
Ralf Becker
41d00a0fd1 fix old exception 2016-04-05 18:39:55 +00:00
Ralf Becker
6ca8d13166 we need 4. parameter $try_unregistered parameter in Api\Hooks::single() as it is used by Setup, which is never an installed app 2016-04-05 16:12:32 +00:00
Ralf Becker
4835611da4 remember newly set options from get_rows method for server-side validation of nextmatch filters 2016-04-05 12:56:10 +00:00
Hadi Nategh
fa60745e8e Mobile theme W.I.P.:
- Set image map cache name separately for mobile
2016-04-05 07:46:34 +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
25a1bf6360 fix missing use EGroupware\Api 2016-04-02 09:16:53 +00:00
Ralf Becker
0e443b720d fix imap server shows smpt types and visa versa, also change case of DBMail 2016-04-01 12:46: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
Ralf Becker
df2791ab63 fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Mail\Html::$system_charset in api/src/Mail/Html.php on line 233 2016-03-31 11:40:17 +00:00
Ralf Becker
58834a0c73 fix An error happened (ErrorException): Argument 4 passed to EGroupware\Api\Vfs::copy_files() must be of the type array, none given 2016-03-29 11:01:34 +00:00