P. Reis
|
4fa6b96d15
|
refactor(admin action): mute account even if it doesn't have a kind 0
|
2024-05-09 13:44:05 -03:00 |
P. Reis
|
9e2225873d
|
feat: implement action against an account
- Action of deactivating an account by muting it in the entire server
|
2024-05-08 20:12:55 -03:00 |
P. Reis
|
e4952f0c21
|
feat: create updateListAdminEvent() & updateAdminEvent()
|
2024-05-08 20:12:20 -03:00 |
Alex Gleason
|
e29fb28d78
|
Merge branch 'report-nits' into 'main'
Small reportController refactoring
See merge request soapbox-pub/ditto!238
|
2024-05-08 22:29:41 +00:00 |
Alex Gleason
|
64e49bca9d
|
EventsDB: fix postgres crash when there are no local users
|
2024-05-08 17:11:48 -05:00 |
Alex Gleason
|
c7e8beebc6
|
renderReport: whoops, event.author -> event.reported_account
|
2024-05-08 15:06:33 -05:00 |
Alex Gleason
|
8530749192
|
reportController: hydrate the report itself to get the author
|
2024-05-08 15:03:58 -05:00 |
Alex Gleason
|
f99958c40e
|
reportsController -> reportController
|
2024-05-08 14:59:30 -05:00 |
Alex Gleason
|
a82af47c67
|
quote_repost -> quote
|
2024-05-08 14:53:33 -05:00 |
Alex Gleason
|
b16d5b749e
|
Add a created_at, kind index for the global feed
|
2024-05-08 14:34:22 -05:00 |
Alex Gleason
|
6bc051c06b
|
EventsDB: avoid ORDER BY when querying replaceable events by author
|
2024-05-08 13:56:37 -05:00 |
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
|
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 |
P. Reis
|
e8b690e262
|
fix(admin resolve): create admin event instead of create normal event
|
2024-05-08 10:32:10 -03:00 |
P. Reis
|
57495dbd7a
|
feat: implement report resolve
|
2024-05-07 20:49:42 -03: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 |
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 |
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 |
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
|
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
|
5001567b00
|
Streaming: temporarily remove UserStore (allow blocked posts through)
|
2024-05-03 17:20:35 -05:00 |
Alex Gleason
|
7efd5c1822
|
Clean up "not implemented" endpoints
|
2024-05-03 17:09:20 -05:00 |
Alex Gleason
|
a2c5b5e61d
|
Markers: only allow 'home' and 'notifications' markers
|
2024-05-03 16:20:07 -05:00 |
Alex Gleason
|
8e178338b7
|
Implement Markers API
|
2024-05-03 16:17:36 -05:00 |
Alex Gleason
|
2b2499849f
|
pipeline: fix reqmeister crash, probably
|
2024-05-03 13:52:11 -05:00 |
Alex Gleason
|
e9c5ef89ff
|
Reqmeister: improve API and fetching logic (untested)
|
2024-05-03 13:33:50 -05:00 |
Alex Gleason
|
6b20104327
|
filter: use getFilterLimit from nostr-tools
|
2024-05-03 13:26:26 -05:00 |
Alex Gleason
|
091392088f
|
PoolStore: simplify req
|
2024-05-03 13:25:18 -05:00 |
Alex Gleason
|
705e8e7c31
|
PoolStore: implement NRelay
|
2024-05-03 13:23:00 -05:00 |
Alex Gleason
|
2ee668d562
|
Merge branch 'feat-create-reports' into 'main'
Create user reports through kind 1984
Closes #97
See merge request soapbox-pub/ditto!210
|
2024-05-03 14:25:22 +00:00 |
P. Reis
|
f2f0aa8741
|
fix(accountLookup): fix user not found by using 'accountFromPubkey'
|
2024-05-03 09:52:25 -03:00 |
P. Reis
|
ca5433bcc7
|
refactor(reports): update code according to code review in MR 210
|
2024-05-02 20:21:58 -03:00 |
Alex Gleason
|
09c596c9e4
|
Add back block controllers, but 422 them
|
2024-05-02 15:34:17 -05:00 |
Alex Gleason
|
4c71dec6ce
|
Rename blocks to mutes in the API
|
2024-05-02 15:26:46 -05:00 |
Alex Gleason
|
b219a21a2a
|
Merge branch 'notifications-167' into 'main'
Notifications: render notifications for kinds 1, 6, and 7 events
See merge request soapbox-pub/ditto!211
|
2024-05-02 20:21:35 +00:00 |
Alex Gleason
|
ec7b3f8350
|
followController: manually set `following: true` in the response
|
2024-05-02 15:02:05 -05:00 |
Alex Gleason
|
220f16feb8
|
Notifications: render notifications for kinds 1, 6, and 7 events
|
2024-05-02 14:36:28 -05:00 |
P. Reis
|
226c356646
|
feat: create mastodon response for reports
|
2024-05-02 16:03:59 -03:00 |
P. Reis
|
23f8377231
|
feat: create reports controller
|
2024-05-02 16:03:15 -03:00 |
Alex Gleason
|
b016f931ff
|
EventsDB: always index the first P-tag of events
|
2024-05-02 09:54:24 -05:00 |
P. Reis
|
3e6600b5f5
|
Merge branch 'main' into feat-create-reports
((( Updating local branch )))
|
2024-05-02 09:33:59 -03:00 |
Alex Gleason
|
4045a6bdfc
|
Catch metadata when parsing
|
2024-05-01 19:55:58 -05:00 |
Alex Gleason
|
fc7ed8bf24
|
Remove zod schemas that we can get from NSchema
|
2024-05-01 19:51:12 -05:00 |
Alex Gleason
|
76f30f5cc7
|
utils: remove unused import of zod
|
2024-05-01 19:19:52 -05:00 |
Alex Gleason
|
439dfca311
|
Fix kysely imports in migrations
|
2024-05-01 19:16:12 -05:00 |
Alex Gleason
|
87264eeef1
|
Remove `relays` table from the database, track them with a NIP-65 admin event
|
2024-05-01 19:15:20 -05:00 |
P. Reis
|
9553fce25d
|
Merge branch 'main' into feat-create-reports
(((Updating local branch)))
|
2024-05-01 20:56:18 -03:00 |
Alex Gleason
|
444a6efd7d
|
Upgrade kysely-deno-sqlite, fix the type
|
2024-05-01 18:40:04 -05:00 |
P. Reis
|
e8088c9eed
|
feat: define reports endpoint
|
2024-05-01 20:38:30 -03:00 |
Alex Gleason
|
258e81df51
|
Admin relays: use "marker" property in the API, fix PUT controller
|
2024-05-01 18:29:32 -05:00 |
Alex Gleason
|
984695391a
|
unfurl -> unfurl.js
|
2024-05-01 16:59:15 -05:00 |
Alex Gleason
|
8959f85afb
|
Fix imports of uuid62 and fast-stringify-stable
|
2024-05-01 16:42:07 -05:00 |
Alex Gleason
|
7de5cdc18d
|
@db/sqlite, scoped_performance aliases
|
2024-05-01 16:40:58 -05:00 |
Alex Gleason
|
08ed52a57b
|
formdata-helper alias
|
2024-05-01 16:37:01 -05:00 |
Alex Gleason
|
d1f643d7ad
|
secp256k1 alias
|
2024-05-01 16:35:39 -05:00 |
Alex Gleason
|
5a7a409981
|
Alias unfurl, linkifyjs etc
|
2024-05-01 16:34:16 -05:00 |
Alex Gleason
|
e5c8030960
|
Move more deps to aliases
|
2024-05-01 16:29:21 -05:00 |
Alex Gleason
|
ea665eed12
|
std/dotenv alias
|
2024-05-01 16:22:55 -05:00 |
Alex Gleason
|
c4d8ad2368
|
uuid62 alias
|
2024-05-01 16:21:18 -05:00 |
Alex Gleason
|
8738aeb820
|
tldts alias
|
2024-05-01 16:19:53 -05:00 |
Alex Gleason
|
c7b34ed31b
|
iso-639-1 alias
|
2024-05-01 16:18:28 -05:00 |
Alex Gleason
|
973791cde1
|
type-fest alias
|
2024-05-01 16:16:19 -05:00 |
Alex Gleason
|
3513206de1
|
stickynotes alias
|
2024-05-01 16:14:50 -05:00 |
Alex Gleason
|
9d0be2de0d
|
nostr-relaypool alias
|
2024-05-01 15:57:28 -05:00 |
Alex Gleason
|
58ed1b111f
|
Comlink alias
|
2024-05-01 15:55:56 -05:00 |
Alex Gleason
|
c190d2c8ce
|
Refactor Storages to get lazy-loaded only when they are used
|
2024-05-01 14:56:47 -05:00 |
Alex Gleason
|
621a632893
|
Update kysely imports in migrations
|
2024-05-01 09:36:36 -05:00 |
Alex Gleason
|
4291691aa7
|
Make @soapbox/kysely-deno-sqlite an import alias
|
2024-05-01 09:27:19 -05:00 |
Alex Gleason
|
23e00b0042
|
Make Kysely an import alias
|
2024-05-01 09:26:17 -05:00 |
Alex Gleason
|
caa9e47161
|
Remove cron.ts
|
2024-05-01 09:08:36 -05:00 |
Alex Gleason
|
6cc44c468e
|
Don't await cleanupMedia on startup
|
2024-04-30 20:38:21 -05:00 |
P. Reis
|
de08aeac10
|
fix: allow to query kind 0 of blocked users
|
2024-04-30 21:28:45 -03:00 |
P. Reis
|
2b605d2ac3
|
Merge branch 'main' into fix-block-not-working-in-streaming
(((Updating local branch)))
|
2024-04-30 21:23:44 -03:00 |
P. Reis
|
f0c66c1e92
|
fix(streaming): don't show posts from blocked users
|
2024-04-30 21:23:25 -03:00 |
P. Reis
|
e8e45360d3
|
refactor(store middleware): get adminStore through function
|
2024-04-30 21:21:32 -03:00 |
P. Reis
|
ba6d33c115
|
feat: create getAdminStore() func
|
2024-04-30 21:20:19 -03:00 |
Alex Gleason
|
0bb4ccf5c9
|
Move nostr-tools to an import alias
|
2024-04-30 18:43:53 -05:00 |
Alex Gleason
|
35ab012276
|
hashtagTimelineController: toLowerCase
|
2024-04-30 14:58:00 -05:00 |
Alex Gleason
|
d22c606960
|
storeMiddleware: pass through admin UserStore
|
2024-04-30 13:27:30 -05:00 |
Alex Gleason
|
f2b36f75f0
|
Remove hono/sentry middleware, upgrade @sentry/deno
|
2024-04-30 13:01:43 -05:00 |
Alex Gleason
|
e722e754cd
|
deno lint
|
2024-04-30 12:55:39 -05:00 |