Commit Graph

943 Commits

Author SHA1 Message Date
Kainoa Kanter
19596a91e4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00
cutestnekoaqua
43b0e3f76e fix: heart reactions 2023-01-12 23:14:45 +01:00
ThatOneCalculator
54607cd1e9 Revert "update pug description"
This reverts commit a79e5275fea7144a834f8faf39ec9b2680278c9b.
2023-01-11 10:44:05 -08:00
cutestnekoaqua
945d43c5e8 introduce unused posts endpoint 2023-01-11 16:48:43 +01:00
cutestnekoaqua
ecebdd5732 update pug description 2023-01-11 16:48:43 +01:00
cutestnekoaqua
2e256eb138 potentially breaking: default lang
I switched the url preview default language from jp-JP to en
@thatonecalculator please review
2023-01-11 16:47:35 +01:00
ThatOneCalculator
bd57f8f932 fix: drive/files/create.ts endpoint 2023-01-10 16:51:48 -08:00
ThatOneCalculator
0720ee3f73 perf: 👷 build backend with swc
Co-authored-by: pikokr <@paring@pikokr.dev>
2023-01-10 16:48:49 -08:00
ThatOneCalculator
62036b0aec Revert "revert: index.ts to test share embed fix"
This reverts commit ac4ef7eace105059eea563670f1bc6df6de3fe4f.
2023-01-10 14:18:15 -08:00
ThatOneCalculator
8ab30f125c revert: koa/router 2023-01-10 14:14:40 -08:00
ThatOneCalculator
d892cd57a9 revert: index.ts to test share embed fix 2023-01-10 14:03:39 -08:00
ThatOneCalculator
d371857f15 improve note summary 2023-01-10 09:39:48 -08:00
ThatOneCalculator
44a3e55b39 fix: 🐛 Poll choice length 256
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
Closes #9433
2023-01-10 08:48:10 -08:00
cutestnekoaqua
cd71d0567f fix: nodeinfo links without inflamatory comments.
Sorry for everyone who I have hurt with this, I had a really bad day, I promise this will
be the last time something like this happened. Please read my public statement.
2023-01-09 22:36:31 +01:00
cutestnekoaqua
2961b9f1c3 fix: comply with nodeinfo 2.1 2023-01-08 22:22:03 +01:00
Kainoa Kanter
d9d124cbf0 Admin set default reactions (#9404)
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9404
2023-01-05 04:06:48 +00:00
Cleo
313ad4be6b Fix: Increase rediculously small file size limit for follower imports
Signed-off-by: Cleo <cutestnekoaqua@noreply.codeberg.org>
2023-01-04 20:32:36 +00:00
ThatOneCalculator
6e59319430 fix: 🐛 federate fedibird quote properly
https://codeberg.org/calckey/calckey/pulls/9399#issuecomment-758047
2023-01-04 09:43:01 -08:00
Kainoa Kanter
4cfa76493a Support quotes provided as 'quoteUri' field (#9399) 2023-01-04 02:39:23 +00:00
Effy Elden
e68fff9e48 Set quoteUri in rendered ActivityPub objects 2023-01-04 13:32:06 +11:00
ThatOneCalculator
0e4f4ebaca fix? 2023-01-03 17:43:12 -08:00
ThatOneCalculator
0db6550efc release version system 2023-01-03 17:38:07 -08:00
Effy Elden
1c269ee9ac Support quotes provided as 'quoteUri' field 2023-01-04 12:08:09 +11:00
ThatOneCalculator
1ea2d34e5a chore: up pkgs 2023-01-03 15:43:52 -08:00
ThatOneCalculator
20405eda18 Revert "chore: upgrade packages"
This reverts commit 245d3815c61a2b644094df15bf2a37567ff47ce4.
2023-01-03 15:42:57 -08:00
ThatOneCalculator
c7e54f3b59 chore: upgrade packages 2023-01-03 15:12:38 -08:00
ThatOneCalculator
a6324564e2 fixes 2023-01-03 09:12:26 -08:00
Kainoa Kanter
be0286a886 Merge pull request 'add antenna mark read functionality' (#9358) from supakaity/calckey:ada/antenna-mark-read into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9358
2022-12-31 10:12:10 +00:00
Kainoa Kanter
fd180ab642 Prevent notifications if the notification is for a note that is muted (#9323) 2022-12-29 11:36:57 +00:00
Kainoa Kanter
2291dd1638 add .js to the end of two type-scripts, fixing a critical error that crashes calckey (#9347) 2022-12-29 11:23:04 +00:00
Kaity A
53e186676d add antenna mark read functionalityu 2022-12-29 10:00:30 +00:00
Kaity A
a453448c90 add antenna mark read functionality 2022-12-29 09:53:04 +00:00
Naomi Ahmed
a443cb7604 deduplicate emojis 2022-12-28 00:15:07 +00:00
Naomi Ahmed
3d0859e7fc Mirror format in custom-emojis.ts 2022-12-28 00:01:18 +00:00
Naomi Ahmed
f0a30d6b4a Fix emoji urls being invalid 2022-12-27 23:59:46 +00:00
Naomi Ahmed
1fd147d054 Fix emojis crashing when it's not found 2022-12-27 23:52:59 +00:00
Daikei!
79776677a1 add .js to the end of two type-scripts, fixing a critical error that crashes calckey 2022-12-27 15:38:05 +00:00
cutestnekoaqua
b16f320607 Reproducible Builds 2022-12-27 00:24:19 +01:00
Kainoa Kanter
698d4f7607 Update 'packages/backend/src/models/repositories/instance.ts' 2022-12-26 14:48:34 +00:00
Naomi Ahmed
9fcac972bd prevent notifications if the notification contains a note that is muted 2022-12-26 04:19:20 +00:00
Johann150
6bd46b077c activitypub: block check for resolving collections 2022-12-25 15:10:44 -05:00
Francis Dinh
48f0a83016 add checks to resolver and performOneActivity 2022-12-25 15:10:33 -05:00
Francis Dinh
8ff259f573 Block subdomains of blocked hosts 2022-12-24 14:46:09 -05:00
ineffyble
ef5ad15012 Fix peers API returning suspended instances 2022-12-23 04:32:45 +00:00
Kainoa Kanter
739b9849b9 Mastodon instance info support (closes #9256) (#9274) 2022-12-22 02:38:53 +00:00
Undefined
7cc4004db6 FIX: Page - Pin to Profile (closes #9234) 2022-12-20 09:00:37 +01:00
Kaity A
324784b355 allow finding compatibility endpoints 2022-12-19 11:20:10 +00:00
Kaity A
612ae420ec Add mastodon compatibility APIs 2022-12-19 09:58:37 +00:00
Cleo
530664ccbc Merge pull request '[Chore] Partial translating of ActivityPub/Boot code + Formatting' (#9229) from prettykool/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9229
2022-12-18 21:01:22 +00:00
ThatOneCalculator
4d6c51d134 downgrade some packages 2022-12-18 11:13:24 -08:00
ThatOneCalculator
2c8a66ed9d feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
cutestnekoaqua
0b87130f08 repo move migration 2022-12-18 19:41:59 +01:00
ThatOneCalculator
1a9e55b0f3 refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator
5b1b0569cc fix: 🥴 2022-12-17 17:47:38 -08:00
ThatOneCalculator
bacac3eb9e Merge remote-tracking branch 'chimiana/develop' into develop 2022-12-17 09:25:08 -08:00
ThatOneCalculator
f6589655b1 chore: dockerfile cleanup 2022-12-17 09:22:25 -08:00
chimiana
41158e9224 Fix for #9194, converts webp to png instead of jpg, preserving transparency 2022-12-17 02:26:19 +00:00
Undefined
29ea572c59 Add FK abuse_user_report.targetUserId -> user.id (closes #9227) 2022-12-16 17:15:53 +01:00
PK
54c3d43ccf Make indentation not completely suck 2022-12-15 18:09:00 -06:00
cutestnekoaqua
5002f0aa2b Finalise POST-Move 2022-12-16 01:06:30 +01:00
PK
2285812a88 Formatting 2022-12-15 16:13:48 -06:00
PK
52cc014e4d Translate portions of backend/src/remote/activitypub, the suspend-user service, and the boot process.
Some of these weren't translated so I thought I'd do 'em cause why not ¯\_(ツ)_/¯
2022-12-15 12:44:03 -06:00
cutestnekoaqua
32fac2c2c8 add check for already moved 2022-12-15 17:39:28 +01:00
cutestnekoaqua
ff9500b9e5 set move ratelimit to graceful 5 times. 2022-12-15 16:59:11 +01:00
cutestnekoaqua
8998bc7836 create local uri out of ID [CI SKIP] 2022-12-15 16:55:22 +01:00
cutestnekoaqua
3be1975b15 change error msg [CI SKIP] 2022-12-15 16:40:13 +01:00
cutestnekoaqua
a93990bbab revert url to uri 2022-12-15 16:33:08 +01:00
cutestnekoaqua
e26724b01e fix federation of moved to to pleroma
because it expects it to be non-existant if its null.
2022-12-14 17:19:31 +01:00
CherryKitten
e875bfc5d7 Always fetch locales when initiating client 2022-12-13 20:04:29 +01:00
ThatOneCalculator
5f62a449a7 feat: customizable max note length 2022-12-12 15:07:38 -08:00
cutestnekoaqua
f31bd5fe48 add local move follower migration 2022-12-12 21:09:51 +01:00
cutestnekoaqua
f91f89bd1d federation 💀 2022-12-12 21:09:51 +01:00
cutestnekoaqua
072d14df95 send moved user object back :3 2022-12-12 20:45:10 +01:00
cutestnekoaqua
9455dedd6d POV: coding at 3am bad 2022-12-12 20:44:11 +01:00
ThatOneCalculator
353537662b fix alsoKnownAs federation 2022-12-12 11:25:28 -08:00
cutestnekoaqua
db7cc867c5 fix calckey-js | fix migration url 2022-12-12 19:36:25 +01:00
ThatOneCalculator
7a8ab8b381 fix calckeyjs 2022-12-12 10:19:18 -08:00
ThatOneCalculator
5a4c74b6ad fix ckjs 2022-12-12 10:04:57 -08:00
ThatOneCalculator
804224f92c Bug fixes, use calckey.js 2022-12-11 19:24:12 -08:00
ThatOneCalculator
06951e7e36 3 move per day (to allow for failures) 2022-12-11 18:34:46 -08:00
ThatOneCalculator
4f9dfbc3c6 Fix UI, beta versioning 2022-12-11 18:32:19 -08:00
ThatOneCalculator
578f787e49 remove unused import 2022-12-11 18:27:58 -08:00
ThatOneCalculator
71d0a5c9ea more descriptive errors 2022-12-11 18:27:44 -08:00
ThatOneCalculator
53644b6877 typo 2022-12-11 18:24:11 -08:00
ThatOneCalculator
2039e70177 use actual ID 2022-12-11 18:19:25 -08:00
ThatOneCalculator
367e19727e Fix move endpoint 2022-12-11 18:18:07 -08:00
Kainoa Kanter
01f463ff7a Merge branch 'develop' into account_migration 2022-12-12 01:51:17 +00:00
ThatOneCalculator
1516e24365 final cleanup 2022-12-11 17:49:14 -08:00
ThatOneCalculator
7bba1a3e57 fix viewing basic federaion info 2022-12-11 17:36:24 -08:00
cutestnekoaqua
3abebba245 Add admin and account locked error. 2022-12-12 02:17:07 +01:00
ThatOneCalculator
6e283ef5e6 Reserve merge conflict 2022-12-11 17:07:57 -08:00
cutestnekoaqua
0219ed2c1d integrate migration ui and api backend 2022-12-12 01:54:44 +01:00
ThatOneCalculator
f4da4b7ebb Initial migration UI
b6

Style improvements to moved
2022-12-12 01:54:43 +01:00
cutestnekoaqua
7b7752fb48 fix queue?
maybe pls

debug log

fixed stupidness again

fix ??

fix import

im a idiot lol

make remote mig work
2022-12-12 01:54:41 +01:00
cutestnekoaqua
0814b60964 change move sql query 2022-12-12 01:54:41 +01:00
cutestnekoaqua
542fb00660 WIP move api call
forgot to merge this
2022-12-12 01:54:36 +01:00
cutestnekoaqua
245e1bf935 fix remote move queue 2022-12-12 01:54:36 +01:00
ThatOneCalculator
08cd73e403 fix?? 2022-12-11 15:19:41 -08:00
ThatOneCalculator
f500fb6a52 fix liked pages endpoint 2022-12-11 14:50:16 -08:00
ThatOneCalculator
fd831572f1 Initial migration UI 2022-12-09 14:28:50 -08:00
cutestnekoaqua
d582aae655 make remote mig work 2022-12-09 01:57:15 +01:00
cutestnekoaqua
fd9c4761e5 im a idiot lol 2022-12-09 01:35:15 +01:00
cutestnekoaqua
dd3a0f2fbe fix import 2022-12-09 01:20:30 +01:00
cutestnekoaqua
8cd54ef940 fix ?? 2022-12-09 01:17:31 +01:00
cutestnekoaqua
9395ff7cfa fixed stupidness again 2022-12-09 00:11:37 +01:00
cutestnekoaqua
2ce9f10707 debug log 2022-12-09 00:08:33 +01:00
cutestnekoaqua
002d614f25 maybe pls 2022-12-08 20:02:55 +01:00
cutestnekoaqua
90a8c7135d fix queue? 2022-12-08 19:28:48 +01:00
cutestnekoaqua
85bd231a5e change move sql query 2022-12-08 15:53:37 +01:00
cutestnekoaqua
0f87b92fb3 forgot to merge this 2022-12-08 01:25:59 +01:00
cutestnekoaqua
0855b6720d WIP move api call 2022-12-08 01:05:07 +01:00
cutestnekoaqua
635290bd33 fix remote move queue 2022-12-07 18:16:37 +01:00
cutestnekoaqua
157134a4d2 yeet japan 2022-12-07 01:16:35 +01:00
cutestnekoaqua
abe351c283 fixed it for good 2022-12-07 01:15:32 +01:00
cutestnekoaqua
09555da38f hopefully fix things.... 2022-12-07 00:56:03 +01:00
ThatOneCalculator
f6eec87c50 Merge branch 'develop' into account_migration 2022-12-06 15:34:50 -08:00
cutestnekoaqua
a3e2897bfc found my DB mistakes 💀 2022-12-07 00:09:12 +01:00
cutestnekoaqua
795a5f0760 update person model 2022-12-06 23:49:21 +01:00
ThatOneCalculator
9992c5f86d Revert "Update deps"
This reverts commit 726e4be958c3b6d2d02e2054af42aea1ba33a1f3.
2022-12-06 10:38:30 -08:00
cutestnekoaqua
ee78b0f115 fix ap person to db model
fixed entries of movedToUri and added entries of alsoKnownAs
2022-12-06 18:05:36 +01:00
Cleo
6141e1a723 Merge pull request 'just using merge bc easier' (#9185) from recieve_moveto into account_migration
Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9185
2022-12-06 16:56:12 +00:00
cutestnekoaqua
a3011e6b8e commit 1 of 2 of fixing the Account migration to Calckey 2022-12-06 17:46:08 +01:00
Kaity A
1f6f139ca1 Remove deadtime optimisation in skippedInstances check 2022-12-06 13:53:39 +00:00
ThatOneCalculator
f38ed0f25f feat: Add delete all lists 2022-12-05 23:10:44 -08:00
ThatOneCalculator
b3a1d25e04 undo temp 2022-12-05 23:05:47 -08:00
ThatOneCalculator
1e164cc94d temp 2022-12-05 23:01:34 -08:00
ThatOneCalculator
4fb1084335 fixes 2022-12-04 17:24:27 -08:00
ThatOneCalculator
a643fefc5c fix 2022-12-04 17:23:43 -08:00
ThatOneCalculator
dbb950d0eb movedTo -> movedToUri 2022-12-04 17:20:36 -08:00
ThatOneCalculator
de02c0fe4a fix migration 2022-12-04 13:26:24 -08:00
ThatOneCalculator
0e61b83460 fix import once and for all 2022-12-04 13:06:49 -08:00
ThatOneCalculator
3fbe6e02a1 ? 2022-12-04 13:03:17 -08:00
ThatOneCalculator
d2f28edbd7 more jb cleanups 2022-12-04 13:01:00 -08:00
ThatOneCalculator
dfbe7d7d5e pov: cleo uses jetbrains 2022-12-04 12:57:43 -08:00
ThatOneCalculator
b93d390af8 cleo ide moment 2022-12-04 12:53:55 -08:00
ThatOneCalculator
bb7678fd45 fix imports 2022-12-04 12:46:10 -08:00
ThatOneCalculator
954e79bbdd fix cleo's oopsie 2022-12-04 12:41:12 -08:00
ThatOneCalculator
6001ea5c4c Update deps 2022-12-04 11:57:56 -08:00
Kainoa Kanter
29c1b81f12 Merge pull request 'develop' (#9178) from develop into account_migration
Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9178
2022-12-04 06:26:26 +00:00
cutestnekoaqua
db52926594 Implement recieve moveTo
Untested, hopefully it works..

Signed-off-by: cutestnekoaqua <waterdev@galaxycrow.de>
2022-12-03 01:23:02 +01:00
Kaity A
ab3df1e364 Merge branch 'develop' of https://codeberg.org/thatonecalculator/calckey into supakaity/user-rss-atom-json 2022-12-01 15:54:23 +00:00
skeh
0ad0ddfee9 Merge pull request 'hotfix/misskey-forkbomb' (#8) from hotfix/misskey-forkbomb into stage
Reviewed-on: https://code.vtopia.live/Vtopia/MissV/pulls/8
2022-12-01 00:30:55 -08:00
Cleo
cfab9ff2ad Display moved info.
It already fetches the moved to info on regular user fetches, now only the notification of a new "moved to" is missing.

Signed-off-by: cutestnekoaqua <waterdev@galaxycrow.de>
Co-authored-by: Mary Strodl <ipadlover8322@gmail.com>
Signed-off-by: cutestnekoaqua <waterdev@galaxycrow.de>
2022-11-30 20:29:01 +01:00
ThatOneCalculator
ecd6ed7716 respect reduced motion 2022-11-29 18:13:08 -08:00
ThatOneCalculator
729210b1c6 temp notification api fix, thank you @supakaity 2022-11-26 09:31:54 -08:00
Kaity A
0d6772c04c make the /@user.rss atom and json endpoint work 2022-11-26 10:58:24 +00:00
Cleo John
fe7ac800d7 Add movedToUri and knownAs to DB model user 2022-11-24 11:39:40 +00:00
Cleo John
37bed7c714 Merge db changes into recieve_moveto 2022-11-24 11:33:36 +00:00
Cleo John
9ab2599e0d db migration for moved to 2022-11-24 11:32:25 +00:00
cutestnekoaqua
ea3e13f190 Create move type 2022-11-23 21:49:52 +01:00