Commit Graph

20054 Commits

Author SHA1 Message Date
Philipp Holzer 1dafaa69c5
bug in memcached clear function 2018-07-07 18:43:55 +02:00
Philipp Holzer f95c420801
bug in redis delete function 2018-07-07 18:39:33 +02:00
Philipp Holzer 6ecaa5b15a
copy&paste error for memcached unittest 2018-07-07 18:12:17 +02:00
Philipp Holzer f61aa2a3ee
fixed locks in database.sql 2018-07-07 17:59:22 +02:00
Philipp Holzer 1ffe0cfd81
Added Lock Unittests & Bugfixings
Added Redis Lock Unittests
Added Memcached Lock Unittests

Fixed a bug in dba
Fixed a bug in RedisLock
2018-07-07 16:15:03 +02:00
Michael Vogel e719a25082
Merge pull request #5329 from tobiasd/20180707-cs
CS translation update THX Aditoo
2018-07-07 12:45:24 +02:00
Tobias Diekershoff ba7505f12f CS translation update THX Aditoo 2018-07-07 11:22:18 +02:00
Michael Vogel 3eec97aa6e
Merge pull request #5314 from MrPetovan/task/4889-fix-tests
Fix tests after enabling PHP Notices
2018-07-06 22:14:01 +02:00
Hypolite Petovan 54707dd4c8
Merge pull request #5327 from tobiasd/20180706-issue4753
admins can forbid some nicknames from being registered
2018-07-06 09:59:34 -04:00
Tobias Diekershoff a49e094308 added forgotten trim 2018-07-06 15:49:27 +02:00
Tobias Diekershoff 72638acac3 admins can forbid some nicknames from being registered 2018-07-06 15:32:56 +02:00
Hypolite Petovan 0558be2d12
Merge pull request #5326 from tobiasd/20180706-cs
CS translation update THX Aditoo
2018-07-06 08:08:47 -04:00
Tobias Diekershoff 100c5e33ac CS translation update THX Aditoo 2018-07-06 06:27:59 +02:00
Hypolite Petovan 36dadfe0d4
Merge pull request #5325 from nupplaphil/lock_followup
Lock Abstraction FollowUp #5291
2018-07-05 16:27:26 -04:00
Philipp Holzer 5a28ad7377
AbstractCacheDriver now working for each CacheDriver 2018-07-05 22:01:33 +02:00
Philipp Holzer 749b167fd9
AbstractCacheDriver now working for each CacheDriver 2018-07-05 21:54:20 +02:00
Philipp Holzer 34cea93a8b
Bugfixings for Cache-Lock
- used wrong cachekey in set
- therefore added an abstraction to avoid wrong key concatenation
- forgot to increase the db-version to 1275
2018-07-05 21:47:52 +02:00
Hypolite Petovan 3be013361e
Merge pull request #5291 from nupplaphil/lock_abstraction
Lock abstraction
2018-07-05 15:05:18 -04:00
Philipp Holzer e41e7d2edd
Fixings
- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
2018-07-05 20:57:31 +02:00
Philipp Holzer 906bb25972
code standards / simplifications 2018-07-05 07:59:56 +02:00
Hypolite Petovan c60d85329c Rename language to lang in test data as well 2018-07-04 17:55:06 -04:00
Philipp Holzer 19209f6826
merged from develop and increased DB-version 2018-07-04 23:44:11 +02:00
Philipp Holzer aac94d1d74
Adding multihost - locking
Adding Unit-Tests for it
2018-07-04 23:37:22 +02:00
Hypolite Petovan e44111e935 Revert renaming lang to language in api
- Normalize some quotes
- Put "Empty user-agent" log message in a else statement
2018-07-04 17:33:09 -04:00
Hypolite Petovan bd1056a61e
Merge pull request #5324 from annando/issue-5322
Fixes issue 5322 - events now again are having a plink
2018-07-04 16:03:26 -04:00
Michael 176ab7130f Fixes issue 5322 - events now again are having a plink 2018-07-04 19:53:02 +00:00
Hypolite Petovan 0d48acfd17
Merge pull request #5323 from annando/unlike
Fix unliking liked
2018-07-04 15:18:19 -04:00
Michael f60da34357 Fix unliking liked 2018-07-04 19:07:53 +00:00
Hypolite Petovan cdab9b4cd2 Add missing author-link property to testFormatItems* 2018-07-04 00:54:53 -04:00
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
Philipp Holzer b07dfbb03f
Merge remote-tracking branch 'remotes/origin/develop' into lock_abstraction 2018-07-03 20:16:31 +02: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
Tobias Diekershoff 199361a562
Merge pull request #5317 from annando/ostatus-like
Fix: Likes from OStatus got the gravity of comments
2018-07-03 10:08:36 +02:00
Michael 9a9541809b Fix: Likes from OStatus got the gravity of comments 2018-07-03 04:58:34 +00: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 a23a16bb04
Merge pull request #5316 from annando/fix-wall-to-wall
Fix: Twitter reshares hadn't been shown as this
2018-07-02 17:23:39 -04:00