Wykres commitów

138 Commity (2bc881e9ca2d93e8fe277f2f435aca9dcd364687)

Autor SHA1 Wiadomość Data
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 f8206182f3 fix SQL is_admin type
The `is_admin` column is an `INTEGER`. While SQLite doesn't mind
converting `TRUE` to an integer Postgresql is throwing an error.

Switch to `1` which is consistent with the column type.
2023-03-06 16:47:21 +00:00
Dario Piotrowicz d505ed278e add access check to isUserAdmin function 2023-03-06 11:34:02 +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
Dario Piotrowicz d15916ddd2 update e2e about test 2023-03-01 16:55:22 +00: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
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
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
Sven Sauleau 2beb65f9e2
Merge pull request #324 from cloudflare/sven/follow-cache-and-handle-failure
List followers/following uses cache and handle failures
2023-02-24 10:31:13 +01: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
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 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) 9392e2595c Return validation fails as errors w/ CORS headers 2023-02-21 13:46:19 -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
Sven Sauleau cf8dede82d List followers/following uses cache and handle failures 2023-02-20 17:03:37 +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 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
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
Dario Piotrowicz 35c6c578ea fix failing linting 2023-02-17 22:53:44 +00:00
Celso Martinho 5986d6f9a4 /api/v1/statuses should be public for public statuses 2023-02-17 18:12:34 +00:00
Dario Piotrowicz ffaba34966 implement posts and replies tab in account page 2023-02-16 14:48:25 +00:00
Dario Piotrowicz 41b47390f7 remove unnecessary any 2023-02-15 23:24:38 +00:00
Dario Piotrowicz 576dfc9ca0 use tabs instead of spaces in oatuh token file 2023-02-15 22:54:27 +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 acbf43f35f quickfix: add stub id in app creation 2023-02-15 16:37:02 +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 39046061db subscription: remove hardcoded and switch to Int 2023-02-15 11:52:24 +00:00
Dario Piotrowicz af1e333128 fetch more statuses dynamically for account on scroll 2023-02-14 23:52:00 +00:00
Sven Sauleau 84199f4937
Merge pull request #277 from cloudflare/sven/hotfix-post
hotfix: only insert hashtags when provided
2023-02-13 16:02:08 +00:00
Sven Sauleau 2a3e4b43fc
Merge pull request #276 from cloudflare/sven/timeline-tag
tag timeline
2023-02-13 16:00:26 +00:00
Sven Sauleau 3d6393eda2 hotfix: only insert hashtags when provided 2023-02-13 15:58:02 +00:00
Sven Sauleau 1c813f9956 tag timeline 2023-02-13 15:56:31 +00:00