Commit Graph

29049 Commits

Author SHA1 Message Date
Michael ae363b74ad Check for empty body to prevent a fatal error 2020-11-12 16:52:55 +00:00
Hypolite Petovan 6dee10f340
Merge pull request from annando/fatal
Fix fatal errors
2020-11-12 07:57:53 -05:00
Michael 36c65643fb Fix fatal errors 2020-11-12 05:17:48 +00:00
Michael Vogel acae3df0a2
Merge pull request from MrPetovan/bug/9525-mastodon-emojis-tag
Restore expected implementation of JsonLD::fetchElementArray
2020-11-12 05:47:46 +01:00
Hypolite Petovan a8f16788f4 Prevent multiple replacements for the same emoji in Protocol\ActivityPub\Processor::replaceEmojis 2020-11-11 18:28:26 -05:00
Hypolite Petovan d7ea4ea425
Merge pull request from annando/api-not-found
API: Not implemented stuff should return 404
2020-11-11 16:15:24 -05:00
Michael 5598f7d6ba Fix test 2020-11-11 20:49:34 +00:00
Michael e895d3b1eb API: Not implemented stuff should return 404 2020-11-11 20:28:36 +00:00
Hypolite Petovan 42db861759
Merge pull request from annando/fetch-object-by-url
Fix: Fetch object by URL
2020-11-11 13:14:20 -05:00
Michael ba38ab2c55 Fix: Fetch object by URL 2020-11-11 17:55:33 +00:00
Hypolite Petovan 9e4a0bf212 Added new test for JsonLD::fetchElementArray type matching 2020-11-11 11:19:27 -05:00
Hypolite Petovan fa003eaa84 Fix expected implementation of JsonLD::fetchElementArray
- Added expected field value matching
2020-11-11 11:19:08 -05:00
Michael Vogel 61dcd62921
Merge pull request from MrPetovan/bug/ap-blocked-followers
Prevent ActivityPub message transmission to blocked followers
2020-11-11 15:28:04 +01:00
Hypolite Petovan 0de8319c15 Filter blocked contacts out from Protocol\ActivityPub\Transmitter::getContacts 2020-11-11 09:18:51 -05:00
Michael Vogel f41139bd05
Merge pull request from MrPetovan/bug/notices
Suppress notice when network page is empty
2020-11-11 15:16:58 +01:00
Hypolite Petovan 4fce6a919f Suppress notice when network page is empty 2020-11-11 03:05:12 -05:00
Hypolite Petovan 6b8c8b03c6 Prevent ActivityPub message transmission to blocked followers 2020-11-11 02:52:23 -05:00
Hypolite Petovan 7fcaa1f239
Merge pull request from annando/issue-9520
Issue 9520: Fix resharer hovercard
2020-11-10 15:07:01 -05:00
Michael 553369d8b5 Issue 9520: Fix resharer hovercard 2020-11-10 19:43:12 +00:00
Hypolite Petovan 978208baa3
Merge pull request from annando/fix-contact-import
Fix contact import with Frio
2020-11-10 10:28:35 -05:00
Michael 52c88ae414 Fix contact import with Frio 2020-11-10 06:37:27 +00:00
Michael Vogel 7765bd8e43
Merge pull request from MrPetovan/bug/9501-admin-users-fixes
[frio] Improve admin user list display
2020-11-10 07:07:59 +01:00
Hypolite Petovan b1bc8ebbfa
Merge pull request from annando/no-duplicated
Improve duplicate check
2020-11-09 16:00:52 -05:00
Michael c4f1719e8d Improve duplicate check 2020-11-09 20:29:42 +00:00
Michael Vogel 0031b4e18c
Merge pull request from MrPetovan/task/5616-clear-notifications-display
Set thread notifications as seen in mod/display
2020-11-09 21:01:36 +01:00
Hypolite Petovan 8fe5da930a Only set the current notify as seen when user enabled detailed notifications 2020-11-09 11:41:21 -05:00
Hypolite Petovan c053d128a2 [frio] Improve admin user list display 2020-11-09 10:08:33 -05:00
Hypolite Petovan a35707ec8f Improve admin user field is_deletable to check user.account_removed 2020-11-09 10:08:33 -05:00
Hypolite Petovan 62358104a2 Update source translation file after adding strings 2020-11-09 10:08:14 -05:00
Hypolite Petovan 2055ee872c Group registration requests in a single line for users without detailed_notif 2020-11-09 10:08:14 -05:00
Hypolite Petovan 8357d94800 Set thread notifications as seen in mod/display
- Only for users without detailed notifications
2020-11-09 10:08:14 -05:00
Michael Vogel 8a055902f4
Merge pull request from MrPetovan/task/9508-mastodon-handled-mentions
[AP] Use contact.alias if it exists instead of contact.url for mention links
2020-11-09 07:45:27 +01:00
Hypolite Petovan 7debe1e999 [AP] Use contact.alias if it exists instead of contact.url for mention links
- Make mentions links handled by Mastodon for logged in users
2020-11-08 23:32:02 -05:00
Hypolite Petovan edd439cfab Simplify code in Content\Text\BBCode::convert
- Use performWithEscapedTags instead of custom solution
2020-11-08 23:25:46 -05:00
Michael Vogel 5ca90e5a74
Merge pull request from MrPetovan/bug/9501-admin-users-fixes
Fix redirect/form paths in Module\Admin\Users\Index|Active
2020-11-09 03:39:49 +01:00
Hypolite Petovan ae00111f5b Fix redirect/form paths in Module\Admin\Users\Index|Active 2020-11-08 20:09:10 -05:00
Michael Vogel d07b580366
Merge pull request from MrPetovan/bug/9480-never-mention-yourself
Never mention yourself
2020-11-08 22:37:07 +01:00
Hypolite Petovan ecb0c46323 Normalize mention formatting for AP 2020-11-08 14:21:20 -05:00
Hypolite Petovan 4b090c2c08 Never mention yourself in AP messages 2020-11-08 14:21:08 -05:00
Hypolite Petovan c92a333b17
Merge pull request from annando/test-mysql-no-pdo
Only disable PDO in tests for versions lower than 7.3
2020-11-08 13:55:53 -05:00
Michael Vogel f4da50063a
Merge pull request from MrPetovan/bug/9496-rework-admin-users
Split admin/users into 6 separate modules
2020-11-08 19:42:40 +01:00
Hypolite Petovan 01b2694aa0 Update the target URL for pending registration notifications 2020-11-08 12:53:12 -05:00
Hypolite Petovan ac32fbefcd [frio] Improve admin/users/* page display 2020-11-08 12:53:12 -05:00
Hypolite Petovan 388c0b69d6 Split admin/users into 6 separate modules
- They now feature working pagination
2020-11-08 12:53:12 -05:00
Hypolite Petovan 213716d44c Remove unused code in Module\Register 2020-11-08 12:53:12 -05:00
Hypolite Petovan 126ef0ae82 [frio] Add link to settings in account delegation page 2020-11-08 12:53:12 -05:00
Hypolite Petovan ffb4292b0b Improve accuracy of User::getList with type = blocked
- user.blocked is used for pending registrations as well
2020-11-08 12:53:12 -05:00
Michael 97bddc25af Only disable PDO for versions lower than 7.3 2020-11-08 17:45:50 +00:00
Hypolite Petovan e3c8b6def0
Merge pull request from annando/test-mysql-no-pdo
Make the tests work again with PHP 7.2
2020-11-08 12:40:03 -05:00
Michael f23ec66801 Disable PDO for the AppMode test as well 2020-11-08 17:26:20 +00:00