Steven Fuchs
94627baa5c
New rate limiter
4 years ago
Alexander
6a4201e0b4
fix for migrate task
4 years ago
Maksim Pechnikov
9d0b989521
add subject to atom feed
4 years ago
Ariadne Conill
5b60d82592
object containment: handle all cases where ID is invalid (missing, nil, non-string)
4 years ago
eugenijm
7888803ffe
Mastodon API: Add the `recipients` parameter to `GET /api/v1/conversations`
4 years ago
rinpatch
84175fe30e
Set better Cache-Control header for static content
Closes #1382
4 years ago
rinpatch
54746c6c26
Object Fetcher: set cache after reinjecting
Probably fixes the issue hj had, where polls would have different
counters between endpoints.
4 years ago
AkiraFukushima
e1fc6cb78f
Check client and token in GET /oauth/authorize
4 years ago
lain
4e53520917
User Search: Remove superfluous setweight and random test.
The test tested for a behavior that isn't actually enforced anymore.
4 years ago
eugenijm
ed29be24cb
Mastodon API, streaming: Add `pleroma.direct_conversation_id` to the `conversation` stream event payload.
4 years ago
Steven Fuchs
5271bbcf11
add missing tesla mocks
4 years ago
Ariadne Conill
4bf942583f
streamer: use direct object for filter checks when there is no valid child object in an activity
We call Object.normalize/1 to get the child object for situations like Announce.
However, the check is flawed and immediately fails if Object.normalize/1 fails.
Instead, we should use the activity itself in those cases to allow activities which
never have a child object to pass through the filter.
Closes #1291
4 years ago
Maxim Filippov
743b622b7b
Force password reset for multiple users
4 years ago
Maxim Filippov
6f9d3d30fa
AdminAPI: Omit relay user from users list
4 years ago
kPherox
d1ae51b02a
Update test for get_recipients_from_activity
4 years ago
rinpatch
ae59b38203
Rip out the rest of htmlsanitizeex
4 years ago
rinpatch
61400d7eb7
Fix XSS emoji test
4 years ago
kPherox
c2f2d7bcf6
Add test follow activity for locked account
4 years ago
rinpatch
08f6837065
Switch from HtmlSanitizeEx to FastSanitize
4 years ago
stwf
56e42602b0
capture where errors are expected
4 years ago
Maxim Filippov
8282b6ac3d
Make sure incoming flags are updated with status data
4 years ago
Maxim Filippov
8eff05d4c6
Strip status data from Flag (when federating or closing/resolving report)
4 years ago
eugenijm
0580654485
Mark the conversations with the blocked user as read and update the blocking user's `unread_conversation_count`.
Since the conversations with the blocked user are invisible, they are excluded
from the blocking user's `unread_conversation_count`.
4 years ago
stwf
5329b361ec
fix test
4 years ago
Maxim Filippov
b08b1d5d91
Store status data inside Flag activity
4 years ago
Ariadne Conill
3f6a596922
activitypub: visibility: refactor is_public?() to use JSON-LD safe accessors
4 years ago
Ariadne Conill
277aea45b9
tests: transmogrifier: add explicit regression tests for JSON-LD string to single-element array deserialization
There appears to be confusion on whether or not Pleroma can handle this particular
sin of JSON-LD. It can, and we will add regression tests to prove that it can handle
this particular sin. Which, by the way, this is actually not a "feature" of JSON-LD,
but whatever.
4 years ago
Mark Felder
0c628fafc5
Spelling
4 years ago
Mark Felder
2cbb3f2364
Add tests for the subject of push notifications
4 years ago
rinpatch
2dbee29cf5
Do not include notifications from blocked users when with_muted is set
This is not what with_muted is for per documentation and it was agreed
on irc that this behavior doesn't make sense.
4 years ago
Ivan Tashkinov
7c7f90bc4f
[ #1304 ] Merged `develop`, handled User.Info.invisible.
4 years ago
Egor Kislitsyn
c6fba62666
Fix Relay
4 years ago
Ivan Tashkinov
ee04fbc35a
[ #1304 ]. Post-merge fixes. Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1304-user-info-deprecation
# Conflicts:
# CHANGELOG.md
# lib/pleroma/notification.ex
# lib/pleroma/user.ex
# lib/pleroma/user/info.ex
# lib/pleroma/web/admin_api/admin_api_controller.ex
# lib/pleroma/web/ostatus/handlers/follow_handler.ex
# lib/pleroma/web/ostatus/ostatus.ex
# lib/pleroma/web/salmon/salmon.ex
# lib/pleroma/web/websub/websub.ex
# test/web/admin_api/admin_api_controller_test.exs
# test/web/federator_test.exs
# test/web/mastodon_api/controllers/conversation_controller_test.exs
# test/web/ostatus/ostatus_controller_test.exs
# test/web/ostatus/ostatus_test.exs
# test/web/salmon/salmon_test.exs
# test/web/websub/websub_test.exs
4 years ago
Ivan Tashkinov
e8843974cb
[ #1304 ] Moved remaining fields from User.Info to User.
Misc. fixes / improvements.
4 years ago
Ariadne Conill
05c58eaece
change Maksim's test description
4 years ago
Ariadne Conill
ba92522c69
tests: add test to ensure invisible actors are rendered with the invisible hint set to true
4 years ago
Ariadne Conill
52d56ed705
tests: add test verifying the relay user is invisible
4 years ago
Ariadne Conill
c9280b9730
rework to use properties instead of compound typing, per SocialCG
4 years ago
Maksim Pechnikov
189a288925
fix test
4 years ago
Maksim Pechnikov
9694d51437
added test fo Pleroma.Web.MastodonAPI.StatusController
4 years ago
Ariadne Conill
80d3912a56
test: activitypub: use User.invisible?/1 for testing invisibility
4 years ago
Ariadne Conill
ef659331b0
implement invisible support for remote users
4 years ago
Ariadne Conill
95871cb462
user: implement User.invisible?/1
4 years ago
Ariadne Conill
cd90735a4b
tests: ostatus controller tests: fix sporadic compilation failure
4 years ago
eugenijm
52ed2f8f2d
Pleroma API: `POST /api/v1/pleroma/conversations/read` to mark all user's conversations as read
4 years ago
Ariadne Conill
c2ae6310dc
tests: mastodon api: fix broken test that used OStatus
4 years ago
Ariadne Conill
a8eb1f0975
tests: mastodon search: search for an account that is visible via activitypub, not ostatus
4 years ago
Ariadne Conill
dbfdb1f6e3
add some missing tesla fixtures
4 years ago
Ariadne Conill
85ddcaf418
tests: fix up signature tests
4 years ago
Ariadne Conill
700c654208
tests: fix relay tests
4 years ago