aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
AgeCommit message (Collapse)Author
2019-08-12ConversationView: Align parameter names with other views.lain
2019-08-12Conversations: Use 'recipients' for accounts in conversation view.lain
According to gargron, this is the intended usage.
2019-08-10Merge branch 'develop' into 'fix/hide-follows-counters'kaniini
# Conflicts: # CHANGELOG.md
2019-08-10Mastodon API: Fix thread mute detectionrinpatch
It was calling CommonAPI.thread_muted? with post author's account instead of viewer's one.
2019-08-09Mastodon API: Set follower/following counters to 0 when hidingrinpatch
followers/following is enabled We are already doing that in AP representation, so I think we should do it here as well for consistency.
2019-08-08Merge remote-tracking branch 'origin/develop' into pleroma-conversationslain
2019-08-05Linting.lain
2019-08-05Pleroma Conversations API: Add a way to set recipients.lain
2019-08-03Remove spaces from the domain searchSergey Suprunenko
2019-08-02Fix/mediaproxy whitelist base urlfeld
2019-07-31StatusView: Return direct conversation id.lain
2019-07-29Redirect not logged-in users to the MastoFE login page on private instancesSergey Suprunenko
2019-07-28add account confirmation email resend in mastodon apiSachin Joshi
2019-07-24Show the url advertised in the Activity in the Status JSON responseSergey Suprunenko
2019-07-24WIPMike Verdone
2019-07-24Add `domain_blocking` to the relationship API (GET ↵Eugenij
/api/v1/accounts/relationships)
2019-07-24Revert "squash! Expose expires_at datetime in mastoAPI only for the activity ↵Mike Verdone
actor" This reverts commit 2981821db834448bf9b2ba26590314e36201664c.
2019-07-24squash! Expose expires_at datetime in mastoAPI only for the activity actorMike Verdone
NOTE: rewrite the commit msg
2019-07-24Expose expires_at datetime in mastoAPI only for the activity actorMike Verdone
In the "pleroma" section of the MastoAPI for status activities you can see an expires_at item that states when the activity will expire, or nothing if the activity will not expire. The expires_at date is only visible to the person who posted the activity. This is the conservative approach in case some attacker decides to write a logger for expiring posts. However, in the future of OCAP, signed requests, and all that stuff, this attack might not be that likely. Some other pleroma dev should remove the restriction in the code at that time, if they're satisfied with the security implications of doing so.
2019-07-24Add support for activity expiration to common and Masto APIMike Verdone
The "expires_at" parameter accepts an ISO8601-formatted date which defines when the activity will expire. At this point the API will not give you any feedback about if your post will expire or not.
2019-07-24Cleanup: fix a commentMike Verdone
2019-07-23rich media: parser: splice the given URL into the resultAriadne Conill
2019-07-23fix test names because i cannot typeSadposter
2019-07-23actually reblog on the reblog testSadposter
2019-07-23Use correct URL for testsSadposter
2019-07-23Mix formatSadposter
2019-07-23add tests for unauthed reqs to liked/reblogged_bySadposter
2019-07-22Hide blocked users from interactionsSadposter
2019-07-20[tests] Mock :crypt.crypt/2 function in AuthenticationPlugTestSergey Suprunenko
2019-07-17Fix password reset for non-test envEugenij
Fixes `Plug.Conn.NotSentError` that causes a 5xx error in response instead of 404 and 400. Fixes pattern matching error caused by different response format in test and non-test env: `Pleroma.Emails.Mailer.deliver_async` returns :ok when PleromaJobQueue is enabled and `{:ok, _}` when it's disabled. In tests, it's disabled.
2019-07-16mastoapi password resetAlexander Strizhakov
added rate limit to password reset configure rate limit in runtime
2019-07-16Add `pleroma.deactivated` to the Account entity (Mastodon API)Eugenij
2019-07-16Add the `blocked_by` attribute to the relationship API (`GET ↵Eugenij
/api/v1/accounts/relationships`)
2019-07-16Merge branch 'bugfix/poll-id-as-string' into 'develop'rinpatch
Status View: Poll ids are strings. See merge request pleroma/pleroma!1430
2019-07-16Mastodon Controller: Fix tests.lain
2019-07-16Status View: Poll ids are strings.lain
All ids in mastodon are strings, in general.
2019-07-15Add more tests for MastodonAPIController and CommonAPISergey Suprunenko
2019-07-15Merge remote-tracking branch 'pleroma/develop' into feature/addressable-listsEgor Kislitsyn
2019-07-15Support `list` visibility in StatusViewEgor Kislitsyn
2019-07-14Feature/1072 muting notificationsAlexander Strizhakov
2019-07-12Move these to pleroma namespace in Mastodon APIMark Felder
2019-07-11Extend Pleroma.Pagination to support offset-based pagination, use ↵Eugenij
async/await to execute status and account search in parallel
2019-07-10MastoAPI: Add categories to custom emojisHaelwenn (lanodan) Monnier
Note: This isn’t in a release yet, can be seen in mastofe on the rebase/glitch-soc branch.
2019-07-10Create mentions only for explicitly mentioned usersSergey Suprunenko
2019-07-10add test for search_controller/ 100% coverageMaksim
2019-07-09[#878] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
878-activity-object-decoupling-in-tests # Conflicts: # lib/pleroma/object.ex # test/web/activity_pub/transmogrifier_test.exs # test/web/ostatus/ostatus_test.exs
2019-07-09Merge branch 'remove-avatar-header' into 'develop'kaniini
Ability to reset avatar, profile banner and backgroud See merge request pleroma/pleroma!1187
2019-07-08[#878] Refactored assumptions on embedded object presence in tests. Adjusted ↵Ivan Tashkinov
note factory to not embed object into activity.
2019-07-08Mastodon API: Fix embedded relationships not being rendered inside of statusesrinpatch
2019-06-30Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)Eugenij