Commit graph

48 commits

Author SHA1 Message Date
Laura Hausmann ed5c5a7156
[mastodon-client] fix mentions of remote local users without host 2023-07-18 18:01:44 +02:00
Laura Hausmann 0ff1f7ca65
[mastodon-client] improve mention regexes 2023-07-18 18:01:44 +02:00
Kainoa Kanter 15ffb8cf40 feat: verify links with rel=me (#10506)
Adds Mastodon-style `rel=me` link verification, and creates a background job to verify said links

Closes #9341

![image](/attachments/861e01eb-660f-4c62-8d83-d824cb79da48)

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: Namekuji <nmkj@waah.day>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10506
2023-07-17 05:31:34 +00:00
ThatOneCalculator bdc35a343e
refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator 9f38f8bbca
refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator 2e4c30e572
chore: 🎨 format 2023-07-13 18:32:23 -07:00
Laura Hausmann 5bb7707649
[mastodon-client] fix getDefaultPostPrivacy 2023-07-10 18:58:15 +02:00
Laura Hausmann 5c3a3ac02b
[mastodon-client] userDetail: fallback to username if displayname is null 2023-07-10 18:58:15 +02:00
Laura Hausmann dc0194a842
Revert "Revert "[mastodon-client] send proper user preferences""
This reverts commit dfd9bd5dd1.
2023-07-10 18:58:15 +02:00
Laura Hausmann 3e1b112f92
Revert "Revert "[mastodon-client] send actual default post privacy instead of fallback value""
This reverts commit a441cc6067.
2023-07-10 18:58:15 +02:00
ThatOneCalculator a441cc6067
Revert "[mastodon-client] send actual default post privacy instead of fallback value"
This reverts commit 81145570fcb458a9239f88fe9a273d6c2f1810d3.
2023-07-09 20:12:16 -07:00
ThatOneCalculator dfd9bd5dd1
Revert "[mastodon-client] send proper user preferences"
This reverts commit 3fe156f79578d8506cfbb70f3f6f806f50a818b9.
2023-07-09 20:12:13 -07:00
Laura Hausmann 02ddbe2363
[mastodon-client] return actual status bookmark state 2023-07-10 00:05:52 +02:00
Laura Hausmann c1e43407d5
[mastodon-client] enforce limits for favorites and bookmarks 2023-07-09 23:53:15 +02:00
Laura Hausmann 76a10c0a54
[mastodon-client] fix posting polls 2023-07-09 23:32:01 +02:00
Laura Hausmann 32ea8320ac
[mastodon-client] populate user details for notifications 2023-07-09 23:32:00 +02:00
Laura Hausmann d1c9c7cc31
[mastodon-client] fix poll notifications 2023-07-09 23:32:00 +02:00
Laura Hausmann bd1faa9ab3
[mastodon-client] enforce limit for notifications 2023-07-09 03:44:41 +02:00
Laura Hausmann 19470265f3
[mastodon-client] always sort timelines by id (descending) 2023-07-09 03:24:23 +02:00
Laura Hausmann 858549ce41
[mastodon-client] populate user details for account following/followers 2023-07-09 00:58:45 +02:00
Laura Hausmann e47e905ce9
[mastodon-client] enforce limits for /following and /followers 2023-07-09 00:58:45 +02:00
Laura Hausmann a9ae14431d
[mastodon-client] TODO/FIXME cleanup 2023-07-09 00:58:45 +02:00
Laura Hausmann 69d1c9746a
[mastodon-client] drive file name fixup 2023-07-09 00:58:45 +02:00
Laura Hausmann 12d7246bf3
[mastodon-client] media caption support 2023-07-09 00:58:45 +02:00
Laura Hausmann 2446822680
[mastodon-client] send proper user preferences 2023-07-09 00:58:45 +02:00
Laura Hausmann 2775ab324e
[mastodon-client] send actual default post privacy instead of fallback value 2023-07-09 00:58:45 +02:00
Kainoa Kanter c8ae0cfb95 revert 679d89fa59
revert build:  build megalodon with swc

Do it right this time
2023-07-08 16:56:54 +00:00
ThatOneCalculator 679d89fa59
build: build megalodon with swc
Do it right this time
2023-07-07 20:44:41 -07:00
Laura Hausmann 42ac4510eb
[mastodon-client] handle user & note URLs in search 2023-07-08 04:11:41 +02:00
Laura Hausmann 770e8bdf6d
[mastodon-client] render bio newlines correctly 2023-07-08 04:11:41 +02:00
Laura Hausmann 326b0ea408
[mastodon-client] fix polls 2023-07-08 04:11:41 +02:00
Laura Hausmann 2dd7bdcfa1
[mastodon-client] fix local instance mentions 2023-07-08 04:11:40 +02:00
Laura Hausmann 8323a33f97
[mastodon-client] populate details for quote and reblog fields 2023-07-07 23:18:43 +02:00
Laura Hausmann f33ccfc98a
[mastodon-client] populate user data for favorited_by and reblogged_by 2023-07-07 22:51:07 +02:00
Laura Hausmann 2d47cdf53f
[mastodon-client] implement favorited_by 2023-07-07 22:42:39 +02:00
Laura Hausmann c3f5836ac1
[mastodon-client] populate note details for notifications 2023-07-07 22:06:26 +02:00
Laura Hausmann 72887f54e0
[mastodon-client] populate user details for all notes 2023-07-07 21:50:42 +02:00
Laura Hausmann d6a4b18744
[mastodon-client] Don't display unsupported notification types 2023-07-07 19:45:08 +02:00
Laura Hausmann 5e6594d91d
[mastodon-client] Fail gracefully if user resolve fails 2023-07-07 19:06:42 +02:00
Kainoa Kanter 815917c3d1 revert 6355bb6042
revert build:  build megalodon with swc
2023-07-06 21:04:39 +00:00
ThatOneCalculator 6355bb6042
build: build megalodon with swc 2023-07-05 23:28:47 -07:00
Laura Hausmann 30ef791a24 [mastodon-client] Remove even more debug messages 2023-07-06 02:16:51 +00:00
Laura Hausmann c0479f97cb PR cleanup 2023-07-06 02:16:51 +00:00
Laura Hausmann 1aad110cb9 [mastodon-client] fix mentions 2023-07-06 02:16:51 +00:00
Laura Hausmann 034e1aeb14 [mastodon-client] remove debug logging 2023-07-06 02:16:51 +00:00
Laura Hausmann 3ebd35ec0e [mastodon-client] Remove compiled megalodon code 2023-07-06 02:16:51 +00:00
Laura Hausmann a8f58fa912 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann ab18c22fa9 [mastodon-client] Move megalodon to main repo 2023-07-06 02:16:51 +00:00