Commit Graph

659 Commits

Author SHA1 Message Date
Ralf Becker
d9297ca193 Handle recursive directory creation in vfs layer, as not all underlaying
wrappers, eg. smb(client), support it themselfs
2016-08-12 08:51:03 +02:00
Ralf Becker
39a28c3faa * Filemanager: fix PHP Fatal error when changing ownership or permissions 2016-08-11 22:41:54 +02:00
Ralf Becker
3ed36b48e3 pending translations from our translation server, thanks to Illias and others 2016-08-10 09:10:45 +02:00
Ralf Becker
6c3a6dadb4 * Mail: fix lost mail account password on user password change 2016-08-09 11:48:56 +02:00
Ralf Becker
30bcf7edef use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle 2016-08-09 10:12:19 +02:00
Ralf Becker
2a1c5f2443 * PostgreSQL/Setup: fix SQL error in Backup or update: Invalid SQL: SELECT * FROM egw_pm_members
ADOdb drive for PostgreSQL requires 2. parameter for RowLock, while MySQL(i) defaults to all rows
2016-08-09 09:47:50 +02:00
Ralf Becker
cba0cd2071 try fixing error in installtion in Travis using Postgres during admin account creation 2016-08-07 11:19:05 +02:00
Ralf Becker
81554c511e try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis 2016-08-07 11:19:05 +02:00
Ralf Becker
a2a674fa3a debugging db creation in Travis for postgres 2016-08-07 11:19:05 +02:00
leithoff
2bf5a61361 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:13:31 +02:00
Ralf Becker
bb0035d687 * Admin: fix email address for groups could not be stored for accounts in SQL 2016-08-03 18:25:00 +02:00
Ralf Becker
3c246fe494 * Api/Filemanager: add mime icons to minimal install 2016-08-03 17:21:53 +02:00
Ralf Becker
8a6127efea * EPL/Filemanager: fix PHP Fatal using file-a-file dialog (upload with setting eg. a comment) 2016-08-03 15:27:19 +02:00
Ralf Becker
1f05f6f528 do NOT write install_id twice, it is already generated in setup_process::save_minimal_config 2016-08-02 18:42:02 +02:00
Ralf Becker
d6043be127 fix not working removing of directories and changing group ownership 2016-08-02 12:21:39 +02:00
Hadi Nategh
6d9daa036b Make sure html property of html object in egw_seperateJavascript is type of string 2016-08-02 12:17:56 +02:00
Ralf Becker
868d84c411 fix "PHP Fatal error: APCuIterator::__construct(): APC must be enabled to use" in setup-cli 2016-08-02 11:43:18 +02:00
Ralf Becker
2cb2f4a6b1 fix PHP Fatal error: Class 'EGroupware\Api\Vfs\Config' not found 2016-08-02 10:20:21 +02:00
Ralf Becker
6473a66520 fix PHP Strict Standards: Only variables should be assigned by reference 2016-08-02 10:17:39 +02:00
Ralf Becker
2cbd2ded82 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:33:20 +02:00
Ralf Becker
a862bbb270 fix PHP Warning: filemtime(): stat failed for phpgwapi/setup/setup.inc.php 2016-07-31 10:33:06 +02:00
nathangray
588862d150 Slightly more intelligent detection of plain text fields in a document that has HTML parsing turned on 2016-07-29 09:40:37 -06:00
Hadi Nategh
f84b2422c2 * all apps: Fix vfs upload button does not work in link tab 2016-07-29 12:46:24 +02:00
Ralf Becker
a327b622f7 * Templates: disable old idots and jerryr template, as new calendar does not work with them 2016-07-29 11:59:27 +02:00
Ralf Becker
b9109b6593 * 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 16:14:45 +02:00
Ralf Becker
237b8eceeb fix Travis error for HHVM 2016-07-28 14:05:33 +02:00
Ralf Becker
3909c2fdf0 * 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:07:28 +02:00
Ralf Becker
6f4e65b782 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:12:09 +02:00
Ralf Becker
d552ed4f06 define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper 2016-07-28 10:06:02 +02:00
Ralf Becker
686f3af559 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:41:10 +02:00
Ralf Becker
4fb658c2f3 fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check 2016-07-28 09:27:24 +02:00
Ralf Becker
77bafe49fd fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Vfs\StreamWrapper::$is_root 2016-07-27 11:11:09 +02:00
Ralf Becker
4055f1faf4 fix not working forced password change on login page with fallback auth 2016-07-27 10:21:03 +02:00
Ralf Becker
5b8fd1fa92 * Api: fixed not working HTTP authentication 2016-07-26 17:09:37 +02:00
Hadi Nategh
5d52042640 * All apps: Fix styling glitches for search links dropdown 2016-07-26 17:07:49 +02:00
Ralf Becker
aa16561fe5 * eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email" 2016-07-26 14:52:07 +02:00
Ralf Becker
bf3c3d9499 fix PHP Warning: Memcached::setOptions(): invalid serializer provided, if neither igbinary nor json serializer is available, staying with default php serializer 2016-07-26 12:02:09 +02:00
Ralf Becker
ea56836a17 mark test as skiped, if cache-provider throws Exception because missing PHP extension 2016-07-26 12:02:09 +02:00
Ralf Becker
1cdbbec58a making existing cache-tests available for phpunit/Travis, thought leaving old test in place as they are more performance testing 2016-07-26 12:02:09 +02:00
Ralf Becker
a691144255 fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static 2016-07-26 12:02:09 +02:00
Ralf Becker
67720e760f fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs() 2016-07-26 12:02:09 +02:00
Ralf Becker
eca0db5e6f fix PHP Fatal in propatch 2016-07-26 12:02:09 +02:00
Ralf Becker
2d1ddc1ef7 make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs 2016-07-26 12:02:09 +02:00
Ralf Becker
0c3c041dbb fix rename and load_wrapper missing in Vfs class 2016-07-26 12:02:09 +02:00
Ralf Becker
14908a4172 implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient 2016-07-26 12:02:09 +02:00
Ralf Becker
112cc725a2 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-26 12:02:09 +02:00
Ralf Becker
3845467b73 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-26 12:02:09 +02:00
Ralf Becker
a4c891e702 * LDAP: fix not working password change by user 2016-07-26 08:50:46 +02:00
Ralf Becker
79e13cfb4e log execeptions happening during mergeprint for easier debugging 2016-07-25 15:05:30 +02:00
Hadi Nategh
6b593b829b Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-25 10:57:32 +02:00
Hadi Nategh
760bdf37a3 Remove not used library from api 2016-07-25 10:52:45 +02:00
Hadi Nategh
5459267be2 * All apps: Fix not able to set date for empty date fields in mobile template 2016-07-25 10:44:44 +02:00
Hadi Nategh
5a57314db6 Fix file upload progress doesn't show up on hover over 2016-07-21 16:26:19 +02:00
Hadi Nategh
a40d15f519 Fix et2 dialogs' buttons sometimes get weird styling 2016-07-21 16:25:50 +02:00
Ralf Becker
7c1e06ff0d fix two more cases in which "show_generation_time" is queried and should never trigger a request to server, see 1c6c930312 2016-07-21 10:52:24 +02:00
Ralf Becker
94775dd858 if "common" prefs are not loaded, do not display page generation time
Before we queried page_generation_time common preference without a callback, which send a synchronious request to server to fetch common preferences, when it returned it looked for the preference again and send the next synchronious request to the server, in an infinit loop. Now setting _callback parameter of egw.preference() to false, just returns undefined, if common preferences are not yet loaded, but dont try to query them from server
2016-07-20 17:17:03 +02:00
Ralf Becker
bb85ef374e forgot to modify Link::get_data() 2016-07-15 19:44:14 +02:00
Ralf Becker
833725edf9 Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters 2016-07-15 19:43:57 +02:00
Ralf Becker
f04878aa19 * API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared 2016-07-15 19:43:17 +02:00
Hadi Nategh
7d9697305d Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-15 17:31:56 +02:00
nathangray
f3c6638031 Fix common and admin translations were sometimes missing 2016-07-15 08:11:07 -06:00
nathangray
eba199e963 German translation for long task totals 2016-07-15 08:10:55 -06:00
nathangray
9260dae493 Add totals (selected, successful, skipped, failed) to long task dialog 2016-07-15 08:10:55 -06:00
Hadi Nategh
0e74579426 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-15 15:37:28 +02:00
Ralf Becker
8256b99443 fix not working forced password change on login screen 2016-07-15 14:48:11 +02:00
Ralf Becker
e931d39a8d fix missing slash in path of adLDAP.php 2016-07-15 14:28:01 +02:00
Hadi Nategh
79c8adb873 * All apps: Fix filter-categories does not work in iOS 2016-07-15 14:19:09 +02:00
Ralf Becker
5788d04073 fix ntlm directory path 2016-07-15 13:55:37 +02:00
Ralf Becker
8bb1c26705 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:25:00 +02:00
Hadi Nategh
1aa70236fa * Calendar: Fix Generate Page Time's indicator screws calendar view up 2016-07-15 09:51:57 +02:00
Hadi Nategh
1677dd205c Create DOM node for pageGenTime data 2016-07-15 09:44:16 +02:00
Ralf Becker
554bca8393 send page-generation- and session-restore-time via json response not as dom fragment 2016-07-15 09:43:39 +02:00
Ralf Becker
6e60eba80f * NTLM: move ntlm login code from phpgwapi to api to allow NTLM login in 16.1 minimal install 2016-07-15 08:08:24 +02:00
Ralf Becker
843ad65200 * ActiveDirectory: using adLDAP now from adldap2/adldap2=4.0.4 via composer 2016-07-15 07:42:12 +02:00
Moritz 'Morty' Strübe
3ec18a6638 Also adjust links when migrating from Ldap to DB 2016-07-14 10:39:26 +02:00
Ralf Becker
4dfe61050e need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase 2016-07-13 13:46:16 +02:00
Ralf Becker
911ecdea99 fix Travis errors with phpunit 4.8 under PHP < 7 2016-07-13 13:46:04 +02:00
Ralf Becker
a96ebb7513 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-13 08:22:46 +02:00
Ralf Becker
a4577d088b fix typo 2016-07-12 21:17:00 +02:00
Hadi Nategh
3fe6de4250 Fix missing dot for class name used in commit 81829c2496 2016-07-12 17:05:54 +02:00
Hadi Nategh
9f821b8e7e Fix filter-categories in mobile template 2016-07-12 17:05:12 +02:00
Ralf Becker
5e5a76c4c2 fall back to Api\MimeMagic::filename2mime, if mime_content_type function is not available 2016-07-12 11:59:43 +02:00
Ralf Becker
230ec19265 fix Scrutinizer "bugs" 2016-07-12 10:28:39 +02:00
Ralf Becker
5bb3afca93 fix Scrutinizer "bugs" 2016-07-12 10:27:49 +02:00
Ralf Becker
7da7244a2b fix Scrutinizer "bugs" 2016-07-12 10:27:38 +02:00
Ralf Becker
03ee5fccee fix Scrutinizer "bugs" 2016-07-12 10:27:27 +02:00
Ralf Becker
03e3ae3c58 fix Scrutinizer "bugs" 2016-07-12 10:27:12 +02:00
Ralf Becker
af9cb54072 * LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both) 2016-07-11 15:10:17 +02:00
Ralf Becker
d486a855e0 display login-message depending on $_GET[cd] and whats in database/header for "login_message" 2016-07-11 11:06:27 +02:00
Ralf Becker
0c1018ba94 move check_logoutcode to Api\Framework\Login, where it is used 2016-07-11 11:06:13 +02:00
Ralf Becker
58e134415e * Setup/Auth: fix PHP Fatal with Sqlssl authentication (Class EGroupware\Api\Auth\auth_sql not found) 2016-07-09 09:22:38 +02:00
Hadi Nategh
708ca8d63b Style et2_taglist_category similar to nextmatch filter-cat 2016-07-08 13:24:53 +02:00
Hadi Nategh
291007c0dd * All application/category filter:
- Implement category colors for cats-filter in all lists
2016-07-08 13:23:45 +02:00
Ralf Becker
1687476928 * Admin: add used caching provider and APCu stats to "PHP Information" 2016-07-08 12:10:55 +02:00
Ralf Becker
5f3f550bd3 * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:35:41 +02:00
Ralf Becker
998bf163af grr fix typo, thanks to Travis 2016-07-08 09:10:48 +02:00
Ralf Becker
5c8070d5d2 * Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates 2016-07-08 08:41:46 +02:00
Ralf Becker
0b64ced1d1 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 21:23:59 +02:00
Ralf Becker
a75c425f57 turn off permanent error_log 2016-07-07 19:55:59 +02:00
nathangray
cca763bba2 Fix favorite delete confirm dialog header was not translated 2016-07-07 10:19:59 -06:00