Commit Graph

714 Commits

Author SHA1 Message Date
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
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
Ralf Becker
28731fbbb9 * 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:41:35 +02:00
nathangray
d34184e56c Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes 2016-07-05 08:19:06 -06:00
nathangray
1ca3706ae2 Make sure customfield header widgets get finished, even if customfield widget is already done.
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-05 08:18:44 -06:00
Hadi Nategh
3d53c8b91c Take other objects (like sel_options) from arrayMgrs into account regarding feeding content to view template 2016-07-05 14:33:01 +02:00
Ralf Becker
e7bbeb93dc * Univention: fix not working 16.1 install in UCS: Account not found! (acc_id=1) 2016-07-04 15:38:47 +02:00
nathangray
116a1ce63c Add an Abort / Retry / Skip prompt for long task when one fails 2016-07-04 13:10:26 +02:00
Ralf Becker
6c89b240bf * Template: relabeled Pixelegg template/theme to "Standard", and mobile theme for desktop to "Compact" 2016-07-04 11:50:32 +02:00
Ralf Becker
666e170b10 fix typo 2016-07-04 10:36:57 +02:00
leithoff
bf41c46cce fix error in common lang file 2016-06-30 11:02:16 +02:00
leithoff
4ebf9b4720 fix error in common lang file 2016-06-30 10:31:38 +02:00
Ralf Becker
bfbcb18f11 reworked about text a bit for 16.1 2016-06-30 10:31:08 +02:00
Ralf Becker
efccc70eb3 revert 41b5de825d: disable scrolling too, when in seamless mode, as it prevents iframe content from being scrolled to the bottom, if that content does not implement any other means of scrolling 2016-06-30 09:06:06 +02:00
Ralf Becker
82c4eecfa3 change wording of error message on server-side ajax requests 2016-06-28 20:40:11 +02:00
nathangray
d60596cb43 Add tooltip explaining do not notify flag 2016-06-28 09:17:05 -06: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
nathangray
41b5de825d Hide iframe scrollbars too when seamless is on, hides scrollbars in Admin - Global categories 2016-06-27 10:53:50 -06: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
Hadi Nategh
66f1e302d2 Bring back enter action for taglist-email widget 2016-06-24 16:27:02 +02:00
Hadi Nategh
009afc76e1 Fix input field in taglist jumps into second line if there's a value set and it's display:none 2016-06-24 13:12:53 +02:00
nathangray
8d1028ead8 Fix missing translation for Add entry 2016-06-23 13:04:59 -06:00
Ralf Becker
50b33f279c Italian translations from Ilias Chasapakis, Webtrain 2016-06-23 18:35:20 +02:00
nathangray
dc8ab4cfc0 Fix missing global category colors if minification is on 2016-06-21 10:54:36 -06:00
Hadi Nategh
14935780ce Fix PGP Encryption backup:
- Rename the backup file, still will check the previous backup file though
- Close backup dialog from mailvelope after the backup process is finished
2016-06-21 12:54:50 +02: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
nathangray
0787e03378 Stop taglist from stealing focus back if user clicks on another input 2016-06-20 10:38:55 -06: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
c08853a711 German an Czech translations from Stefan Unvericht 2016-06-20 17:45:14 +02:00
Ralf Becker
f86c1934eb * PGP: using following (hidden) files in users home-directory: .PGP-Key-Backup and .PGP-Keychain 2016-06-20 15:13:37 +02:00
Ralf Becker
ad6840e2ce German translation for PGP backup/restore stuff 2016-06-20 15:11:56 +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