1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00
Commit Graph

31800 Commits

Author SHA1 Message Date
Leafus
ef91184d75 feat: validate remote actors on inbox 2025-08-25 00:11:10 +09:30
Leafus
a6360abd43 fix: remove awaits from DeleteAccountService 2025-08-25 00:11:10 +09:30
Leafus
238aeed753 fix: fix stuff after merge 2025-08-25 00:11:10 +09:30
Leafus
5a5914be8d fix: temp fix for approval email issue 2025-08-25 00:11:09 +09:30
Leafus
e42e7e1e94 feat!: extensive theme overhaul (#9) 2025-08-25 00:11:09 +09:30
Leafus
fe54ebf2af fix: change account cookie to be root (#8) 2025-08-25 00:11:09 +09:30
Leafus
7b420acff5 fix: add music and registration word migration script
This should have been two files, AddMusicFieldsToMeta.js and
AddRegWordFieldsToMeta.js but it's a bit too late to do that now because
it will run twice.

See if we can fix this later as it makes it difficult to cherry pick the
music patch or registration word patch.
2025-08-25 00:11:09 +09:30
Leafus
d2fb093a35 feat: add music to user profiles (#7) 2025-08-25 00:11:09 +09:30
Leafus
9599b802a4 feat: add music to front page of instance (#6) 2025-08-25 00:11:09 +09:30
Leafus
400354237c feat: long instance descriptions (#5) 2025-08-25 00:11:08 +09:30
Leafus
a2757f235f fix: removed unused options Antenna and Channel (#4) 2025-08-25 00:11:08 +09:30
Leafus
60af374a81 feat: require credentials for various endpoints (#3) 2025-08-25 00:11:08 +09:30
Leafus
df322ebadc feat: require a special registration word in registration reason (#2)
A crude way to prune out people who don't read the rules. The hint is in
the bottom of the rules generally.
2025-08-25 00:11:08 +09:30
Leafus
06ff35a89f docs: change branding Pawkey (#1)
- Change string instances from Sharkey to Pawkey
- Change logos and art to Pawkey
- Change repository URL where possible to our git repo
- Puppy > Shonks
- Change repo in compose_example.yml

Co-Authored-By: Bluey Heeler <bluey@pawkey.dev>
2025-08-25 00:11:03 +09:30
dakkar
a2bc6603c2 merge: For 2025.4.4 (!1199)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1199

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-31 21:53:33 +00:00
dakkar
ce3531ed96 merge: Improve URL validation *FOR STABLE* (!1191)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1191

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-28 19:28:01 +00:00
Hazelnoot
db15ac0fbb fix DI error in HttpRequestService.ts 2025-07-27 19:39:20 +01:00
Hazelnoot
25622b536c resolve domain names when checking for private URLs 2025-07-27 19:39:20 +01:00
Hazelnoot
3c59a7ae01 allow HTTP connections to private IPs 2025-07-27 19:39:20 +01:00
Hazelnoot
af967fe6be refactor actor validation to reduce code duplication 2025-07-27 19:39:20 +01:00
Hazelnoot
2f67882f82 merge: Fix Postgres / TypeORM errors *FOR STABLE* (!1192)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1192

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:02:25 +00:00
Hazelnoot
b39439f9fb merge: Fix factor scaling in rate limit *FOR STABLE* (!1194)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1194

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:02:12 +00:00
Hazelnoot
823fdf2745 merge: Fix link verification for actors without a url field *FOR STABLE* (!1193)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1193

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:01:58 +00:00
Hazelnoot
9b866613d7 merge: Fix extremely poor performance of users/report-abuse endpoint *FOR STABLE* (!1195)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1195

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:01:55 +00:00
dakkar
8994a95f13 bump release version 2025-07-27 18:50:22 +01:00
Hazelnoot
ec11092e8d fix cherry-pick error: restore CacheService.findOptionalUserById 2025-07-27 18:09:42 +01:00
Hazelnoot
84ca3621d8 fix users/report-abuse endpoint being really slow 2025-07-27 18:08:38 +01:00
Hazelnoot
9ac58e6107 scale rate limit dripRate with factor 2025-07-27 18:05:35 +01:00
Hazelnoot
2c8c422cb6 include profile URI for link verification 2025-07-27 18:03:35 +01:00
Hazelnoot
ea9335bcc8 fix more freeze / unfreeze errors caused by TypeORM bugs 2025-07-27 18:01:11 +01:00
Hazelnoot
73f2ee4fb3 fix user suspension / unsuspension not updating caches 2025-07-27 18:01:11 +01:00
Hazelnoot
f937f2d3c6 fix error in UserSuspendService.freezeAll and UserSuspendService.unFreezeAll caused by TypeORM bug 2025-07-27 18:01:11 +01:00
Hazelnoot
3dde7f25a6 move CaptchaError to a separate file to avoid circular import errors 2025-07-27 17:57:30 +01:00
Hazelnoot
dc19b18112 add comment about validation in verify-field-link.ts 2025-07-27 17:57:30 +01:00
Hazelnoot
e8c7134123 remove unused console logging fallbacks 2025-07-27 17:57:30 +01:00
Hazelnoot
bf455c2f7a use logger instead of console for uncaughtException debug lines 2025-07-27 17:57:30 +01:00
Hazelnoot
283facdd31 add workarounds for node-fetch crashes 2025-07-27 17:57:30 +01:00
Hazelnoot
d36b94c8cf fix URL errors from incorrect validation in validateActor 2025-07-27 17:57:30 +01:00
Hazelnoot
d3f672657e re-use parsed URI in validateActor 2025-07-27 17:57:30 +01:00
Hazelnoot
df0331ea04 verify URLs in DownloadService 2025-07-27 17:57:30 +01:00
Hazelnoot
3849e8c15a use shared URL verification in verifyLinkFields 2025-07-27 17:57:30 +01:00
Hazelnoot
982223ad38 validate all URLs before fetch 2025-07-27 17:57:26 +01:00
Hazelnoot
51ad31b5a4 merge: disable outgoing mastodon quotes *FOR STABLE* (!1169)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1169

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:30:10 +00:00
dakkar
b5034f673c merge: mark grouped notifs by oldest id - sort-of fix 1139 (!1152)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1152

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:42:29 +00:00
Hazelnoot
4d64f9e5eb merge: recalculate size&hash after web-optimising videos (!1150)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1150

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-26 22:50:08 +00:00
dakkar
215f095a3f sort notifications by creation time
so groups are sorted newest first according to the displayed time
2025-07-25 21:46:01 +01:00
Hazelnoot
38616ab246 disable outgoing mastodon quotes 2025-07-16 10:58:05 +01:00
dakkar
c927c30567 mark grouped notifs by oldest id - sort-of fix 1139
Misskey's code does the same, but our groups behave differently enough
that this may be not the best choice

for example, let's say we have:

- notifications 1-5 for reaction to note A
- notifications 6-8 for reaction to note B
- notifications 9-12 for reaction to note A
- notification 13-19 for non-groupable events
- notification 20 for reaction to note A

and that events happened one every minute (so the last notification is
from 20 minutes ago)

client requests the most recent 10 notifications; we fetch
notifications 1-10, and reply:

- grouped id 6 for reactions 6-8 to note B
- grouped id 10 for reactions 1-5, 9-10 to note A

then the client requests 10 more notifications, untilId=10; we fetch
notifications 11-20, and reply:

- non-grouped notifications 13-19
- grouped id 20 for reactions 11,12,20 to note A

because we sort by id, and also the `createdAt` marks the _newest_
event in each group, the client will then show:

  6 reactions to note B, 6 minutes ago
  4 reactions to note A, 1 minute ago
  notifications 13-19, 13 minutes to 19 minutes ago
  3 reactions to note A, 11 minutes ago

I don't know how to make this work better ☹
2025-07-03 14:16:20 +01:00
dakkar
76c0b646b1 recalculate size&hash after web-optimising videos 2025-07-02 16:43:24 +01:00
Julia
a77c32b17d merge: prepare release 2025.4.3 (!1125)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1125

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-06-19 21:35:18 +00:00