Commit Graph

450 Commits

Author SHA1 Message Date
Ralf Becker
52be4ee14b implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient 2016-07-21 09:51:36 +02:00
Ralf Becker
f04dd8ace6 Vfs no longer extends Vfs\StreamWrapper, as this is the only way to keep static function signatures for Vfs class, also cleans up a bit 2016-07-19 13:29:43 +02:00
Ralf Becker
b65d87bc68 fixing our wrong static methods in stream-wrapper: unlink, rmdir, mkdir, rename and url_stat (they are not static, so PHP can pass in $context) 2016-07-19 11:59:16 +02:00
Ralf Becker
f4acec1b82 fix not working forced password change on login screen 2016-07-15 14:47:13 +02:00
Ralf Becker
f4521e3401 fix missing slash in path of adLDAP.php 2016-07-15 14:24:30 +02:00
Ralf Becker
52d3aa70cd enable APCu for caching with >= 32M and fix post_install to patch Ubuntu-16.04 /etc/php/7.0/cli/conf.d/20-apcu.ini 2016-07-15 13:23:39 +02:00
Ralf Becker
b2ac90fec6 fix some Scrutinizer "bugs" 2016-07-15 08:17:54 +02:00
Ralf Becker
847fb38194 * NTLM: move ntlm login code from phpgwapi to api to allow NTLM login in 16.1 minimal install 2016-07-15 08:05:44 +02:00
Ralf Becker
e1f8fa7799 * ActiveDirectory: using adLDAP now from adldap2/adldap2=4.0.4 via composer 2016-07-15 07:39:53 +02:00
Ralf Becker
630175178e mark test as skiped, if cache-provider throws Exception because missing PHP extension 2016-07-14 16:07:09 +02:00
Ralf Becker
a90087b81c send page-generation- and session-restore-time via json response not as dom fragment 2016-07-14 14:55:57 +02:00
Moritz 'Morty' Strübe
fc02e0f299 Also adjust links when migrating from Ldap to DB 2016-07-14 10:19:24 +02:00
Ralf Becker
fa70712a2f fix PHP Warning: Memcached::setOptions(): invalid serializer provided, if neither igbinary nor json serializer is available, staying with default php serializer 2016-07-13 08:56:31 +02:00
Ralf Becker
6cb0f0f152 making existing cache-tests available for phpunit/Travis, thought leaving old test in place as they are more performance testing 2016-07-12 16:55:11 +02:00
Ralf Becker
f15b5552ad forgot to modify Link::get_data() 2016-07-12 15:00:40 +02:00
Ralf Becker
943ae3612e Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters 2016-07-12 13:54:36 +02:00
Ralf Becker
7455cae476 * API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared 2016-07-12 11:37:05 +02:00
nathangray
b195d44cbf Fix common and admin translations were sometimes missing 2016-07-11 16:23:58 -06:00
Ralf Becker
3a2ac5402d need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase 2016-07-11 22:49:36 +02:00
Ralf Becker
a39935810c fix Travis errors with phpunit 4.8 under PHP < 7 2016-07-11 22:39:42 +02:00
Ralf Becker
5c33bd9bef adding a first unit test to EGroupware, plus a test runner running all test-classes in either:
$app/src/.*/test/$classTest.php or $app/test/class.$classTest.inc.php
adding test runner doc/test-cli.php to Travis
2016-07-11 21:40:02 +02:00
Ralf Becker
a80cb15d66 * LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both) 2016-07-11 15:08:51 +02:00
Ralf Becker
7643c9f57b display login-message depending on $_GET[cd] and whats in database/header for "login_message" 2016-07-11 09:33:46 +02:00
Ralf Becker
fa148e4c89 move check_logoutcode to Api\Framework\Login, where it is used 2016-07-11 08:52:41 +02:00
Ralf Becker
0136ed2112 fix Scrutinzer "bug" changing var imported not as reference into closure 2016-07-10 11:58:54 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
dbf69a79c6 * Setup/Auth: fix PHP Fatal with Sqlssl authentication (Class EGroupware\Api\Auth\auth_sql not found) 2016-07-09 09:20:00 +02:00
Ralf Becker
4f4530b98d * Admin: add used caching provider and APCu stats to "PHP Information" 2016-07-08 12:09:37 +02:00
Ralf Becker
f89142629a * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:34:33 +02:00
Ralf Becker
1bae5f991f grr fix typo, thanks to Travis 2016-07-08 09:09:47 +02:00
Ralf Becker
a091718807 * Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates 2016-07-08 08:40:44 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
Ralf Becker
512bc77cfd turn off permanent error_log 2016-07-07 19:54:12 +02:00
Ralf Becker
1818088a88 * APCu/PHP7: fixed not used APCu under PHP7, as it has no APC compatible interface
Apcu class is basicly a copy of Apc, but as its methods are called quite a lot, I dont want to add the overhad of checking to call apc_ or apcu_ on every call, anyway APC died with PHP 5.5 so we can remove Apcu class once we no longer support PHP 5.4
2016-07-07 17:39:37 +02:00
Ralf Becker
34f4a23497 fix wrong namespace 2016-07-07 16:36:06 +02:00
Ralf Becker
9c8823cde2 fix PHP 5.4 Fatal error: Cannot create references to elements of a temporary array expression 2016-07-07 16:23:30 +02:00
Ralf Becker
26ccede602 * Mail: automatic migrate old mcrypt tripledes passwords to openssl AES on successful login 2016-07-07 16:08:35 +02:00
Ralf Becker
d5a97279a7 * Univention: fix not working 16.1 install in UCS: Account not found! (acc_id=1) 2016-07-04 15:36:49 +02:00
Ralf Becker
035593f8a6 * Template: relabeled Pixelegg template/theme to "Standard", and mobile theme for desktop to "Compact" 2016-07-04 11:47:49 +02:00
Ralf Becker
5260af7268 fix typo 2016-07-04 10:34:57 +02:00
Ralf Becker
dbb46f7574 fix Scrutinizer "bugs" 2016-07-02 13:59:49 +02:00
Ralf Becker
b0803c76b6 fix Scrutinizer "bugs" 2016-07-02 12:11:52 +02:00
Ralf Becker
22b62aa168 fix Scrutinizer "bugs" 2016-07-02 11:57:26 +02:00
Ralf Becker
8c6193d22f fix Scrutinizer "bugs" 2016-07-02 11:53:40 +02:00
Ralf Becker
72c22fbd44 fix Scrutinizer "bugs" 2016-07-02 11:47:25 +02:00
Ralf Becker
5e470912b9 reworked about text a bit for 16.1 2016-06-30 10:29:15 +02:00
Ralf Becker
6efd436a75 need to switch ONLY_FULL_GROUP_BY of for MySQL >= 5.7 2016-06-28 13:43:11 +02:00
Ralf Becker
f4dc9ebc3b * MySQL/Ubuntu 16.04: switch off sql_mode ONLY_FULL_GROUP_BY enabled in MySQL 5.7+ 2016-06-27 20:26:48 +02:00
Ralf Becker
9aa98a46a5 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
0a2b30f275 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
ada94b8d43 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
d11405205c fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
9860c9d8b7 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
8a9b6591a8 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
903b14f45d fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
b103dd23a6 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
e6c2f04dda fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
23835a2f68 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
b47dd39072 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
6deedce782 try translating default group descriptions on read, in case they are not translated 2016-06-26 19:44:53 +02:00
nathangray
8d1028ead8 Fix missing translation for Add entry 2016-06-23 13:04:59 -06:00
nathangray
dc8ab4cfc0 Fix missing global category colors if minification is on 2016-06-21 10:54:36 -06:00
Ralf Becker
1b4bef13f5 return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook 2016-06-21 09:33:44 +02:00
Ralf Becker
412b874629 quiten permanent error_log in CalDAV::handle_attach, only leave error_log for errors 2016-06-20 18:34:35 +02:00
Ralf Becker
8a1fa99886 only set LC_MESSAGES by default, as LC_ALL would also change PHPs numberformatting to use eg. comman as decimal seperator, fixes not working preference how many infolog lines to show 2016-06-20 18:29:23 +02:00
Ralf Becker
bd5fc3ed11 fix admin was not able to see devices and logs of an other user, if he opened that users preferences via admin context-menu 2016-06-20 11:48:28 +02:00
Ralf Becker
65a26d707a keep Travis happy by only conditional defining hash_pbkdf2 in polyfill 2016-06-20 11:04:52 +02:00
Ralf Becker
eed6b18e3d * Mail/Api: replace decrecated Mcrypt PHP extension with OpenSSL, use AES128 with pbkdf2 streching of passwords
only new passwords get currently stored via AES, old onces are not yet automatic converted
2016-06-19 14:49:50 +02:00
leithoff
c173de3935 fix for functional folders showing up multiple times 2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
Ralf Becker
e600eede2a fix iOS calendar crashed if event-organizer had no email address 2016-06-16 18:14:28 +02:00
leithoff
a12f6755ab handle fatal error Using $this when not in object context 2016-06-16 12:00:07 +02:00
Ralf Becker
2857511ac9 calling jQuery.noConflict() as early as possible to NOT occupy $ variable stalling many SiteMgr templates 2016-06-15 08:54:12 +02:00
leithoff
e010510a5e handle fatal error Using when not in object context 2016-06-14 10:19:27 +02:00
Ralf Becker
c3c5b7cafa * Mail: fix PHP Fatal error when saving Sieve scripts 2016-06-13 14:17:48 +02:00
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