Commit Graph

1743 Commits

Author SHA1 Message Date
Alex Gleason 43e8f2a698
Use a Kysely logger to log SQL regardless of the adapter used 2024-05-08 12:56:42 -05:00
Alex Gleason dbe22b9710 Merge branch 'pg-pool-size' into 'main'
Add PG_POOL_SIZE environment variable

See merge request soapbox-pub/ditto!233
2024-05-08 16:49:42 +00:00
Alex Gleason 5e1cfad5cc
Add PG_POOL_SIZE environment variable 2024-05-08 11:46:27 -05:00
Alex Gleason b6dd49e2ef Merge branch 'relationships-mute' into 'main'
Relationships: fix blocks and mutes being switched

See merge request soapbox-pub/ditto!232
2024-05-08 16:13:34 +00:00
Alex Gleason 7ad0e4d9e9
Relationships: fix blocks and mutes being switched 2024-05-08 10:41:05 -05:00
Alex Gleason e879f1a21f Merge branch 'admin-report-mark-as-resolved' into 'main'
Delete report with createAdminEvent() instead of createEvent()

See merge request soapbox-pub/ditto!231
2024-05-08 13:38:43 +00:00
P. Reis e8b690e262 fix(admin resolve): create admin event instead of create normal event 2024-05-08 10:32:10 -03:00
Alex Gleason fd05e4c5c4 Merge branch 'admin-report-mark-as-resolved' into 'main'
Implement Mastodon API - mark a report as resolved

Closes #112

See merge request soapbox-pub/ditto!230
2024-05-08 13:17:28 +00:00
P. Reis 57495dbd7a feat: implement report resolve 2024-05-07 20:49:42 -03:00
Alex Gleason 66bae5eea7 Merge branch 'lint-staged' into 'main'
Add lint-staged

See merge request soapbox-pub/ditto!229
2024-05-07 18:51:14 +00:00
Alex Gleason 7ecad73490
Add lint-staged 2024-05-07 13:45:42 -05:00
Alex Gleason 6391d625c2 Merge branch 'revert-f9aaabc1' into 'main'
Revert "Merge branch 'deno-fmt-on-commit' into 'main'"

See merge request soapbox-pub/ditto!228
2024-05-07 18:41:00 +00:00
Alex Gleason 6509932ab0 Revert "Merge branch 'deno-fmt-on-commit' into 'main'"
This reverts merge request !227
2024-05-07 18:37:57 +00:00
Alex Gleason f9aaabc14b Merge branch 'deno-fmt-on-commit' into 'main'
fix: remove --check flag in deno fmt

See merge request soapbox-pub/ditto!227
2024-05-07 18:07:31 +00:00
P. Reis b523f57a82 fix: remove --check flag in deno fmt 2024-05-07 15:04:33 -03:00
Alex Gleason 5b76efeb94 Merge branch 'deno-fmt-on-commit' into 'main'
Check for formatting errors when committing

Closes #111

See merge request soapbox-pub/ditto!226
2024-05-07 18:00:43 +00:00
P. Reis cfc119f311 feat: check for formatting errors when committing 2024-05-07 14:53:32 -03:00
Alex Gleason cb89b7a80c Merge branch 'single-admin-reports-api' into 'main'
Implement Mastodon API - view single report

Closes #104

See merge request soapbox-pub/ditto!225
2024-05-07 14:50:32 +00:00
P. Reis 53a8871a54 refactor: change 'singleAdminReportsController' to 'adminReportController' 2024-05-07 11:29:49 -03:00
P. Reis 17706d3b20 feat: implement view single report 2024-05-07 10:19:08 -03:00
Alex Gleason 120003c5c8 Merge branch 'admin-reports-api' into 'main'
Return from renderReport() in case pubkey is undefined

See merge request soapbox-pub/ditto!224
2024-05-06 18:06:53 +00:00
P. Reis 8d7621fbaf fix: return in case pubkey is undefined 2024-05-06 14:40:56 -03:00
Alex Gleason a3e54fdff4
DittoPostgres: use pool size for number of CPU cores 2024-05-06 11:44:33 -05:00
Alex Gleason f4c02f1568 Merge branch 'admin-reports-api' into 'main'
Implement Mastodon API - view information about all reports

See merge request soapbox-pub/ditto!221
2024-05-06 15:41:24 +00:00
P. Reis 24068d12d0 refactor(reports): rename variables and remove type assertion 2024-05-06 11:47:05 -03:00
P. Reis 394599734f fix(reports): put notes in tag & only let comment in event.content 2024-05-05 15:45:24 -03:00
P. Reis 7890504add refactor: view info about all reports 2024-05-05 14:20:13 -03:00
Alex Gleason d867a516d5 Merge branch 'gen-junit-reports' into 'main'
generate junit reports for GitLab CI

See merge request soapbox-pub/ditto!223
2024-05-05 15:01:12 +00:00
Siddharth Singh 0e115481d9
generate junit reports for GitLab CI 2024-05-05 20:26:20 +05:30
P. Reis d903a2d0fb Merge branch 'main' into admin-reports-api
Update local branch & solve conflicts in hydrate.ts
2024-05-04 20:23:16 -03:00
P. Reis 14802dd38a feat(hydrate): create gatherTargetAccounts() & gatherReportedStatuses() 2024-05-04 20:18:36 -03:00
P. Reis 4d5d4868ce feat: create renderAdminReport() func 2024-05-04 20:14:39 -03:00
P. Reis 8a7f0892d7 fix: check if event is not undefined in renderAdminAccount 2024-05-04 20:12:34 -03:00
P. Reis b8df95408b feat: add target_account & reported_statuses to DittoEvent type 2024-05-04 20:11:29 -03:00
P. Reis af7b83cf8a feat: create /api/v1/admin/reports endpoint & controller 2024-05-04 20:10:18 -03:00
Alex Gleason 35360434ef Merge branch 'fix-unattached-media' into 'main'
UnattachedMedia: return early when querying nothing

See merge request soapbox-pub/ditto!220
2024-05-04 21:51:26 +00:00
P. Reis b57188943f feat: renderAdminAccount() supports both kind 0 & kind 30361 2024-05-04 16:29:31 -03:00
Alex Gleason 3770d8a0dd
UnattachedMedia: return early when querying nothing 2024-05-04 13:14:03 -05:00
P. Reis f08211e2a1 refactor(admin-accounts): resolve import specifier via the active import map 2024-05-04 10:29:08 -03:00
Alex Gleason fbf3011e3e Merge branch 'hydrate-reactions' into 'main'
Notifications: fix Favourites and EmojiReacts not being displayed

See merge request soapbox-pub/ditto!219
2024-05-04 12:48:59 +00:00
Alex Gleason 0a3be0da58
Notifications: fix Favourites and EmojiReacts not being displayed 2024-05-03 21:22:53 -05:00
Alex Gleason e25372313b
suggestions: fix profile lookup, limit to 20 items for now 2024-05-03 18:32:35 -05:00
Alex Gleason 4ee4266843
instance: add 'v2_suggestions' to features 2024-05-03 18:28:07 -05:00
Alex Gleason cfb0d3f04c Merge branch 'suggestions' into 'main'
Start suggestions API

See merge request soapbox-pub/ditto!218
2024-05-03 23:24:53 +00:00
Alex Gleason 0f3fbbcb28
Start suggestions API 2024-05-03 18:21:40 -05:00
Alex Gleason b60d4fde3d Merge branch 'streaming-rm-userstore' into 'main'
Streaming: temporarily remove UserStore (allow blocked posts through)

See merge request soapbox-pub/ditto!217
2024-05-03 22:44:25 +00:00
Alex Gleason 5001567b00
Streaming: temporarily remove UserStore (allow blocked posts through) 2024-05-03 17:20:35 -05:00
Alex Gleason a45d45d614 Merge branch 'implemented' into 'main'
Clean up "not implemented" endpoints

See merge request soapbox-pub/ditto!216
2024-05-03 22:18:35 +00:00
Alex Gleason 7efd5c1822
Clean up "not implemented" endpoints 2024-05-03 17:09:20 -05:00
Alex Gleason ad3a1ef137 Merge branch 'markers' into 'main'
Implement Markers API

See merge request soapbox-pub/ditto!215
2024-05-03 21:24:40 +00:00