Commit Graph

82 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
Mar0xy
89924b587a
add: speakAsCat extension 2023-10-04 04:35:58 +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
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
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
a847e4d5cc
upd: move patch function and make note user always detail 2023-09-25 21:10:49 +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
b9752b20cb
upd: fetch header on normal user call 2023-09-25 16:46:02 +02:00
Mar0xy
4abdf6f7a6
fix: some timelines not getting proper host 2023-09-25 16:42:21 +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
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
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
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
ecdf56d1ad
revert: description fetching 2023-09-25 06:04:23 +02:00