Egor Kislitsyn
ca88e37a8f
Fix a race condition in tests
4年前
rinpatch
a78a7ee455
Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exs
4年前
rinpatch
85b6144ffd
Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exs
4年前
rinpatch
5c5ebd3861
Mastodon API: Respect post privacy in favourited/reblogged endpoints
4年前
stwf
25a64a4aa0
Capture test error messages where appropriate
4年前
Egor Kislitsyn
b40b10b53d
Add an endpoint to get multiple statuses by IDs
4年前
rinpatch
cc1d1ee406
Mastdon API: Add ability to get a remote account by nickname to
`/api/v1/accounts/:id`
4年前
rinpatch
90c2dae9a4
Remove most of Pleroma.Web.TwitterAPI.TwitterAPI
4年前
Egor Kislitsyn
30510ade0e
Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add more tests
4年前
lain
efb8818e9e
Activity Expiration: Switch to 'expires_in' system.
4年前
Maksim
a320358703
added test helpers to clear config after tests
4年前
Ivan Tashkinov
a180c1360e
[ #1149 ] Oban mailer job. Adjusted tests.
4年前
stwf
d81f63845a
Implement Pleroma.Stats as GenServer
4年前
Maksim
04da1166db
tests for /web/mastodon_api/mastodon_api.ex
4年前
rinpatch
0802a08871
Mastodon API: Fix thread mute detection
It was calling CommonAPI.thread_muted? with post author's account
instead of viewer's one.
5年前
feld
d93d777915
Fix/mediaproxy whitelist base url
5年前
Sergey Suprunenko
c0e258cf21
Redirect not logged-in users to the MastoFE login page on private instances
5年前
Sachin Joshi
242f5c585e
add account confirmation email resend in mastodon api
5年前
Mike Verdone
0e2b5a3e6a
WIP
5年前
Mike Verdone
2c83eb0b15
Revert "squash! Expose expires_at datetime in mastoAPI only for the activity actor"
This reverts commit 2981821db8
.
5年前
Mike Verdone
2981821db8
squash! Expose expires_at datetime in mastoAPI only for the activity actor
NOTE: rewrite the commit msg
5年前
Mike Verdone
3cb471ec06
Expose expires_at datetime in mastoAPI only for the activity actor
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.
5年前
Mike Verdone
704960b3c1
Add support for activity expiration to common and Masto API
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.
5年前
Mike Verdone
8ba7a151ad
Cleanup: fix a comment
5年前
Ariadne Conill
d3bdb8e704
rich media: parser: splice the given URL into the result
5年前
Sadposter
c400565427
fix test names because i cannot type
5年前
Sadposter
299c0e965b
actually reblog on the reblog test
5年前
Sadposter
7026018c8c
Use correct URL for tests
5年前
Sadposter
452980652d
Mix format
5年前
Sadposter
fd1fa5a2ec
add tests for unauthed reqs to liked/reblogged_by
5年前
Sadposter
a5d6287ba8
Hide blocked users from interactions
5年前
Eugenij
4bf2bb9cff
Fix password reset for non-test env
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.
5年前
Alexander Strizhakov
10f82c88b8
mastoapi password reset
added rate limit to password reset
configure rate limit in runtime
5年前
lain
7a24def473
Mastodon Controller: Fix tests.
5年前
Sergey Suprunenko
b74300bc7a
Add more tests for MastodonAPIController and CommonAPI
5年前
Alexander Strizhakov
e7c39b7ac8
Feature/1072 muting notifications
5年前
Mark Felder
360e4cdaa2
Move these to pleroma namespace in Mastodon API
5年前
Haelwenn (lanodan) Monnier
252e129b1e
MastoAPI: Add categories to custom emojis
Note: This isn’t in a release yet, can be seen in mastofe on the
rebase/glitch-soc branch.
5年前
Eugenij
1f76740e10
Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)
5年前
Sergey Suprunenko
d53fb55bb7
Return correct response when reply to a direct message is not direct itself
5年前
Maksim Pechnikov
4ad15ad2a9
add ignore hosts and TLDs for rich_media
5年前
lain
a440cf856d
Mastodon API: Return the token needed for the chat.
5年前
Maksim
ee4ed87fb4
[ #948 ] /api/v1/account_search added optional parameters (limit, offset, following)
5年前
lain
eac298083f
MastodonAPI: Add a way to update the background image.
5年前
Egor Kislitsyn
ad04d12de6
Replace `MastodonAPIController.account_register/2` rate limiter
5年前
Sergey Suprunenko
365268d522
Add more tests for using media_proxy and whitelists
5年前
lain
7e9f7ea0c2
MastodonAPI: Add test for user search.
5年前
Egor Kislitsyn
5b04f07a1e
Limit search for unauthenticated users to local users only
5年前
Maksim Pechnikov
f13d6c7f78
update api to set skip_thread_containment
5年前
rinpatch
2fe3a20638
Make error message about author's inability to vote more sensible
5年前