Commit Graph

819 Commits (d379b4876927701f0fa9e4886f9fd552fe71d9c9)

Author SHA1 Message Date
Haelwenn fe7cf44c40 Merge branch 'feature/mastoapi-accounts-external' into 'develop'
5 years ago
rinpatch 26fe6f70c9 Move checking for restrict_local to User.get_cached_by_id_or_nickname
5 years ago
rinpatch b312ca3d52 Mastodon API Poll view: Fix handling of polls without an end date
5 years ago
rinpatch 3e30f6e198 Merge branch 'fix/safe-render-notifications' into 'develop'
5 years ago
rinpatch 558969a0fd Do not crash if one notification failed to render
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
Maksim Pechnikov 6ef0103ca0 added Emoji struct
5 years ago
Maksim Pechnikov d8098d142a added Emoji.Formatter
5 years ago
Maksim Pechnikov d7808b5db4 added code\path fields without html tags in ets
5 years ago
Egor Kislitsyn 4194abbc8f Move mastodon_api/*_controller.ex to mastodon_api/controllers/
5 years ago
Egor Kislitsyn 30510ade0e Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add more tests
5 years ago
Egor Kislitsyn 4d82bc8b0b Extract MastodonAPI.MastodonAPIController.errors/2 to MastodonAPI.FallbackController
5 years ago
kPherox 8ca4f145a5
Extract if block into private function
5 years ago
kPherox b15e226593
Change to delete empty name field
5 years ago
kPherox 705b5adfc4
Fix type of fields_attributes
5 years ago
kPherox 45e21a9df4
Rename fields to fields_attributes
5 years ago
lain cc6c0b4ba6 Merge remote-tracking branch 'origin/develop' into sixohsix/pleroma-post_expiration
5 years ago
lain ef43016b2c Merge branch 'feature/custom-fields' into 'develop'
5 years ago
lain 7ab2dbbdb6 Merge branch 'pleroma-conversations' into 'develop'
5 years ago
rinpatch 1ad71592ad Parallelize template rendering
5 years ago
rinpatch bd5ad0af78 Cache follow state
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 e0ac5c7a66 Add custom profile fields
5 years ago
rinpatch f4e087ee48 Preload thread mutes/bookmarks in get_context
5 years ago
Haelwenn 47c20ab796 Merge branch 'fix/mastoapi-more-object-preloads' into 'develop'
5 years ago
Maksim 04da1166db tests for /web/mastodon_api/mastodon_api.ex
5 years ago
rinpatch c1b6952d2a Mastodon API: Preloading and normalization optimizations
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
Thibaut Girka 9c0da1009a Return profile URL in MastodonAPI's `url` field
5 years ago
Thibaut Girka 089d53a961 Simplify logic to mention.js `url` field
5 years ago
Thibaut Girka a10c840aba Return profile URL when available instead of actor URI for MastodonAPI mention URL
5 years ago
lain 3af6d14da7 Pleroma Conversations API: Add a way to set recipients.
5 years ago
lain eee98aaa73 Pleroma API: Add endpoint to get conversation statuses.
5 years ago
lain 7483679a7b StatusView: Return direct conversation id.
5 years ago
Ariadne Conill b93498eb52 constants: add as_public constant and use it everywhere
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
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
Sadposter a5d6287ba8 Hide blocked users from interactions
5 years ago
Mark Felder 9169f331b6 Merge branch 'develop' into feature/matstodon-statuses-by-name
5 years ago
Eugenij 4bf2bb9cff Fix password reset for non-test env
5 years ago
Alexander Strizhakov 10f82c88b8 mastoapi password reset
5 years ago
Ivan Tashkinov 889dc17abd [#1094] Rate-limited follow & unfollow actions.
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 1ed24bcc76 Status View: Poll ids are strings.
5 years ago
Mark Felder ffb4eb9779 Merge branch 'develop' into feature/matstodon-statuses-by-name
5 years ago
Sergey Suprunenko b74300bc7a Add more tests for MastodonAPIController and CommonAPI
5 years ago
Alexander Strizhakov e7c39b7ac8 Feature/1072 muting notifications
5 years ago
Ivan Tashkinov d72876c57d [#1041] Minor refactoring.
5 years ago
Ivan Tashkinov 369e9bb42f [#1041] Rate-limited status actions (per user and per user+status).
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
Egor Kislitsyn 5104f65b69 Wrap error messages into gettext helpers
5 years ago
Maksim 008c55e4e9 add test for search_controller/ 100% coverage
5 years ago
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
kaniini 1417627d07 Merge branch 'remove-avatar-header' into 'develop'
5 years ago
kaniini 1179a13533 Merge branch 'features/sec-websocket-protocol-header' into 'develop'
5 years ago
rinpatch 72b88c82bc Mastodon API: Fix embedded relationships not being rendered inside of statuses
5 years ago
Haelwenn (lanodan) Monnier e174614eb9
MastoAPI Streaming: Keep compatibility with access_token
5 years ago
KokaKiwi a7885748c7
MastoAPI streaming: Replace access_token with Sec-WebSocket-Protocol
5 years ago
Eugenij 5184b0f41a Use fallback values for search queries
5 years ago
Eugenij 1f76740e10 Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)
5 years ago
Egor Kislitsyn 889a9c3a3f Polish IdempotencyPlug
5 years ago
Egor Kislitsyn 0b8aeac0f3 Remove previous idempotency implementation from `post_status`
5 years ago
Roman Chvanikov a7a54068f9 Fix Controller.render/4 deprecation
5 years ago
Sachin Joshi a0c65bbd6c Merge branch 'develop' into 'remove-avatar-header'
5 years ago
rinpatch df2dab69a7 Merge branch 'begone-the-dot-hack' into 'develop'
5 years ago
rinpatch c7acca2abb Mastodon API: Sanitize display names
5 years ago
rinpatch dce27de733 Mastodon API: Remove the dot hack
5 years ago
Maksim a04bf131e0 [#570] add user:notification stream
5 years ago
lain 135c196769 Merge branch 'bugfix/980-polls-double-vote' into 'develop'
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 966543379d MastodonAPI Controller: Band-Aid double vote problem.
5 years ago
Egor Kislitsyn ad04d12de6 Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
Egor Kislitsyn bc8f059367 Add rate limiting for search endpoints
5 years ago
Egor Kislitsyn 93397fce3d Contain search for unauthenticated users
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 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 1fd8e19d76 Remove a TODO comment as the tests for poll view were written
5 years ago
rinpatch e3c460353d Refresh the object in CommonAPI.vote instead of MastoAPI controller
5 years ago
rinpatch 6bc9e5c020 Mastodon API: Refresh the object before rendering it after voting
5 years ago
rinpatch 444406167b Mastodon API: actually check for poll votes
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
Haelwenn (lanodan) Monnier aa9f52edd2
mastodon_api_controller.ex: Remove vanilla from supported_flavours
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
Mark Felder e7edfd9fec Permit fetching statuses from API with nickname or id
5 years ago
Mark Felder 672fddb721 Default search limit should be 40
5 years ago
Sachin Joshi 1452a96ad6 ability to set and reset avatar, profile banner and backgroud in Mastodon API
5 years ago
William Pitcock 9bec891eb4 kill @httpoison
5 years ago
rinpatch e6b175ed6c Fix credo issues
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 f28747858b Actual vote count in poll view
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
kaniini d4847b17ca Merge branch 'refactor/add-virtual-thread-muted-field' into 'develop'
5 years ago
Aaron Tinio eb02edcad9 Add virtual :thread_muted? field
5 years ago
Sadposter daeae8e2e7
Move default mascot configuration to `config/`
5 years ago
Sadposter e81f0fc6d4
Add mascot get/set tests
5 years ago
Sadposter 54e9cb5c2d
Add API endpoints for a custom user mascot
5 years ago
rinpatch 1d90f9b969 Remove tags/mentions/rich text from poll options because Mastodon and
5 years ago
rinpatch 5ece901af3 Resolve merge conflicts and remove IO.inspects
5 years ago
lain 412a3d8a0f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into rum-index
5 years ago
lambda 1dcdcd8871 Merge branch 'bugfix/903-mastoapi-relationship-requested' into 'develop'
5 years ago
lambda 46684db84d Update account_view.ex
5 years ago
rinpatch 642a67dd44 Render polls in statuses
5 years ago
Alexander Strizhakov 7ed682213f Fix/902 random compile failing
5 years ago
Haelwenn (lanodan) Monnier 68c75a08e8
MastoAPI account_view.ex: requested is false when following is true
5 years ago
William Pitcock de114ffbb0 activitypub: remove contain_timeline()
5 years ago
lain cbb3451023 CommonAPI: Refactor visibility, forbid public to private replies.
5 years ago
lain f1e67bdc31 Search: Add optional rum indexing / searching.
5 years ago
Mark Felder bbacdf2352 Bump Mastodon API level
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
lain 01c45ddc9e Search: Use RUM index.
5 years ago
Maksim 799e1f48b5 Refactoring functions for dealing with oauth scopes.
5 years ago
rinpatch 4c5125dedc Remove `bookmarks` assoc and add a fake `bookmark` assoc instead
5 years ago
rinpatch 3a7c14645e - Actually use preloaded bookmarks in views
5 years ago
rinpatch 06947c9147 Remove bookmarks assoc
5 years ago
lambda 238dd72fad Merge branch 'conversations_three' into 'develop'
5 years ago
rinpatch d089ff2460 Merge branch 'fix/embeded-relationship-in-follows' into 'develop'
5 years ago