Commit Graph

737 Commits

Author SHA1 Message Date
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
2c8a66ed9d feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
ThatOneCalculator
1a9e55b0f3 refactor: new repo link 2022-12-18 10:12:24 -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
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
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
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
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
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
ThatOneCalculator
f31b374024 don't load icons in pug 2022-11-21 20:05:08 -08:00
ThatOneCalculator
bd8581b25a description, not summary 2022-11-19 01:20:31 -08:00
ThatOneCalculator
7363454810 test api docs 2022-11-19 01:15:35 -08:00
ThatOneCalculator
e06bbd3600 perf: load icons css last 2022-11-19 00:53:30 -08:00
ThatOneCalculator
2c5ba3f11e perf: load icons css last 2022-11-19 00:52:41 -08:00
ThatOneCalculator
3e44dbdee3 Add Sage to patron list 2022-11-19 00:08:45 -08:00
ThatOneCalculator
61fbc74e6c fix patrons 2022-11-19 00:04:35 -08:00
ThatOneCalculator
58badd7ec6 fetch patrons remotely 2022-11-18 23:54:50 -08:00
ThatOneCalculator
331b8664f8 feat: Page drafts 2022-11-18 19:24:05 -08:00
syuilo
bf87e9586b improve performance (merge deepClone from Misskey dev) 2022-11-18 17:28:58 -08:00
ThatOneCalculator
2c0cf33798 init 2022-11-17 13:54:25 -08:00
ThatOneCalculator
4b5fb15745 don't require credential for stats 2022-11-15 00:37:35 -08:00
ThatOneCalculator
f3f63a5dc1 AVIF support 2022-11-14 18:53:38 -08:00
ThatOneCalculator
470dd5ba5b more fixes 2022-11-14 18:35:01 -08:00
ThatOneCalculator
f43802a5fb fix pinned users list 2022-11-09 20:06:03 -08:00
ThatOneCalculator
58daac50a8 fix pinned users 2022-11-09 19:59:20 -08:00
Johann150
98682a45ea server: reduce dead instance detection to 7 days 2022-11-09 17:19:49 -08:00
Johann150
85c584f582 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
ThatOneCalculator
9ebe7bc602 oopsie 2022-11-06 19:44:26 -08:00
ThatOneCalculator
aabef2f567 fix 2022-11-06 17:44:38 -08:00
ThatOneCalculator
a9dce362df feat: 💄 Phosphor icons! 2022-11-06 17:33:52 -08:00
ThatOneCalculator
7f0d1ae34b sq 2022-11-06 14:20:14 -08:00
ThatOneCalculator
752ee9b948 calckey_app 2022-11-06 13:24:02 -08:00
yawhn
60362f4e8e whitespace fix 2022-11-03 02:15:40 +02:00
yawhn
be9bcaaea0 Fix for undefined url param in some pages 2022-11-03 02:03:27 +02:00
yawhn
379e8d8fd1 [#9064] Fix CSS and Image caching issue 2022-11-02 23:31:42 +02:00
ThatOneCalculator
c3204e6f3a feat: Managed hosting complete 2022-11-01 18:41:59 -07:00
ThatOneCalculator
511ff64191 Max users 2022-10-30 21:38:20 -07:00
ThatOneCalculator
911c02ef3b No darkreader 2022-10-30 21:27:06 -07:00
ThatOneCalculator
0e173ac498 change to click.self 2022-10-28 10:52:13 -07:00
ThatOneCalculator
d98c53aa38 OCR image captioning work 2022-10-27 15:01:38 -07:00
ThatOneCalculator
0172d3afb0 feat: Allow importing follows from Pixelfed 2022-10-27 14:17:40 -07:00
Francis Dinh
288f4a01eb use await for notes.countBy 2022-10-26 14:48:37 -07:00
Johann150
60cfe0ed4e 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
b701da5311 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
4c8aeedf02 Security fixes 2022-10-25 19:22:30 -07:00
ThatOneCalculator
4c54f38e64 fix 2022-09-21 13:18:12 -07:00
ThatOneCalculator
64bd37b4ac Allow admins to set logo url 2022-09-21 13:05:59 -07:00
ThatOneCalculator
1bd1d7b9d6 implement update notif into UI 2022-09-15 15:36:43 -07:00
ThatOneCalculator
fbeea60ea7 logs 2022-09-15 15:32:25 -07:00
ThatOneCalculator
6c36036ac3 fix 2022-09-15 15:28:32 -07:00
ThatOneCalculator
ef24809105 move codeberg fetch to backend 2022-09-15 15:23:08 -07:00
ThatOneCalculator
fbaaf2640f fix: 🐛 motd 2022-09-13 21:38:02 -07:00
ThatOneCalculator
fd8508dc38 fix motd 2022-09-13 20:41:45 -07:00
ThatOneCalculator
8046495882 meta 2022-09-13 20:23:52 -07:00
ThatOneCalculator
972de1a3fd Merge remote-tracking branch 'nullobsi/secure-fetch' into develop 2022-09-13 20:23:22 -07:00
ThatOneCalculator
f2bf9cb36b chore: ♻️ about-misskey -> about-calckey 2022-09-10 12:25:22 -07:00
ThatOneCalculator
87f9e45048 chore: 🔀 Merge upstream 2022-09-09 12:16:58 -07:00
nullobsi
13ba647266 Hide private data in pug when private mode is enabled 2022-09-06 20:47:36 -07:00
nullobsi
b0d669833d Add secure mode settings to Security tab 2022-09-06 20:47:33 -07:00
nullobsi
cdd9977c43 In private mode, block access to many public APIs 2022-09-06 20:46:42 -07:00
nullobsi
1fc7ad48e3 Add Secure Mode and Private Mode
- Add instance actor
- Add private mode, which uses an allowlist
- Add Secure Mode, restricts access to blocked instances
2022-09-06 20:46:41 -07:00
syuilo
71d4e577dd fix(server): 他人の通知を既読にできる可能性があるのを修正 2022-09-06 20:54:49 +09:00
ThatOneCalculator
390c44d6e4 fix screenshot size 2022-08-27 21:44:30 -07:00
ThatOneCalculator
87fa1e2881 bg col 2022-08-27 21:44:17 -07:00
ThatOneCalculator
e876ace6d2 description 2022-08-27 21:43:57 -07:00