Commit Graph

34889 Commits

Author SHA1 Message Date
~keith 836ec2f20d
Generate ActivityPub content warnings from [spoiler] elements 2022-10-30 21:40:27 +00:00
Philipp f826ce70ce
Merge pull request #12078 from MrPetovan/task/4090-move-mod-wallmessage
Move mod/wallmessage.php to src/Module
2022-10-30 19:04:47 +01:00
Hypolite Petovan c5076bec18 Updated main translation file after changing strings 2022-10-30 10:49:48 -04:00
Hypolite Petovan 07dd548a10 Remove mod/wallmessage module 2022-10-30 10:49:47 -04:00
Hypolite Petovan 9561910e83 Create Profile\UnkMail module class 2022-10-30 10:49:47 -04:00
Hypolite Petovan 3865733e18 Move Model\Profile::getMyUrl to UserSessions 2022-10-30 10:49:47 -04:00
Hypolite Petovan 6a205b2e10
Merge pull request #12076 from annando/quote
Improved handling of native quotes
2022-10-30 08:43:19 -04:00
Michael eae1383f48 Merge remote-tracking branch 'upstream/develop' into quote 2022-10-30 11:38:17 +00:00
Michael b402a760a8 Symplified code 2022-10-30 10:02:12 +00:00
Michael a183723254 Improved handling of contact links 2022-10-30 10:02:01 +00:00
Michael 96a36568e2 Add quote to API 2022-10-30 01:20:05 +00:00
Michael f569ccbbc2 Code is simplyfied 2022-10-29 22:55:39 +00:00
Michael 3c169b534e Improved handling of native quotes 2022-10-29 22:11:39 +00:00
Hypolite Petovan e24078a4d2
Merge pull request #12074 from annando/fix-notification
Accepting contact request does finally work per Mastodon API
2022-10-29 15:55:40 -04:00
Michael 8bba8663fb Only fetch the needed field 2022-10-29 19:11:26 +00:00
Michael f44c9e7975 Accepting contact request does finally work per Mastodon API 2022-10-29 19:04:29 +00:00
Philipp 01c0c0a1ba
Merge pull request #12072 from MrPetovan/bug/12054-advancedcontentfilter-static-vue
[Composer] Remove bower-asset/vue dependency
2022-10-29 19:34:48 +02:00
Hypolite Petovan fed17d031c [Composer] Remove bower-asset/vue dependency
- The Bower package doesn't have the dist/vue.min.js anymore (?) which is required for the advancedcontentfilter addon
2022-10-28 21:13:45 -04:00
Hypolite Petovan 2bdf2b02e3
Merge pull request #12071 from guzzisti/patch-2
fix exception when adding a poll option without votes
2022-10-28 13:45:27 -04:00
Hypolite Petovan a2adb1cd93
Remove unused argument from L10n->tt() call in Model/Item.php 2022-10-28 13:45:09 -04:00
René Wagner b99e7a9e92
fix exception when adding an poll option without votes 2022-10-28 18:51:35 +02:00
Hypolite Petovan f418687a71
Merge pull request #12070 from annando/share
Some more improvements for posts with shares
2022-10-27 08:19:23 -04:00
Michael e31533d0d3 Possibly fix test 2022-10-27 06:31:09 +00:00
Michael deccea0228 More functions moved to content class 2022-10-27 05:44:44 +00:00
Michael c65fff6f93 Some more improvements for posts with shares 2022-10-26 17:00:55 +00:00
Hypolite Petovan 0c4ebce391
Merge pull request #12067 from Quix0r/cleanup/type-hints-002
Cleanup: missing type-hints, double-quotes, reformatted array
2022-10-26 12:03:04 -04:00
Roland Häder 498d7f690a
Changes:
- php-cs is now happy with it
2022-10-26 17:59:10 +02:00
Roland Häder 03e09627e4
Used `$this->isThreaded()` instead as suggested by @MrPetovan 2022-10-26 17:59:07 +02:00
Hypolite Petovan 4189e01987
Merge pull request #12069 from tobiasd/20221026-de
DE translation update
2022-10-26 01:36:58 -04:00
Hypolite Petovan 80dc593159
Merge pull request #12068 from tobiasd/20221026-nofollow
add a nofollow to the blocklist export link
2022-10-26 01:36:15 -04:00
Tobias Diekershoff 606dd9f5e6 DE translation update 2022-10-26 07:33:51 +02:00
Tobias Diekershoff 80a897f2f3 add a nofollow to the blocklist export link 2022-10-26 07:30:46 +02:00
Michael Vogel ff2af0a2e3
Merge pull request #12066 from MrPetovan/task/12062-revert-block-list-email
Revert "Add email notification to all users on server domain pattern block list update"
2022-10-26 05:35:25 +02:00
Roland Häder 3c50d5b70f
Changes:
- made code more readable
2022-10-26 01:31:34 +02:00
Roland Häder 2f1336339f
Changes:
- added missing type-hints
- added missing documentation
- changed double-quotes to single
- Setters do ALWAYS return void
2022-10-26 01:29:01 +02:00
Hypolite Petovan 42199d9264 Updated main translation file after removing strings 2022-10-25 19:07:55 -04:00
Hypolite Petovan 22bfd3b4d6 Revert "Add email notification to all users on server domain pattern block list update"
This reverts commit 5045f9e188 because the main stakeholder isn't using the feature and it's putting a strain on email server accountability vis-a-vis spam lists.

# Conflicts:
#	src/Moderation/DomainPatternBlocklist.php
2022-10-25 19:02:55 -04:00
Hypolite Petovan 3456ae7809
Merge pull request #12065 from Quix0r/cleanup/renaming-more-logging
Cleanups: renaming variables and more logging
2022-10-25 17:17:46 -04:00
Hypolite Petovan 158d21db14
Merge pull request #12064 from Quix0r/phpunit/temporal-test
Unit test added for Temporal utilities class
2022-10-25 17:16:58 -04:00
Roland Häder 039a4b8c72
Fixed issues by `php-cs` 2022-10-25 23:09:30 +02:00
Roland Häder 913a4a5dc0
Fixed code-standards complain by php-cs, thanks to @MrPetovan 2022-10-25 22:45:50 +02:00
Roland Häder ceffd0ef6c
Changed:
- here `Logger::level()` is okay to use
- added more logging in wall_upload.php
- formatted array and put all $array['foo'] = $foo; into a single statement
- <include|require[_once]> are all no functions, but keywords
2022-10-25 21:36:59 +02:00
Roland Häder 71e82bc861
Changed:
- added logger for any reason when upload is aborted
- renamed variables a bit to camel-case style
2022-10-25 21:35:36 +02:00
Roland Häder b1cf4cbbd5
Changes:
- added unit-test for `Temporal::getRelativeDate()` method
2022-10-25 21:30:56 +02:00
Hypolite Petovan db82bdfc44
Merge pull request #12063 from Quix0r/fixes/type-hints-reformatting
Added more type-hints + reformatted code
2022-10-25 14:54:22 -04:00
Roland Häder 5306bb3e31
Changes:
- added more missing type-hints (checked them in body of the method)
- reformatted code a little (code-style)
- moved '/.well-known/host-meta' to constant Probe::HOST_META
2022-10-25 20:25:13 +02:00
Hypolite Petovan a7e9457ef2
Merge pull request #12061 from annando/share-rework
The "share" handling is improved
2022-10-25 09:04:16 -04:00
Michael 842a4bb904 Changed function name 2022-10-25 12:40:22 +00:00
Hypolite Petovan 2555596158
Merge pull request #12055 from nupplaphil/feat/usersess_decorator
Extend `IHandleUserSessions` from `IHandleSessions` and adapt classes
2022-10-25 07:52:23 -04:00
Michael ebd175872d Improved description 2022-10-25 08:45:41 +00:00