Sven Sauleau
cd2947a72a
Merge pull request #384 from cloudflare/sven/insert-ui-client
...
add client for the UI
2023-03-08 13:39:51 +01:00
Sven Sauleau
9fe622cddf
add client for the UI
2023-03-08 11:53:27 +00:00
Sven Sauleau
96fc7b4b2c
refactor UI alias API
2023-03-08 09:13:48 +00:00
Sven Sauleau
95e5beb70e
refactor UI auth
2023-03-08 08:26:20 +00:00
Sven Sauleau
fac372da0d
refactor UI internal APIs
2023-03-07 14:46:08 +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
75c8b7ff0e
remove admins endpoint
2023-03-06 19:06:32 +00:00
Dario Piotrowicz
65c4924cdb
improve/fix frontend authenticated vs admin settings
2023-03-06 19:00:51 +00:00
Sven Sauleau
8da9a5ed26
Merge pull request #360 from kelvin27315/main
...
Register clients without a website
2023-03-06 09:49:08 +01:00
Dario Piotrowicz
0580e089ab
Merge pull request #347 from cloudflare/server-settings-ui
...
Server settings UI
2023-03-01 20:53:30 +00:00
kelvin
bfdbc16dba
fix query
2023-03-02 01:58:35 +09:00
Dario Piotrowicz
246edfc789
add both FE and BE for server settings (including rules)
2023-03-01 16:55:06 +00:00
kelvin
781b46050f
allow website to be undefined
2023-03-02 00:42:08 +09:00
Sven Sauleau
ba4daecf17
fix byte array for neon
2023-03-01 13:55:53 +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