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
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
Ariadne Conill
af9aa8e358
tests: simplify object fetching and containment tests
4 years ago
Ariadne Conill
597cb8897b
tests: remove some more ostatus tests
4 years ago
Ariadne Conill
48059c03c9
fix up some tests
4 years ago
Ariadne Conill
d379b48769
kill almost all of the OStatus module
4 years ago
Ariadne Conill
835ad52378
remove Salmon module
4 years ago
Ariadne Conill
4f82e42e4e
websub: remove entirely
4 years ago
Ariadne Conill
c6de0cbb4a
config: disable Websub and Salmon publisher modules
4 years ago
rinpatch
b085cd2660
Add a test for safe_jsonb_set
4 years ago
eugenijm
359dd1890e
Mastodon API: Mark the conversation as read for the author when they send a new direct message
4 years ago
Maksim Pechnikov
66b5d0ff55
add Markers /api/v1/markers
4 years ago
Ivan Tashkinov
10ff01acd9
[ #1304 ] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
4 years ago
rinpatch
b8be6a4dc9
Remove a failing search test due to it being unrealistic
While the case tested (`lain@ple`) gives wrong ordering due to
using only trigram to order, it almost never happens in reality. In reality
it would be either `lain` (in which case it's fine to list the user with `lain`
in display name first), or `@lain@pleroma.soykaf.com`/`lain@pleroma.soykaf.com` (which is
handled fine as well)
4 years ago
rinpatch
c10ce113d4
User search: Remove trigram and refactor the module
- Remove trigram as it tends to rank garbage results highly, resulting
in it prioritized above fts, which gives actually decent results. ACKed
by kaniini and lain on irc.
- Remove a test for handling misspelled requests, since we no longer have
trigram
- Remove a test for searching users with `nil` display names, because it
is unrealistic, we don't accept usernames that are not >1 char strings
- Make rank boosting for followers/followees sane again, previous values
resulted in garbage matches getting on top just because the users are
followers/followees
4 years ago
eugenijm
a97b642289
Mastodon API: Add `exclude_visibilities` parameter to the timeline and notification endpoints
4 years ago
Maxim Filippov
751513b6df
This line either causes a warning, or a failed test
4 years ago
Maxim Filippov
cc6875b582
Add `GET /api/pleroma/admin/relay` endpoint - lists all followed relays
4 years ago
Maxim Filippov
aaa4252f41
Deprecate POST/DELETE /api/pleroma/admin/users/:nickname/permission_group/:permission_group instead of deleting it
4 years ago
lain
cb8492962e
SearchController: Fix test.
Turns out you can't actually find the user with this.
4 years ago
lain
37812740c4
Transmogrifier: Correctly save incoming ids for Accept/Reject.
4 years ago
lain
9b963064eb
Transmogrifier: Actually store who deleted a note.
4 years ago
Maxim Filippov
f5104f36bb
Deprecate /api/pleroma/admin/users/:nickname/toggle_activation instead of deleting it
4 years ago
lain
29647dfd09
Transmogrifier: Save correct ids for incoming deletes.
4 years ago
Steven Fuchs
dc6d20b68d
provide mocks for webfinger endpoints
4 years ago
Maxim Filippov
ad42837244
Ability to toggle activation status and permission group for a group of users
4 years ago
lain
c1bae01376
Search: Add tests for unicode searches.
4 years ago
Egor Kislitsyn
d537bfd4e1
Add a task to re-count statuses for all users
4 years ago