Commit graph

1533 commits

Author SHA1 Message Date
Kainoa Kanter 63da6ac437 Merge pull request '[PR]: Cache server' (#10419) from refactor/cache-server into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10419
2023-07-06 21:55:44 +00:00
Kainoa Kanter 1ad0eec00d revert 49fd403474
revert fix: 🐛 fix quotes with CW-only quotes
2023-07-06 21:53:44 +00:00
Namekuji 3705a1ecb1
refactor: cache relays for a longer time 2023-07-06 17:49:41 -04:00
Namekuji f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Namekuji c51e5074cf
fix: use host as prefix of cacheServer if undefined 2023-07-06 17:06:31 -04:00
ThatOneCalculator cf83065254
chore: 🎨 format 2023-07-06 12:47:33 -07:00
Johann150 49fd403474
fix: 🐛 fix quotes with CW-only quotes 2023-07-06 12:46:19 -07:00
ThatOneCalculator 1548250360
feat: cache server 2023-07-06 11:50:34 -07:00
Laura Hausmann c2e17fbaff [mastodon-client] code cleanup, remove redundant function calls 2023-07-06 02:16:51 +00:00
Laura Hausmann a315c101d4 Remove debug logging 2023-07-06 02:16:51 +00:00
Laura Hausmann a8f58fa912 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann 2a5edd3ca1 [mastodon-client] Disable emoji reactions preview in TL 2023-07-06 02:16:51 +00:00
Laura Hausmann ab18c22fa9 [mastodon-client] Move megalodon to main repo 2023-07-06 02:16:51 +00:00
Laura Hausmann 9fd44339e8 [mastodon-client] Code formatting pass 2023-07-06 02:16:51 +00:00
Laura Hausmann 6606abd7d9 [mastodon-client] Fix posting statuses with attachment 2023-07-06 02:16:51 +00:00
Laura Hausmann 147e9f1e89 [mastodon-client] megalodon compat changes 2023-07-06 02:16:51 +00:00
Laura Hausmann eae145eb53 [mastodon-client] Add transparent.png asset 2023-07-06 02:16:51 +00:00
Laura Hausmann c0517b57a0 [mastodon-client] Add endpoints 2023-07-06 02:16:51 +00:00
ThatOneCalculator 092c439993
refactor: ♻️ read patrons from local file for fallback instead of empty array 2023-07-05 18:44:29 -07:00
ThatOneCalculator e2ff531172
chore: ⬆️ up prettier, pnpm 2023-07-05 18:28:27 -07:00
Namekuji bc13416f8e
fix: do not deliver poll result if local-only 2023-07-04 01:59:43 -04:00
ThatOneCalculator e603745f97
fix: immediately fail jobs with invalid signature 2023-07-03 10:29:52 -07:00
ThatOneCalculator c392697b4c
chore: 🎨 format 2023-07-02 23:08:33 -07:00
Namekuji 722ccf04f9
rename arg 2023-07-02 23:14:43 -04:00
Namekuji af4797bb8e
throw error if failed 2023-07-02 22:25:58 -04:00
Namekuji 355b1e0063
no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji 76c9422d53
add cache prefix 2023-07-02 20:55:20 -04:00
Namekuji 947163fde2
store cache values to redis 2023-07-02 20:37:46 -04:00
Syuilo 703f28a1ab
refactor: make identicons and server metrics optional
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-07-02 16:23:11 -07:00
Kainoa Kanter c0348add7a Merge pull request '[PR]: Embedded all attachment, renotes and discussion history into rss feed content & improve title, and not generate feed for locked account' (#10388) from cgsama/calckey:feedenhance into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10388
2023-07-02 21:50:09 +00:00
ThatOneCalculator 63c193f9fc
Revert "Merge pull request '[PR]: fix: use redis-based mutex to prevent memory leak' (#10389) from nmkj/calckey:fix-cache-leak into develop"
This reverts commit 224b1d585b, reversing
changes made to b5907fb86d.
2023-07-02 10:10:25 -07:00
ThatOneCalculator 73edce511f
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-02 08:30:25 -07:00
ThatOneCalculator 5004da0ea3
adjust timeout for indexing notes 2023-07-02 00:47:55 -07:00
ThatOneCalculator 17009455da
fix: 🐛 patron timeout 2023-07-02 00:16:01 -07:00
Namekuji eee80b3ff6
set log level to debug 2023-07-02 02:03:14 -04:00
Namekuji ac2b057f85
fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
Kainoa Kanter 599fc3d7a3 Merge pull request '[PR]: fix: publication logic involving relays' (#10383) from nmkj/calckey:fix-boost-publication into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10383
2023-07-02 05:28:01 +00:00
Laura Hausmann 6c29a2ae01
Fix mastodon api conversion for new note id type 2023-07-01 22:07:08 -07:00
CGsama ba680211ca Embedded all attachment, renotes and discussion history into rss feed content & improve title, and not generate feed for locked account 2023-07-01 23:58:36 -04:00
ThatOneCalculator d9af4f3a27
refactor: 🚩 post editing is no longer experimental 2023-07-01 20:00:51 -07:00
Namekuji 49e17e776c
refactor: examine by get instead of exists 2023-07-01 04:09:04 -04:00
Namekuji ab789f2ca8
fix: await release 2023-07-01 03:49:44 -04:00
Namekuji 4bf1dbbd83
change mutex key 2023-07-01 03:49:43 -04:00
Namekuji 38d4d34713
refactor: use redis-semaphore for mutex across workers 2023-07-01 03:49:43 -04:00
Namekuji f53fa96fc6
refactor: no url instantiation 2023-07-01 03:49:43 -04:00
Namekuji 159f788696
fix: ignore if post boosted by relay is local 2023-07-01 03:49:42 -04:00
Namekuji 44bf99e0c1
fix: multiple boost publication by relay 2023-07-01 03:49:39 -04:00
ThatOneCalculator ee5a08efdc
chore: 🎨 format 2023-06-30 23:35:45 -07:00
ThatOneCalculator 6fbe508403
refactor: ♻️ force patrons update on about-calckey 2023-06-30 23:33:54 -07:00
cgsama 42ede2ce6a Merge branch 'develop' into cgsama-patch-1 2023-06-30 06:40:53 +00:00