summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* set X-Robots-Tag to disable indexing API endpointsHazelnoot2025-06-131-0/+7
|
* add missing "return reply" calls to async fastify routesHazelnoot2025-05-081-19/+19
| | | | Required, according to docs: https://fastify.dev/docs/latest/Reference/Routes/#async-await
* more fixes to Mastodon loggingHazelnoot2025-05-081-1/+2
|
* split exception logging from error logging to simplify and improve mastodon ↵Hazelnoot2025-05-081-3/+7
| | | | errors
* correctly parse response errors for loggingHazelnoot2025-05-081-3/+6
|
* debug-log mastodon error responsesHazelnoot2025-05-081-8/+12
|
* temporary: add recursive error handler to MastodonApiServerService.tsHazelnoot2025-05-081-4/+8
|
* improve compatibility with multipart/form-data mastodon API requestsHazelnoot2025-05-081-112/+20
|
* fix backend lint errorsHazelnoot2025-04-021-2/+2
|
* rename MastodonConverters.ts to matching naming schemeHazelnoot2025-03-271-2/+2
|
* add additional required CORS headers for masto-api requestsHazelnoot2025-03-271-0/+15
|
* implement /api/v1/favouritesHazelnoot2025-03-271-2/+16
|
* fix empty response from /api/v1/blocksHazelnoot2025-03-271-1/+1
|
* fix empty response from /api/v1/mutesHazelnoot2025-03-271-1/+1
|
* normalize mastodon API query parameters to strip `[]` suffixHazelnoot2025-03-271-0/+44
|
* normalize mastodon BAD_REQUEST errorsHazelnoot2025-03-271-4/+4
|
* format mastodon API endpointsHazelnoot2025-03-271-4/+14
|
* de-duplicate mastodon API loggingHazelnoot2025-03-271-178/+88
|
* refactor mastodon API and preserve remote user agent for requestsHazelnoot2025-03-271-698/+88
|
* improve mastodon note conversion and use access checks in more places ↵Hazelnoot2025-02-081-106/+78
| | | | (resolves #509)
* hide restricted edit history from mastodon api (resolves #811)Hazelnoot2025-02-081-3/+9
|
* cleanup Mastodon API (resolves #804 and #865, partially resolves #492)Hazelnoot2025-02-081-334/+406
| | | | | | | | | | | | | * Fix TS errors and warnings * Fix ESLint errors and warnings * Fix property typos in various places * Fix property data conversion * Add missing entity properties * Normalize logging and reduce spam * Check for missing request parameters * Allow mastodon API to work with local debugging * Safer error handling * Fix quote-post detection
* fix some DI mistakes after the mergedakkar2024-10-101-1/+0
|
* use injected meta in MastodonApiServerServicedakkar2024-10-091-3/+4
|
* add copyright text to all our filesdakkar2024-06-151-11/+16
|
* upd: add multipart/form support to a few mastodon endpointsMar0xy2023-11-161-13/+13
|
* upd: add empty return on trends/linksMar0xy2023-10-311-0/+5
|
* fix: create trends/tags endpointMar0xy2023-10-311-0/+14
|
* chore: lintMar0xy2023-10-301-1/+4
|
* upd: allow updating of fieldsMar0xy2023-10-301-1/+15
|
* upd: remove debug lines, fix header not being detectedMar0xy2023-10-301-4/+5
|
* upd: change resolving of _request.filesMar0xy2023-10-301-9/+13
|
* test: update debug linesMar0xy2023-10-301-1/+3
|
* upd: remove host lookup on file updatingMar0xy2023-10-301-4/+2
|
* upd: remove Bearer from auth when looking up tokenMar0xy2023-10-301-2/+2
|
* test: avatar and header uploadingMar0xy2023-10-301-4/+39
|
* fix: relationships not working on some clientsMar0xy2023-10-291-1/+1
|
* upd: add history endpoint, make sure all areas use new convertAccountMar0xy2023-10-291-10/+10
|
* upd: convertAccount now fetches info from the DBMar0xy2023-10-291-3/+2
|
* upd: simplify importing of mastoconverter, fix bugMar0xy2023-10-291-20/+21
| | | | | Lets you import stuff into mastoconverter without needing to also import them everywhere else Fixes not being able to get statuses on accounts
* upd: change deps, fix a few bugs, update converterMar0xy2023-10-291-22/+22
| | | | | | | Fixes User and Notes count bug (transfem-org/Sharkey#113) Fixes build issues due to types (transfem-org/Sharkey#111) Return accounts and notes like Iceshrimp Use MFM class from Iceshrimp to fix HTML output for mastodon
* add: view previous versions of notesMar0xy2023-10-221-3/+5
| | | | Closes transfem-org/Sharkey#103
* chore: lintMar0xy2023-10-011-4/+4
|
* upd: add MFM to HTML support and Mentions parsing to mastodon api (#33)Marie2023-10-011-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upd: attempt to turn MFM to html on mastodon * revert: recent change until better implementation later * chore: remove unused packages * Update docker.yml * upd: add MFM to HTML for timelines and status view * chore: lint * upd: megalodon resolve urls * upd: add spliting * test: local user mention * test: change local user url in mention * upd: change check * test: megalodon changes * upd: edit resolving of local users This is starting to drive me nuts * upd: remove the @ symbol in query * fix: make renderPerson return host instead of null for local * upd: change url for local user * upd: change limit * upd: add url to output * upd: add mastodon boolean * test: test different format * fix: test of different format * test: change up resolving * fix: forgot to provide url * upd: change lookup function a bit * test: substring * test: regex * upd: remove substr * test: new regexs * dirty test * test: one last attempt for today * upd: fix build error * upd: take input from iceshrimp dev * upd: parse remote statuses * upd: fix pleroma users misformatted urls * upd: add uri to normal user * fix: forgot to push updated types * fix: resolving broke * fix: html not converting correctly * fix: return default img if no banner * upd: swap out img used for no header, set fallback avatar * fix: html escaped & and ' symbols * upd: fix ' converting into 39; and get profile fields * upd: resolve fields on lookup --------- Co-authored-by: Amelia Yukii <123300075+Insert5StarName@users.noreply.github.com>
* add: source endpoint for editing through masto apiMar0xy2023-09-271-0/+1
|
* fix: accidental removal of handlerMar0xy2023-09-251-1/+1
|
* rm: remove attempt at supporting avatar/banner changingMar0xy2023-09-251-9/+3
|
* upd: attempt to accept file during updateMar0xy2023-09-251-3/+9
|
* upd: move patch function and make note user always detailMar0xy2023-09-251-2/+2
|
* upd: add multer handler to update_credentialsMar0xy2023-09-251-1/+1
|