Sven Sauleau
6fad40519a
Follow actor on migration
...
Follow the "moving from" actor to force Mastodon to deliver the Move
activity.
2023-03-27 15:59:29 +02:00
Sven Sauleau
3c32284271
more fix properties parsing with Neon
2023-03-20 10:12:38 +00:00
Sven Sauleau
c308293d7d
neon: fix switch to JSONB
2023-03-10 10:58:00 +00:00
Sven Sauleau
175312789b
json_set query builder
2023-03-09 18:36:19 +00:00
Sven Sauleau
8d68b972c0
fix psql query in setActorAlias
2023-03-08 15:56:48 +00:00
Sven Sauleau
95e5beb70e
refactor UI auth
2023-03-08 08:26:20 +00:00
Dario Piotrowicz
81114acb95
add types-check frontend script
...
add a types check that runs tsc making sure that all
typings present in the frontend application are valid
2023-03-06 19:47:28 +00:00
Dario Piotrowicz
0580e089ab
Merge pull request #347 from cloudflare/server-settings-ui
...
Server settings UI
2023-03-01 20:53:30 +00:00
Dario Piotrowicz
246edfc789
add both FE and BE for server settings (including rules)
2023-03-01 16:55:06 +00:00
Sven Sauleau
ba4daecf17
fix byte array for neon
2023-03-01 13:55:53 +00:00
Sven Sauleau
1b830d8df2
query builder insertOrIgnore
2023-03-01 09:20:59 +00:00
Dario Piotrowicz
9f2eeb19dd
improve typing and security of getObjectBy function
2023-02-23 15:44:15 +00:00
Sven Sauleau
c09edecc34
support direct visiblity and reject others
...
Refs https://github.com/cloudflare/wildebeest/issues/303
2023-02-23 14:43:33 +00:00
Sven Sauleau
7dea01b781
extract database types
...
Refs https://github.com/cloudflare/wildebeest/issues/228
2023-02-22 16:18:06 +00:00
Sven Sauleau
d43a5d316d
limit Actor properties
2023-02-22 13:48:35 +00:00
Sven Sauleau
ade9e669ab
fix sanitize Actor summary instead of content & testing
2023-02-22 13:40:51 +00:00
Sven Sauleau
c1fc07d2ba
hotfix: add missing properties for local actors
2023-02-20 17:10:34 +00:00
Sven Sauleau
7c2a0f207d
use Actor properties for inbox URL
...
Previously the inbox URL would be guessed from Mastodon URL scheme,
however this doesn't work with non Mastodon Actors.
This change relies on Actor's properties to get the inbox URL, ie the
proper way.
2023-02-20 16:57:39 +00:00
Sven Sauleau
0d19dc7b48
fix move followers/following
2023-02-20 15:28:39 +00:00
Sven Sauleau
7dff854773
debug
2023-02-20 15:20:41 +00:00
Dario Piotrowicz
97530bbc7a
handle spoiler text in the statuses ui
...
as part of this:
- wire up spoilter_text in the backend so that frontend can use it
- add spoiler_text to dummy data (+ related refactoring)
- show spoilter text in the ui (+ related refactoring)
- add/update e2e tests to check spoiler text
2023-02-17 23:05:45 +00:00
Sven Sauleau
dc70e1a1a9
migration: move following actors
2023-02-16 16:49:03 +00:00
Sven Sauleau
5867841881
Move activity; move followers
2023-02-16 11:39:49 +00:00
Sven Sauleau
b28a1ae878
endpoint for setting actor alias
2023-02-15 17:15:23 +00:00
Sven Sauleau
5110b4992a
introduce basic for hashtag
...
This change detects hashtags in statuses and insert them into a new
table `note_hashtags`.
2023-02-13 11:37:35 +00:00
Sven Sauleau
adced26955
Disjoint Link from Object
...
Link was extending Object which was a mistake (as pointed out in
https://github.com/cloudflare/wildebeest/issues/35 ). This change
disjoints Link and Object objects, as specified by
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link .
2023-02-13 10:11:39 +00:00
Dario Piotrowicz
a7568b73a9
Merge pull request #246 from cloudflare/seo-metadata
...
add title, description and seo metadata to various pages
2023-02-10 15:23:14 +00:00
Dario Piotrowicz
e3271478e1
add title, description and seo metadata to various pages
...
resolves #218
2023-02-10 15:18:50 +00:00
Sven Sauleau
b01148c9b2
implement media update
2023-02-09 14:40:28 +00:00
Sven Sauleau
e6617788c1
ensure the original Actor is deleting
2023-02-09 12:11:24 +00:00
Sven Sauleau
56ebf6d688
Fix tests
2023-02-08 18:51:38 +00:00
Sven Sauleau
7c083b31bb
fix: delete by original ObjectId
2023-02-08 18:03:11 +00:00
Sven Sauleau
13b827dcfa
MOW-139: support federated Note deletion
2023-02-08 17:32:44 +00:00
Sven Sauleau
bf26dcca14
MOW-135: prevent duplicated reblogs
2023-02-08 15:11:02 +00:00
Sven Sauleau
7cea876ed8
clarify UA used for federation
2023-02-07 16:05:56 +00:00
Sven Sauleau
4485afbfe9
Deliver Delete activity to followers
2023-02-07 10:24:27 +00:00
Sven Sauleau
bedd52e34f
chunk queue.sendBatch
...
Queues are limited to 100 messages per batch.
2023-02-06 17:36:40 +00:00
Sven Sauleau
67f76d2a19
delivery user-agent and accept header
...
refs https://github.com/cloudflare/wildebeest/issues/80
2023-02-06 16:55:35 +00:00
Sven Sauleau
460759787d
fix tests
2023-02-06 11:51:05 +00:00
Sven Sauleau
cd4a6429bf
remove uneeded async closure
2023-02-03 16:53:38 +00:00
Dario Piotrowicz
6298220010
implement account page
2023-02-03 12:43:27 +00:00
Sven Sauleau
0b4ce39873
Ignore unsupported Object updates
2023-02-03 11:28:30 +00:00
Sven Sauleau
646b83cf93
getAndCache Actor of any types
...
Closes https://github.com/cloudflare/wildebeest/issues/178
2023-02-03 11:14:10 +00:00
Sven Sauleau
39e76bfb48
MOW-128: collect and expose peers
2023-02-02 15:48:17 +00:00
Sven Sauleau
e236855d71
move internal Object fields to symbols
2023-02-02 14:28:17 +00:00
Sven Sauleau
ddeadd0b67
fix: switch Note tag as mentions
2023-02-02 11:24:41 +00:00
Sven Sauleau
3b4cbcd575
Add `tag` on note
2023-02-01 17:08:29 +00:00
Dario Piotrowicz
2cdb55ed0f
improve image and video handling
...
by:
- adding MediaGallery
- adding missing controls to video element
- renaming ImageGallery to Image
- fixing video attachments not being correctly recognized
- standardizing mastodon media_attachmen types in mock db init
2023-01-30 15:38:13 +00:00
Dario Piotrowicz
ab43afea34
rename ambiguous Object to APObject
2023-01-24 13:40:26 +00:00
Dario Piotrowicz
96c9242298
implement createReblog function to reduce reblog code duplication
2023-01-23 21:29:43 +00:00