Hazelnoot
4754942301
add additional required CORS headers for masto-api requests
2025-03-27 19:51:43 -04:00
Hazelnoot
984be9e7aa
enable local timeline in Phanpy clients
2025-03-27 19:51:43 -04:00
Hazelnoot
3c54680860
support reactions in mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
fbdee815da
remove unused async from toMastoApiHtml / fromMastoApiHtml
2025-03-27 19:51:43 -04:00
Hazelnoot
8d67a8c9ae
don't log query parameters from mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
fc1d0c958c
support Mastodon v4 "link header" pagination
2025-03-27 19:51:43 -04:00
Hazelnoot
3d8930f070
implement /api/v1/favourites
2025-03-27 19:51:43 -04:00
Hazelnoot
cac8377e4e
fix empty response from /api/v1/notifications
2025-03-27 19:51:43 -04:00
Hazelnoot
178fe16f68
fix empty response from /api/v1/blocks
2025-03-27 19:51:43 -04:00
Hazelnoot
c69f7b87f0
fix empty response from /api/v1/mutes
2025-03-27 19:51:43 -04:00
Hazelnoot
2b03f51315
don't return httpStatusCode in mastodon errors
2025-03-27 19:51:43 -04:00
Hazelnoot
f00a0fee45
minor fixes to /v1/accounts/verify_credentials
2025-03-27 19:51:42 -04:00
Hazelnoot
de26ffd60b
improve performance of /v1/accounts/relationships
2025-03-27 19:51:42 -04:00
Hazelnoot
f5be341acc
normalize mastodon API query parameters to strip [] suffix
2025-03-27 19:51:42 -04:00
Hazelnoot
8b0555cab8
fix /api/v1/instance response
2025-03-27 19:51:42 -04:00
Hazelnoot
4a1dd7165e
normalize mastodon BAD_REQUEST errors
2025-03-27 19:51:42 -04:00
Hazelnoot
67e57ab50a
fix several mastodon converters
2025-03-27 19:51:42 -04:00
Hazelnoot
75b6c63f44
remove unused megalodon components
2025-03-27 19:51:42 -04:00
Hazelnoot
cb9079208a
format mastodon API endpoints
2025-03-27 19:51:42 -04:00
Hazelnoot
da25595ba3
de-duplicate mastodon API logging
2025-03-27 19:51:42 -04:00
Hazelnoot
f61d71ac8c
refactor mastodon API and preserve remote user agent for requests
2025-03-27 19:51:42 -04:00
Hazelnoot
e44623d7c9
don't parse empty strings in timelineArgs.ts
2025-03-03 01:22:15 -05:00
Hazelnoot
1126c09669
make convertAttachment match file->attachment schema
2025-02-08 13:17:50 -05:00
Hazelnoot
daf715578e
fix mastodon media attachment conversion ( resolves #495 )
2025-02-08 13:17:50 -05:00
Hazelnoot
1e43162ba7
improve mastodon note conversion and use access checks in more places ( resolves #509 )
2025-02-08 13:17:50 -05:00
Hazelnoot
3550ce27d5
hide restricted edit history from mastodon api ( resolves #811 )
2025-02-08 13:17:50 -05:00
Hazelnoot
bd95e8a555
fix relationship data for Mastodon API ( resolves #714 )
2025-02-08 13:17:50 -05:00
Hazelnoot
bbfba495df
remove un-needed relationshipModel static data
2025-02-08 13:17:34 -05:00
Hazelnoot
c38f04fe38
fix empty masto-api responses for several endpoints ( resolves #721 and #707 )
2025-02-08 13:17:34 -05:00
Hazelnoot
16f483d273
cleanup Mastodon API ( resolves #804 and #865 , partially resolves #492 )
...
* 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
2025-02-08 13:17:34 -05:00
Hazelnoot
ca1cdc4ea3
fix poll option limit in masto API
2024-10-26 10:38:29 -04:00
dakkar
9ea618c4a5
fix some DI mistakes after the merge
2024-10-10 13:55:52 +01:00
dakkar
3b3bd68645
use injected meta in MastodonApiServerService
2024-10-09 17:18:38 +01:00
dakkar
b525c5887f
add copyright text to all our files
2024-06-15 11:36:55 +01:00
Marie
86ccbd9487
merge: Fix/fixing mastodon api search mfm ( !532 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/532
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:32:51 +00:00
KevinWh0
1656c02536
renamed toMastoHtml to toMastoApiHtml to clear up what it does
2024-05-31 12:21:25 +02:00
Marie
d7bd112b37
fix incorrect variable name
2024-05-30 13:03:54 +00:00
Marie
981975404d
Fix Visiblity issue
2024-05-30 12:08:30 +00:00
Marie
d6c736f1a5
fix conflicts
2024-04-07 15:42:28 +00:00
Sugar🍬🍭🏳️⚧
e779c1e667
fix: send null for empty edited_at in mastodon api
2024-04-04 10:43:28 +02:00
Marie
56b19ab6bb
fix: incorrect type for quote property
2024-03-24 23:41:23 +00:00
Marie
0aadc302c3
fix: quote being returned as null instead of false on mastodon api
2024-02-05 19:38:00 +00:00
Marie
f091b84c6e
chore: change sfm registry and name
2024-02-03 15:01:09 +01:00
Marie
b1c26201ca
upd: Note Length customization
...
note length is now configurable through the config file
Closes #281
falls back to 3000 (misskey default) if not used/included in config
2023-12-31 18:22:02 +01:00
Marie
c92c2d065f
upd: replace mfm with sfm
2023-12-18 03:03:05 +01:00
Marie
5131a3414d
fix: correct acctUri
2023-11-25 21:02:41 +01:00
Marie
a5fccab128
upd: provide uri on accounts
2023-11-25 20:59:21 +01:00
Mar0xy
902e5a81f9
fix: pinned being set to null causing errors in masto api
2023-11-17 14:05:36 +01:00
Mar0xy
6ca27b48cf
upd: add multipart/form support to a few mastodon endpoints
2023-11-16 19:45:54 +01:00
Mar0xy
b57b644ec6
chore: remove console log on verify_credentials
2023-10-31 12:13:37 +01:00