Hazelnoot
a55649e89a
move global services to "global" directory
2025-11-05 19:42:28 -05:00
Hazelnoot
05be2596ea
update backend to the new templates
2025-11-05 19:41:08 -05:00
Hazelnoot
9beeca5942
modernize backend to target the same ES and TS standards as the rest of the app
2025-11-05 19:40:49 -05:00
Hazelnoot
2f4270b8f7
manage GC timers in CacheManagementService
2025-11-05 19:21:51 -05:00
Hazelnoot
deff0c0f49
fix lint errors about use of console and new() cache
2025-11-05 19:21:51 -05:00
Hazelnoot
3a92471b68
convert all remaining backend code to TimeService
2025-11-05 19:21:50 -05:00
Hazelnoot
6cceca90f9
use TimeService everywhere in the backend
2025-11-05 19:21:46 -05:00
Hazelnoot
a21a53b9f4
add patchDate() utility
2025-11-05 19:20:25 -05:00
Hazelnoot
72da199f61
pass services into caches through constructor
2025-11-05 19:20:05 -05:00
Hazelnoot
4116c19e7e
add fetchMaybe() method to QuantumKVCache
2025-11-05 19:20:05 -05:00
Hazelnoot
eda982882e
fix incorrect event names in QuantumKVCache comments
2025-11-05 19:20:05 -05:00
Hazelnoot
8828f37b57
add clear() / dispose() methods to memory caches
2025-11-05 19:20:05 -05:00
Hazelnoot
920dd5893d
add [isRetryableSymbol] to begin moving away from unreliable heuristic
2025-11-05 19:20:04 -05:00
Hazelnoot
37f00b9ca1
recurse to Error.cause in is-retryable-error.ts
2025-11-05 19:20:04 -05:00
Hazelnoot
ac0e3d9394
prevent crash if Redis cache has a negative lifetime
2025-11-05 19:20:04 -05:00
Hazelnoot
5f6578c8cd
fix circular dependency caused by is-retryable-error, render-inline-error, and render-full-error
2025-11-05 19:20:04 -05:00
Hazelnoot
5a28c4e110
implement kvp-array.ts utility
2025-11-05 19:20:04 -05:00
Hazelnoot
df750a6b65
pass client token through API via caller ID
2025-10-07 20:50:04 -04:00
Hazelnoot
c66020c6cd
restore appendContentWarning
2025-09-13 11:34:39 -04:00
Hazelnoot
97371bd893
update get-note-summary (both copies) to use same wording as SkMutedNote
2025-09-13 11:34:38 -04:00
Hazelnoot
5e0115335a
add mandatory CW for instances
2025-09-13 11:34:35 -04:00
Hazelnoot
92750240eb
implement mandatory CW for notes ( resolves #910 )
2025-09-13 11:34:35 -04:00
Hazelnoot
1cf5988885
merge: Improve URL validation ( !1155 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1155
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:20 +00:00
Hazelnoot
8107f7f576
move CaptchaError to a separate file to avoid circular import errors
2025-07-21 16:16:33 -04:00
Hazelnoot
f1038c42e8
add comment about validation in verify-field-link.ts
2025-07-21 16:16:33 -04:00
Hazelnoot
dac310b540
use shared URL verification in verifyLinkFields
2025-07-21 16:16:32 -04:00
Hazelnoot
2b7c74c63c
include profile URI for link verification
2025-07-21 15:55:36 -04:00
dakkar
33aee38a59
Merge branch 'develop' into upstream/2025.5.0
2025-06-13 08:43:17 +01:00
Hazelnoot
7eca06d672
use pnpm package alias for @transfem-org/sfm-js
2025-06-12 21:11:16 -04:00
Hazelnoot
1a964cb6c0
pcleanup dependencies:
...
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
dakkar
3ebf9c4a71
Merge branch 'develop' into upstream/2025.5.0
2025-06-10 14:02:32 +01:00
Hazelnoot
fa68751a19
normalize userFollowingsCache / userFollowersCache and add hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places
2025-06-09 11:02:51 -04:00
Hazelnoot
0c84d73294
move QuantumKVCache to a separate file
2025-06-09 11:02:36 -04:00
Hazelnoot
2e486f02ff
implement no-op caches for testing
2025-06-09 11:02:36 -04:00
Hazelnoot
b7624666d6
implement QuantumKVCache.add and QuantumKVCache.addMany
2025-06-09 11:02:36 -04:00
Hazelnoot
207abaff88
implement QuantumKVCache.setMany and QuantumKVCache.seleteMany
2025-06-09 11:02:36 -04:00
Hazelnoot
f446d77cb5
implement QuantumKVCache
2025-06-09 11:02:36 -04:00
Hazelnoot
22653efdc4
reduce log spam from QueueProcessorService
2025-06-06 22:20:17 -04:00
Hazelnoot
2cba0ada3c
more use of identifiable errors, improvements to inner error rendering, and more heuristics for is-retryable-error
2025-06-06 22:20:17 -04:00
Hazelnoot
c8797451e3
render error cause in render-inline-error.ts
2025-06-06 22:20:17 -04:00
Hazelnoot
4540614f7b
add more details to IdentifiableErrors
2025-06-06 22:20:17 -04:00
Hazelnoot
6627e8a9b8
add more details to StatusErrors
2025-06-06 22:20:17 -04:00
Hazelnoot
6d6e1dc0c0
reduce log spam from DownloadService
2025-06-06 22:20:16 -04:00
Hazelnoot
fd41332a85
do not retry SyntaxErrors
2025-06-06 22:19:50 -04:00
Hazelnoot
61d0aeba2e
add renderInlineError to serialize errors in a consistent way
2025-06-06 22:19:50 -04:00
Hazelnoot
f2033ecdc6
recognize FetchError as retryable
2025-06-06 22:19:49 -04:00
dakkar
46bb75d274
Merge branch 'develop' into upstream/2025.5.0
2025-05-30 11:13:37 +01:00
Hazelnoot
35dfde838b
add function diffArraysSimple for more efficient change detection
2025-05-28 21:31:40 -04:00
Hazelnoot
8a2ed3bc86
minor optimization to diff-arrays
2025-05-28 21:31:40 -04:00
Hazelnoot
7385f30903
clear federatedInstanceCache when meta host lists change
2025-05-28 21:31:40 -04:00