Commit graph

1693 commits

Author SHA1 Message Date
Siddharth Singh
6aa49c12e1
steal html util from campfire, remove external dependency on cf 2024-08-04 11:10:33 +05:30
Siddharth Singh
77d73c47ee
move a bunch of utils to their own file 2024-08-04 11:07:29 +05:30
Siddharth Singh
435ca60b0d
update todo 2024-08-04 05:52:51 +05:30
Siddharth Singh
7aaa1bc030
generate metadata for bech32 encoded entities 2024-08-04 05:52:24 +05:30
Siddharth Singh
80f8932513
send profile pictures where possible 2024-08-04 04:54:50 +05:30
Siddharth Singh
8c9facdad7
remove unnecessary logs and use nip05s if avl 2024-08-04 04:49:24 +05:30
Siddharth Singh
baa6e318f3
remove premature optimization in serveStaticWithOG 2024-08-04 04:43:47 +05:30
Siddharth Singh
5ee0c1e852
opengraphMiddleware.ts --> serveStaticWithOG.ts 2024-08-04 04:36:36 +05:30
Siddharth Singh
b8eb549190
opengraphFrontendController --> serveStaticWithOG 2024-08-04 04:35:56 +05:30
Siddharth Singh
4e522bd90f
always use summary type for twitter 2024-08-04 03:35:04 +05:30
Siddharth Singh
2382503785
flip the orders? 2024-08-04 03:20:57 +05:30
Siddharth Singh
a530313d15
update todo 2024-08-04 03:15:04 +05:30
Siddharth Singh
7889ee5db4
first version of opengraph functionality 2024-08-04 03:06:53 +05:30
Alex Gleason
950adb25c6
Fix relay connections metrics 2024-08-03 08:19:21 -05:00
P. Reis
6277b8ab0f refactor: remove zap split from instance V1 endpoint 2024-08-02 18:47:59 -03:00
P. Reis
baa00e45a6 feat: create getZapSplitsController 2024-08-02 18:47:21 -03:00
Alex Gleason
3bec54ee76
Let SQLite transfer asyncIterables 2024-08-02 16:45:41 -05:00
Alex Gleason
9543049419
Add db:export command 2024-08-02 16:31:39 -05:00
Alex Gleason
44a61c4a52
Rework migrations logging 2024-08-02 16:31:06 -05:00
Alex Gleason
b05bf37cb3
Limit firehose concurrency 2024-08-01 11:51:38 -05:00
Alex Gleason
49bf38d27b
Fix kysely dependency version mismatch 2024-07-31 15:00:05 -05:00
Alex Gleason
d73370cc68
Convert IN operators to = ANY() operators on Postgres 2024-07-31 14:41:04 -05:00
Alex Gleason
8960bdcca9
Add Policy metrics 2024-07-30 15:47:55 -05:00
Alex Gleason
9b521e9f36
metricsMiddleware: add comments 2024-07-30 14:37:28 -05:00
Alex Gleason
a8e81e304e
context: reverse descendants 2024-07-29 23:43:04 -05:00
Alex Gleason
edc4607c8d
Improve performance of /context endpoint 2024-07-29 23:40:08 -05:00
Alex Gleason
ce18cb928a
KyselyLogger: also log errors 2024-07-29 21:19:44 -05:00
Alex Gleason
18e446bd05
Delete zap split tests 2024-07-29 16:46:27 -05:00
Alex Gleason
a0952bc4c1
zap-split.test: use using 2024-07-29 16:42:18 -05:00
Alex Gleason
37f229408c
Seed zap splits when Storages.db is first accessed 2024-07-29 15:59:29 -05:00
Alex Gleason
31f5254fb3
Clear timeouts in tag queries migration 2024-07-29 15:37:45 -05:00
Alex Gleason
48a4e30e38
trends: read directly from the tags table instead of doing an inner join on events 2024-07-29 15:33:16 -05:00
Alex Gleason
ece18c9bd8
Add tags table migration 2024-07-29 15:32:36 -05:00
Alex Gleason
51bdd977e1
Merge remote-tracking branch 'origin/main' into tag-queries 2024-07-29 14:14:35 -05:00
P. Reis
a271340ffc test: use postgres in hydrate.test.ts 2024-07-26 19:01:18 -03:00
P. Reis
9c02a2d555 refactor: remove nip05 enhancement and tests 2024-07-26 18:49:31 -03:00
P. Reis
6551f0c677 Merge branch 'main' into postgres-support-testing
Update local branch to latest. This branch has the NIP-05 but it will be overriden
2024-07-26 18:32:30 -03:00
P. Reis
dc94d21374 fix(app.ts): import startup.ts file 2024-07-25 16:32:49 -03:00
Alex Gleason
24b950ebd2 Merge branch 'add-zap-tag' into 'main'
Add zap tag to kind 1 event

Closes #133

See merge request soapbox-pub/ditto!432
2024-07-25 18:12:57 +00:00
P. Reis
e458608e38 refactor: rename createZapSplitsIfNotExists to seedZapSplits 2024-07-25 15:10:54 -03:00
P. Reis
882f8009dc refactor: rename isNumberFrom1To100 to percentageSchema 2024-07-25 15:06:50 -03:00
P. Reis
f3d521356d refactor: get rid of isObjectEmpty function 2024-07-25 14:52:52 -03:00
P. Reis
541b5b1c39 refactor: imports in alphabetical order 2024-07-25 14:52:03 -03:00
P. Reis
f94ae7606c refactor: change zapSplitSchema to z.record()) 2024-07-25 11:11:44 -03:00
P. Reis
85806f7ea8 refactor: use object fields instead of tuple in zapSplitSchema 2024-07-24 11:14:42 -03:00
P. Reis
961da0f52c refactor: change error message in updateZapSplitsController & deleteZapSplitsController 2024-07-24 10:56:12 -03:00
P. Reis
ddd1972c83 refactor(app.ts): move cron function and startFirehose function to startup.ts 2024-07-24 10:55:30 -03:00
P. Reis
23bb24929c refactor: remove zap split creation from instanceV1Controller endpoint 2024-07-24 10:54:56 -03:00
P. Reis
1698c1b19b feat: create startup file 2024-07-24 10:54:20 -03:00
P. Reis
86874e3a08 feat: create createZapSplitsIfNotExists() function 2024-07-24 10:53:32 -03:00