Commit graph

44 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
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
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
2cea136458
revert: socket change 2023-09-27 22:06:58 +02:00
Mar0xy
1fe51a870b
upd: make sure megalodon uses proper streaming url 2023-09-27 22:01:47 +02:00
Mar0xy
a12d1c52dd
add: source endpoint for editing through masto api 2023-09-27 14:45:57 +02:00
Mar0xy
1bfbe93a25
fix: mastodon app displayName is not a string
https://www.youtube.com/watch?v=XQu_IOBiLfk
2023-09-26 17:48:33 +02:00
Mar0xy
d36b855457
upd: fix poll handling 2023-09-25 23:56:47 +02:00
Mar0xy
b569ac911e
add: description support for mastodon 2023-09-25 21:27:39 +02:00
Mar0xy
a505e51777
revert: always get detailed user 2023-09-25 21:14:52 +02:00
Mar0xy
0ed87ddef2
fix: i forgor to add this file 2023-09-25 21:11:15 +02:00
Mar0xy
b9752b20cb
upd: fetch header on normal user call 2023-09-25 16:46:02 +02:00
Mar0xy
607a3e7427
fix: return empty emoji list for polls for masto app 2023-09-25 16:08:31 +02:00
Mar0xy
dd72610daa
fix: resolve host properly 2023-09-25 16:01:19 +02:00
Mar0xy
b0b96f00b9
upd: on no quote return false instead of null 2023-09-25 15:57:50 +02:00
Mar0xy
205881bfa9
upd: change the way quote gets handled 2023-09-25 15:55:38 +02:00
Mar0xy
b2d367faed
fix: favourites on megalodon 2023-09-25 15:38:30 +02:00
Mar0xy
219b45a3c0
fix: new lines in description not being translated 2023-09-25 13:15:09 +02:00
Mar0xy
2ea6e0a579
fix: resolve host variable on userDetail 2023-09-25 13:06:07 +02:00
Mar0xy
15c43372f9
fix: acct issues on megalodon 2023-09-25 13:04:16 +02:00
Mar0xy
d3832f2560
upd: return @ before username 2023-09-25 12:51:38 +02:00
Mar0xy
ecdf56d1ad
revert: description fetching 2023-09-25 06:04:23 +02:00
Mar0xy
86556f7913
fix: wrong section 2023-09-25 05:57:53 +02:00
Mar0xy
2b24550ce2
fix: typecheck 2023-09-25 05:50:47 +02:00
Mar0xy
06630c097b
upd: update user data fetching on masto api 2023-09-25 05:33:25 +02:00
Mar0xy
c10f785614
upd: get alt and blurhash on media 2023-09-25 05:22:45 +02:00
Mar0xy
871407ce53
upd: add new endpoint to mk api, add preferences to masto api 2023-09-25 04:55:11 +02:00
Mar0xy
035d600406
chore: remove createdAt in favour of created_at 2023-09-25 04:30:15 +02:00
Mar0xy
6ed28c76fb
upd: set createdAt on created_at 2023-09-25 04:22:17 +02:00
Mar0xy
0f8da74dc5
upd: try fetching from db 2023-09-25 04:07:31 +02:00
Mar0xy
16b81fb016
upd: add createdAt to user 2023-09-25 03:59:18 +02:00
Mar0xy
a7778e6425
fix: megalodon reblogged and favourited user info, add createdAt to note 2023-09-25 03:55:21 +02:00
Mar0xy
485173c915
fix: user url 2023-09-25 02:56:43 +02:00
Mar0xy
df62b3786a
upd: apply host to alot of fields 2023-09-25 02:40:04 +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
2847f9124e
upd: remove createdAt 2023-09-25 00:10:47 +02:00
Mar0xy
243527b2c8
fix: createdAt 2023-09-24 23:56:07 +02:00
Mar0xy
8f219557d4
upd: megalodon package fix lines, enable error on media 2023-09-24 23:46:02 +02:00
Mar0xy
846f2d3877
upd: megalodon changes 2023-09-24 15:15:54 +02:00
Mar0xy
72ff1ffc9d
add: converter export from megalodon 2023-09-24 04:17:09 +02:00
Mar0xy
afda15260f
upd: megalodon to v7 2023-09-24 01:44:53 +02:00
Mar0xy
4e401408e9
fix: megalodon not having checks for emojis 2023-09-24 00:39:55 +02:00
Mar0xy
2375d043d1
add: Megalodon, initial mastodon api 2023-09-23 18:49:47 +02:00