Commit Graph

895 Commits

Author SHA1 Message Date
Cleo b1933d00b9 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 78e6f38ef2
downgrade some packages 2022-12-18 11:13:24 -08:00
ThatOneCalculator d952912bff
feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
cutestnekoaqua 206381c220
repo move migration 2022-12-18 19:41:59 +01:00
ThatOneCalculator 944eadca8f
refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator 74eaf9def4
fix: 🥴 2022-12-17 17:47:38 -08:00
ThatOneCalculator 0cc74b6a8d
Merge remote-tracking branch 'chimiana/develop' into develop 2022-12-17 09:25:08 -08:00
ThatOneCalculator 81afcce69b
chore: dockerfile cleanup 2022-12-17 09:22:25 -08:00
chimiana 3e9076045c Fix for #9194, converts webp to png instead of jpg, preserving transparency 2022-12-17 02:26:19 +00:00
Undefined 7ed2a4a84f
Add FK abuse_user_report.targetUserId -> user.id (closes #9227) 2022-12-16 17:15:53 +01:00
PK 83c7abd9b4
Make indentation not completely suck 2022-12-15 18:09:00 -06:00
cutestnekoaqua 3cdcc207b9
Finalise POST-Move 2022-12-16 01:06:30 +01:00
PK 9894b203c9
Formatting 2022-12-15 16:13:48 -06:00
PK 845dfc3838
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 58fa02059d
add check for already moved 2022-12-15 17:39:28 +01:00
cutestnekoaqua ccdbe15b68
set move ratelimit to graceful 5 times. 2022-12-15 16:59:11 +01:00
cutestnekoaqua c17755e109
create local uri out of ID [CI SKIP] 2022-12-15 16:55:22 +01:00
cutestnekoaqua ae27aabbef
change error msg [CI SKIP] 2022-12-15 16:40:13 +01:00
cutestnekoaqua af61a1243e
revert url to uri 2022-12-15 16:33:08 +01:00
cutestnekoaqua 8a7da9eaa0
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 c6aad324a0
Always fetch locales when initiating client 2022-12-13 20:04:29 +01:00
ThatOneCalculator 35ebb8bcf2
feat: customizable max note length 2022-12-12 15:07:38 -08:00
cutestnekoaqua 5a2bd3d379 add local move follower migration 2022-12-12 21:09:51 +01:00
cutestnekoaqua 25fc88afd6 federation 💀 2022-12-12 21:09:51 +01:00
cutestnekoaqua a9058697be send moved user object back :3 2022-12-12 20:45:10 +01:00
cutestnekoaqua bf04ca4969 POV: coding at 3am bad 2022-12-12 20:44:11 +01:00
ThatOneCalculator 1f9ad0f61b
fix alsoKnownAs federation 2022-12-12 11:25:28 -08:00
cutestnekoaqua 5e6091989d fix calckey-js | fix migration url 2022-12-12 19:36:25 +01:00
ThatOneCalculator 3a05623e87
fix calckeyjs 2022-12-12 10:19:18 -08:00
ThatOneCalculator 7509f9c502
fix ckjs 2022-12-12 10:04:57 -08:00
ThatOneCalculator 50cb7c6de1
Bug fixes, use calckey.js 2022-12-11 19:24:12 -08:00
ThatOneCalculator 97bf2f2bf1
3 move per day (to allow for failures) 2022-12-11 18:34:46 -08:00
ThatOneCalculator cfb5832e24
Fix UI, beta versioning 2022-12-11 18:32:19 -08:00
ThatOneCalculator 43a7891e4f
remove unused import 2022-12-11 18:27:58 -08:00
ThatOneCalculator 1ab74a7a2e
more descriptive errors 2022-12-11 18:27:44 -08:00
ThatOneCalculator 920a91756e
typo 2022-12-11 18:24:11 -08:00
ThatOneCalculator 60505740d5
use actual ID 2022-12-11 18:19:25 -08:00
ThatOneCalculator bc97bbe360
Fix move endpoint 2022-12-11 18:18:07 -08:00
Kainoa Kanter ed02d089ed Merge branch 'develop' into account_migration 2022-12-12 01:51:17 +00:00
ThatOneCalculator 1ee6a52a8a
final cleanup 2022-12-11 17:49:14 -08:00
ThatOneCalculator 4adc936fc1
fix viewing basic federaion info 2022-12-11 17:36:24 -08:00
cutestnekoaqua d613c5d9de Add admin and account locked error. 2022-12-12 02:17:07 +01:00
ThatOneCalculator f9615f233f
Reserve merge conflict 2022-12-11 17:07:57 -08:00
cutestnekoaqua 91e39fa829 integrate migration ui and api backend 2022-12-12 01:54:44 +01:00
ThatOneCalculator 279a5cac35 Initial migration UI
b6

Style improvements to moved
2022-12-12 01:54:43 +01:00
cutestnekoaqua 016c328d28 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 178a39347e change move sql query 2022-12-12 01:54:41 +01:00
cutestnekoaqua 421553b8cd WIP move api call
forgot to merge this
2022-12-12 01:54:36 +01:00
cutestnekoaqua ccb1269991 fix remote move queue 2022-12-12 01:54:36 +01:00
ThatOneCalculator 0d4fc974d9
fix?? 2022-12-11 15:19:41 -08:00
ThatOneCalculator a11fd6971d
fix liked pages endpoint 2022-12-11 14:50:16 -08:00
ThatOneCalculator 578ab2ece6 Initial migration UI 2022-12-09 14:28:50 -08:00
cutestnekoaqua b967316d6b make remote mig work 2022-12-09 01:57:15 +01:00
cutestnekoaqua ac887c8999 im a idiot lol 2022-12-09 01:35:15 +01:00
cutestnekoaqua a9d446f9bf fix import 2022-12-09 01:20:30 +01:00
cutestnekoaqua 30597c747f fix ?? 2022-12-09 01:17:31 +01:00
cutestnekoaqua 7dd540bf43 fixed stupidness again 2022-12-09 00:11:37 +01:00
cutestnekoaqua 41c9cd5c75 debug log 2022-12-09 00:08:33 +01:00
cutestnekoaqua ddc477438a maybe pls 2022-12-08 20:02:55 +01:00
cutestnekoaqua 964fdefdae fix queue? 2022-12-08 19:28:48 +01:00
cutestnekoaqua cce58503e4 change move sql query 2022-12-08 15:53:37 +01:00
cutestnekoaqua 4489701855 forgot to merge this 2022-12-08 01:25:59 +01:00
cutestnekoaqua 9963bea521 WIP move api call 2022-12-08 01:05:07 +01:00
cutestnekoaqua 2694baf85d fix remote move queue 2022-12-07 18:16:37 +01:00
cutestnekoaqua 874a197360 yeet japan 2022-12-07 01:16:35 +01:00
cutestnekoaqua f47813cf0e fixed it for good 2022-12-07 01:15:32 +01:00
cutestnekoaqua 2cda9971a9 hopefully fix things.... 2022-12-07 00:56:03 +01:00
ThatOneCalculator 7e3f8e8166 Merge branch 'develop' into account_migration 2022-12-06 15:34:50 -08:00
cutestnekoaqua 42ebbec813 found my DB mistakes 💀 2022-12-07 00:09:12 +01:00
cutestnekoaqua ef707b01bc update person model 2022-12-06 23:49:21 +01:00
ThatOneCalculator 2d7dae91dd Revert "Update deps"
This reverts commit 726e4be958.
2022-12-06 10:38:30 -08:00
cutestnekoaqua 2051bec543 fix ap person to db model
fixed entries of movedToUri and added entries of alsoKnownAs
2022-12-06 18:05:36 +01:00
Cleo 170957ef05 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 8ff823eca6 commit 1 of 2 of fixing the Account migration to Calckey 2022-12-06 17:46:08 +01:00
Kaity A a2f17e076a Remove deadtime optimisation in skippedInstances check 2022-12-06 13:53:39 +00:00
ThatOneCalculator 1743d13f0f feat: Add delete all lists 2022-12-05 23:10:44 -08:00
ThatOneCalculator 6de6e5a393 undo temp 2022-12-05 23:05:47 -08:00
ThatOneCalculator dda9fb2945 temp 2022-12-05 23:01:34 -08:00
ThatOneCalculator 83f56e4543 fixes 2022-12-04 17:24:27 -08:00
ThatOneCalculator 7ff11d0b52 fix 2022-12-04 17:23:43 -08:00
ThatOneCalculator 77d088ee12 movedTo -> movedToUri 2022-12-04 17:20:36 -08:00
ThatOneCalculator a4916d8024 fix migration 2022-12-04 13:26:24 -08:00
ThatOneCalculator 2ef9011b8d fix import once and for all 2022-12-04 13:06:49 -08:00
ThatOneCalculator eaf070f20d ? 2022-12-04 13:03:17 -08:00
ThatOneCalculator 51431a887f more jb cleanups 2022-12-04 13:01:00 -08:00
ThatOneCalculator 3d75ccf24a pov: cleo uses jetbrains 2022-12-04 12:57:43 -08:00
ThatOneCalculator 8ab290b708 cleo ide moment 2022-12-04 12:53:55 -08:00
ThatOneCalculator df1359e392 fix imports 2022-12-04 12:46:10 -08:00
ThatOneCalculator c5141db8f2 fix cleo's oopsie 2022-12-04 12:41:12 -08:00
ThatOneCalculator 726e4be958 Update deps 2022-12-04 11:57:56 -08:00
Kainoa Kanter 0e8b155e07 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 ed23b0bd6f Implement recieve moveTo
Untested, hopefully it works..

Signed-off-by: cutestnekoaqua <waterdev@galaxycrow.de>
2022-12-03 01:23:02 +01:00
Kaity A 674bba5911 Merge branch 'develop' of https://codeberg.org/thatonecalculator/calckey into supakaity/user-rss-atom-json 2022-12-01 15:54:23 +00:00
skeh 3ff6433fab 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 dcda17d6f2 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 269462bfc6 respect reduced motion 2022-11-29 18:13:08 -08:00
ThatOneCalculator 3078137596 temp notification api fix, thank you @supakaity 2022-11-26 09:31:54 -08:00
Kaity A 4e47a558f0 make the /@user.rss atom and json endpoint work 2022-11-26 10:58:24 +00:00
Cleo John 268b4da2cd Add movedToUri and knownAs to DB model user 2022-11-24 11:39:40 +00:00
Cleo John 817cad67b2 Merge db changes into recieve_moveto 2022-11-24 11:33:36 +00:00
Cleo John 37b24bfcb3 db migration for moved to 2022-11-24 11:32:25 +00:00
cutestnekoaqua 2f04d5f915 Create move type 2022-11-23 21:49:52 +01:00
ThatOneCalculator 86b50ee32a don't load icons in pug 2022-11-21 20:05:08 -08:00
ThatOneCalculator 73e628ccb5 deprecate node < 18 2022-11-21 16:27:32 -08:00
ThatOneCalculator 160c65fa62 description, not summary 2022-11-19 01:20:31 -08:00
ThatOneCalculator 1f60f89d81 test api docs 2022-11-19 01:15:35 -08:00
ThatOneCalculator 54db70a216 perf: load icons css last 2022-11-19 00:53:30 -08:00
ThatOneCalculator 684f7be189 perf: load icons css last 2022-11-19 00:52:41 -08:00
ThatOneCalculator 4ff8ff74de Add Sage to patron list 2022-11-19 00:08:45 -08:00
ThatOneCalculator acf6f11b80 fix patrons 2022-11-19 00:04:35 -08:00
ThatOneCalculator bef01175dc fetch patrons remotely 2022-11-18 23:54:50 -08:00
ThatOneCalculator ec237623f2 typo 2022-11-18 20:18:00 -08:00
ThatOneCalculator 90efe2090e Finally fix star reaction fallback migration 2022-11-18 20:17:32 -08:00
ThatOneCalculator 4c881cf7aa migration 2022-11-18 19:26:45 -08:00
ThatOneCalculator 9daf4db0cb feat: Page drafts 2022-11-18 19:24:05 -08:00
syuilo eb9d50ec70 improve performance (merge deepClone from Misskey dev) 2022-11-18 17:28:58 -08:00
ThatOneCalculator cf17d5feec upgrade deps 2022-11-18 17:20:34 -08:00
ThatOneCalculator aa66bded69 init 2022-11-17 13:54:25 -08:00
ThatOneCalculator cb6362fd49 chore: ⬆️ upgrade packages 2022-11-16 02:08:33 -08:00
ThatOneCalculator b87ba18d42 don't require credential for stats 2022-11-15 00:37:35 -08:00
ThatOneCalculator 8eecacec4f AVIF support 2022-11-14 18:53:38 -08:00
ThatOneCalculator 59b33b08ce more fixes 2022-11-14 18:35:01 -08:00
ThatOneCalculator 3dd84a15d8 chore: ⬆️ update deps 2022-11-13 13:14:34 -08:00
ThatOneCalculator 15430ca087 fix pinned users list 2022-11-09 20:06:03 -08:00
ThatOneCalculator d209b61ed9 fix pinned users 2022-11-09 19:59:20 -08:00
ThatOneCalculator eaa4d17065 chore: 📦 package upgrades 2022-11-09 17:21:09 -08:00
Johann150 58dfd45ce1 server: reduce dead instance detection to 7 days 2022-11-09 17:19:49 -08:00
Johann150 5a691f7e98 server: avoid adding suspended instances to deliver queue
This should reduce the performance hit when adding large numbers of
instances to the deliver queue by making the check for suspended and
dead instances a bulk operation.

Changelog: Changed
Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/215
2022-11-09 17:19:29 -08:00
Francis Dinh cd48673b2e backend: Update sharp to 0.31.2
This fixes a bug where the backend might crash when processing certain images on an ARM64 system.

See https://akkoma.dev/FoundKeyGang/FoundKey/issues/226 and https://github.com/misskey-dev/misskey/issues/8605 for details.
2022-11-08 19:52:08 +01:00
ThatOneCalculator 4a08da1292 oopsie 2022-11-06 19:44:26 -08:00
ThatOneCalculator 87225b41cd fix 2022-11-06 17:44:38 -08:00
ThatOneCalculator b3a5fdb1e0 feat: 💄 Phosphor icons! 2022-11-06 17:33:52 -08:00
ThatOneCalculator 9b3e578c9e sq 2022-11-06 14:20:14 -08:00
ThatOneCalculator 7beec91753 calckey_app 2022-11-06 13:24:02 -08:00
ThatOneCalculator 9cb1b1a48c update deps 2022-11-04 13:20:18 -07:00
ThatOneCalculator 471240b101 a 2022-11-04 13:12:56 -07:00
yawhn 58eed45187 whitespace fix 2022-11-03 02:15:40 +02:00
yawhn dba4d2240e Fix for undefined url param in some pages 2022-11-03 02:03:27 +02:00
yawhn 9bc3f885bc [#9064] Fix CSS and Image caching issue 2022-11-02 23:31:42 +02:00
ThatOneCalculator f13e19dee1 feat: Managed hosting complete 2022-11-01 18:41:59 -07:00
ThatOneCalculator db6e17364a Max users 2022-10-30 21:38:20 -07:00
ThatOneCalculator 01e289c6de No darkreader 2022-10-30 21:27:06 -07:00
ThatOneCalculator b383c904b2 change to click.self 2022-10-28 10:52:13 -07:00
ThatOneCalculator e72348f5d1 OCR image captioning work 2022-10-27 15:01:38 -07:00
ThatOneCalculator d46f08c189 chore: 📦 Update packages 2022-10-27 14:25:31 -07:00
ThatOneCalculator 6ed18667b7 feat: Allow importing follows from Pixelfed 2022-10-27 14:17:40 -07:00
Francis Dinh b331d1b0eb use await for notes.countBy 2022-10-26 14:48:37 -07:00
Johann150 97b6f45993 server: allow to like own gallery posts
Since you are also allowed to react to your own notes, it seems sensible
that you should be allowed to like your own gallery posts.

Analogous to commit 4c5aa9e53887cca5561fcec6ab0754e018f589a5.

Changelog: Changed
2022-10-26 14:46:30 -07:00
Johann150 958196a103 server: allow to like own pages
Since you are also allowed to react to your own notes, it seems sensible
that you should be allowed to like your own pages.

Changelog: Changed
2022-10-26 14:46:23 -07:00
ThatOneCalculator 4c9dabe7b8 Security fixes 2022-10-25 19:22:30 -07:00