1
0
Commit Graph

26 Commits

Author SHA1 Message Date
Mar0xy c53323d237 upd: add history endpoint, make sure all areas use new convertAccount 2023-10-29 12:18:18 +01:00
Mar0xy 90b666e626 fix: await all results on favourites and reblogged 2023-10-29 02:20:05 +02:00
Mar0xy 43f27a639f upd: simplify importing of mastoconverter, fix bug
Lets you import stuff into mastoconverter without needing to also import them everywhere else
Fixes not being able to get statuses on accounts
2023-10-29 02:06:19 +02:00
Mar0xy 82c10de265 upd: change deps, fix a few bugs, update converter
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
2023-10-29 00:50:00 +02:00
Mar0xy ce83c483c6 add: view previous versions of notes
Closes transfem-org/Sharkey#103
2023-10-22 03:00:35 +02:00
Marie 54578f6965 upd: add MFM to HTML support and Mentions parsing to mastodon api (#33)
* 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>
2023-10-01 01:58:06 +02:00
Mar0xy a12d1c52dd add: source endpoint for editing through masto api 2023-09-27 14:45:57 +02:00
Mar0xy e32b03a048 upd: return empty history 2023-09-27 14:09:48 +02:00
Mar0xy 7d9262c55a fix: not being able to only send emojis 2023-09-26 13:40:18 +02:00
Mar0xy d521e95dda fix: checks 2023-09-25 19:50:22 +02:00
Mar0xy 354937abdd upd: actually use body 2023-09-25 19:49:30 +02:00
Mar0xy 314122f509 upd: convert masto ids to sharkeyid on media 2023-09-25 19:48:43 +02:00
Mar0xy f1c827b815 add: edit support on masto api 2023-09-25 19:33:55 +02:00
Mar0xy 0d013ff54f upd: move media put endpoint into main api file 2023-09-25 19:15:55 +02:00
Mar0xy 324cc5509e fix: adding description not working on media 2023-09-25 18:46:17 +02:00
Mar0xy 0547940523 chore: use this.baseUrl instead of BASE_URL 2023-09-25 12:46:47 +02:00
Mar0xy a7778e6425 fix: megalodon reblogged and favourited user info, add createdAt to note 2023-09-25 03:55:21 +02:00
Mar0xy 645907851d fix: text min length is 1 (thanks mk) 2023-09-25 02:48:05 +02:00
Mar0xy df62b3786a upd: apply host to alot of fields 2023-09-25 02:40:04 +02:00
Mar0xy 1b9897f83b upd: replace star with heart 2023-09-25 02:04:28 +02:00
Mar0xy 806a76c5ca fix: text is undefined in masto status api 2023-09-25 02:03:16 +02:00
Mar0xy 3fd2b55406 Revert "test: check old megalodon version"
This reverts commit 89eea5df52.
2023-09-25 01:49:57 +02:00
Mar0xy 89eea5df52 test: check old megalodon version 2023-09-25 01:20:03 +02:00
Mar0xy db6dc1b52e chore: lint and update package name 2023-09-24 17:36:13 +02:00
Mar0xy 410e6515d3 upd: complete status endpoint for masto 2023-09-24 17:10:33 +02:00
Mar0xy 7c3f3390b4 add: status get endpoints to masto api 2023-09-24 16:14:50 +02:00