summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/mastodon_api_controller_test.exs
AgeCommit message (Collapse)Author
2019-09-14Mastodon API: Respect post privacy in favourited/reblogged endpointsrinpatch
2019-09-13Capture test error messages where appropriatestwf
2019-09-13fix formattingMaksim Pechnikov
2019-09-13fix testsMaksim Pechnikov
2019-09-13fix Activity.get_by_idMaksim Pechnikov
2019-09-13Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exsMaksim
2019-09-10Add an endpoint to get multiple statuses by IDsEgor Kislitsyn
2019-09-06tests for mastodon_api_controller.exMaksim Pechnikov
2019-09-06[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1149-oban-job-queue # Conflicts: # test/web/twitter_api/twitter_api_controller_test.exs
2019-09-06Merge branch 'so-long-twitterapi' into 'develop'rinpatch
Removing TwitterAPI See merge request pleroma/pleroma!1605
2019-09-03Mastdon API: Add ability to get a remote account by nickname torinpatch
`/api/v1/accounts/:id`
2019-08-31[#1149] Added Oban job for "activity_expiration". Merged remote-tracking ↵Ivan Tashkinov
branch 'remotes/upstream/develop' into 1149-oban-job-queue # Conflicts: # config/config.exs
2019-08-31Remove most of Pleroma.Web.TwitterAPI.TwitterAPIrinpatch
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-22[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1149-oban-job-queue # Conflicts: # lib/pleroma/application.ex # lib/pleroma/scheduled_activity_worker.ex # lib/pleroma/web/federator/retry_queue.ex # lib/pleroma/web/oauth/token/clean_worker.ex # test/user_test.exs # test/web/federator_test.exs
2019-08-19added test helpers to clear config after testsMaksim
2019-08-14Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queueIvan Tashkinov
2019-08-14[#1149] Oban mailer job. Adjusted tests.Ivan Tashkinov
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