Commit Graph

588 Commits

Author SHA1 Message Date
Ralf Becker
a4d39d5873 fix etemplate2.postSubmit() to not destroy any eT2 session, by unbinding window.onbeforeunload and rebinding it again after 100ms
Before postSubmit was unbinding only if current etemplates destroy_session was bound and causes so an other etemplates session_destroy to fire.
postSubmit now allways rebinds the session_destroy handler of current etemplate assuming it is only used for downloads, where current etemplate (and session) should persist.
2016-07-25 12:55:11 +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
Hadi Nategh
dd85a52645 Fix file upload progress doesn't show up on hover over 2016-07-21 16:19:29 +02:00
Hadi Nategh
2cea60b0aa Fix et2 dialogs' buttons sometimes get weird styling 2016-07-21 15:32:52 +02:00
Hadi Nategh
5c3bd11366 Take yyyy-mm-ddThh:mm:ss.s format into account for date widget.
- Fix Date widget doesn't let iOS html native datetime-local input set a value
2016-07-21 14:28:46 +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
58d2e49843 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:51:17 +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
Hadi Nategh
f9e7a06bca Open Office Editor W.I.P:
- Implement create new document
- Add select file dialog for saving a newly created doc
2016-07-20 17:30:59 +02:00
Hadi Nategh
71acd96080 Open Office Editor W.I.P:
- Get regex of odf mime type into widget context to be able to use it for all expose derived widgets
2016-07-20 17:30:59 +02:00
Hadi Nategh
8434c3051f W.I.P. of implementation and integration of open office document editor (.odt) with file system 2016-07-20 17:30:59 +02:00
Hadi Nategh
6d09028960 Remove not used library from api 2016-07-20 17:30:59 +02:00
Hadi Nategh
956d4606cf Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-20 17:30:59 +02:00
Hadi Nategh
d8ec2ccb23 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-20 17:29:50 +02:00
Ralf Becker
1c6c930312 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:13:11 +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
Hadi Nategh
4c59ea9d5f Implement touch events for jquery chosen. Fix filter-categories does not work in iOS 2016-07-15 14:16:56 +02:00
Ralf Becker
29ccda8dff fix ntlm directory path 2016-07-15 13:54:39 +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
Hadi Nategh
9d054b9437 Fix asyncIncludetime in genPageTime repeats itself into DOM instead of updating the value 2016-07-15 09:35:02 +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
Hadi Nategh
eba29d3541 Create DOM node for pageGenTime data 2016-07-14 17:21:51 +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
913960a1d5 fix typo 2016-07-12 20:50:19 +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
Hadi Nategh
d933b7f423 Fix missing dot for class name used in commit 81829c2496 2016-07-12 15:03:58 +02:00
Ralf Becker
f15b5552ad forgot to modify Link::get_data() 2016-07-12 15:00:40 +02:00
Hadi Nategh
81829c2496 Fix filter-categories in mobile template 2016-07-12 13:55:38 +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
3bc0dc60d6 fall back to Api\MimeMagic::filename2mime, if mime_content_type function is not available 2016-07-12 11:56:42 +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
Hadi Nategh
791d1f1d74 Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-11 17:24:20 +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
Hadi Nategh
b1e666245a Check and ask for the notification permission if nothing yet set 2016-07-11 12:24:59 +02:00