Commit Graph

32460 Commits

Author SHA1 Message Date
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
Ralf Becker
c8ed37ad0b enabling MariaDB installation again in Travis 2017-10-17 12:03:39 +02:00
Nathan Gray
11badc90e6 Merge pull request #22 from sebastianbergmann/patch-1
Update build configuration
2017-10-17 12:02:58 +02:00
Sebastian Bergmann
877180defe Update build configuration
* Test with PHP 7.2 and PHP 7.3
* Do not test with HHVM
2017-10-17 11:57:00 +02:00
Hadi Nategh
9504bff8ee Fix wrong dialog title for link-to widget 2017-10-17 11:28:03 +02:00
Hadi Nategh
13635fb5b7 Restrict vfsSelectUI submit only to the field availability 2017-10-16 15:03:16 +02:00
Hadi Nategh
81edd22253 Get the right application base on current window context 2017-10-16 11:23:14 +02:00
Hadi Nategh
f779f5ac7f Make sure we get the etemplate_exec_id 2017-10-16 09:34:38 +02:00
nathangray
db10b21fa7 Fix child actions under 'More...' did not inherit the inheritable attributes 2017-10-13 11:13:17 -06:00
nathangray
333ec7d1a8 Resources - change category admin to just user accounts, no groups 2017-10-13 09:51:39 -06:00
nathangray
63a3940d68 Addressbook - adjust calendar event participants to match when merging contacts 2017-10-13 09:35:36 -06:00
Nathan Gray
c228fa77f7 Merge pull request #21 from ballessay/fix-csv-import-spaces
Trim components of multiselect fields
2017-10-13 08:40:36 -06:00
Hadi Nategh
1460945a03 Add status text for upload button in VfsSelect widget 2017-10-13 14:52:38 +02:00
Hadi Nategh
7922f41499 Fix file widget readonly is being set correctly 2017-10-13 14:51:45 +02:00
Hadi Nategh
052bef84ce W.I.P vfsSelect Widget:
- Fix upload feature not working
2017-10-13 13:22:45 +02:00
ballessay
11cca0a514 Trim components of multiselect fields
The csv export with display values adds spaces after the separator.
Remove them during the import so manual action isn't needed.
2017-10-12 23:01:20 +02:00
Hadi Nategh
08032dd776 W.I.P vfsSelect Widget:
- Make the dialog bigger
2017-10-12 18:27:27 +02:00