Commit Graph

46 Commits

Author SHA1 Message Date
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 a12d1c52dd
add: source endpoint for editing through masto api 2023-09-27 14:45:57 +02:00
Mar0xy 1d3fd4c604
fix: expiredafter time on poll 2023-09-26 01:52:11 +02:00
Mar0xy 96580967fb
test: fix poll posting 2023-09-26 01:40:05 +02:00
Mar0xy 7df25f036a
test: mention fix 2023-09-26 01:16:03 +02:00
Mar0xy 3b2bf0dc35
test: try using if statement 2023-09-26 00:57:54 +02:00
Mar0xy 77754cc3d8
test: attempt catching error 2023-09-26 00:48:34 +02:00
Mar0xy c9159c7313
upd: allow dismiss of instance announcements 2023-09-26 00:14:33 +02:00
Mar0xy 1cbb3086fa
chore: format 2023-09-26 00:03:45 +02:00
Mar0xy d36b855457
upd: fix poll handling 2023-09-25 23:56:47 +02:00
Mar0xy f7c6f8ac3d
fix: replace boolean function with ? : expressions 2023-09-25 23:33:45 +02:00
Mar0xy f586bead0f
upd: use boolean function 2023-09-25 23:27:04 +02:00
Mar0xy a5c1d12ae9
fix: make check function 2023-09-25 23:20:57 +02:00
Mar0xy c273512b56
fix: isBot must be boolean 2023-09-25 23:14:49 +02:00
Mar0xy 5ffcd278be
rm: remove attempt at supporting avatar/banner changing 2023-09-25 22:45:22 +02:00
Mar0xy 7c64dce1ad
upd: use uploadMedia function 2023-09-25 22:22:29 +02:00
Mar0xy 6a52509821
upd: change handling of file on update 2023-09-25 22:11:10 +02:00
Mar0xy 0fe5e8738c
upd: attempt to accept file during update 2023-09-25 22:02:33 +02:00
Mar0xy c18c823c95
fix: megalodon posting to incorrect url 2023-09-25 21:30:50 +02:00
Mar0xy d521e95dda
fix: checks 2023-09-25 19:50:22 +02:00
Mar0xy 817203a9e1
fix: fileid min length issue 2023-09-25 19:43:59 +02:00
Mar0xy f1c827b815
add: edit support on masto api 2023-09-25 19:33:55 +02:00
Mar0xy 324cc5509e
fix: adding description not working on media 2023-09-25 18:46:17 +02:00
Mar0xy f336eec494
upd: add baseurl to all related calls 2023-09-25 16:54:05 +02:00
Mar0xy 4abdf6f7a6
fix: some timelines not getting proper host 2023-09-25 16:42:21 +02:00
Mar0xy 84fcf9efc7
upd: change way of fetching descendants 2023-09-25 13:30:36 +02:00
Mar0xy 73b086b6b8
upd: fetch ancestors 2023-09-25 13:29:43 +02:00
Mar0xy 0547940523
chore: use this.baseUrl instead of BASE_URL 2023-09-25 12:46:47 +02:00
Mar0xy aaa3a34d60
chore: swap base_url getting on some endpoints 2023-09-25 12:37:58 +02:00
Mar0xy f15b7fb250
fix: fetching remote users on elk via megalodon 2023-09-25 12:21:10 +02:00
Mar0xy c10f785614
upd: get alt and blurhash on media 2023-09-25 05:22:45 +02:00
Mar0xy 62b2c31655
upd: return empty list on empty custom emoji 2023-09-25 05:16:13 +02:00
Mar0xy c2d1564851
upd: return empty tags on featured_tags call 2023-09-25 04:57:32 +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 a7778e6425
fix: megalodon reblogged and favourited user info, add createdAt to note 2023-09-25 03:55:21 +02:00
Mar0xy 74213ba2b9
make favourited_by functional 2023-09-25 03:42:45 +02:00
Mar0xy 1446514442
fix: contact person in masto instance endpoint 2023-09-25 03:26:05 +02:00
Mar0xy 3526880607
fix: get account statuses for local users 2023-09-25 03:23:03 +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 ead0667320
fix: upload media on masto api 2023-09-25 01:02:16 +02:00
Mar0xy c85857f242
upd: update misskey support in megalodon 2023-09-24 14:44:55 +02:00
Mar0xy afda15260f
upd: megalodon to v7 2023-09-24 01:44:53 +02:00
Mar0xy 2375d043d1
add: Megalodon, initial mastodon api 2023-09-23 18:49:47 +02:00