aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/mastodon_api
AgeCommit message (Collapse)Author
2019-02-07OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security ↵Ivan Tashkinov
breach fix. (`POST /api/v1/apps` could create "Mastodon-Local" app wth any redirect_uris, and if that happened before /web/login is accessed for the first time then Pleroma used this externally created record with arbitrary redirect_uris and client_secret known by creator).
2019-02-06hide_followings was renamed to hide_followers in the FE, but never synced up ↵Mark Felder
in the BE This was a dirty regex replace which worked on my server
2019-02-06mastodon api: rich media: don't clobber %URI struct with a stringWilliam Pitcock
2019-02-05Merge branch 'feature/split-hide-network-v2' into 'develop'kaniini
Split hide_network into hide_followers & hide_followings (fixed) See merge request pleroma/pleroma!765
2019-02-05mastodon api: fix rendering of cards without image URLs (closes #597)William Pitcock
2019-02-04Merge branch 'fix/rich-media-relative-path' into 'develop'rinpatch
Fix rich media relative path Closes #588 See merge request pleroma/pleroma!759
2019-02-03Split hide_network into hide_followers & hide_followings (fixed)Maxim Filippov
2019-02-02Check if rich media uri is relativerinpatch
2019-02-02Use with instead of if in the cardrinpatch
2019-02-02merge only if page_url is an absolute pathrinpatch
2019-02-02Fix rich media relative pathrinpatch
2019-02-01Revert "Merge branch 'feature/split-hide-network' into 'develop'"kaniini
This reverts merge request !733
2019-02-01Use String.replace_leading instead of String.replace for getting websocket ↵eugenijm
streaming api url. Extract the login responsible for obtaining websocket URL into the corresponding Endpoint function.
2019-02-01MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a listHaelwenn (lanodan) Monnier
2019-02-01Merge branch 'feature/split-hide-network' into 'develop'kaniini
Split hide_network into hide_followers & hide_followings See merge request pleroma/pleroma!733
2019-01-31Merge branch 'features/glitch-soc-frontend' into 'develop'Haelwenn
Features/glitch soc frontend See merge request pleroma/pleroma!192
2019-01-30Use multiple hackney poolshref
* federation (ap, salmon) * media (rich media, media proxy) * upload (uploader proxy) Each "part" will stop fighting others ones -- a huge federation outbound could before make the media proxy fail to checkout a connection in time. splitted media and uploaded media for the good reason than an upload pool will have all connections to the same host (the uploader upstream). it also has a longer default retention period for connections.
2019-01-29Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'Haelwenn
Rich Media support, part 2. See merge request pleroma/pleroma!719
2019-01-28Split hide_network into hide_followers & hide_followingsMaxim Filippov
2019-01-28Merge branch 'safe-render-activities' into 'develop'Haelwenn
remove unnecessary filter (re !723) See merge request pleroma/pleroma!729
2019-01-28re f83bae7c: remove unnecessary filterhref
2019-01-28mastodon api: card: force OGP images through mediaproxyWilliam Pitcock
2019-01-28rich media: add helpers module, use instead of MastodonAPI moduleWilliam Pitcock
2019-01-28mastodon api: formattingWilliam Pitcock
2019-01-28mastodon api: embed card in status objectWilliam Pitcock
2019-01-28mastodon api: factor out status card fetching, move status card rendering to ↵William Pitcock
statusview, add opengraph extended data
2019-01-28[MastoAPI][GlitchAPI] Add bookmarksHaelwenn (lanodan) Monnier
2019-01-27Merge branch 'safe-render-activities' into 'develop'lambda
Views: wrap activity rendering in a rescue See merge request pleroma/pleroma!723
2019-01-27Views: wrap activity rendering in a rescuehref
this avoids complete timeline breakage when an activity fucks up rendering.
2019-01-27Merge branch 'features/mastoapi-multi-hashtag' into 'develop'kaniini
MastodonAPI multi-hashtag See merge request pleroma/pleroma!652
2019-01-27Web.MastodonAPI.AccountView: Add is_moderator and is_adminHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/557
2019-01-26Web.MastodonAPI.MastodonAPIController: tag+any bookmark params in a array ↵Haelwenn (lanodan) Monnier
and flatten it
2019-01-26mastodon api: use OGP uri instead of page_url for deducing domain name, fix testWilliam Pitcock
2019-01-26mastodon api: use HTML.extract_first_external_url()William Pitcock
2019-01-26mastodon api: provider_name setting is required too on the cardWilliam Pitcock
2019-01-26Web.MastodonAPI.MastodonAPIController: generic get_status_card/1 function ↵Haelwenn (lanodan) Monnier
for MastoAPI 2.6.x Mastodon API 2.6.x added a card key to the Status object so the Card can be shown in the timeline without an extra request at each status.
2019-01-26Web.MastodonAPI.MastodonAPIController: Add Rich-Media supportHaelwenn (lanodan) Monnier
2019-01-26Fix the logic in multi-hashtag TLsHaelwenn (lanodan) Monnier
2019-01-26[WIP,MastoAPI] Multi-tag timelinesHaelwenn (lanodan) Monnier
2019-01-23Merge branch 'develop' into rename/pleroma_activity_consistencylain
2019-01-21Merge branch 'feature/dm-sanity' into 'develop'lambda
DM sanitization See merge request pleroma/pleroma!458
2019-01-21Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1Haelwenn (lanodan) Monnier
2019-01-21Activity: create_activity_by_object_id_query/1 → create_by_object_ap_id/1 ↵Haelwenn (lanodan) Monnier
when is_list
2019-01-20Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'lambda
I1t/pleroma 477 user search improvements See merge request pleroma/pleroma!685
2019-01-20mastodon api: get_visibility(): DMs never have a cc list.William Pitcock
2019-01-17Make attachment links configurableMark Felder
Thanks @href!
2019-01-16MastoAPI: Don't break on missing users.lain
2019-01-14[#477] User search improvements: tsquery search with field weights, friends ↵Ivan Tashkinov
& followers boosting.
2019-01-12Honour parameters on MastoAPI /favouritesSadposter
2019-01-12Add link headers to MastoAPI /favouritesSadposter
As documented at https://docs.joinmastodon.org/api/rest/favourites/