Commit Graph

102 Commits

Author SHA1 Message Date
Hazelnoot 9f640beecc fix megalodon unit tests 2024-11-27 22:52:53 -05:00
Hazelnoot af3bb7346e update axios and ws to patch security issue (unexploitable in our case) 2024-10-15 22:00:39 -04:00
Hazelnoot 1a9f2f84b3 fix linting and type checks in all packages 2024-10-15 21:41:36 -04:00
Hazelnoot b20e671452 disable linting in megalodon, as it's 3rd party code 2024-10-15 21:41:23 -04:00
4censord 0a8cb21e9b
Run eslint with caching
This reduces the time for subsequent lints significantly.
e.g. for `package/frontend`, the first run takes ~10min.
With the cache, every subsequent run takes only a few seconds.
2024-09-14 00:58:02 +02:00
Marie d6c736f1a5 fix conflicts 2024-04-07 15:42:28 +00:00
Sugar🍬🍭🏳️‍⚧ e779c1e667 fix: send null for empty edited_at in mastodon api 2024-04-04 10:43:28 +02:00
Marie ece86f756d chore: add new type 2024-03-24 23:46:57 +00:00
Marie 56b19ab6bb fix: incorrect type for quote property 2024-03-24 23:41:23 +00:00
Mar0xy 2f99c7e9dc
add: Bubble timeline
Closes  transfem-org/Sharkey#154
2023-12-04 02:10:51 +01:00
Mar0xy b2d188aab1
chore: bump axios dep version in `megalodon` 2023-11-30 02:29:50 +01:00
Mar0xy 42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
Mar0xy 83f328de8a add: Importing of Posts
- Supports Instagram, Mastodon/Pleroma/Akkoma, Twitter and *key
2023-11-12 15:12:42 +01:00
Mar0xy d15c588080
upd: change handling of suggestions and status trends 2023-10-31 11:31:31 +01:00
Mar0xy 46bb5f2dac
fix: lists not being received properly 2023-10-30 12:53:28 +01:00
Mar0xy 81def9457b
upd: allow updating of fields 2023-10-30 01:32:48 +01:00
Mar0xy b57ec5e2eb
test: avatar and header uploading 2023-10-30 00:27:04 +01:00
Mar0xy 8736560e5f
fix: reply edits not staying attached 2023-10-29 21:51:12 +01:00
Mar0xy c53323d237
upd: add history endpoint, make sure all areas use new convertAccount 2023-10-29 12:18:18 +01:00
Mar0xy 549bcf70db
upd: convertAccount now fetches info from the DB 2023-10-29 02:59:36 +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
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