Alex Gleason
|
9c91e41e87
|
Switch NSpec to Nostrify, update imports
|
2024-04-19 16:39:35 -05:00 |
Alex Gleason
|
450acddc32
|
Remove pragma.ts
|
2024-04-19 15:34:05 -05:00 |
Alex Gleason
|
2e41254507
|
Add Postgres adapter
|
2024-04-19 15:17:09 -05:00 |
Alex Gleason
|
3753648f99
|
Use new DittoDB module, rename old interface to DittoTables
|
2024-04-19 12:26:15 -05:00 |
Alex Gleason
|
4085443e45
|
Add DittoDB module for selecting a database depending on the DATABASE_URL
|
2024-04-19 12:21:32 -05:00 |
Alex Gleason
|
29102d272a
|
Add DittoSQLite module
|
2024-04-19 12:16:48 -05:00 |
Alex Gleason
|
f6945ecd1c
|
Merge branch 'revert-53bee767' into 'main'
Revert "Merge branch 'rework-cache' into 'main'"
See merge request soapbox-pub/ditto!166
|
2024-04-19 14:40:14 +00: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
|
dd3604908b
|
Merge branch 'fix-reblogged-always-on' into 'main'
Fix reblogged always on problem
See merge request soapbox-pub/ditto!165
|
2024-04-19 14:21:10 +00:00 |
P. Reis
|
e2b377d9c7
|
fix: reblogged field boolean value takes into account viewerPubkey
|
2024-04-19 11:12:11 -03:00 |
P. Reis
|
ae5fe1e0ac
|
fix: hydrate event_stats in hydrateRepostEvents()
|
2024-04-19 10:23:34 -03:00 |
Alex Gleason
|
6555675ef3
|
Merge branch 'database-url' into 'main'
Introduce DATABASE_URL
See merge request soapbox-pub/ditto!164
|
2024-04-19 03:14:53 +00:00 |
Alex Gleason
|
e458f8da13
|
Introduce DATABASE_URL
|
2024-04-18 22:11:58 -05:00 |
Alex Gleason
|
134473bf9f
|
Merge branch 'improv-test-coverage' into 'main'
Improve code coverage in quote repost hydration
See merge request soapbox-pub/ditto!162
|
2024-04-18 15:08:33 +00:00 |
P. Reis
|
7dd6378717
|
test: improv code coverage in quote repost hydration
|
2024-04-18 11:30:49 -03:00 |
Alex Gleason
|
c62c31a171
|
updateStats: await getStatsDiff
|
2024-04-17 22:58:25 -05:00 |
Alex Gleason
|
a07d018ea6
|
Merge branch 'fix-create-status-quote-repost' into 'main'
Fix response when creating a status with quote repost
See merge request soapbox-pub/ditto!160
|
2024-04-16 18:23:35 +00:00 |
P. Reis
|
e19e41f826
|
fix: always populate quote_id if possible
|
2024-04-16 15:16:18 -03:00 |
P. Reis
|
e4892c3e4a
|
fix: response with quote field hydrated in create status
|
2024-04-16 14:44:04 -03:00 |
Alex Gleason
|
97d2fa1b79
|
Merge branch 'feature-quote-repost' into 'main'
Add quote repost feature
See merge request soapbox-pub/ditto!159
|
2024-04-16 16:57:24 +00:00 |
P. Reis
|
a00a932ec1
|
refactor: deno fmt in hydrate test
|
2024-04-16 13:53:00 -03:00 |
P. Reis
|
ed92001b75
|
test: fix so copied object is used instead of original object
|
2024-04-16 13:41:32 -03:00 |
P. Reis
|
3219b53682
|
test: add test for hydrate quote repost without author & fix tests' parallelism problem
|
2024-04-16 13:25:43 -03:00 |
P. Reis
|
a1ce77ef3e
|
test: add events in fixtures dir
|
2024-04-16 10:45:30 -03:00 |
P. Reis
|
4a9232faf7
|
test: add test for hydrate quote repost
|
2024-04-16 09:31:03 -03:00 |
P. Reis
|
d5007162e4
|
refactor(hydrate): remove empty lines
|
2024-04-15 17:25:18 -03:00 |
P. Reis
|
a993051439
|
refactor: pass abort signal in hydrateRepostEvents
|
2024-04-15 17:19:37 -03:00 |
P. Reis
|
6248272243
|
feat: add quote repost
|
2024-04-15 17:19:37 -03:00 |
Alex Gleason
|
b54d044550
|
Merge branch 'refactor-hydrate-repost' into 'main'
refactor: hydrate authors through hydrateEvents() call
See merge request soapbox-pub/ditto!158
|
2024-04-15 13:52:58 +00:00 |
P. Reis
|
e77fd7d48b
|
refactor: hydrate authors through hydrateEvents() call
|
2024-04-15 10:49:10 -03:00 |
Alex Gleason
|
220bbeaba8
|
Merge branch 'test-hydrate' into 'main'
Add tests for hydrate repost and hydrate author
See merge request soapbox-pub/ditto!157
|
2024-04-15 13:36:05 +00:00 |
P. Reis
|
b9c1d0c5fb
|
refactor(hydrate test): cast event as DittoEvent instead of any
|
2024-04-14 22:44:37 -03:00 |
P. Reis
|
b79f8bef30
|
test: add test for hydrate repost
|
2024-04-14 21:02:57 -03:00 |
P. Reis
|
dd53a111db
|
test: add test to hydrate authors
|
2024-04-14 19:03:38 -03:00 |
P. Reis
|
f9831ba74a
|
refactor(events-db-test): resolve import specifier via the active import map
|
2024-04-14 10:32:22 -03:00 |
Alex Gleason
|
fe6b42211c
|
Merge branch 'perf-hydrate-repost' into 'main'
Perf hydrate repost
See merge request soapbox-pub/ditto!154
|
2024-04-13 21:37:54 +00:00 |
P. Reis
|
15853d79df
|
refactor: remove kind 1 event from hydrateEvents in reblog controller
|
2024-04-13 18:31:30 -03:00 |
P. Reis
|
37bee709cd
|
perf: hydrate repost events in reblog endpoint & streaming
|
2024-04-13 18:16:15 -03:00 |
Alex Gleason
|
53bee767f9
|
Merge branch 'rework-cache' into 'main'
Rework cache
See merge request soapbox-pub/ditto!156
|
2024-04-13 19:39:13 +00:00 |
Alex Gleason
|
ff3d8e3f90
|
cache: use the old response body to prevent memory leaks
|
2024-04-13 14:36:31 -05:00 |
Alex Gleason
|
afed0a0b34
|
cache: serve stale response
|
2024-04-13 14:34:37 -05:00 |
Alex Gleason
|
6ab3a640bf
|
Rework cache middleware to use in-memory cache, remove ExpiringCache module
|
2024-04-13 14:00:21 -05:00 |
Alex Gleason
|
a738ed3d4d
|
Merge branch 'instance-cache' into 'main'
Cache /api/v1/instance for 5 minutes
See merge request soapbox-pub/ditto!155
|
2024-04-13 18:30:40 +00:00 |
Alex Gleason
|
6aa877d930
|
Cache /api/v1/instance for 5 minutes
|
2024-04-13 13:28:08 -05:00 |
P. Reis
|
24efca5ea0
|
perf: hydrate repost event in home timeline
|
2024-04-12 21:51:57 -03:00 |
P. Reis
|
581ecd67d6
|
refactor(server): resolve import specifier via the active import map
|
2024-04-12 21:34:32 -03:00 |
P. Reis
|
0f4c76c761
|
refactor(fetch test): resolve import specifier via the active import map
|
2024-04-12 14:26:45 -03:00 |
Alex Gleason
|
a05b0dc473
|
Merge branch 'feat-support-quote-repost' into 'main'
feat: add support for quote repost
See merge request soapbox-pub/ditto!153
|
2024-04-12 17:10:44 +00:00 |
P. Reis
|
073a3df17e
|
feat: add support for quote repost
|
2024-04-12 14:07:22 -03:00 |
Alex Gleason
|
7c14a2d5ef
|
Merge branch 'fix-repost-counter' into 'main'
fix: repost counter works when undo repost
See merge request soapbox-pub/ditto!151
|
2024-04-11 14:45:13 +00:00 |