Commit Graph

1047 Commits (b7635bf2b6c5251ffc8f3b3b8e1bc7ee9db83b7e)

Author SHA1 Message Date
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
kaniini c231ed610a Merge branch 'masto-api-followers-following' into 'develop'
6 years ago
eugenijm 984b5f8adf MastoAPI followers/following endpoints
6 years ago
lain 3474066f6d MastoAPI Accounts: Add fetching by nickname.
6 years ago
lain 4811eefa6e MastoAPI StatusView: Add locality indicator.
6 years ago
William Pitcock 19afd9f81f http: rework connection timeouts to match hackney docs, enforce 1 second max TCP connection timeout
6 years ago
eugenijm 7342b5a45f Preserve parameters in link headers (Mastodon API)
6 years ago
Maksim bc7570c282 [#647] tests for web push
6 years ago
kaniini 10248d86a2 Merge branch 'unify-follow' into 'develop'
6 years ago
KokaKiwi bf43f055dd Set content types settings on mastofe endpoint.
6 years ago
eugenijm 86e4b48a5e Fix DM visibility for blocking users
6 years ago
eugenijm 594694607c Unify Mastodon and Twitter follow implementations using CommonAPI
6 years ago
kaniini 6c6a2dbfdd Merge branch 'feature/add-pagination-to-users-admin-api' into 'develop'
6 years ago
Maxim Filippov 5b08b470f6 Add "local" params to users search
6 years ago
William Pitcock 28b4093233 mastodon websocket: return errors using ok, not stop
6 years ago
William Pitcock 388a3f4ca2 mastodon websocket: bring back infinity timeout
6 years ago
William Pitcock f1d37a5e23 mastodon websocket: use pattern match to get query data, robustly handle errors
6 years ago
William Pitcock bc53dff5b6 mastodon api: websocket: update code for cowboy 2.x
6 years ago
Maxim Filippov 72b7a0797e Use Mastodon API views in Admin API
6 years ago
kaniini cf426a719d Merge branch 'with-mutes' into 'develop'
6 years ago
lain c1ae495878 Add user muted status info to MastodonAPI.
6 years ago
William Pitcock 1536640962 mastodon api: embed relationship card under account card for Pleroma FE convenience
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
lain 62296f5a25 Fix private post card handling.
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
lain 59c27f29c8 Add some nicer urls in status view.
6 years ago
Ivan Tashkinov b574d97c2e [#468] Added support for `push` OAuth scope (Mastodon 2.4+).
6 years ago
Ivan Tashkinov 6fe7acd58e [#468] Merged `upstream/develop`.
6 years ago
Ekaterina Vaartis 5a46d37af9 Update the mute implementation to the current codebase
6 years ago
Ekaterina Vaartis da64ea4a55 Implement mastodon mutes endpoint
6 years ago
Ekaterina Vaartis f41f017bbc Implement muting, add it to the mastodon API
6 years ago
Ivan Tashkinov c0ecbf6669 [#468] Merged `upstream/develop`.
6 years ago
kaniini c23bd05737 Merge branch 'features/flavour-switching' into 'develop'
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
Haelwenn (lanodan) Monnier 4df455f69b
[MastoAPI] Add switching of frontend flavours
6 years ago
rinpatch 96c725328b Remove a limit on attachments in Mastodon API and document the changes in responses from vanilla mastodon
6 years ago
Ivan Tashkinov 2a4a4f3342 [#468] Defined OAuth restrictions for all applicable routes.
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
Ivan Tashkinov 027adbc9e5 [#468] Refactored OAuth scopes parsing / defaults handling.
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
Karen Konou ac72b578da Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou c01ef574c1 Refactor as per Rin's suggestions, add endpoint tests
6 years ago
Karen Konou cc21fc5f53 refactor, status view updating, error handling
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
Haelwenn (lanodan) Monnier 8bcfac93a8
Make credo happy
6 years ago
Karen Konou 98ec578f4d Merge branch 'develop' into feature/thread-muting
6 years ago
Ivan Tashkinov 2c68cf7e9e OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security breach fix.
6 years ago
Karen Konou f4ff4ffba2 Migration and some boilerplate stuff
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
William Pitcock 65a4b9fbea mastodon api: rich media: don't clobber %URI struct with a string
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
William Pitcock 1d94b67e40 mastodon api: fix rendering of cards without image URLs (closes #597)
6 years ago
rinpatch 00835bf678 Merge branch 'fix/rich-media-relative-path' into 'develop'
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
rinpatch 68d461b3a9 Check if rich media uri is relative
6 years ago
rinpatch 833404f0f5 Use with instead of if in the card
6 years ago
rinpatch e4d18f328b merge only if page_url is an absolute path
6 years ago
rinpatch cbadf9d333 Fix rich media relative path
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
eugenijm d747bd9870 Use String.replace_leading instead of String.replace for getting websocket streaming api url.
6 years ago
Haelwenn (lanodan) Monnier 74c6119f28
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
href 4aff4efa8d
Use multiple hackney pools
6 years ago
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Haelwenn de0fb88a9c Merge branch 'safe-render-activities' into 'develop'
6 years ago
href df2f7b39dd
re f83bae7c: remove unnecessary filter
6 years ago
William Pitcock ddc7ae2c1a mastodon api: card: force OGP images through mediaproxy
6 years ago
William Pitcock 8e42251e06 rich media: add helpers module, use instead of MastodonAPI module
6 years ago
William Pitcock 24a103a1fe mastodon api: formatting
6 years ago
William Pitcock 5a37ddc2dc mastodon api: embed card in status object
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
lambda 16ab1437d6 Merge branch 'safe-render-activities' into 'develop'
6 years ago
href f83bae7c22
Views: wrap activity rendering in a rescue
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
Haelwenn (lanodan) Monnier de956b9e04
Web.MastodonAPI.MastodonAPIController: tag+any bookmark params in a array and flatten it
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
William Pitcock 86037e9c39 mastodon api: use HTML.extract_first_external_url()
6 years ago
William Pitcock 78047d57bf mastodon api: provider_name setting is required too on the card
6 years ago
Haelwenn (lanodan) Monnier 39863236eb Web.MastodonAPI.MastodonAPIController: generic get_status_card/1 function for MastoAPI 2.6.x
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier f9cae0d04f
[WIP,MastoAPI] Multi-tag timelines
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lambda 69454c8345 Merge branch 'feature/dm-sanity' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier 2fdbd4d137
Activity: create_activity_by_object_id_query/1 → create_by_object_ap_id/1 when is_list
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
William Pitcock 75dfa1f0b0 mastodon api: get_visibility(): DMs never have a cc list.
6 years ago
Mark Felder 8c368d42a2 Make attachment links configurable
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
6 years ago
Sadposter 9daf162461 Honour parameters on MastoAPI /favourites
6 years ago
Sadposter 144b48da95 Add link headers to MastoAPI /favourites
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
scarlett 36fa5e8802 Check visible_for_user when performing a search using a direct link.
6 years ago
Rin Toshaka 846082e54f Different caches based on the module. Remove scrubber version since it is not relevant anymore
6 years ago
kaniini 90e157ef80 Merge branch 'features/admin-api-user-views' into 'develop'
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
Rin Toshaka 7e09c2bd7d Move scrubber cache-related functions to Pleroma.HTML
6 years ago
Rin Toshaka dec23500d8 Resolve merge conflict
6 years ago
Rin Toshaka 535fddd286 Friendship ended with Postgresql now Cachex is my best friend
6 years ago
Rin Toshaka d9f40b05b3 Added get_stripped_html_for_object. Renamed a few things
6 years ago
Rin Toshaka 19f9889fbe I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD
6 years ago
kaniini dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Ivan Tashkinov 0a41786624 [#467] Refactored valid / invalid user rendering.
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
Ivan Tashkinov 0d1788ce44 [#471] Factored out User.visible_for?/2.
6 years ago
Ivan Tashkinov e6aeb1d4a5 [#471] Prevented rendering of inactive local accounts.
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
William Pitcock 32dfc1d12a mastodon api: status view: remove obsolete peertube hack
6 years ago
Ivan Tashkinov 279096228c [#114] Made MastodonAPI and TwitterAPI user show actions return 404 for auth-inactive users
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
href 77b5154c82
Cowboy handler for Mastodon WebSocket
6 years ago
href 5dcb7aecea
More put_view.
6 years ago
href f672555ad3
Upgrade to Phoenix 1.4
6 years ago
eal 28478a9c4f Merge branch 'fix/masto-put-settings' into 'develop'
6 years ago
eal 4c783e35c0 Mastodon API: Fix PUT /api/web/settings
6 years ago
href acec11626d Merge branch 'fix/issue_272' into 'develop'
6 years ago
Maksim Pechnikov ea72ac549b fix case when tags is invalid
6 years ago
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
href 0b4c61e8d5
Fix warning
6 years ago
href ec0e613eca
Pleroma.Activity.mastodon_notification_type/1
6 years ago
href 331396cbcd
Properly disable Web Push if no VAPID key is set
6 years ago
Egor Kislitsyn 658edb166f
fix and improve web push; add configuration docs
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
Maksim Pechnikov 068353ac0b formatting
6 years ago
Maksim Pechnikov 9442588ae9 fix hashtags in api response
6 years ago
lambda 94d8f1ab30 Merge branch '394_user_tags' into 'develop'
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov 7bcb6a183a [#394] Refactoring.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
kaniini 1d531fd2f3 Merge branch 'fix/mastodon-api-settings' into 'develop'
6 years ago
kaniini abead01ab6 Merge branch 'correct-and-improve-http-options' into 'develop'
6 years ago
rinpatch 2ae1128d9f MastoAPI: Fix put_settings
6 years ago
Egor Kislitsyn 79668c08fc cleanup
6 years ago
Egor Kislitsyn 3d492795b7 clean up
6 years ago
Egor Kislitsyn 4944498133 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn 8b4397c704 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn 04a48286e6 Add web push support
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
Hakaba Hitoyo 96ba95df2e remove follow_redirect options
6 years ago
Hakaba Hitoyo 505d820827 Merge remote-tracking branch 'origin/debug-suggestions-api' into correct-and-improve-http-options
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
lain 3ea4476445 MastodonAPI: Show users their own network.
6 years ago
hakabahitoyo a418547bdf debug /api/v1/suggestions
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
William Pitcock f85949cc69 object: factor out fetching functions into Pleroma.Object.Fetcher module
6 years ago
William Pitcock 3b8e5bcbeb fix most tests
6 years ago
William Pitcock 5d4a71906a mastodon api: use Object.normalize() in a few missing spots
6 years ago
William Pitcock e9b718cea2 mastodon api: status view: use Object.normalize()
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
6 years ago
lain 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
Haelwenn (lanodan) Monnier d388a99143
Web.MastodonAPI.MastodonSocket: Put access_token at function-level
6 years ago
Haelwenn (lanodan) Monnier 5346fabf14
Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
href bc5cf2c192
Improved version string
6 years ago
lain 2cf40237ff MastodonAPI: Add pagination to private messages.
6 years ago
KokaKiwi 1592fa2bea Mastodon API: Fix list streaming
6 years ago
kaniini b451a92d78 Merge branch 'runtime-config' into 'develop'
6 years ago
href e42f2efae4
/api/v1/accounts/relationships Return an empty array if no id in params
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
lain a8f1e30cb8 Formatting.
6 years ago
lain 4f640c43ed Unify Mastodon Login with OAuth login.
6 years ago
href 763fc7b44f
Runtime configured emojis
6 years ago
Haelwenn (lanodan) Monnier 3e50bb667f
Pleroma.Web.MastodonAPI.StatusView: Content isn’t nullable
6 years ago
Mark Felder 0cca7edbe0 Fix hashtag search
6 years ago
William Pitcock 4d8f076125 mastodon api: add support for rendering Page objects
6 years ago
Haelwenn (lanodan) Monnier 755f166406
Pleroma.Web.MastodonAPI.StatusView: Do not fail when URL isn’t a string
6 years ago
William Pitcock 181f3bb56a mastodon api: enforce upload limits for avatars and banners
6 years ago
William Pitcock 5c6ec2d9fc twitter/mastodon api: always use mediaproxy URLs in attachments
6 years ago
William Pitcock 26eb11c172 activitypub: add support for filtering broken threads out of timelines
6 years ago
Haelwenn (lanodan) Monnier b386888a0e
[Pleroma.Web.MastodonAPI.MastodonAPIController]: fallback for try_render/4
6 years ago
Haelwenn (lanodan) Monnier b112112c11
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Wrap around render/4
6 years ago
Haelwenn (lanodan) Monnier b0a940d5a2
[Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments
6 years ago
Haelwenn (lanodan) Monnier 2da0ffeb28
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: Output an error when render(status.json) gives a nil
6 years ago
Haelwenn (lanodan) Monnier 0c10be8731
[Pleroma.Web.MastodonAPI.StatusView]: Remove nils from lists.json
6 years ago
Haelwenn (lanodan) Monnier 3b0e9287a5
[Pleroma.Web.MastodonAPI.StatusView]: Return nil as fallback for missing views
6 years ago
AkiraFukushima e8c698af41 Add an endpoint /api/v1/accounts/:id/lists to get lists to which account belongs
6 years ago
William Pitcock 7b3fff9af8 {mastodon api, twitter api}: make the follow handshake timeout configurable
6 years ago
William Pitcock 7f530f6f80 mastodon api: relationship view: better handle no pre-existing follow activity
6 years ago
William Pitcock e69faf550c user: add wait_and_refresh() for async three-way handshake case
6 years ago
William Pitcock 3e751496e3 mastodon api: account view: fetch follow state and use it to populate `requested` field
6 years ago
Martin Kühl d94ee5cd50 Mastodon API: Support push subscription CRUD
6 years ago
William Pitcock df00a364fb mastodon api: formatting
6 years ago
William Pitcock 958e085acb mastodon api: add support for user-supplied html policy
6 years ago
Haelwenn (lanodan) Monnier 40c51f118f
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.5.0
6 years ago
Haelwenn (lanodan) Monnier f74725df41
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Remove unused variables
6 years ago
Haelwenn (lanodan) Monnier a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
Haelwenn (lanodan) Monnier 43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
6 years ago
William Pitcock 0cac493fdc mastodon api: default attachment type to image if one is not present
6 years ago
Martin Kühl f4fcea5258 Revert "Mastodon API: Fake support for loading filters"
6 years ago
kaniini c2650f0ffb Merge branch 'feature/html-scrub-policy' into 'develop'
6 years ago
shadowfacts 39aed5348a Add visible_in_picker to status emojis
6 years ago
William Pitcock ac486fc59b everywhere: use Pleroma.HTML module instead of HtmlSanitizeEx directly
6 years ago
Hakaba Hitoyo 4e1bb7bccb make limit for /api/v1/suggestions
6 years ago
Martin Kühl c1d07da4e1 Mastodon API: Fake support for loading filters
6 years ago
Martin Kühl 619f67768a Mastodon API: Add unsupported attributes to relationship responses
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
shadowfacts 35515cfa66 Update mastodon_api_controller.ex
6 years ago
shadowfacts 26f8697400 Update mastodon_api_controller.ex
6 years ago
shadowfacts 2b2bd0e047 Render notification IDs as strings, not numbers
6 years ago
Martin Kühl b60d232719 AccountView: `sensitive` is supposed to be a boolean, not a string
6 years ago
kaniini 2e2f458705 Merge branch 'lanodan/code-dup_in_mastoapi_search' into 'develop'
6 years ago
Will Pearson 0c2a0e3551 Specify default scope in verify_credentials
6 years ago
Haelwenn (lanodan) Monnier 8885d16e1b
[Pleroma.Web.MastodonAPI.MastodonAPIController].search(2)?: Remove code duplication
6 years ago
kaniini e838969495 Merge branch 'use-media-proxy-in-suggestions-api' into 'develop'
6 years ago
href ddc6f32b75
Fix Mastodon API when actor's nickname is null
6 years ago
William Pitcock ded9091206 mastodon api: use bounded AP object graph query to enforce containment of private statuses
6 years ago
Hakaba Hitoyo 6cbfb5ab5d use media proxy for suggestions api
6 years ago
Haelwenn (lanodan) Monnier 6973b77e94
[Pleroma.Web.MastodonAPI.FilterView] fix expires_at being a unsafe variable
6 years ago
Haelwenn (lanodan) Monnier 9bddb39ff0
[Pleroma.Web.MastodonAPI.FilterView]: expires_at should be null when N/A
6 years ago
Haelwenn (lanodan) Monnier d571a571fe
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.4.3
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
Haelwenn (lanodan) Monnier a5adb251ab
[Pleroma.Web.MastodonAPI.AccountView]: Add fields support
6 years ago
Haelwenn (lanodan) Monnier d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
Haelwenn (lanodan) Monnier 83efaa3af6
[MastodonAPI] Add streaming of hashtags
6 years ago
hakabahitoyo bf9f68b681 debug
6 years ago
Haelwenn (lanodan) Monnier 5dde6e4a00
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
6 years ago
kaniini f6b06d2ac8 Merge branch 'feature/peertube_2' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 046741c60d
[Pleroma.Web.MastodonAPI.StatusView] Support Peertube Video titles
6 years ago
Haelwenn (lanodan) Monnier 3b8ef24532
Fix attachement rendering
6 years ago
lain a6b021a52b
Render peertube videos in mastodon.
6 years ago
lain c381d0b577
Use activitypub to fetch posts.
6 years ago
ensra 175f0bebbc mastodon api: sanitize the bio HTML
6 years ago
shadowfacts 6698749073 Fix typo in app creation response
6 years ago
William Pitcock a3ef2ebb35 mastodon api controller: client_name, not name
6 years ago
William Pitcock b5a92b1199 mastodon api: add undocumented fields to json response, return app id as string like mastodon itself does
6 years ago
lambda 9908cf8fda Merge branch 'feature/suggestions-api-with-third-party-recommendation-engine' into 'develop'
6 years ago
eal c2d1a5e9c4 MastoAPI AccountView: render profile emoji.
6 years ago
Hakaba Hitoyo cc9c062b55 merge
6 years ago
lambda 6f23fb53d3 Merge branch 'feature/fe-configuration' into 'develop'
6 years ago
Hakaba Hitoyo b12d17d2ce configurable timeout
6 years ago
Hakaba Hitoyo e4dd58307a better configuration
6 years ago
William Pitcock cf219b6add config: make instance description configurable
6 years ago
Hakaba Hitoyo 5b4a21317d correct error message
6 years ago
Hakaba Hitoyo d76f0d87be do nothing if configuration is skipped
6 years ago
Hakaba Hitoyo df3233e7e7 improve getting host name
6 years ago
William Pitcock 99c0252314 mastodon api: support descriptions in media api, add PUT endpoint for updating metadata about a media upload
6 years ago
William Pitcock cd19d37a90 mastodon api: use object name as alt text
6 years ago
hakabahitoyo e7c580828c format
6 years ago
hakabahitoyo 2eeaf01627 id field
6 years ago
hakabahitoyo 127882a5d5 configurable
6 years ago
hakabahitoyo eb0afda3a7 http access to third party user recommendation
6 years ago
hakabahitoyo 3812b627ca better mock /api/v1/suggestions
6 years ago
hakabahitoyo 4a21c1b343 mock /api/v1/suggestions
6 years ago
hakabahitoyo f944f8157a /api/v1/suggestions endpoint
6 years ago
lambda fe4387077a Merge branch 'feature/default-scope' into 'develop'
6 years ago
lambda 4a922305af Merge branch 'feature/article-support' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 7a351cb36f
[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses
6 years ago
William Pitcock 971bb4f2bd activity interpretation: formatting
6 years ago
William Pitcock ea982e7503 mastodon api: add interpreter for Article activity types
6 years ago
William Pitcock 4f6de34f4f mastodon api: use info["default_scope"] if available for post scope
6 years ago
Haelwenn (lanodan) Monnier beb940a57e
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Add rights to initial_state
6 years ago
Haelwenn (lanodan) Monnier 5a4a45b875
[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars
6 years ago
Haelwenn (lanodan) Monnier a05c0ff61d
[Pleroma.Web.MastodonApi.MastodonApiController] Add /api/v2/search
6 years ago
Haelwenn (lanodan) Monnier 359093d73b
Fake 2.4.0 API
6 years ago
Haelwenn (lanodan) Monnier b670d4d683
MastodonAPI: Add streaming to media tabs of federated and local TLs
6 years ago
Haelwenn (lanodan) Monnier 72c2915ecd
Pleroma.Web.MastodonAPI.StatusView: Fix status.json so it renders threads
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
Francis Dinh 1555c66650 Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
lambda 564c73ab24 Merge branch 'feature/list-streaming' into 'develop'
6 years ago
William Pitcock 1452b2823f user: add a workaround for situations where Pleroma may believe a followee is followed
6 years ago
William Pitcock a2c4a5a75b mastodon api: allow setting an account locked or not
6 years ago
William Pitcock 760eb72a38 add a bunch of stuff
6 years ago
William Pitcock 6f89d2d583 stash api controller
6 years ago
William Pitcock 9c88933422 implement tracking of follow requests
6 years ago
lambda 7f79b467b1 Merge branch 'feature/domain-blocks' into 'develop'
6 years ago
Rachel H b4292295d7 Allow posting images without text in mastofe
6 years ago
eal f9719b064c Merge branch 'fix/emoji-picker' into 'develop'
6 years ago
eal 4856962434 MastoAPI: add domain blocking.
6 years ago
lain 4856ba596f Better error handling for MastodonApiController.
6 years ago
Haelwenn (lanodan) Monnier b143694b98
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: set visible_in_picker to true in custom_emojis
6 years ago
eal 8c609ee3f9 MastoAPI user timelines: render statuses for the logged in user.
6 years ago
eal 5d3fdbc082 MastoAPI: Add streaming for lists.
6 years ago
eal 7cb2e2971e MastoAPI: fix dm_timeline getting non-create activities.
6 years ago
eal 35cb8969c4 MastoAPI: Fix link headers with restrictive params.
6 years ago
lain 4b3ec53514 Merge branch 'develop' into csaurus/pleroma-feature/mstdn-direct-api
6 years ago
William Pitcock e80d91c64a introduce User.maybe_direct_follow() and use it where we used to call User.follow()
6 years ago
William Pitcock 502ba33d01 activitypub: fix up accept/reject semantics for following
6 years ago
William Pitcock c0ca9f82b9 mastodon api: properly track if an account is locked or not
6 years ago
lambda f3a71f2986 Merge branch 'feature/lists' into 'develop'
6 years ago
lambda c2dcd767cf Merge branch 'feature/incoming-remote-unfollow' into 'develop'
6 years ago
eal 3dbd9809d4 MastoAPI: add lists.
6 years ago
eal a8369db4f2 MastoAPI: add lists.
6 years ago
Francis Dinh b2c6ae7d82 Hook up unfollow and (un)block to MastoAPI + tests
6 years ago
csaurus 4fd9df100f Merge branch 'develop' into feature/mstdn-direct-api
6 years ago
Thog e55c6f311b
Migrate to comeonin 4 and Cachex 3
6 years ago
lain 434601a5c3 Return private / direct posts on user timelines, too.
6 years ago
Thog 6f39ecc41b
Support Undo like activities (Fix #139)
6 years ago
csaurus 2ce48c1a42 Formatting
6 years ago
csaurus 9aabff4883 Fix tests.
6 years ago
lambda aeff2d6474 Merge branch 'feature/unrepeats' into 'develop'
6 years ago
csaurus c8d418acdd api/v1/timelines/direct implementation
6 years ago
csaurus c60a5405db Detect and try to stream incoming "direct" messages
6 years ago
lambda 6c2903d9a1 Merge branch 'feld-warnings' into 'develop'
6 years ago
eal bfad57c7c9 Get rid of unsafe variables.
6 years ago
lain 96add86b50 Unify wss uri generation.
6 years ago
lain c464355d1a Idempotency: Use special cache, keep for 6 hours.
6 years ago
Mark Felder 31ea9cbcd8 Group def renders together to fix warning
6 years ago
Mark Felder aaacebd906 Fix unused variables, imports, and aliases
6 years ago
lain 90c4bed0af Don't expire idempotency cache for five minutes.
6 years ago
lain fcd3eca167 MastodonAPI: Support idempotency key.
6 years ago
Francis Dinh 9e0dd21ed6 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain ff5e957476 Make search use id index too.
7 years ago
Francis Dinh c5dc7e6e31 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain a61e8ac154 Formatting.
7 years ago
eal 947431e9aa MastoAPI and OAuth: allow login with either email or username.
7 years ago
Francis Dinh 7b4f55238e Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh 687db1bc3a Expose unannounce activity so that it can be tested
7 years ago
Francis Dinh 42279f54cf Return target status in MastoAPI endpoint instead of reblog activity
7 years ago
Francis Dinh b949577472 Add unrepeat functionality
7 years ago
Gian Sass 907df9b8ed Fix issue #124
7 years ago
lain 1dd2c8163f Order masto searches by date.
7 years ago
lambda 9998b4519d Merge branch 'feature/mastodon-api-for-tootstream' into 'develop'
7 years ago
lambda 9a2d3705c6 Merge branch 'fix/persisted-mastofe-settings' into 'develop'
7 years ago
William Pitcock 1857f403be mastodon api: report version as the Mastodon API version supported with the real version in parenthesis
7 years ago
lain 70bcdf32bd Only search in public data for now.
7 years ago
eal 7c47534970 MastoAPI: Persist frontend timelines and settings.
7 years ago
lain 303289d7da MastodonAPI search: return only create activities.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
Morgan Bazalgette 5e4bb4ad92
masto api: run emojis through mediaproxy
7 years ago
William Pitcock 2dcc6037d0 mastodon search api: implement a reasonable hashtags stub
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
Morgan Bazalgette 457e040473
Add char_limit to initial-state of mastofe
7 years ago
lain 37e5014d3e Reduce OP fetching queries.
7 years ago
lain ff7afe46b9 Don't try to fetch OP if none is there.
7 years ago
lain d2099c849d More Jason changes.
7 years ago
lain 09de76ad5a Return "audio" info in mastodon api.
7 years ago
lain fbe9aa3506 Strip html from emoji stuff.
7 years ago
William Pitcock 000b3f1837 mastodon api: fix rendering the mentions JSON
7 years ago
eal 18e1202a3b MastoAPI: Add unimplemented status card endpoint.
7 years ago
eal 2e32012d57 Add next and previous headers to user pages and tag timelines.
7 years ago
lain e1b0ccce77 Mastodon API context fix.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain 8a47974217 Fix specs.
7 years ago
lain 95e6e82138 Correctly display accounts without name.
7 years ago
lain 486e205810 Remove some noise.
7 years ago
lain 5d89997a70 Respect visibility in API.
7 years ago
lain c974f6544f Show users their own posts in timeline.
7 years ago
lain d4b08dd838 MastodonAPI: Post with visibility settings
7 years ago
lain 539340d914 Handle sensitive property.
7 years ago
lain 912ca56e59 Mastodon StatusView: Return correct visibility.
7 years ago
Hakaba Hitoyo e47f60c053 provide instance thumbnail at /api/v1/instance (debug)
7 years ago
Hakaba Hitoyo a4335e391f provide instance thumbnail at /api/v1/instance
7 years ago
eal 80f6ac412a Merge branch 'default-pictures' into 'develop'
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal d8db39564e Move user count to stats agent.
7 years ago
eal 9717166d10 Add a stats agent for storing data from expensive queries.
7 years ago
lambda 35ac549a99 Merge branch 'media-proxy' into 'develop'
7 years ago
Lain Iwakura f1f79c0dca Fix timelines in subway tooter.
7 years ago
Lain Iwakura 47887ac848 MastoAPI: Fix always-sensitive bugs.
7 years ago
href 9093b2cf49
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
eal 5436dbaeaf MastoAPI: don't add attachment links.
7 years ago
href 72f7baa654
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
Lain Iwakura 5637d163e6 MastodonAPI: Add proper user count.
7 years ago
href 5f35fdcf5d
media proxy: good enough wip
7 years ago
Roger Braun d16b613929 MastodonUI login: Show error message on error.
7 years ago
eal fa19de97ba MastoAPI: no more than 4 attachments.
7 years ago
Roger Braun cf0bbf320d MastoAPI: Add max_toot_chars.
7 years ago
Roger Braun 0f099dac67 MastodonAPI: Add sign out.
7 years ago
Roger Braun c336a13d2c MastoAPI: Only return create activties in contexts.
7 years ago
Thog 59770c3f5c
Fix all compilation warnings
7 years ago
eal 9c60cc88df Redirect to Getting Started on login.
7 years ago
Roger Braun a743940463 MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun 5719f69ae3 MastodonAPI: Stream fixes.
7 years ago
Roger Braun 8de890a0d9 Add custom emoji to Mastodon UI initial state.
7 years ago
Roger Braun ced0d64d75 MastoAPI: Make attachment ids strings.
7 years ago
Roger Braun 083cd169d2 MastoAPI: Fix repeat api bug.
7 years ago
Roger Braun 5fc6e9d467 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun d293ceb1b5 Add Mastodon frontend.
7 years ago
lambda 08bc316742 Merge branch 'mastodon-notification-endpoints' into 'develop'
7 years ago
lambda efcf54dc02 Merge branch 'mastoapi-update-credentials' into 'develop'
7 years ago
eal fc7483cb3c MastoAPI: Add update credentials endpoint.
7 years ago
Roger Braun 414c52509b MastoAPI: Websocket streaming for federated timeline.
7 years ago
Roger Braun bd5bdc4c24 MastoAPI: Basic streaming.
7 years ago
Roger Braun a1923d20e8 MastoAPI: Fix reblog emojis.
7 years ago
Roger Braun 1d3d66a841 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 6e9c22c0af MastoAPI: Use string ids everywhere.
7 years ago
eal e6a78c6ed0 MastoAPI: Add notification get, clear and dismiss.
7 years ago
Roger Braun 266d9c008d MastoAPI: Fetch statuses in search.
7 years ago
Roger Braun d2430d5007 Look through whole db for user timelines.
7 years ago
eal c6210183e1 Add mastodon API endpoint for custom emoji.
7 years ago
lambda fa1f11e8e9 Merge branch 'feature/blocks' into 'develop'
7 years ago
Roger Braun c6b9b777da MastoAPI: Add list of blocked users.
7 years ago
Roger Braun 5bf92e50be MastoAPI: Add blocking.
7 years ago
Roger Braun 33beb51da4 MastoAPI: Add blocking to AccountView.
7 years ago
Roger Braun 8a1a7191fd MastoAPI: Fix mentions always being for an anonymous user.
7 years ago
Roger Braun 9b63647aff MastoApi: Add blocking to fetches.
7 years ago
Roger Braun 44295dd49a MastoAPI: Include CW.
7 years ago
Roger Braun 968a546d4a MastoAPI: Return id as string instead of integer.
7 years ago
Roger Braun ce7f9f527c MastoAPI: Always return an url for statuses.
7 years ago
Roger Braun 502cb38cd6 Move user search to User module.
7 years ago
Mark Felder efe12e1a73 Fix /api/v1/accounts/search by splitting account search into its own function
7 years ago
eal 2ffc6da207 Clean style.
7 years ago
eal c56d28f96c Fix return type of /api/v1/follows
7 years ago
eal 11d2287476 Return error message on errors
7 years ago
eal 813d2eaaf0 Add mastodon API endpoint for follow
7 years ago
Roger Braun 64bc38e009 MastoAPI: Add emoji output.
7 years ago
Roger Braun ae38b72e24 MastoAPI: Fix reblog view.
7 years ago
Roger Braun 260f09dd6c MastoAPI: Return reblogs, too.
7 years ago
Roger Braun 6000f61727 MastoAPI: Add repeats to statusview.
7 years ago
Roger Braun 422d0f324f MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun 0872f5f394 Add undocumented default user default settings.
7 years ago
Roger Braun c36229c4aa Add remote user fetching to search.
7 years ago
Roger Braun 73bdfd6c2b Set search config to 'english'.
7 years ago
Roger Braun 9f0a2a714b Add basic search.
7 years ago
Roger Braun d659fcc195 MastoAPI: Fix date in account view.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
7 years ago
Roger Braun ac2893a945 Add instance config options.
7 years ago
Roger Braun 3aaf6608c6 MastoAPI: Set user id on replies.
7 years ago
Roger Braun 3ca853fb61 MastoAPI: Follower-related changes
7 years ago
Roger Braun fc85c9f086 Add tag timelines.
7 years ago
Roger Braun b0363e8055 MastoAPI: Add favourited_by/reblogged_by.
7 years ago
Roger Braun a8701282d4 MastoAPI: fake out 'application' property.
7 years ago
Roger Braun 6258c6b6b3 MastoAPI: Also return text_url in attachments.
7 years ago
Roger Braun 641c24cdd4 Add media upload endpoint.
7 years ago
Roger Braun 3184939055 Ensure non-null bio.
7 years ago
Roger Braun d168ef5a9e MastoAPI: Add accounts getting.
7 years ago
Roger Braun ad5001828e Oh no! More datetime fixes!
7 years ago
Roger Braun 14b4029b1d Reparse time to ensure correct format.
7 years ago
Roger Braun 94be93aad0 Allign datetime format with mastodon.
7 years ago
Roger Braun d2faee01ee Return iso8601 date.
7 years ago
Roger Braun e6286152b9 Fix logic.
7 years ago
Roger Braun 49929321c7 Add relationships to masto api.
7 years ago
Roger Braun 1bc58230ee Remove milliseconds from mastodon api response.
7 years ago
Roger Braun 7331733d30 Use signed integer as attachment id.
7 years ago
Roger Braun b58b35bf56 Use hash of attachment url as id.
7 years ago
Roger Braun 44a650235b MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun f1d9f2f6cd MastoAPI: More link headers.
7 years ago
Roger Braun 0df4a0f26d Add parentheses.
7 years ago
Roger Braun 02f824f9d5 MastoAPI: Add link headers to home timeline
7 years ago
Roger Braun 464c33e9a1 Add follow notifications.
7 years ago
Roger Braun 3bad294058 Add reblogs to notifications.
7 years ago
Roger Braun bcce3e5dd2 Add favorites to notifications.
7 years ago
Roger Braun 61adf676d5 Add basic mastodon notification support.
7 years ago
Roger Braun 7616b202ea Add user timelines to Masto Api.
7 years ago
Roger Braun b8912ff954 Fix masto api context.
7 years ago
Roger Braun 8672d4d12b Add context to mastodonAPI.
7 years ago
Roger Braun fc10875895 Add attachments to mastoapi statuses.
7 years ago
Roger Braun 96473dfac0 Reverse mastodon timeline data.
7 years ago
Roger Braun e8975d06be Add header image to masto api.
7 years ago
Roger Braun d66d69c3b4 Small hack to make notifications return empty for now.
7 years ago
Roger Braun d625d8db7d Add unfav to Mastodon API.
7 years ago
Roger Braun 454dc18570 Add favoriting to Mastodon API.
7 years ago
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI.
7 years ago
Roger Braun 4dc517a0bb Add deletion to masto api.
7 years ago
Roger Braun be04f725e9 Add more Mastodon API methods.
7 years ago
Roger Braun 2b7efff71b Add Mastodon StatusView.
7 years ago
Roger Braun c6bdc5960c Test for Mastodon AccountView
7 years ago
Roger Braun 2652d9e4ed Slight cleanup.
7 years ago
Roger Braun 2a298d70f9 Add very basic oauth and mastodon api support.
7 years ago
rinpatch 4a6855d9ee Provide plaintext representations of content/cw in MastoAPI
8 years ago