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
|
9b521e9f36
|
metricsMiddleware: add comments
|
2024-07-30 14:37:28 -05:00 |
|
Alex Gleason
|
96a8ccb2e6
|
HTTP Response metrics
|
2024-07-05 00:07:59 +01:00 |
|
Alex Gleason
|
e50ba819b9
|
metrics: remove path from fetch and request metrics
|
2024-06-22 09:08:32 -05:00 |
|
Alex Gleason
|
31a5533fd7
|
Add Prometheus metrics
|
2024-06-21 22:38:25 -05:00 |
|
Alex Gleason
|
0d3c619245
|
rateLimitMiddleware: improve tsdoc comment
|
2024-06-18 15:24:44 -05:00 |
|
Alex Gleason
|
330b38ff68
|
Move rateLimiterMiddleware to a separate file
|
2024-06-18 14:28:13 -05:00 |
|
Alex Gleason
|
66abfa38c3
|
Upgrade hono, switch it to use JSR
|
2024-06-18 11:51:51 -05:00 |
|
Alex Gleason
|
c3af8299f1
|
Spread s3 config
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/156
|
2024-06-15 23:51:50 -05:00 |
|
Alex Gleason
|
7d54a5c7d0
|
Kind 30361 -> 30382
|
2024-06-08 11:32:29 -05:00 |
|
Alex Gleason
|
7221b5f203
|
grant_type nostr -> nostr_bunker, connections -> nip46_tokens
|
2024-05-29 16:14:21 -05:00 |
|
Alex Gleason
|
b1a497b127
|
signerMiddleware: accept token1 bech32's
|
2024-05-26 20:27:46 -05:00 |
|
Alex Gleason
|
0541287f0e
|
Replace our NostrBuildUploader with the one from Nostrify
|
2024-05-19 15:43:46 -05:00 |
|
Alex Gleason
|
f0b247130f
|
Add support for Blossom uploader
|
2024-05-19 15:42:45 -05:00 |
|
Alex Gleason
|
82c03dcb56
|
Rewrite all the uploaders
|
2024-05-18 22:00:24 -05:00 |
|
Alex Gleason
|
68b5887ed0
|
Don't let your memes be dreams
|
2024-05-14 18:24:34 -05:00 |
|
Alex Gleason
|
45b766af4d
|
Remove 'user' from AppContext
|
2024-05-14 14:24:48 -05:00 |
|
Alex Gleason
|
a061c248bd
|
signerMiddleware: add debug log
|
2024-05-14 14:18:44 -05:00 |
|
Alex Gleason
|
03182f8a5a
|
ConnectSigner: implement getRelays, support nprofile auth again
|
2024-05-14 12:14:27 -05:00 |
|
Alex Gleason
|
084143c5c8
|
Rename all middleware to thingMiddleware
|
2024-05-14 12:07:54 -05:00 |
|
Alex Gleason
|
1accae2222
|
Add a ConnectSigner to wrap our default opts to NConnectSigner, add c.set('signer') calls to nip98 middleware
|
2024-05-14 12:04:31 -05:00 |
|
Alex Gleason
|
c715827c81
|
c.get('pubkey') -> await c.get('signer')?.getPublicKey()
|
2024-05-14 11:57:03 -05:00 |
|
Alex Gleason
|
c5fbe69b80
|
requirePubkey -> requireSigner
|
2024-05-14 11:42:53 -05:00 |
|
Alex Gleason
|
5a2b1b7de7
|
Destroy everything
|
2024-05-14 11:40:20 -05:00 |
|
Alex Gleason
|
ee7864da8c
|
Add a signerMiddleware
|
2024-05-14 11:31:20 -05:00 |
|
Alex Gleason
|
3513206de1
|
stickynotes alias
|
2024-05-01 16:14:50 -05:00 |
|
Alex Gleason
|
c190d2c8ce
|
Refactor Storages to get lazy-loaded only when they are used
|
2024-05-01 14:56:47 -05: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
|
e8e45360d3
|
refactor(store middleware): get adminStore through function
|
2024-04-30 21:21:32 -03:00 |
|
Alex Gleason
|
0bb4ccf5c9
|
Move nostr-tools to an import alias
|
2024-04-30 18:43:53 -05:00 |
|
Alex Gleason
|
d22c606960
|
storeMiddleware: pass through admin UserStore
|
2024-04-30 13:27:30 -05:00 |
|
Alex Gleason
|
25db277a9f
|
storeMiddleware: remove as string
|
2024-04-29 15:10:08 -05:00 |
|
P. Reis
|
86573a579b
|
refactor: store middleware
|
2024-04-27 20:59:35 -03:00 |
|
P. Reis
|
7b864482bf
|
feat: create user store middleware
|
2024-04-27 17:00:03 -03:00 |
|
Alex Gleason
|
64d50552b7
|
Import hono with an import alias
|
2024-04-20 18:54:15 -05:00 |
|
Alex Gleason
|
9c91e41e87
|
Switch NSpec to Nostrify, update imports
|
2024-04-19 16:39:35 -05:00 |
|
Alex Gleason
|
1cb53bdb84
|
Revert "Merge branch 'rework-cache' into 'main'"
This reverts merge request !156
|
2024-04-19 14:37:53 +00:00 |
|
Alex Gleason
|
ff3d8e3f90
|
cache: use the old response body to prevent memory leaks
|
2024-04-13 14:36:31 -05:00 |
|