Commit Graph

545 Commits (2473702be22a44070fcff439ac901f5b9bb0586a)

Author SHA1 Message Date
Maksim Pechnikov d8a178274b fix Activity.get_by_id
5 years ago
Maksim 58b17196fa Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exs
5 years ago
Egor Kislitsyn b40b10b53d Add an endpoint to get multiple statuses by IDs
5 years ago
Maksim Pechnikov ab2f21e470 tests for mastodon_api_controller.ex
5 years ago
Ivan Tashkinov ca1ba1e272 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch 896ffabe37 Merge branch 'so-long-twitterapi' into 'develop'
5 years ago
Haelwenn fe7cf44c40 Merge branch 'feature/mastoapi-accounts-external' into 'develop'
5 years ago
rinpatch b312ca3d52 Mastodon API Poll view: Fix handling of polls without an end date
5 years ago
Ivan Tashkinov 79cf629e1a Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch 3face45467 Mastodon API: Add `pleroma.thread_muted` to Status entity
5 years ago
rinpatch cc1d1ee406 Mastdon API: Add ability to get a remote account by nickname to
5 years ago
Ivan Tashkinov e890ea7e82 [#1149] Added Oban job for "activity_expiration". Merged remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch 90c2dae9a4 Remove most of Pleroma.Web.TwitterAPI.TwitterAPI
5 years ago
Egor Kislitsyn 019ced0558 Move test/web/mastodon_api/*_test.exs to test/web/mastodon_api/controllers and test/web/mastodon_api/views
5 years ago
Egor Kislitsyn 30510ade0e Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add more tests
5 years ago
kPherox eb75ea502d
Update test for custom fields when content-type urlencoded
5 years ago
kPherox b8777b01ae
Update test for custom fields when name empty string
5 years ago
kPherox 45e21a9df4
Rename fields to fields_attributes
5 years ago
lain efb8818e9e Activity Expiration: Switch to 'expires_in' system.
5 years ago
lain cc6c0b4ba6 Merge remote-tracking branch 'origin/develop' into sixohsix/pleroma-post_expiration
5 years ago
Ivan Tashkinov 7101ba1a21 Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov 256ff09aa8 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maksim Pechnikov 85bd8a4e31 fixed clear config after test
5 years ago
lain ef43016b2c Merge branch 'feature/custom-fields' into 'develop'
5 years ago
Maksim a320358703 added test helpers to clear config after tests
5 years ago
lain 7ab2dbbdb6 Merge branch 'pleroma-conversations' into 'develop'
5 years ago
Ivan Tashkinov 8778c16dac Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov a180c1360e [#1149] Oban mailer job. Adjusted tests.
5 years ago
stwf d81f63845a Implement Pleroma.Stats as GenServer
5 years ago
lain 560dbad538 Merge remote-tracking branch 'origin/develop' into pleroma-conversations
5 years ago
Egor Kislitsyn f7bbf99caa Use info.fields instead of source_data for remote users
5 years ago
Egor Kislitsyn 2c35d4b0b0 Add configurable account field name length limit
5 years ago
Egor Kislitsyn db3c05f6b4 Add configurable account field value length limit
5 years ago
Egor Kislitsyn d6094b405d Fix tests
5 years ago
Egor Kislitsyn e0ac5c7a66 Add custom profile fields
5 years ago
Maksim 04da1166db tests for /web/mastodon_api/mastodon_api.ex
5 years ago
lain 511ccea5aa ConversationView: Align parameter names with other views.
5 years ago
lain 23c46f7e72 Conversations: Use 'recipients' for accounts in conversation view.
5 years ago
kaniini 84808e1697 Merge branch 'develop' into 'fix/hide-follows-counters'
5 years ago
rinpatch 0802a08871 Mastodon API: Fix thread mute detection
5 years ago
rinpatch 409bcad54b Mastodon API: Set follower/following counters to 0 when hiding
5 years ago
lain a2b98f6d58 Merge remote-tracking branch 'origin/develop' into pleroma-conversations
5 years ago
lain d6fe220e32 Linting.
5 years ago
lain 3af6d14da7 Pleroma Conversations API: Add a way to set recipients.
5 years ago
Sergey Suprunenko 040347b248 Remove spaces from the domain search
5 years ago
feld d93d777915 Fix/mediaproxy whitelist base url
5 years ago
lain 7483679a7b StatusView: Return direct conversation id.
5 years ago
Sergey Suprunenko c0e258cf21 Redirect not logged-in users to the MastoFE login page on private instances
5 years ago
Sachin Joshi 242f5c585e add account confirmation email resend in mastodon api
5 years ago
Sergey Suprunenko b20020da16 Show the url advertised in the Activity in the Status JSON response
5 years ago
Mike Verdone 0e2b5a3e6a WIP
5 years ago
Eugenij 4504135894 Add `domain_blocking` to the relationship API (GET /api/v1/accounts/relationships)
5 years ago
Mike Verdone 2c83eb0b15 Revert "squash! Expose expires_at datetime in mastoAPI only for the activity actor"
5 years ago
Mike Verdone 2981821db8 squash! Expose expires_at datetime in mastoAPI only for the activity actor
5 years ago
Mike Verdone 3cb471ec06 Expose expires_at datetime in mastoAPI only for the activity actor
5 years ago
Mike Verdone 704960b3c1 Add support for activity expiration to common and Masto API
5 years ago
Mike Verdone 8ba7a151ad Cleanup: fix a comment
5 years ago
Ariadne Conill d3bdb8e704 rich media: parser: splice the given URL into the result
5 years ago
Sadposter c400565427 fix test names because i cannot type
5 years ago
Sadposter 299c0e965b actually reblog on the reblog test
5 years ago
Sadposter 7026018c8c Use correct URL for tests
5 years ago
Sadposter 452980652d Mix format
5 years ago
Sadposter fd1fa5a2ec add tests for unauthed reqs to liked/reblogged_by
5 years ago
Sadposter a5d6287ba8 Hide blocked users from interactions
5 years ago
Sergey Suprunenko 43a7cd27fe [tests] Mock :crypt.crypt/2 function in AuthenticationPlugTest
5 years ago
Eugenij 4bf2bb9cff Fix password reset for non-test env
5 years ago
Alexander Strizhakov 10f82c88b8 mastoapi password reset
5 years ago
Eugenij 520ee6c591 Add `pleroma.deactivated` to the Account entity (Mastodon API)
5 years ago
Eugenij c4ca142e14 Add the `blocked_by` attribute to the relationship API (`GET /api/v1/accounts/relationships`)
5 years ago
rinpatch 996fd58ac4 Merge branch 'bugfix/poll-id-as-string' into 'develop'
5 years ago
lain 7a24def473 Mastodon Controller: Fix tests.
5 years ago
lain 1ed24bcc76 Status View: Poll ids are strings.
5 years ago
Sergey Suprunenko b74300bc7a Add more tests for MastodonAPIController and CommonAPI
5 years ago
Egor Kislitsyn 64a946643e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Egor Kislitsyn a87c313309 Support `list` visibility in StatusView
5 years ago
Alexander Strizhakov e7c39b7ac8 Feature/1072 muting notifications
5 years ago
Mark Felder 360e4cdaa2 Move these to pleroma namespace in Mastodon API
5 years ago
Eugenij 4198c3ac39 Extend Pleroma.Pagination to support offset-based pagination, use async/await to execute status and account search in parallel
5 years ago
Haelwenn (lanodan) Monnier 252e129b1e
MastoAPI: Add categories to custom emojis
5 years ago
Sergey Suprunenko ff55e3c16f Create mentions only for explicitly mentioned users
5 years ago
Maksim 008c55e4e9 add test for search_controller/ 100% coverage
5 years ago
Ivan Tashkinov 829e997223 [#878] Merge remote-tracking branch 'remotes/upstream/develop' into 878-activity-object-decoupling-in-tests
5 years ago
kaniini 1417627d07 Merge branch 'remove-avatar-header' into 'develop'
5 years ago
Ivan Tashkinov daff85a985 [#878] Refactored assumptions on embedded object presence in tests. Adjusted note factory to not embed object into activity.
5 years ago
rinpatch 72b88c82bc Mastodon API: Fix embedded relationships not being rendered inside of statuses
5 years ago
Eugenij 1f76740e10 Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)
5 years ago
Sergey Suprunenko d53fb55bb7 Return correct response when reply to a direct message is not direct itself
5 years ago
Maksim Pechnikov 4ad15ad2a9 add ignore hosts and TLDs for rich_media
5 years ago
Sachin Joshi a0c65bbd6c Merge branch 'develop' into 'remove-avatar-header'
5 years ago
rinpatch c7acca2abb Mastodon API: Sanitize display names
5 years ago
lain a440cf856d Mastodon API: Return the token needed for the chat.
5 years ago
rinpatch 62ffc00a5d Merge branch 'feature/add-background-image-to-mastoapi' into 'develop'
5 years ago
Maksim ee4ed87fb4 [#948] /api/v1/account_search added optional parameters (limit, offset, following)
5 years ago
lain eac298083f MastodonAPI: Add a way to update the background image.
5 years ago
lain 5965efb216 AccountView: Add user background.
5 years ago
lain 63ab3c30eb Merge branch 'feature/rate-limiter' into 'develop'
5 years ago
Egor Kislitsyn ad04d12de6 Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
Sergey Suprunenko 365268d522 Add more tests for using media_proxy and whitelists
5 years ago
lain 7e9f7ea0c2 MastodonAPI: Add test for user search.
5 years ago
Egor Kislitsyn 5b04f07a1e Limit search for unauthenticated users to local users only
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
kaniini 9d2563a3de Merge branch 'generic-fe-settings' into 'develop'
5 years ago
Maksim Pechnikov 64ada7f960 fix tests
5 years ago
Maksim Pechnikov f13d6c7f78 update api to set skip_thread_containment
5 years ago
rinpatch dc91bcc0af Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
lambda 314758c25b Merge branch 'align-mastodon-conversations' into 'develop'
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch 2fe3a20638 Make error message about author's inability to vote more sensible
5 years ago
rinpatch c47da0e65d Add tests for poll view
5 years ago
kaniini 5402d04e3c Merge branch 'feature/notification-control-part-2' into 'develop'
5 years ago
rinpatch cfa588e357 Fix Credo issues
5 years ago
rinpatch 65db5e9f52 Resolve merge conflicts
5 years ago
rinpatch 300d94c628 Add poll votes
5 years ago
Haelwenn (lanodan) Monnier 5d3ece2861
Remove now useless flavours switching
5 years ago
lain 7861974ab2 MastodonAPI: Add extension to set and get pleroma_settings_store.
5 years ago
lain aaad85c4d9 AccountView: settings -> settings_store
5 years ago
lain eb2963bc43 User: Add settings store to Info, AccountView
5 years ago
lain 97fb50d9fa Mastodon Conversation API: Don't return own account in 'accounts'.
5 years ago
Sergey Suprunenko 1690be991e Replace missing non-nullable Card attributes with empty strings
5 years ago
Sachin Joshi 1452a96ad6 ability to set and reset avatar, profile banner and backgroud in Mastodon API
5 years ago
William Pitcock 45e4642a58 tests: chase remote/local removal
5 years ago
William Pitcock 1542cccbbc tests: chase notification setting changes
5 years ago
rinpatch cdac5efd10 Merge branch 'bugfix/account_view_source.note' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier 0e2c215a00
MastoAPI AccountView: fill source.note with plaintext version of note
5 years ago
rinpatch 63b0b7190c MastoAPI: Add GET /api/v1/polls/:id
5 years ago
rinpatch 0407ffe75f Change validation error status codes to be more appropriate
5 years ago
rinpatch 3f96b3e4b8 Enforce poll limits and add error handling for MastodonAPI's post endpoint
5 years ago
rinpatch 76a7429bef Add poll limits to /api/v1/instance and initial state
5 years ago
Sadposter dc916ba15f
Format mascot tests
5 years ago
Sadposter e81f0fc6d4
Add mascot get/set tests
5 years ago
rinpatch 5ece901af3 Resolve merge conflicts and remove IO.inspects
5 years ago
rinpatch fd920c8973 Mastodon API: Add support for posting polls
5 years ago
Alexander Strizhakov 7ed682213f Fix/902 random compile failing
5 years ago
Sergey Suprunenko e2b3a27204 Add Reports to Admin API
5 years ago
Aaron Tinio 70c81b95d0 Pipe requests to public endpoints through EnsurePublicOrAuthenticatedPlug
5 years ago
Alexander Strizhakov a2be420f94 differences_in_mastoapi_responses.md: fullname & bio are optionnal
5 years ago
Sachin Joshi 7701a4c841 Make irreversible field default to false in filters
5 years ago
rinpatch 3a7c14645e - Actually use preloaded bookmarks in views
5 years ago
lambda 238dd72fad Merge branch 'conversations_three' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier b5ad1715b2
MastoAPI: profile update with emoji_map
5 years ago
lain 45f790becc Merge remote-tracking branch 'origin/develop' into conversations_three
5 years ago
rinpatch 0fd176b990 Merge branch 'fix/add-default-scope-mastoapi' into 'develop'
5 years ago
rinpatch ce3789e39a Add default_scope to /api/v1/update_credentials
5 years ago
rinpatch c3e9fcf098 Fix bookmarks depending on embeded object and move checking if the
5 years ago
lambda 4de5fef1f8 Merge branch 'feature/807-bookmark-endpoint-extension' into 'develop'
5 years ago
rinpatch dfc8425659 Move settings to Source subentity
5 years ago
Alex S 85953c0836 fixes for tests
5 years ago
rinpatch 4baea6e6d9 Fix leaking private configuration parameters in Mastodon and Twitter APIs, and add new configuration parameters to Mastodon API
5 years ago
Sergey Suprunenko 9dd36e5bcb Extend Mastodon API with public endpoint for getting Favorites timeline of any user (#789)
5 years ago
rinpatch f60d072bbb Add `pleroma.in_reply_to_account_acct` to MastoAPI status entity
5 years ago