Commit Graph

20008 Commits

Author SHA1 Message Date
Hypolite Petovan 3a89ab199b Fix tests error/failures
- Fix undenifed index: author-network notice
- Fix assertion mismatch in testApiDirectMessagesNewWithUserId
2018-07-04 00:09:17 -04:00
Hypolite Petovan b2b984433c Fix dataset ids for otheruser/frienduser
Remove debug
2018-07-03 23:37:52 -04:00
Hypolite Petovan 675333f246 Bleh 2018-07-03 23:27:12 -04:00
Hypolite Petovan 3e9ff5ef6e Move debug 2018-07-03 23:20:33 -04:00
Hypolite Petovan 8ad41d4f15 Add debug to database test 2018-07-03 23:14:03 -04:00
Hypolite Petovan b256f5cf2c Fix missing env variable replacement 2018-07-03 22:46:45 -04:00
Hypolite Petovan 7e279cc301 Add DB structure import from file during Travis execution 2018-07-03 21:24:42 -04:00
Hypolite Petovan 40d911c284 Use correct App mode to disable logging
- Restore normal mode after DBStructure update
- Improve error message in case of missing DB connection
2018-07-03 21:24:16 -04:00
Hypolite Petovan 125f7beb63 Add creation/deletion of separate .htconfig.php used for tests 2018-07-03 21:22:50 -04:00
Hypolite Petovan d31e3b16ff Fix boolean values in test data 2018-07-03 21:22:10 -04:00
Hypolite Petovan f9747708d8 Add verbose to PHPUnit config 2018-07-03 08:44:14 -04:00
Hypolite Petovan eaa3e4d157 Use MYSQL_* environment variables for tests
- Prevent `.htconfig.php` override when present during tests.
2018-07-03 08:26:44 -04:00
Hypolite Petovan 4752ea1374 Add .htconfig.php in test setUp 2018-07-03 00:02:02 -04:00
Hypolite Petovan 9cce1f70f9 Add .htconfig.php in test setUp 2018-07-02 23:10:33 -04:00
Hypolite Petovan 79ff49d716 Replace more is_null with empty in DBStructure 2018-07-02 22:42:15 -04:00
Hypolite Petovan e7d6b48bb3 Fix Undefined index: Collation in DBStructure 2018-07-02 22:28:27 -04:00
Hypolite Petovan 58e1470ddb Fix Undefined index: HTTP_USER_AGENT in App 2018-07-02 22:19:21 -04:00
Hypolite Petovan 39b61da05d Fix last undefined variable/index messages in tests 2018-07-02 07:49:44 -04:00
Hypolite Petovan f91e7c9f17 Revert using System::baseurl() for mock user nurls 2018-07-02 07:49:40 -04:00
Hypolite Petovan 633a71ec97 Fix notice in Item::deleteById 2018-07-02 07:49:35 -04:00
Hypolite Petovan 18eb13a598 Fix API test cases
- Add meaningful app->argv/c
- Add support for subfolder install
- Add meaningful image URL from placeholder.com
- Fix incomplete test testApiHelpTestWithXml()
- Use $this->frienduser for direct messages tests
- Fix dataset to have an actual contact relationship
2018-07-02 07:49:29 -04:00
Hypolite Petovan 43688c04b1 Add NotFoundException for recipients in api_direct_messages_new() 2018-07-02 07:48:59 -04:00
Hypolite Petovan cb7176ee70 Fix Config use in api_statusnet_config() 2018-07-02 07:48:53 -04:00
Hypolite Petovan 757fd357f6 Fix yet more undefined variable/index notice in api 2018-07-02 07:48:48 -04:00
Hypolite Petovan dde61a77a4 Fix root element containing only text in api_create_xml() 2018-07-02 07:48:42 -04:00
Hypolite Petovan 62eba48679 Fix yet more undefined variable/index messages in api_statuses_show 2018-07-02 07:48:38 -04:00
Hypolite Petovan 07e06341df Simplify config.php_path access in App->proc_run 2018-07-02 07:48:33 -04:00
Hypolite Petovan 0ee153e1bd Fix Array to String conversion message for IN conditions 2018-07-02 07:47:47 -04:00
Hypolite Petovan 89e4629c16 Replace system.proc_windows config by PHP_OS test 2018-07-02 07:47:42 -04:00
Hypolite Petovan a380bcd1c1 Fix more undefined variable/index notice in tests 2018-07-02 07:45:25 -04:00
Hypolite Petovan 209510e970 Replace PHP_EOL with \n to conform to code behavior on Windows in tests 2018-07-02 07:45:18 -04:00
Hypolite Petovan a329ce5b50 Fix $called_api expecting at least 2 elements in tests 2018-07-02 07:45:11 -04:00
Hypolite Petovan 6776c4e3f9 Fix some undefined variable/index notices in tests 2018-07-02 07:44:55 -04:00
Hypolite Petovan 28741c8366 Remove startup() function
- Enable notice errors
2018-07-02 07:23:47 -04:00
Hypolite Petovan 64cea5ce43
Merge pull request #5313 from annando/magic-speed
Use already fetched data for magiclink
2018-07-02 05:29:44 -04:00
Michael Vogel 5d8f7ae52e
Merge pull request #5312 from tobiasd/20180702-cs
CS translation update THX Aditoo
2018-07-02 07:59:38 +02:00
Michael 717ca0b7eb Use already fetched data for magiclink 2018-07-02 05:41:55 +00:00
Tobias Diekershoff fef252736b CS translation update THX Aditoo 2018-07-02 07:04:43 +02:00
Hypolite Petovan 183c8fd7e2
Merge pull request #5311 from annando/item-file-category
Post update script to move old content from the item table
2018-07-01 16:58:44 -04:00
Michael 37bc19673d Empty owner and author data 2018-07-01 19:33:42 +00:00
Michael 38160a48b0 Post update script to move old content from the item table 2018-07-01 19:02:29 +00:00
Hypolite Petovan 8238afc70b
Merge pull request #5310 from annando/item-file-category
Files/Categories aren't stored in the item table anymore
2018-07-01 10:09:04 -04:00
Hypolite Petovan 6acb8368fa
Merge pull request #5309 from tobiasd/20180701-de
update for DE translation
2018-07-01 05:11:37 -04:00
Michael 32a639891f Improved logging for expired items 2018-07-01 09:08:58 +00:00
Tobias Diekershoff c2496ccc9d update for DE translation 2018-07-01 11:08:12 +02:00
Michael bffdf96d87 The "file" variable isn't stored anymore in the item table 2018-07-01 07:57:59 +00:00
Hypolite Petovan 8e55d3585f
Merge pull request #5308 from annando/diaspora-people
Added support for internal Diaspora links to accounts
2018-06-30 19:38:20 -04:00
Michael 1905242a16 Added support for internal Diaspora links to accounts 2018-06-30 22:37:44 +00:00
Hypolite Petovan 0c553150ea
Merge pull request #5305 from annando/item-tags
Tags aren't stored in the item table anymore
2018-06-30 17:50:55 -04:00
Michael 60dcdd0b27 Preparation for not storing the file field into the item table. 2018-06-30 21:15:24 +00:00