Julian Lam
ef2a17f25d
fix: remove reference to hallucinated schema, fix hideSave definitions
2026-04-09 20:15:42 -04:00
Julian Lam
080aac5114
fix: lint
2026-04-09 15:36:01 -04:00
Julian Lam
21c4fbc5f1
fix: rejig AP errors UX
2026-04-09 10:50:02 -04:00
Julian Lam
098ee291b4
refactor: ap error recording to also capture stack trace, prettify json on output
2026-04-08 15:17:46 -04:00
Julian Lam
621aaa0f35
fix: reverse args
2026-04-08 13:36:55 -04:00
Julian Lam
f097901f27
fix: revrange
2026-04-08 12:34:48 -04:00
Julian Lam
818d621de3
fix: wrong database key
2026-04-08 12:17:28 -04:00
Julian Lam
2699fd2278
feat: ap/errors acp page
2026-04-08 12:12:53 -04:00
Julian Lam
9a981145de
fix: analytics job
2026-04-08 11:32:49 -04:00
Julian Lam
bfe0df736e
feat: cron job to clear out old ap errors
2026-04-08 11:26:27 -04:00
Barış Soner Uşaklı
9b702addf0
Merge branch 'master' into develop
2026-04-08 11:24:29 -04:00
Barış Soner Uşaklı
9592c1762b
dont set isAPI, it is done by middleware.prepareAPI
2026-04-08 11:24:19 -04:00
Barış Soner Uşaklı
71a27d81e9
Merge branch 'master' into develop
2026-04-08 11:19:23 -04:00
Barış Soner Uşaklı
55290da01a
refactor: use renderHeaderType instead of two variables
...
add middleware.admin.buildHeaderAsync so it can be called manually with await middleware.admin.buildHeaderAsync(req, res)
2026-04-08 11:19:13 -04:00
Julian Lam
188e2b10e9
feat: integrate ap.inErr analytics into federation analytics chart
2026-04-08 11:18:15 -04:00
Julian Lam
684f03db08
fix: alpha sort instances
2026-04-08 11:18:15 -04:00
Dirk Plate
4366bdd0d8
fix: use file.exists instead of try/catch to detect missing email logo ( #14154 )
...
The previous ENOENT check in getLogoSize never worked because image.size
passes the path directly to sharp, which throws a plain Error with message
"Input file is missing" rather than a Node.js ENOENT error. This caused
saving any admin settings to fail when brand:logo was set but the x50 file
was missing (e.g. after a fresh deployment).
2026-04-07 09:11:54 -04:00
Barış Soner Uşaklı
62b65e69ab
fix: closes #14151 , handle null req.body
2026-04-06 17:20:06 -04:00
Barış Soner Uşaklı
5d5490d36a
fix: closes #14151 , handle null req.body
2026-04-06 17:19:55 -04:00
Julian Lam
d74e5fabbe
refactor: activitypub inbox to throw errors directly, move reject to internal method, handle errors at controller level by calling internal reject method to bounce back an AP Reject, closes ##14150
2026-04-06 09:54:23 -04:00
Barış Soner Uşaklı
4dfbd8d51f
fix: remove optional
2026-04-03 22:05:08 -04:00
Barış Soner Uşaklı
20e751f0e8
fix: remove optional
2026-04-03 22:04:59 -04:00
Barış Soner Uşaklı
0568ef4310
fix : #14147 , dont create wrong backlinks
...
syncBacklinks expects raw post content, html was passed to it from onNewPost since it was switched to use getPostSummary
backlinkRegex was matching ${nconf.get('url')}/topic/1aef954c-d0dc-45cf-acf2-e3a59f6cc134/foo and return tid=1 instead of the uuid
remove useless if check in syncBacklinks
fixed parseInts on tids
current - remove are both arrays use .length
2026-04-03 21:54:18 -04:00
Barış Soner Uşaklı
a09192d486
fix : #14147 , dont create wrong backlinks
...
syncBacklinks expects raw post content, html was passed to it from onNewPost since it was switched to use getPostSummary
backlinkRegex was matching ${nconf.get('url')}/topic/1aef954c-d0dc-45cf-acf2-e3a59f6cc134/foo and return tid=1 instead of the uuid
remove useless if check in syncBacklinks
fixed parseInts on tids
current - remove are both arrays use .length
2026-04-03 21:54:05 -04:00
Barış Soner Uşaklı
e145330c37
perf: convert expireAt index to partial
...
no need to store null in index for all documents
2026-04-03 20:17:06 -04:00
Barış Soner Uşaklı
072b1e864d
dont escape viewport meta tag
2026-04-03 17:01:48 -04:00
Barış Soner Uşaklı
f66317b7a7
add extension to name, when upload profile pictures
2026-04-03 12:03:46 -04:00
Julian Lam
b3600e0b7f
fix: add in a deduplication guard after calling contexts.getItems
2026-04-02 15:31:45 -04:00
Julian Lam
5a04916879
fix: off-by-one error in helpers.generateCollection, fixed incorrect totalItems count between pages in Actors.topic
2026-04-02 14:48:00 -04:00
Julian Lam
531d20af3e
fix: wrap batch processing behind setImmediate() so that it runs on the next iteration of the event loop
2026-04-02 12:16:50 -04:00
Julian Lam
6371528f2a
fix: pre-calculate payload digest earlier in chain so that it is not unnecessarily done once per recipient
...
re: #14138
2026-04-02 11:59:28 -04:00
Julian Lam
448a76e1c4
refactor: replace old createSign/createVerify methods with more modern sign/verify, called asynchronously, add lru cache to public key fetches so that a received activity does not kick off a network request unnecessarily
2026-04-02 11:39:58 -04:00
Julian Lam
be44247339
fix: dynamically calculate batch size and interval when sending AP messages, based on CPU count, #14138
2026-04-02 11:39:58 -04:00
Julian Lam
f008a65ea2
feat: record AP parsing failures, save activity in db for 24h
2026-04-01 15:08:53 -04:00
Julian Lam
fa0b72e2a2
fix: wrong set name
2026-04-01 14:41:39 -04:00
Julian Lam
54893c81b4
feat: hourly and daily terms for ap analytics
2026-04-01 14:32:50 -04:00
Julian Lam
ab3c39eb62
fix: bad args sent to activitypub.record.send
2026-04-01 14:09:59 -04:00
Julian Lam
a58771ed8a
fix: rename 'activities' to 'received' in federation analytics
2026-04-01 14:03:00 -04:00
Julian Lam
0b80cf1c92
feat: track and show sent activities as well
2026-04-01 14:03:00 -04:00
Julian Lam
9e5312a185
feat: basic federation analytics with filtering by host
2026-04-01 13:42:19 -04:00
Barış Soner Uşaklı
6dba5ce9dd
Merge branch 'master' into develop
2026-03-30 19:43:06 -04:00
Barış Soner Uşaklı
fb48ab3455
fix: user image og:image
2026-03-30 19:42:58 -04:00
Barış Uşaklı
2612340bc9
refactor socket notifications ( #14135 )
...
* refactor socket notifications
* dunno why these two gut fubared
* add missing yaml files
* more fixes
* fix: schema
* lint: fix lint issues
2026-03-30 12:02:34 -04:00
Julian Lam
ce4549c524
fix: do not plumb req.uid into notes.assert (breaks getParentChain)
2026-03-30 11:55:08 -04:00
Julian Lam
be347e674b
fix: loosen actor-matching check in Undo activity
2026-03-30 10:29:23 -04:00
Julian Lam
c37a9103c8
fix: ActivityPub.fetchPublicKey to better handle key IDs that return CryptographicKey objects, #14130
2026-03-30 10:20:38 -04:00
Barış Soner Uşaklı
d0d5441340
Merge branch 'master' into develop
2026-03-30 09:47:45 -04:00
Barış Soner Uşaklı
af0e3d9689
fix: closes #14133 , don't modify displayName for system groups
...
added a helper to just modify it for front end
2026-03-30 09:45:07 -04:00
Julian Lam
f3eeec93df
fix : #14130 , set addressee on follow, undo(follow), and accept(follow)
2026-03-29 21:19:38 -04:00
Barış Soner Uşaklı
203f4cc7ff
fix: try a save point in retry
2026-03-28 15:16:15 -04:00