about summary refs log tree commit diff
path: root/app/controllers/api
AgeCommit message (Collapse)Author
2020-02-27port tootsuite#11623 to monsterfork: Add soft delete for statuses for ↵Eugen Rochko
instant deletes through API * Add soft delete for statuses to allow them to appear instant * Allow reporting soft-deleted statuses and show them in the admin UI * Change index for getting an account's statuses
2020-02-27**MAJOR**: port tootsuite#13161 to monsterfork: Fix leak of arbitrary ↵Eugen Rochko
statuses through unfavourite action in REST API
2020-02-21make peers api take graylist mode into considerationmultiple creatures
2020-02-21port tootsuite#12748 to monsterfork: Fix base64-encoded file uploads not ↵Eugen Rochko
being possible Fix #3804, Fix #5776
2020-02-21port tootsuite#11638 to monsterfork: Fix remote and staff-removed statuses ↵Eugen Rochko
leaving media behind for a day The reason for unattaching media instead of removing it is to support delete & redraft functionality, but remote or staff-removed statuses will never be redrafted, so the media should be deleted immediately
2020-02-21port tootsuite#11292 to monsterfork: Add whitelist modeEugen Rochko
2020-02-21port tootsuite#11375: Change unconfirmed user login behaviourEugen Rochko
Allow access to account settings, 2FA, authorized applications, and account deletions to unconfirmed and pending users, as well as users who had their accounts disabled. Suspended users cannot update their e-mail or password or delete their account. Display account status on account settings page, for example, when an account is frozen, limited, unconfirmed or pending review. After sign up, login users straight away and show a simple page that tells them the status of their account with links to account settings and logout, to reduce onboarding friction and allow users to correct wrongly typed e-mail addresses. Move the final sign-up step of SSO integrations to be the same as above to reduce code duplication.
2020-02-21port tootsuite#11702 to monsterfork: Fix uncaught parameter missing ↵Eugen Rochko
exceptions and missing error templates
2020-02-20Fix ActivityPub and REST API queries setting cookies and preventing caching ↵ThibG
(#11539) Regression from #8657
2020-02-20Fix `GET /api/v1/instance` REST APIs being unavailable in secure mode (#12089)Eugen Rochko
2020-02-20Fix proofs API being inaccessible in secure mode (#12495)Eugen Rochko
2020-02-20Fix generic HTTP 500 error on duplicate records (#12563)Eugen Rochko
Fix #12551 Fix #12547
2020-02-20port tootsuite#12716 to monsterfork: Fix error when fetching ↵Eugen Rochko
followers/following from REST API when user has network hidden Fix #12510
2020-02-20port tootsuite/#13042 to monsterfork: Fix malformed HTML causing uncaught errorEugen Rochko
Fix OEmbed preview API leaking existence of private statuses (see #12930)
2020-02-20port tootsuite/#12930 to monsterfork: Fix OEmbed leaking information about ↵Eugen Rochko
existence of non-public statuses
2020-02-13check user's sensitive card filter setting in the status controllermultiple creatures
2020-01-20Original upstream mergeThibG
2020-01-17Fix typoHolly "Frinkeldoodle" Lotor
2020-01-17Port render_with_cache, CacheConcern from upstreamHolly "Frinkeldoodle" Lotor
2020-01-15port commit `7e2bff995` from upstream to fix broken attachment downloadingmultiple creatures
2020-01-15port instances controller from upstreammultiple creatures
2020-01-13add new privacy option to auto-defederate after a given timespan + add ↵multiple creatures
options to defederate and/or delete past posts + add `defed_in`/`parent:defed_in`/`thread:defed_in` bangtags + ui indicator for posts marked for auto-defederation
2020-01-12allow sharekeys to be used with the api status controllermultiple creatures
2020-01-11move `monsterpit_api` helper to the application controllermultiple creatures
2020-01-11use basic monsterfork api for anonymous clientsmultiple creatures
2020-01-11normalize app name when comparing against monsterfork api env varsmultiple creatures
2020-01-11pass monsterfork api exposure setting to all serializers + add ↵multiple creatures
`MONSTERFORK_API_FORCE_*` env vars to set api compatability modes for clients/apps
2020-01-10add custom filter master toggle, add media gallery mode, & fix various ↵multiple creatures
filter logic + caching bugs
2020-01-10add ability to toggle individual filters without deleting themmultiple creatures
2019-12-21add virtual scopes for `#``self.boosts` (your boosts) & ↵multiple creatures
`#``self.home.boosts` (boosts on your home timeline)
2019-12-21add option to set mutes that apply only to timelinesmultiple creatures
2019-12-19rework hide boosts / show only packmates options to work with timeline streamingmultiple creatures
2019-12-19add preference options to a: hide boosts globally, & b: show only packmates ↵multiple creatures
across all timelines - works in all client apps
2019-12-17remove unused `preload_media`multiple creatures
2019-12-05use `update` to change `curated` flagsmultiple creatures
2019-11-19Fix poll API not requiring authentication on non-public polls (#10960)Eugen Rochko
* Fix poll API not requiring authentication on non-public polls That API does not reveal the content of the status, i.e. the question itself, nor who the author is, nor which status it belongs to, but it does reveal the poll options and how many answers they got Fix #10959 * Add test
2019-11-19Fix web push notifications for polls (#10864)ThibG
Fixes #10861
2019-11-19Add `account_id` param to `GET /api/v1/notifications` (#10796)Paul Woolcock
* Add `from_account` to notifications API this adds the ability to filter notifications by the account they originated from * passing a non-existent user should cause none to be returned * Fix codeclimate warnings * fix more codeclimate warnings * make requested changes: * use account id instead of user@domain * name the param `account_id` instead of `from_account` * Don't use `return` in a lambda
2019-11-18Remove unused and incompatable filter settings. These will be re-added in ↵multiple creatures
time as they're rewritten to use database-level filtering.
2019-11-18Remove `FilterHelper` include from timeline APIs.multiple creatures
2019-11-17Do away with the kludgy solution of applying users' filters from API ↵multiple creatures
controllers; we will do this in the `Status` model instead, and at the database level.
2019-10-27make data miners' lives harder by also requiring authentication on account ↵multiple creatures
api endpoints
2019-10-14exclude suspended (sub)domains from peers listmultiple creatures
2019-10-14add `/api/v1/werewolf` endpointmultiple creatures
2019-10-09custom filters can now also match posts with missing media descriptionsmultiple creatures
2019-10-09custom filters can now match media descriptionsmultiple creatures
2019-10-05apply custom filters to world and tag timelines the slow way until the ↵multiple creatures
custom filter system gets changed
2019-09-24work around vanilladon apps breaking when a custom filter uses monsterfork ↵multiple creatures
cw extensions - supporting clients can explicitly ask for those by setting `?all=1`
2019-09-17don't pre-cache media in tag bookmarks (we don't need to do this anymore)multiple creatures
2019-09-16stop pre-caching tag timeline mediamultiple creatures