summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/mastodon_api_controller_test.exs
AgeCommit message (Collapse)Author
2019-08-26Extract MastodonAPIController's list actions into ↵Egor Kislitsyn
MastodonAPI.ListController; Add more tests
2019-08-24Activity Expiration: Switch to 'expires_in' system.lain
2019-08-24Merge remote-tracking branch 'origin/develop' into ↵lain
sixohsix/pleroma-post_expiration
2019-08-19added test helpers to clear config after testsMaksim
2019-08-14Implement Pleroma.Stats as GenServerstwf
2019-08-13tests for /web/mastodon_api/mastodon_api.exMaksim
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-02Fix/mediaproxy whitelist base urlfeld
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-24WIPMike Verdone
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-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-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-15Add more tests for MastodonAPIController and CommonAPISergey Suprunenko
2019-07-14Feature/1072 muting notificationsAlexander Strizhakov
2019-07-12Move these to pleroma namespace in Mastodon APIMark Felder
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-09Merge branch 'remove-avatar-header' into 'develop'kaniini
Ability to reset avatar, profile banner and backgroud See merge request pleroma/pleroma!1187
2019-06-30Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)Eugenij
2019-06-26Return correct response when reply to a direct message is not direct itselfSergey Suprunenko
2019-06-25add ignore hosts and TLDs for rich_mediaMaksim Pechnikov
2019-06-23Merge branch 'develop' into 'remove-avatar-header'Sachin Joshi
# Conflicts: # CHANGELOG.md
2019-06-15Mastodon API: Return the token needed for the chat.lain
2019-06-14Merge branch 'feature/add-background-image-to-mastoapi' into 'develop'rinpatch
AccountView: Add user background. See merge request pleroma/pleroma!1280
2019-06-14[#948] /api/v1/account_search added optional parameters (limit, offset, ↵Maksim
following)
2019-06-14MastodonAPI: Add a way to update the background image.lain
2019-06-11Merge branch 'feature/rate-limiter' into 'develop'lain
Feature/Rate Limiter Closes #943 See merge request pleroma/pleroma!1266
2019-06-11Replace `MastodonAPIController.account_register/2` rate limiterEgor Kislitsyn
2019-06-10Add more tests for using media_proxy and whitelistsSergey Suprunenko
2019-06-06MastodonAPI: Add test for user search.lain
2019-06-05Limit search for unauthenticated users to local users onlyEgor Kislitsyn
2019-06-04Merge branch 'develop' into issue/941Maksim Pechnikov
2019-06-04Merge branch 'generic-fe-settings' into 'develop'kaniini
Generic settings store for frontend user settings See merge request pleroma/pleroma!1221
2019-06-03update api to set skip_thread_containmentMaksim Pechnikov
2019-06-03Merge branch 'develop' into feature/polls-2-electric-boogalorinpatch
2019-06-03Merge branch 'align-mastodon-conversations' into 'develop'lambda
Mastodon Conversations API: Align to Mastodon behavior See merge request pleroma/pleroma!1215