Sven Sauleau
9bd6ec5fda
debug
2023-03-01 13:46:12 +00:00
Sven Sauleau
2c947733a2
neon: implement batch query
2023-03-01 11:46:18 +00:00
Dario Piotrowicz
939988721a
Merge pull request #348 from cloudflare/hastags
...
handle hashtags in statuses
2023-03-01 11:13:17 +00:00
Sven Sauleau
c4d0c69b22
query builder psqlOnly
2023-03-01 09:37:23 +00:00
Sven Sauleau
c3fb612d21
add neon client
2023-03-01 09:30:35 +00:00
Sven Sauleau
1b830d8df2
query builder insertOrIgnore
2023-03-01 09:20:59 +00:00
Dario Piotrowicz
a606e76093
handle hashtags in statuses
...
- by parsing them in enrichStatus
- implementing a tag page to show their timeline
resolves #345
2023-02-28 17:05:22 +00:00
Sven Sauleau
217ff34353
introduce simple SQL query builder
2023-02-28 16:51:38 +00:00
Sven Sauleau
39636f5b99
change remaining D1Database types
2023-02-28 16:32:30 +00:00
Sven Sauleau
d89ed5a8af
make getDatabase async
2023-02-27 17:37:03 +00:00
Dario Piotrowicz
f20fb8052b
improve typing around getDataBase
2023-02-24 10:19:25 +00:00
Jorge Caballero (DataDrivenMD)
789f8a6066
Another linting attempt
2023-02-23 17:03:28 -08:00
Jorge Caballero (DataDrivenMD)
980a779bc6
Merge remote-tracking branch 'upstream/main' into fix-missing-apps-verify_credentials-endpoint
2023-02-23 16:40:29 -08:00
Jorge Caballero (DataDrivenMD)
22e4fc370d
Applying additional linting
...
Based on commit c44d552d08
2023-02-23 16:31:17 -08: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
a876ef9ad2
add Actor cache to webfinger
2023-02-23 14:25:49 +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
b6e98134a0
limit status to 500 chars
2023-02-22 13:19:20 +00:00
Jorge Caballero (DataDrivenMD)
ac03ebd5ae
fix: Method not allowed error response
2023-02-21 14:07:54 -08:00
Jorge Caballero (DataDrivenMD)
7c8216281e
prettier
2023-02-21 13:47:03 -08:00
Jorge Caballero (DataDrivenMD)
cf15dcc56e
Adding 422 error response to `errors` module
2023-02-21 13:44:50 -08:00
Jorge Caballero (DataDrivenMD)
222a3bd3ef
Merge remote-tracking branch 'upstream/main' into fix-missing-apps-verify_credentials-endpoint
2023-02-21 13:27:34 -08:00
Dario Piotrowicz
3d0e394a14
implement UI for about page
...
initial step for #282
2023-02-20 18:29:06 +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
d98694de91
add auth to status deletion
2023-02-20 16:35:40 +00:00
Sven Sauleau
9316963dbc
Merge pull request #320 from cloudflare/sven/fix-broken-status-link
...
fix broken status links
2023-02-20 15:36:24 +00:00
Sven Sauleau
06a435fbfc
fix broken status links
2023-02-20 15:31:15 +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
Sven Sauleau
45e07b2bac
Merge pull request #309 from cloudflare/public-statuses
...
/api/v1/statuses should be public for public statuses
2023-02-20 14:39:03 +00:00
Celso Martinho
2937e9ffc9
typo
2023-02-20 12:27:47 +00:00
Celso Martinho
32d625151e
keep /api/v1/statuses/[id]/reblog or /api/v1/statuses/[id]/favourite authentificated
2023-02-20 12:22:24 +00:00
Sven Sauleau
5e77067324
ignore invalid user mentions
2023-02-20 12:21:02 +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
Celso Martinho
8712d5d503
Add tests
2023-02-17 18:25:19 +00:00
Celso Martinho
5986d6f9a4
/api/v1/statuses should be public for public statuses
2023-02-17 18:12:34 +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
22745197e2
oauth: get token support code in URL
2023-02-15 18:37:15 +00:00
Sven Sauleau
b28a1ae878
endpoint for setting actor alias
2023-02-15 17:15:23 +00:00
Sven Sauleau
7e974f1fed
fix tests
2023-02-15 16:40:29 +00:00
Sven Sauleau
bd279cafff
add CORS for 404 subscription
2023-02-15 15:36:04 +00:00
Sven Sauleau
b9927c3dfe
Add CORS header to NodeInfo endpoints
...
For elk compatibility.
2023-02-15 15:28:51 +00:00
Sven Sauleau
d997d0ca06
subscription: make policy optional
2023-02-15 15:11:28 +00:00
Sven Sauleau
e89ff9cd59
Merge pull request #286 from cloudflare/sven/fix-subscriptions-id
...
subscription: remove hardcoded and switch to Int
2023-02-15 12:15:44 +00:00
Sven Sauleau
8681d09d4f
quickfix: stub some notification values
2023-02-15 12:02:41 +00:00