1
0
Commit Graph

40 Commits

Author SHA1 Message Date
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 2b1e6eb180 fix: accidental removal of handler 2023-09-25 22:53:51 +02:00
Mar0xy 5ffcd278be rm: remove attempt at supporting avatar/banner changing 2023-09-25 22:45:22 +02:00
Mar0xy 0fe5e8738c upd: attempt to accept file during update 2023-09-25 22:02:33 +02:00
Mar0xy a847e4d5cc upd: move patch function and make note user always detail 2023-09-25 21:10:49 +02:00
Mar0xy 1e02899de7 upd: add multer handler to update_credentials 2023-09-25 20:59:32 +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 2bda4f1768 test: enable error logs for media 2023-09-25 18:35:52 +02:00
Mar0xy aaa3a34d60 chore: swap base_url getting on some endpoints 2023-09-25 12:37:58 +02:00
Mar0xy 1446514442 fix: contact person in masto instance endpoint 2023-09-25 03:26:05 +02:00
Mar0xy ead0667320 fix: upload media on masto api 2023-09-25 01:02:16 +02:00
Mar0xy 8f219557d4 upd: megalodon package fix lines, enable error on media 2023-09-24 23:46:02 +02:00
Mar0xy 60b2842203 chore: lint 2023-09-24 23:25:04 +02:00
Mar0xy 37d7a4b604 upd: change parser and fix fetchAccessToken 2023-09-24 23:18:39 +02:00
Mar0xy 30cc0a9b18 fix: oauth headers 2023-09-24 23:01:46 +02:00
Mar0xy ce42cc0e8d chore: remove ts-ignore comment 2023-09-24 22:57:05 +02:00
Mar0xy 8f997c39c9 chore: fix lint 2023-09-24 22:54:51 +02:00
Mar0xy ad1d3ccb75 chore: change ignore to expect 2023-09-24 22:53:34 +02:00
Mar0xy 96180bb808 add: x-www-form-urlencoded parser 2023-09-24 22:50:59 +02:00
Mar0xy fa30404048 upd: header 2023-09-24 22:13:20 +02:00
Mar0xy 95df69b06c fix: backend issue 2023-09-24 22:07:41 +02:00
Mar0xy 0758e38237 upd: masto api support more types 2023-09-24 21:45:00 +02:00
Mar0xy 250beca901 fix oauth login 2023-09-24 19:15:08 +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
Mar0xy 55e85fe1c1 upd: import status endpoint into service 2023-09-24 15:42:09 +02:00
Mar0xy f1fc1ba4c7 add: timeline endpoints tio masto api 2023-09-24 15:33:13 +02:00
Mar0xy 1501ab261d upd: prettify layout 2023-09-24 12:05:59 +02:00
Mar0xy 34e6717dab add: filter endpoint to masto api 2023-09-24 05:35:50 +02:00
Mar0xy 168c041373 add: notification endpoints to masto api 2023-09-24 05:02:36 +02:00
Mar0xy bb2d4b0e09 add: search endpoints to masto api 2023-09-24 04:25:01 +02:00
Mar0xy 17efcf6b51 upd: Masto API accounts endpoint finished 2023-09-24 02:48:16 +02:00
Mar0xy afda15260f upd: megalodon to v7 2023-09-24 01:44:53 +02:00
Mar0xy b4674ce65c upd: add new endpoints to Masto API 2023-09-24 00:43:28 +02:00
Mar0xy ceffd53d47 fix: spacing 2023-09-23 18:51:57 +02:00
Mar0xy 2375d043d1 add: Megalodon, initial mastodon api 2023-09-23 18:49:47 +02:00