Commit Graph

465 Commits

Author SHA1 Message Date
Hadi Nategh
7d189b9f46 Remove spellchecker lang from preferences 2016-10-06 19:04:26 +02:00
Ralf Becker
2a3bde1450 fix dbb0796 allow to specify a subdirectory in attach_file as part of $file[name] parameter
(subdir was created, but file was copied to main dir)
2016-10-04 16:49:21 +02:00
Ralf Becker
c17d98ff8c allow to specify a subdirectory in attach_file as part of $file[name] parameter 2016-10-04 10:50:51 +02:00
Ralf Becker
0d432dcaab fix wrong namespaced Exception: \DateTime throws \Exception 2016-09-28 11:18:30 +02:00
Ralf Becker
601ce45c4d allow to specify multiple cat_id's 2016-09-26 14:37:36 +02:00
Ralf Becker
c10654e1da allow to import without acl-check and setting modifier 2016-09-26 11:40:47 +02:00
Hadi Nategh
4ad4e1a5f3 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-22 09:19:22 +02:00
Hadi Nategh
fe5c0a9493 Fix Ctrl+A in context menu does not get translated 2016-09-16 17:10:06 +02:00
nathangray
1ece2bb4f0 Try to fix redirects from AJAX calls to static methods 2016-09-14 08:33:42 -06:00
Ralf Becker
9b7f308342 * Calendar/CalDAV: update or removal of (managed) attachments via CalDAV failed 2016-09-13 15:57:34 +02:00
Ralf Becker
e784475ec0 Vfs::rename() is supposted to be static, quitens warning that it is used static 2016-09-13 13:54:05 +02:00
Ralf Becker
15927535a1 * All apps: async notifications were not using SMTP only account, but personal one with unavailable session password 2016-09-02 18:13:31 +02:00
Ralf Becker
05e521e644 enhance filesystem check to also check fs_id of required nodes /, /home, /apps 2016-08-31 19:04:46 +02:00
Hadi Nategh
cecd303208 * Mail: Fix pdf attachments do not get downloaded in mobile template 2016-08-31 12:11:25 +02:00
nathangray
82e4696e21 Add ISO 8601 (Y-m-dTH:i:s) format to list of checked date formats when importing to catch double parsed dates 2016-08-30 08:03:15 -06:00
Ralf Becker
2cb8029f4f * Filemanager: fix missing symlink overlay on mime-icon 2016-08-29 19:43:40 +02:00
Ralf Becker
dc4e2d73dc possible fix for deactivated / or /apps 2016-08-29 17:15:47 +02:00
Ralf Becker
59c098b2d6 fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327 2016-08-29 13:50:53 +02:00
Ralf Becker
6599d0ae64 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 13:44:35 +02:00
Ralf Becker
d0ffe48144 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 12:57:27 +02:00
Ralf Becker
892fc79421 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:01:14 +02:00
Ralf Becker
c3f1e887c5 no need to call accounts class, if we have no id 2016-08-24 19:44:48 +02:00
Ralf Becker
81dd3cc41f remove deprecated use of read without id (1. parameter) to accounts class in phpgwapi 2016-08-24 16:28:06 +02:00
Ralf Becker
b121039ef1 fix PHP Fatal Call to a member function update() on null 2016-08-24 13:07:00 +02:00
Ralf Becker
d055de2e16 * Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons 2016-08-23 17:35:43 +02:00
nathangray
c7996ae42e Preserve link order set by application 2016-08-23 08:16:56 -06:00
Ralf Becker
ce9ba4e2bc fix enhanced (multi-)select boxes in old eTemplate where broken and displayed only as regular select-boxes 2016-08-19 16:48:56 +02:00
Ralf Becker
ef1d8c57b7 log menuaction of eT2 requests, instead of eT2 itself, to do so move update of access-log to destructor of Session class 2016-08-18 16:33:45 +02:00
Ralf Becker
e7ff94a153 * Filemanager/WebDAV: generally deny user to delete directories /, /home, /apps, /templates (last 2 incl. subdirectories) 2016-08-18 10:05:37 +02:00
Ralf Becker
366a940030 * All apps: symlink files to not yet saved entries were not working 2016-08-17 16:09:50 +02:00
Ralf Becker
26feef16c0 * Addresssbook: fixed category tree looses unavailable categories (eg. private categories of other users) 2016-08-15 18:23:49 +02:00
Ralf Becker
b444969a86 calling (static) EGroupware\Api\Vfs::chown instead of using old egw_vfs not available in minimal install in account::deleted hook when moving home directory to /home/$new_user/old-home-$old_user 2016-08-15 15:44:31 +02:00
Ralf Becker
dd7466dcb3 fix PHP Fatal from old code using EGW_API_INC, that should point to old api and usage is decrecated in favor of autoloading anyway 2016-08-12 11:26:26 +02:00
Ralf Becker
a49627c850 * Filemanager: fix not working changing owner or group of a file/directory (as root!) 2016-08-12 09:30:45 +02:00
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
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
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
d6043be127 fix not working removing of directories and changing group ownership 2016-08-02 12:21:39 +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
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
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
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
nathangray
f3c6638031 Fix common and admin translations were sometimes missing 2016-07-15 08:11:07 -06: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
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
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
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