Commit Graph

375 Commits

Author SHA1 Message Date
Ralf Becker
ad5cf7abfe move old schema tests to api/src/Db/test/, not (yet) running via phpUnit/Travis 2016-08-01 13:58:06 +02:00
Ralf Becker
ba18f3f594 allow eg. unit-tests to set/change schema used by db class: Db::set_table_definition() 2016-08-01 13:34:25 +02:00
Ralf Becker
c033435122 fix RenameTable for PostgreSQL to only use old logic, if we still have an old sequence, and if old logic is used, set sequence value 2016-08-01 13:32:43 +02:00
Ralf Becker
27468f0dac fix PHP Warning: filemtime(): stat failed for phpgwapi/setup/setup.inc.php 2016-07-31 10:29:52 +02:00
Ralf Becker
d3043c2a45 * Templates: disable old idots and jerryr template, as new calendar does not work with them 2016-07-29 11:55:41 +02:00
nathangray
474e32db67 Slightly more intelligent detection of plain text fields in a document that has HTML parsing turned on 2016-07-28 14:14:20 -06:00
Ralf Becker
f6f3b89f8b * Filemanager/EPL: fix broken notification / subscription to folders
Do not check for (no longer existing) $GLOBALS[egw]->hooks but for no class setup_process, to not call them during install or update.
2016-07-28 15:10:39 +02:00
Ralf Becker
e3bdf129dc fix Travis error for HHVM 2016-07-28 13:51:47 +02:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +02:00
Ralf Becker
86823a7e8c make is-directory check more robust, by checking for PHP's directory-mode / Sqlfs::DIR_MODE too, not only for mime-type which is set eg. by stylite.links to "egs/$app" 2016-07-28 11:11:34 +02:00
Ralf Becker
9c13d84a67 define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper 2016-07-28 10:05:14 +02:00
Ralf Becker
015ed03bb6 fix cant attach files, if none have been attached to an entry before: Sqlfs\StreamWrapper::mkdir('/apps/calendar/123',0,1) already exist! 2016-07-28 09:40:23 +02:00
Ralf Becker
6ba07ef64b fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check 2016-07-28 09:11:38 +02:00
Ralf Becker
6496f33da6 fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Vfs\StreamWrapper::$is_root 2016-07-27 11:09:07 +02:00
Ralf Becker
ffa5b37776 fix not working forced password change on login page with fallback auth 2016-07-27 10:19:48 +02:00
Ralf Becker
28cddb8e64 * Api: fixed not working HTTP authentication 2016-07-26 17:07:42 +02:00
Ralf Becker
be08b46767 * eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email" 2016-07-26 14:51:18 +02:00
Ralf Becker
f0a739d7ed * LDAP: fix not working password change by user 2016-07-26 08:47:31 +02:00
Ralf Becker
a0d419a145 log execeptions happening during mergeprint for easier debugging 2016-07-25 14:53:30 +02:00
Ralf Becker
4b58e87080 fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static 2016-07-22 18:22:46 +02:00
nathangray
3b1ce04608 Avoid a Illegal string offset warning from link-entry widgets when they have only-app attribute set
Happened on infologs added from projectmanager element list
2016-07-21 12:51:32 -06:00
Ralf Becker
fefc2b5f88 fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs() 2016-07-21 18:35:58 +02:00
Ralf Becker
6108123fe7 fix PHP Fatal in propatch 2016-07-21 17:43:28 +02:00
Ralf Becker
45c272dac2 make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs 2016-07-21 12:15:54 +02:00
Ralf Becker
d26d1dd7f8 fix rename and load_wrapper missing in Vfs class 2016-07-21 11:17:01 +02:00
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