Commit Graph

819 Commits (d379b4876927701f0fa9e4886f9fd552fe71d9c9)

Author SHA1 Message Date
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
Haelwenn (lanodan) Monnier b5ad1715b2
MastoAPI: profile update with emoji_map
5 years ago
Haelwenn (lanodan) Monnier d70af32127
Pleroma.User: remove emojify on parse_bio
5 years ago
feld acb04306b6 Standardize construction of websocket URL
5 years ago
lain a0c755cc4a MastodonApi: Bump api level.
5 years ago
rinpatch 38b79461df Fix embeded relationships in Mastodon API
5 years ago
lain 45f790becc Merge remote-tracking branch 'origin/develop' into conversations_three
5 years ago
Alex S f11e7037c2 test fixes
5 years ago
Alex S bdfa3a6fa8 Merging with develop
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 a825056d4d test fixes
5 years ago
Alex S 85953c0836 fixes for tests
5 years ago
Alex S 3c2ae80008 unused
5 years ago
Alex S 1258128f4f favourites add bookmark display
5 years ago
Alex S 73d01857e3 bookmarks in separate table
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
kaniini 10c40e13d2 Merge branch 'mastoapi/add-in-reply-to-screen-name' into 'develop'
5 years ago
rinpatch f60d072bbb Add `pleroma.in_reply_to_account_acct` to MastoAPI status entity
5 years ago
rinpatch d21d921def Replace Object.normalize(activity.data[object] with Object.normalize(acitivty) to benefit from preloading
5 years ago
Egor b9cdf6d3b9 Use `User.get_cached*` everywhere
5 years ago
kaniini 7fcbda702e Merge branch 'rework-emoji-management' into 'develop'
5 years ago
Roman Chvanikov 4908e0eeee Fix Credo warning
6 years ago
Roman Chvanikov eeb093631c Fix Credo warning
6 years ago
Roman Chvanikov e56afefef9 Refactor conversation function in MastodonAPIController to use a View
6 years ago
Roman Chvanikov 2662bea4e0 Add accounts and last_status to conversation read response
6 years ago
eugenijm 375fd21055 Set correct values in the MastoAPI reblog status view
6 years ago
Ekaterina Vaartis 52ed287e87 Fix incorrect multiple emoji tag handling introduced in initial impl
6 years ago
eugenijm fa48532387 Handle `reblogs` on the first follow request in MastoAPI
6 years ago
rinpatch 6069d0fd36 Fix object search depending on embeded object
6 years ago
rinpatch ad681877df Make credo happy
6 years ago
rinpatch e641651e2b Fix unbookmarking
6 years ago
rinpatch b09ae02c04 Added some more normalization calls all in mastodon api controller
6 years ago
rinpatch 627e5a0a49 Merge branch 'develop' into feature/database-compaction
6 years ago
lain 76999c73a7 Conversation: Add accounts to output.
6 years ago
lain 0da985182f Conversation: Return full status object, id is a string.
6 years ago
lambda 56956de6fa Merge branch 'fix/status-reblogged' into 'develop'
6 years ago
eugenijm 27d78dc526 Use User.get_cached_by*
6 years ago
eugenijm 507e7821e3 Handle follow/unfollow directed to themselves
6 years ago
eugenijm 679a8ef629 Assign reblogged in the Mastodon reblog status view
6 years ago
lambda 0a09692c7d Merge branch 'features/mastoapi/2.6.0-min_id-pagination' into 'develop'
6 years ago
Alexander Strizhakov 711ade961e adding destroy multiple for mastofe
6 years ago
Alexander Strizhakov e03d24af96 in_reply_to_id - null
6 years ago
lain c352a0aba6 Conversations: Make tests run.
6 years ago
Sadposter be8350baa2
Merge branch 'develop' into feature/user-status-subscriptions
6 years ago
kaniini 97395e013e Merge branch 'notification-pleroma-settings' into 'develop'
6 years ago
Sadposter 589629cf3e
Used cached user resources in subscriptions
6 years ago
lambda 23067908de Merge branch 'feature/770-add-emoji-tags' into 'develop'
6 years ago
eugenijm 2056efa714 Add scheduler for sending scheduled activities to the queue
6 years ago
eugenijm fc92a0fd8d Added limits and media attachments for scheduled activities.
6 years ago
eugenijm b3870df51f Handle `scheduled_at` on status creation.
6 years ago
eugenijm 7bf622ce73 Add scheduled activities
6 years ago
Sadposter c05fe4da0a
Document subscription endpoints, fix typos
6 years ago
Alex S 7410aee886 Merge develop to 770-add-emoji-tags
6 years ago
Sergey Suprunenko 325a268017 Redirect to the referer url after mastofe authorization
6 years ago
Sadposter 9ca91cbb87 Change relationship direction of subscriptions
6 years ago
rinpatch f0f30019e1 Refactor html caching functions to have a key instead of a module, use more correct terminology and fix summaries in mastoapi
6 years ago
Haelwenn (lanodan) Monnier af0065a71f
mastodon_api_controller.ex: Add pleroma-tan to initial_state
6 years ago
Alex S fa8483cb80 Merging develop into feature/770-add-emoji-tags
6 years ago
lambda b95cf3d490 Merge branch 'get_by_id' into 'develop'
6 years ago
Alex S 9e0567ec52 Merge develop into feature/770-add-emoji-tags
6 years ago
lambda 091baf9316 Merge branch 'features/mastoapi/2.6.0-force-login-option' into 'develop'
6 years ago
Egor Kislitsyn 88d3cb44c3 replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`
6 years ago
Egor Kislitsyn 1b3d921921 change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
Egor Kislitsyn 4212527928 change `Repo.get(Activity, id)` => `Activity.get_by_id(id)`
6 years ago
Ivan Tashkinov 6910fb371b Fixed local MastoFE authentication / `force_login` option.
6 years ago
Alex S 3601f03147 Adding tag to emoji ets table
6 years ago
Haelwenn (lanodan) Monnier c8abef373b
mastodon_api_controller.ex: fallback to first for min_id
6 years ago
Haelwenn (lanodan) Monnier 6b407872b4
mastodon_api_controller.ex: Use min_id in link header instead of since_id
6 years ago
Haelwenn (lanodan) Monnier 6f15224053
activity_pub.ex: Move limit/max_id restrictions to Pagination helpers
6 years ago
eugenijm cd90695a34 Add PUT /api/pleroma/notification_settings endpoint
6 years ago
eugenijm a4ab60ac54 Add vapid_key to the `POST /api/v1/apps` response
6 years ago
eugenijm 691d1208b5 Add GET /api/v1/apps/verify_credentials
6 years ago
lambda c6ab5ebe7c Merge branch 'features/mastoapi/2.7.2-instance-attributes' into 'develop'
6 years ago
Ivan Tashkinov eef1042b16 Mastodon 2.7.2 instance attributes (registrations, languages).
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
rinpatch a7f58b3c13 Serve non-public activities in /api/v1/favourites
6 years ago
William Pitcock 3cc2554fa3 mastodon api: add conversation_id extension (ref #674)
6 years ago
Zachary Dunn a2e03d4f3c Initial attempt at updating return type
6 years ago
eugenijm 1588688a11 Added support for exclude_types, limit, and min_id in Mastodon
6 years ago
Karen Konou da53c079db Refactor to store user ap_id, add tests
6 years ago
Karen Konou 15b21d1983 refactor filtering mechanism
6 years ago
Karen Konou c8f31e0bc2 Implement mastodon's reblog hiding feature
6 years ago
Haelwenn 41fc67aa49 Merge branch 'mastoapi/mime_type' into 'develop'
6 years ago
rinpatch d7a34b604b Extend MastoAPI to provide attachment mimetypes
6 years ago
eugenijm 100413bf2c Add `is_seen` to MastoAPI notifications, extract rendering logic into separate NotificationView, add tests
6 years ago
kaniini 59333f2d56 Merge branch 'admin-api-account-view-namespace' into 'develop'
6 years ago
kaniini 86871c8a04 Merge branch 'feature/add-local-to-users-admin-api' into 'develop'
6 years ago
Maxim Filippov f3964f4024 Ensure empty array is returned for tags
6 years ago
Maxim Filippov 257d8e78e5 Add tags
6 years ago
kaniini 4e72762322 Merge branch 'mastofe-content-types' into 'develop'
6 years ago
eugenijm e416c344dd Unify unfollow, accept and reject follow requests using CommonAPI
6 years ago
Maxim Filippov 490d9cf7b1 Add "local" to users admin API
6 years ago
Haelwenn (lanodan) Monnier cc0f2f8ba3
MastodonAPI.Admin.AccountView → AdminAPI.AccountView
6 years ago
Haelwenn (lanodan) Monnier fb82f6fc7c
[Credo] Remove parentesis on argument-less functions
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
Maxim Filippov 25eb6cf1cb Add "roles" to users admin API
6 years ago