Commit Graph

1272 Commits

Author SHA1 Message Date
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
P. Reis 3ebcf7ea25 refactor: undo repost counter in getStatsDiff 2024-04-11 09:53:24 -03:00
P. Reis cdb0d817ed fix: repost counter works when undo repost 2024-04-10 19:15:24 -03:00
Alex Gleason bff8c62572 Merge branch 'feat-undo-repost' into 'main'
feat: undo repost

See merge request soapbox-pub/ditto!150
2024-04-10 13:20:15 +00:00
P. Reis 10e3def9d5 docs: mark repost feature as completed 2024-04-09 20:43:03 -03:00
P. Reis 9f24f35a21 refactor: cast pubkey as string 2024-04-09 20:32:27 -03:00
Alex Gleason a63dc8be4e Apply 2 suggestion(s) to 1 file(s) 2024-04-09 22:08:37 +00:00
P. Reis 7e8401688c feat: undo repost 2024-04-09 18:27:17 -03:00
Alex Gleason e1e07de435 Merge branch 'refactor-resolve-import' into 'main'
refactor(interfaces): resolve import specifier via the active import map

See merge request soapbox-pub/ditto!149
2024-04-09 18:16:10 +00:00
P. Reis 11f668dc8c refactor(interfaces): resolve import specifier via the active import map 2024-04-09 15:08:07 -03:00
Alex Gleason 76878d9dc8 Merge branch 'fix-streaming-update' into 'main'
fix: always update home timeline in real time when reposting

See merge request soapbox-pub/ditto!148
2024-04-09 14:38:55 +00:00
P. Reis dd307f5b3f fix: always update home timeline in realtime when reposting 2024-04-09 11:35:18 -03:00
Alex Gleason 2169f8f26a Merge branch 'fix-find-event' into 'main'
fix: find event and not pubkey in renderReblog

See merge request soapbox-pub/ditto!146
2024-04-09 14:29:57 +00:00
Alex Gleason 06ca3706b8 Apply 1 suggestion(s) to 1 file(s) 2024-04-09 14:27:41 +00:00
P. Reis 846c8824d4 Merge branch 'main' into 'fix-find-event'
# Conflicts:
#   src/views/mastodon/statuses.ts
2024-04-08 18:46:11 +00:00
Alex Gleason b8cce3b309 Merge branch 'fix-types' into 'main'
Fix types

See merge request soapbox-pub/ditto!147
2024-04-08 16:41:16 +00:00
Alex Gleason 9bfed222da
unfurlCard: fix types 2024-04-08 11:38:59 -05:00
Alex Gleason 57b0224517
renderReblog: fix types 2024-04-08 11:34:21 -05:00
Alex Gleason bc33f270d0
gitlab-ci: check types 2024-04-08 11:33:28 -05:00
P. Reis 0da9d2e3f4 fix: find event and not pubkey in renderReblog 2024-04-08 13:28:30 -03:00
Alex Gleason 70a29a74fb Merge branch 'repost-feat' into 'main'
feat: repost functionality

See merge request soapbox-pub/ditto!133
2024-04-08 15:54:43 +00:00
Alex Gleason d7d52bbdee Apply 1 suggestion(s) to 1 file(s) 2024-04-08 15:53:08 +00:00
Alex Gleason 1f7a4664ec Apply 2 suggestion(s) to 2 file(s) 2024-04-08 15:49:35 +00:00
Alex Gleason 43c25055db Merge branch 'avoid-count' into 'main'
Avoid EventDB.count for single row fetches

See merge request soapbox-pub/ditto!145
2024-04-08 15:45:31 +00:00
Alex Gleason 595d5a4117
Avoid EventDB.count for single row fetches 2024-04-08 10:43:26 -05:00
Alex Gleason 9024ec8655 Merge branch 'perf-log-params' into 'main'
SqliteWorker: log query parameters

See merge request soapbox-pub/ditto!143
2024-04-08 14:24:06 +00:00
Alex Gleason 2fb2b2ce2a
SqliteWorker: log query parameters 2024-04-08 09:13:20 -05:00
Alex Gleason 96887483e8 Merge branch 'perf-enabled' into 'main'
SqliteWorker: only call perf functions when debugging is enabled

See merge request soapbox-pub/ditto!142
2024-04-08 13:52:57 +00:00
Alex Gleason 4e999d0f39
SqliteWorker: only call perf functions when debugging is enabled 2024-04-08 08:51:04 -05:00
Alex Gleason f17e5d57f9 Merge branch 'perf-clear' into 'main'
SqliteWorker: clear performance marks & measures

See merge request soapbox-pub/ditto!141
2024-04-08 13:39:37 +00:00
Alex Gleason 8185843f12
SqliteWorker: clear performance marks & measures 2024-04-08 08:37:37 -05:00
P. Reis d8a471272d feat: update home timeline in realtime when reposting 2024-04-07 20:37:54 -03:00
P. Reis 25b1e7229c fix: stop home timeline hanging/loading when no posts are available 2024-04-07 20:26:47 -03:00
Alex Gleason be12e5234b Merge branch 'unfurl-6.4.0' into 'main'
Upgrade unfurl to v6.4.0

See merge request soapbox-pub/ditto!140
2024-04-07 03:27:50 +00:00
Alex Gleason 0bac971818
Upgrade unfurl to v6.4.0 2024-04-06 21:44:17 -05:00
Alex Gleason bff7667298 Merge branch 'is-local' into 'main'
renderAccount: add pleroma.is_local parameter

See merge request soapbox-pub/ditto!139
2024-04-07 02:27:00 +00:00
Alex Gleason 49c9b0eff9
renderAccount: add pleroma.is_local parameter 2024-04-06 21:12:48 -05:00
P. Reis 25fcd04d9f fix: deno fmt 2024-04-06 23:12:30 -03:00
P. Reis ba08958b30 feat: attempt to delete repost if original post is deleted 2024-04-06 22:32:39 -03:00