Commit Graph

32576 Commits

Author SHA1 Message Date
Hadi Nategh
ed50b91ca4 Fix reply flag does not get refreshed after mail reply action 2017-10-23 15:36:22 +02:00
nathangray
b155c616b8 Turn on some debugging to try to figure out what goes wrong on Travis 2017-10-23 15:27:23 +02:00
Hadi Nategh
fdb3202b6b Add new config to the admin site configuration in order to be able to upload a custom header logo 2017-10-23 13:23:52 +02:00
nathangray
1fe95ec07e Move all tests under api/src into api/tests 2017-10-23 13:09:25 +02:00
nathangray
b381a9aa0c Timestamp widget fixes:
- Remove new line before timestamp
- Fix focus not going to where it should
2017-10-23 12:10:45 +02:00
Hadi Nategh
c88e3b8a69 Disable new button and new action in filemanager when there's no writable right 2017-10-23 12:08:33 +02:00
nathangray
b8f8a014fa Move all tests under api/src into api/tests 2017-10-23 10:14:14 +02:00
nathangray
3c096b3466 An example from Sebastian Bergmann of how we can inject dependancies 2017-10-23 09:52:39 +02:00
nathangray
24de1dff3b Move PHPUnit tests from test to tests subdirectory 2017-10-23 09:51:28 +02:00
Ralf Becker
65b02c0246 bump verison to 17.1 2017-10-22 12:56:58 +02:00
Ralf Becker
aed58a38cd fix offset causing openSUSE and SLE builds to fail 2017-10-21 16:46:51 +02:00
Ralf Becker
837fe39a0c fix preg_replace(): No ending delimiter '/' found on line 904 2017-10-21 14:35:05 +02:00
Ralf Becker
cbefc25934 do not error out if changelog could not be queried from git, eg. because there is no previous tag 2017-10-21 14:17:20 +02:00
Ralf Becker
fb30a1c3ca updates for 17.1 RC 2017-10-21 13:39:05 +02:00
Ralf Becker
cfe04819de adding collabora app 2017-10-21 13:22:34 +02:00
Ralf Becker
c3ae6388ef fix warning 2017-10-21 12:29:46 +02:00
Ralf Becker
c88e6e0237 disabling E_DEPRECATED, as contrib apps wont work under PHP 7.1 with having eg. contructors with same name as the class 2017-10-21 12:03:10 +02:00
nathangray
0f85fc26ff Put mocked notification class into notifications app 2017-10-21 11:29:05 +02:00
nathangray
d3c596a443 - Add a parameter to pass in the class of the notification to use so we can pass in a test one
- Explicitly tell notification what type of message (plain or html) we're giving it
2017-10-21 11:29:05 +02:00
nathangray
e43a0762fb - Change variable scope & remove final to make testing easier
- Allow to explicitly indicate what type (plain or html) the message is
2017-10-21 11:29:05 +02:00
nathangray
b8f4af5602 Documentation update from the move of tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-21 11:29:05 +02:00
Hadi Nategh
ff4396030a Fix CKEditor Browse Server button to open vfsSelect 2017-10-20 18:55:22 +02:00
Ralf Becker
28d45e28cb move info_cc (email adddresses) to egw_infolog_users table 2017-10-20 16:32:20 +02:00
nathangray
31c007bac7 Give a better message if the test table is missing (Check test app not installed) 2017-10-20 10:20:49 +02:00
nathangray
accd6187e2 Get date widget duration test working again 2017-10-20 09:56:47 +02:00
nathangray
a4c2e841e1 Some simplifications in how to make the mock Etemplate objects from Sebastian 2017-10-19 16:43:29 +02:00
nathangray
17f5461f6c Add doc about double delete 2017-10-19 10:13:38 +02:00
nathangray
3536b15500 Add doc about start times 2017-10-19 01:57:46 -06:00
Ralf Becker
1fc4120743 add a php -i output 2017-10-19 09:27:20 +02:00
nathangray
bbba2ef042 Remove trusty, we no longer do HHVM 2017-10-18 18:50:03 +02:00
nathangray
9e6ecce1d0 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 18:30:54 +02:00
nathangray
237d81ce36 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 15:43:35 +02:00
nathangray
4d4658e711 Remove phpunit from composer, we'll do it a different way 2017-10-18 12:15:31 +02:00
nathangray
8cbf399f24 Forgotten changes to composer.lock file to add phpunit 2017-10-18 11:47:28 +02:00
nathangray
865fd6405d Move sanity check to a pre-condition check 2017-10-18 11:47:28 +02:00
Ralf Becker
63f458c196 added test app in fixtures 2017-10-18 11:42:56 +02:00
Ralf Becker
3ae16b20e6 added test app in fixtures 2017-10-18 11:42:03 +02:00
nathangray
d8d3b5a12b Add PHPUnit & DBUnit to require-dev 2017-10-18 11:21:41 +02:00
nathangray
e123402bff Try to leave actual server setting alone, just change the EGw setting 2017-10-18 09:51:31 +02:00
nathangray
fe0e980d52 Testsuites for Api, Etemplate & Apps
Run with phpunit -c doc --testsuite Api
2017-10-18 09:51:31 +02:00
Ralf Becker
1d7fb9fe90 improve check $GLOBALS[egw] is correctly initilized 2017-10-18 09:10:39 +02:00
nathangray
cd49f6568d Replace the lost boolean cast 2017-10-17 16:48:35 +02:00
Ralf Becker
feec899337 fix (unexplained) infinit loop in phpUnit tests under PHP 5.6 2017-10-17 16:13:02 +02:00
nathangray
7ac36666c5 Set timezone in PHP too 2017-10-17 16:08:17 +02:00
nathangray
88a3f3b1d4 Run test in UTC, so dates match our expectations 2017-10-17 15:40:05 +02:00
nathangray
6fad74c710 Fix test had no assertions 2017-10-17 13:29:17 +02:00
nathangray
8b1a8d38f5 Revert db10b21fa7 2017-10-17 12:48:46 +02:00
Ralf Becker
2ebb9ec1e5 Merge pull request #25 from sebastianbergmann/patch-3
Clean up and allow PHP 7.2 and PHP 7.3 to fail
2017-10-17 12:45:26 +02:00
Sebastian Bergmann
5798db38d6 Clean up and allow PHP 7.2 and PHP 7.3 to fail 2017-10-17 12:37:33 +02:00
Ralf Becker
2fbe184b1b add an admin user "demo" with password "guest" to run test requiring login 2017-10-17 12:23:25 +02:00