Commit graph

768 commits

Author SHA1 Message Date
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
Francis Dinh
48904ef975 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
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
ThatOneCalculator
c6004d9f30 update deps 2022-11-04 13:20:18 -07:00
ThatOneCalculator
3098c180a5 a 2022-11-04 13:12:56 -07: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
6504c3e06d chore: 📦 Update packages 2022-10-27 14:25:31 -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
3f6aeadcb2 chore: 🔀 Merge upstream to 12.119.0 2022-09-10 12:13:55 -07:00
syuilo
00cac3103c update deps 2022-09-10 19:14:07 +09:00
ThatOneCalculator
87f9e45048 chore: 🔀 Merge upstream 2022-09-09 12:16:58 -07:00
ThatOneCalculator
76abb3a2a2 chore: ⬆️ Upgrade several deps
From yarn upgrade-interactive
2022-09-07 16:23:33 -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
nullobsi
d68b0fa12c Add migration for allowedHosts, secureMode, privateMode 2022-09-06 20:46:41 -07:00
syuilo
71d4e577dd fix(server): 他人の通知を既読にできる可能性があるのを修正 2022-09-06 20:54:49 +09:00
Takuya Yoshida
4eb8ae7937 Update typeorm to 0.3.9 (#9083) 2022-09-06 14:57:46 +09:00
ThatOneCalculator
21d76aafab chore: ⬆️ Upgrade TypeORM 2022-09-05 14:53:48 -07: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
ThatOneCalculator
8e0eb82b2e feat: improve pwa manifest 2022-08-27 21:42:38 -07:00
ThatOneCalculator
3959698e89 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-27 15:18:59 -07:00
syuilo
9b533e8ec3 update deps 2022-08-27 16:34:14 +09:00
syuilo
76b14494d7 enhance(client): add html color-schema support 2022-08-27 00:39:59 +09:00
ThatOneCalculator
1ef1907f4b Always signToActivityPubGet 2022-08-22 23:44:26 -07:00
ThatOneCalculator
692a9d9502 fix: 🔒 Up multer to LTS as to avoid CVE-2022-24434 2022-08-17 15:57:16 -07:00
ThatOneCalculator
093de831a3 Fix overlap betwen favicon and splash icon 2022-08-15 15:55:30 -07:00
ThatOneCalculator
c1f155ccf7 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-15 15:21:46 -07:00
syuilo
51efbfeec1 update deps 2022-08-13 18:45:29 +09:00
ThatOneCalculator
df7fd915fc Add back migration 2022-08-09 19:56:03 -07:00
ThatOneCalculator
f188cd5c2f feat: custom css/assets
typo

fix gulpfile
2022-08-09 13:09:54 -07:00
ThatOneCalculator
c6993ad7e0 fix: recommended timeline
I doubt itll work, but...

🙏

hail mairy

certified typeorm moment

im stuff

debug log

not a fan of js/ts

istg

missing parenthesis

postgres can kiss my ass

didnt need `::string[]` i think

hide caption button

Remove debug log

Clean up

no longer beta!

fix streaming
2022-08-09 13:09:54 -07:00
ThatOneCalculator
bb360bbaf8 attempt to fix 2022-08-09 00:37:48 -07:00
ThatOneCalculator
0cc002f789 Obliteration of Ai-chan 🐱🔫 2022-08-08 14:58:27 -07:00
ThatOneCalculator
776431403a New error images! 2022-08-08 14:07:09 -07:00
ThatOneCalculator
70306108a5 docs 2022-08-05 14:11:18 -07:00
ThatOneCalculator
49b4635866 More Calckey branding 2022-08-05 14:07:40 -07:00
ThatOneCalculator
6987348062 import order 2022-08-04 18:13:56 -07:00
ThatOneCalculator
65bad44c2b thumbs up or star trggers pleroma like 2022-08-04 18:12:57 -07:00
ThatOneCalculator
8f00c7067f idk 2022-08-04 14:28:16 -07:00
ThatOneCalculator
675c93cc5c im stuff 2022-08-04 14:25:54 -07:00
ThatOneCalculator
a8b3bdaebd stuff? 2022-08-04 14:16:22 -07:00
ThatOneCalculator
de7db2cc3e t 2022-08-04 14:13:12 -07:00
Johann150
49686050cc backend: fix lint "no-throw-literal" 2022-08-04 13:36:37 -07:00
Johann150
d6faae48f2 fix spelling error 2022-08-04 13:34:18 -07:00
ThatOneCalculator
8abfaebab0 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-04 13:31:54 -07:00
syuilo
8f3a534c64 fix: use new for throw error
Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-08-01 17:44:53 +09:00
syuilo
3058236d2f update deps 2022-07-31 22:01:01 +09:00
syuilo
a57b524f9f use es2021 for node 2022-07-31 14:20:10 +09:00
ThatOneCalculator
894cb76baf revers 2022-07-29 15:07:07 -07:00
ThatOneCalculator
f4eafae86d test 2022-07-29 09:27:39 -07:00
ThatOneCalculator
e150685203 try new query 2022-07-29 09:17:10 -07:00
ThatOneCalculator
9d315aa1e1 try to fix streaming 2022-07-29 08:57:53 -07:00
ThatOneCalculator
42ba2cf94a im stuff 2022-07-29 01:11:25 -07:00
ThatOneCalculator
cc89820db8 remove console log 2022-07-29 00:44:17 -07:00
ThatOneCalculator
d15a3c6dde console log 2022-07-29 00:40:27 -07:00
ThatOneCalculator
20608d9b55 stuff 2022-07-29 00:35:49 -07:00
ThatOneCalculator
e2db8dd230 brackets 2022-07-29 00:33:51 -07:00
ThatOneCalculator
7852e3ae4a () 2022-07-29 00:30:42 -07:00
ThatOneCalculator
e2d3d8a9d4 im stuff 2022-07-29 00:28:21 -07:00
ThatOneCalculator
acb27d13f5 try @Johann150's solution :) 2022-07-29 00:25:22 -07:00
ThatOneCalculator
f3ba1742b1 im stuff 2022-07-29 00:20:40 -07:00
ThatOneCalculator
8af503ec91 no quotes 2022-07-29 00:13:29 -07:00
ThatOneCalculator
92b914b581 testtt 2022-07-29 00:09:49 -07:00
ThatOneCalculator
cfe6f1b71c testtt 2022-07-29 00:00:39 -07:00
ThatOneCalculator
a13c978122 FROM clause 2022-07-28 23:57:18 -07:00
ThatOneCalculator
888038646f aaa 2022-07-28 23:53:42 -07:00
ThatOneCalculator
a6ec677cc3 fix!!!! 2022-07-28 23:46:36 -07:00
ThatOneCalculator
59c2927650 proper error 2022-07-28 23:01:13 -07:00
ThatOneCalculator
9aeffce5df bruh 2022-07-28 22:57:54 -07:00
ThatOneCalculator
962a5213f7 help i cant write queer ees :( 2022-07-28 22:54:59 -07:00
ThatOneCalculator
2fb389601a ack 2022-07-28 22:46:51 -07:00
ThatOneCalculator
d9f111bb31 test :( 2022-07-28 22:42:40 -07:00
ThatOneCalculator
cef356b7b8 typo!! 2022-07-28 22:31:49 -07:00
ThatOneCalculator
4dc7e746ce I think i fixed it! 2022-07-28 22:29:54 -07:00
ThatOneCalculator
978bf199a0 test 2022-07-28 22:17:59 -07:00
ThatOneCalculator
1e95004007 typo in file name 2022-07-28 21:50:00 -07:00
ThatOneCalculator
ba29733ea7 typo 2022-07-28 21:49:36 -07:00
ThatOneCalculator
bcacfc0811 Recommended timeline! 2022-07-28 21:28:13 -07:00
ThatOneCalculator
898f7a7021 im stufff 2022-07-27 21:36:02 -07:00
ThatOneCalculator
88955e5a23 A 2022-07-27 21:33:23 -07:00
ThatOneCalculator
3ac655d27e fix againnn 2022-07-27 21:31:05 -07:00
ThatOneCalculator
371f9cbb4f fix migration 2022-07-27 21:25:37 -07:00
ThatOneCalculator
5459f2f20d Fix migration 2022-07-27 21:22:03 -07:00
Johann150
dc793c86f8 fix lints 2022-07-27 19:46:56 -07:00
Chloe Kudryavtsev
7459dc0819 backend: improve mutes and blocks
Mutes and blocks now also apply recursively to replies and renotes.
Furthermore, any mentioned user being muted or blocked will also apply.
2022-07-27 19:46:26 -07:00
ThatOneCalculator
690b03979b Custom splash icons! 2022-07-27 10:25:30 -07:00
ThatOneCalculator
0ed6d30f5e Add endpoint 2022-07-27 09:58:18 -07:00
ThatOneCalculator
ed2ddd2cca clean up 2022-07-27 09:47:29 -07:00
ThatOneCalculator
3efd03800d Custom MOTD! 2022-07-27 09:46:35 -07:00
ThatOneCalculator
995a330926 semi for children 2022-07-26 14:45:36 -07:00
ThatOneCalculator
2944d70379 fix 2022-07-25 14:17:58 -07:00
Johann150
071f893007 use getNote instead of Notes.find
If a note is not visible to the requesting user, an error will be raised.
2022-07-25 14:17:20 -07:00
ThatOneCalculator
c4b9f702b4 .js 2022-07-25 14:02:46 -07:00
ThatOneCalculator
a718f8d053 fix import 2022-07-25 13:59:12 -07:00
ThatOneCalculator
a75fe41f06 im stuff 2022-07-25 13:57:13 -07:00
Johann150
2c72acd813 enable to fetch replies recursively 2022-07-25 13:40:37 -07:00
Johann150
3f9788cae8 pack children without detail 2022-07-25 13:40:22 -07:00
Johann150
2c814b317f remove ms dependency 2022-07-25 13:38:31 -07:00
Johann150
fed2085138 Merge: enhance privacy of notes
https://akkoma.dev/FoundKeyGang/FoundKey/pulls/14
2022-07-25 13:36:44 -07:00
Johann150
adcc3c9286 remove unnecessary joins
These joins are no longer necessary as of commit
c35372a20d22cddb75e93a0b407f2b652cd7faf0. It seems they are bad enough
for performance to break installs.
2022-07-25 13:28:57 -07:00
ThatOneCalculator
f556ec82b2 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-25 10:23:27 -07:00
syuilo
a462544027 update deps 2022-07-25 21:10:06 +09:00
ThatOneCalculator
a0d98555df More #31748f 2022-07-24 18:36:55 -07:00
ThatOneCalculator
6ece6fb041 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-24 18:07:18 -07:00
syuilo
3a8b93ac26 tweak rate limit 2022-07-24 17:56:48 +09:00
ThatOneCalculator
6fa6bc1915 🎨 2022-07-23 22:10:07 -07:00
ThatOneCalculator
7d91257317 Less cluttered notifications 2022-07-23 21:30:42 -07:00
ThatOneCalculator
8532c7eea5 more rpine stuff 2022-07-23 21:23:04 -07:00
ThatOneCalculator
53e6fbfb89 Merge remote-tracking branch 'johann150/mk/bearer-authentication' into develop 2022-07-23 19:05:35 -07:00
ThatOneCalculator
c54990b0e6 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-23 18:57:23 -07:00
dependabot[bot]
ed5ee682ba chore(deps): bump undici from 5.5.1 to 5.8.0 in /packages/backend (#9028)
Bumps [undici](https://github.com/nodejs/undici) from 5.5.1 to 5.8.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.5.1...v5.8.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-23 14:41:01 +09:00
dependabot[bot]
c07d014275 chore(deps): bump file-type from 17.1.2 to 17.1.3 in /packages/backend (#9030)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 17.1.2 to 17.1.3.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v17.1.2...v17.1.3)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-23 14:40:54 +09:00
syuilo
0549e62e3a update tfjs 2022-07-23 14:31:15 +09:00
ThatOneCalculator
80ae73f543 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-21 23:43:30 -07:00
xianon
fed327b437 リモートユーザーを正しくブロックできるように修正する (#9027) 2022-07-22 15:41:31 +09:00
ThatOneCalculator
e7eee6a9d8 b3 2022-07-21 12:48:23 -07:00
syuilo
b374c4dcf6 chore: improve error message of boot 2022-07-21 22:30:36 +09:00
ThatOneCalculator
31da3c16c3 Properly apply star is like patch 2022-07-19 15:23:26 -07:00
ThatOneCalculator
292663b032 indentation 2022-07-19 12:01:45 -07:00
ThatOneCalculator
6800a8ccaa Better ASCII art 2022-07-19 11:18:44 -07:00