aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/mastodon_api
AgeCommit message (Collapse)Author
2021-08-28Move GET /api/v1/apps to GET /api/v1/pleroma/appsSean King
2021-08-28Require follow and read OAuth scopes for GET /api/v1/appsSean King
2021-08-25GET /api/v1/apps endpointSean King
2021-08-13Streamer: fix crash in MastodonAPI.StatusViewAlex Gleason
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3508
2021-08-13Merge branch 'streamer-crash-fix' into 'develop'Haelwenn
Streamer crash fix See merge request pleroma/pleroma!3508
2021-08-13Streamer: fix crash in MastodonAPI.StatusViewAlex Gleason
2021-08-09Merge branch 'poll-notification' into 'develop'Haelwenn
MastodonAPI: Support poll notification See merge request pleroma/pleroma!3484
2021-08-06Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofeSean King
2021-08-06Improve readabilityEgor Kislitsyn
2021-08-06Add key- and valuePlaceholders for quarantined_instances and mrf_simpleIlja
* I also added for keywordpolicy as well now. It was done in the admin-fe, but is better to be done here * I also added comments to explain why we did the _info keys (backwards compatibility)
2021-08-06quarantine instances infoIlja
Added a new field in the nodeinfo called quarantined_instances_info This holds an object like `"quarantined_instances_info":{"quarantined_instances":{"quar.inst":{"reason":"whatever reason"}}}}`
2021-08-06Return maps in node_infoIlja
It's easiest (and imo most proper) to use tuples {"instance, "reason"} in BE, but for FE maps like %{"instance": "instance", "reason", "reason"} are better. I changed it so that node_info returns maps now for simple_policy and quarantined instances.
2021-07-18Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixesAlex Gleason
2021-07-17MastodonAPI: Support poll notificationAlex Gleason
2021-07-10Merge develop branch upstreamSean King
2021-07-02fix the fucking list timelines on mastofe/soapbox-femarcin mikołajczak
2021-06-08Refactor skipped plugs into Pleroma.Web functionsAlex Gleason
Speeds up recompilation by reducing compile cycles
2021-06-08Fix order of Pleroma.Web.Utils.Params aliasesAlex Gleason
2021-06-08Pleroma.Web.Params --> Pleroma.Web.Utils.ParamsAlex Gleason
2021-06-08Pleroma.Web.ControllerHelper.truthy_param?/1 --> ↵Alex Gleason
Pleroma.Web.Params.truthy_param?/1 Breaks cycle in lib/pleroma/web/api_spec/operations/status_operation.ex
2021-06-04Fix more build errorsSean King
2021-06-04Fix merge conflicts with upstreamSean King
2021-06-01Add "chat" back as a feature for backwards compat.Mark Felder
Legacy PleromaFE uses this to identify if ShoutBox is available.
2021-06-01Move shout configuration from :instance, update docs and changelogMark Felder
2021-06-01Rename the non-federating Chat feature to ShoutMark Felder
2021-05-31Merge remote-tracking branch 'pleroma/develop' into cycles-base-urlAlex Gleason
2021-05-31Deprecate Pleroma.Web.base_url/0Alex Gleason
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-05-30Merge commit '07fed0fda2473fc4e1e3b01e863217391fd2902f'; commit ↵Alex Gleason
'e3173a279dad89dfce6eae89368ad3ba180c0490'; commit '21787546c01069d1d1d8261f0bc37d13a73122a9'; commit 'fda34591cefad94277385311c6391d1ca2adb36c'; commit '0ada3fe823a3c2e6c5835431bdacfbdb8b3d02a7'; commit '32d263cb905dd7fffd43a4955295af0b2b378537'; commit 'c9e4200ed2167772294fceb4f282979b5ea04981'; commit '3ff9c5e2a67ab83c2abdb14cd246dea059079e75'; commit 'fa543a936124abee524f9a103c17d2601176dcd4'; commit 'c23b81e399d5be6fc30f4acb1d757d5eb291d8e1' into cycles-phase-1
2021-05-29Merge branch 'cycles-views' into 'develop'feld
Recompilation speedup: Create real Views for all Controllers See merge request pleroma/pleroma!3425
2021-05-29Merge remote-tracking branch 'pleroma/develop' into cycles-htmlAlex Gleason
2021-05-29Break out activity-specific HTML functions into Pleroma.Activity.HTMLAlex Gleason
Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
2021-05-29Merge remote-tracking branch 'pleroma/develop' into cycles-viewsAlex Gleason
2021-05-29Create real Views for all ControllersAlex Gleason
This makes views depend on each other at runtime instead of compile-time
2021-05-28Merge branch 'alias-router-helpers' into 'develop'feld
Switch to aliasing `Router.Helpers` instead of importing See merge request pleroma/pleroma!3409
2021-05-20Expose user email address to user/owner; not publicly.Mark Felder
2021-05-19Merge remote-tracking branch 'pleroma/develop' into alias-router-helpersAlex Gleason
2021-05-18Switch to aliasing `Router.Helpers` instead of importingAlex Gleason
2021-05-12Merge remote-tracking branch 'upstream/develop' into attachment-metaAlex Gleason
2021-05-12Don't render media `meta` if nilAlex Gleason
2021-05-12Add SetMeta filter to store uploaded image sizesAlex Gleason
2021-04-16Merge branch 'feature/521-pinned-post-federation' into 'develop'rinpatch
Pinned posts federation Closes #521 See merge request pleroma/pleroma!3312
2021-04-15Remove no longer necessary unit tests for MastoFESean King
2021-04-15Remove MastoFE-related backend code and frontend piecesSean King
2021-04-09Use URI.merge to prevent concatenating two canonical URLs when a custom ↵Mark Felder
instance thumbnail was uploaded via AdminFE
2021-03-25refetch user on incoming add/remove activityAlexander Strizhakov
if featured_address is nil
2021-03-25Let pins federateAlexander Strizhakov
- save object ids on pin, instead of activity ids - pins federation - removed pinned_activities field from the users table - activityPub endpoint for user pins - pulling remote users pins
2021-03-21Merge branch 'richmedia-workaround' into 'develop'rinpatch
Workaround for RichMedia preview image breakage edge case See merge request pleroma/pleroma!3363
2021-03-16Merge branch 'update_open_api_spex' into 'develop'Haelwenn
Update OpenApiSpex dependency See merge request pleroma/pleroma!3362
2021-03-13Prefer naming this function build_image_url/2Mark Felder
2021-03-11Leverage function pattern matching insteadMark Felder