Commit Graph

2107 Commits

Author SHA1 Message Date
Kainoa Kanter
609aa0aa6a Merge pull request 'Fix polls & own reactions not showing in replies' (#10199) from Freeplay/calckey:notes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10199
2023-05-25 20:50:57 +00:00
Freeplay
d9c8c7af98 Fix polls & own reactions not showing in replies 2023-05-25 15:49:39 -04:00
Kainoa Kanter
43c6dfbdfb Merge pull request 'Display author's replies first, fixes, other stuff' (#10194) from Freeplay/calckey:notes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10194
2023-05-25 03:51:34 +00:00
Freeplay
75cb5e18c6 little refactor 2023-05-24 19:33:59 -04:00
April John
5e2adc9ad8 update inbox import timeout 2023-05-24 21:03:37 +02:00
April John
6f4465aa32 update post import 2023-05-24 20:22:16 +02:00
naskya
b560145259 Format 2023-05-23 14:11:03 +09:00
naskya
c6d10e705a .js 2023-05-23 14:07:35 +09:00
MeiMei
54eb8f613b fix: Escape SQL LIKE
* SQL LIKE escape
2023-05-23 13:56:16 +09:00
Natty
6a4ce60241 Renote button optimization 2023-05-22 17:54:44 -07:00
ThatOneCalculator
5f27c462bb chore: formatting 2023-05-22 17:00:50 -07:00
Kainoa Kanter
d2041db91f Nyanize non[consonant]
🟨🟪

https://calckey.social/notes/9f2l6x5u8e
2023-05-22 15:57:56 +00:00
ThatOneCalculator
3a4b16b70b chore: up mfm-js in backend 2023-05-21 21:39:20 -07:00
ThatOneCalculator
b71643839c Close #10175 2023-05-21 20:07:25 -07:00
naskya
4d87266d13 files may be undefined 2023-05-21 05:34:39 +09:00
ThatOneCalculator
3f414d5921 chore: formatting 2023-05-19 23:27:56 -07:00
ThatOneCalculator
7e7357bae8 forgot } 2023-05-19 23:26:01 -07:00
ThatOneCalculator
3196163178 simpler fix, thank you @wikiyu 2023-05-19 23:22:10 -07:00
ThatOneCalculator
b728c7f722 Revert "fix api doc?"
This reverts commit 9e366dc563d376680f277db0d323fb5aa60e5c24.
2023-05-19 23:21:00 -07:00
ThatOneCalculator
ec29e55e62 fix api doc? 2023-05-19 23:14:59 -07:00
Namekuji
53a8e3ffc2 enhance: emoji width and height 2023-05-19 22:26:13 -04:00
naskya
35c8dbcfca format 2023-05-18 20:50:24 +09:00
naskya
490ede7caa Check alt text on mutes 2023-05-18 20:38:33 +09:00
Kainoa Kanter
d2106d4904 fix: dont show cheat sheet when not needed 2023-05-16 20:31:13 -07:00
April John
5752cdb742 feat: allow horizontal scaling 2023-05-17 00:08:33 +02:00
April John
698a2c6912 Fix 2023-05-15 13:03:48 +00:00
April John
a2a9415839 Fix: add done statements 2023-05-15 12:25:54 +00:00
Kainoa Kanter
932929a4f1 chore: formatting 2023-05-14 15:20:26 -07:00
April John
6dc65e43af Feat: move post imports to new jobs 2023-05-14 20:20:31 +02:00
April John
6656c5f0cf Feat: move post imports to new jobs 2023-05-14 18:46:48 +02:00
Kaity A
01329d3dad Update meta to include feaures 2023-05-14 00:51:31 +10:00
Kaity A
d974562b73 Update meta to return experimentals 2023-05-14 00:18:30 +10:00
Kaity A
988d7cba06 fix meta update 2023-05-13 23:57:55 +10:00
Kaity A
804dbe6985 add experimental feature gate 2023-05-13 23:41:36 +10:00
Kaity A
7ff5f1f72e Merge branch 'develop' of https://codeberg.org/calckey/calckey into feature/edits 2023-05-13 22:13:02 +10:00
Kainoa Kanter
0f47689351 chore: formatting 2023-05-12 20:11:41 -07:00
Kainoa Kanter
4f1f80f3a1 fix typo 2023-05-11 19:02:51 -07:00
Freeplay
d215006102 Fix wallpaper support for all views 2023-05-11 20:38:54 -04:00
ThatOneCalculator
003ada4b11 calckey.org 2023-05-10 23:30:48 -07:00
syuilo
685860060f 念のためnoimageaiもつける 2023-05-10 20:51:22 -07:00
syuilo
d2dba136bf feat: 投稿したコンテンツのAIによる学習を軽減するオプションを追加
Co-authored-by: GitHub <syuilo>
2023-05-10 20:50:21 -07:00
ThatOneCalculator
ab764b34bf call it "moderation notice" 2023-05-10 14:32:27 -07:00
ThatOneCalculator
b082822075 email padding 2023-05-10 14:29:43 -07:00
ThatOneCalculator
3519bffbbc improve emails 2023-05-10 14:27:46 -07:00
ThatOneCalculator
e0a9a6e891 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-10 14:06:55 -07:00
ThatOneCalculator
f49f9d281e feat: ability for moderators to send mod mail 2023-05-10 14:06:45 -07:00
April John
909b12dff2 reintroduce async into post import 2023-05-10 22:26:31 +02:00
Essem
5b37235a29 Switch to adm-zip for emoji pack handling
Unzipper seems to corrupt files in certain cases on Node 18/19.
See https://github.com/ZJONSSON/node-unzipper/issues/271
2023-05-09 19:19:15 -05:00
ThatOneCalculator
a6d0fc5357 Address #10076 2023-05-09 15:15:13 -07:00
April John
3fda23c7dd Revert "fix: run post import async"
This reverts commit 3bedd1b34799d969cd218b4a1a67651532a204e6.
2023-05-08 22:48:12 +02:00
ThatOneCalculator
1400a01958 example.com -> calckey.org 2023-05-08 13:39:39 -07:00
ThatOneCalculator
b92237c8d2 chore: formatting 2023-05-08 13:36:53 -07:00
April John
369fd4daea fix: run post import async 2023-05-08 22:30:40 +02:00
April John
3a8e6a19b2 import replies too 2023-05-08 22:09:42 +02:00
April John
77f74f51b3 try fetching replies 2023-05-08 22:09:42 +02:00
ThatOneCalculator
39c6949321 chore: formatting 2023-05-08 13:01:06 -07:00
April John
2a69ade176 fix: dont stream hidden posts 2023-05-08 19:33:04 +02:00
April John
f950c33f79 fix: Detach push notifications..
..from "isRead" check. Apps will handle that theself.
2023-05-08 11:36:32 +02:00
April John
c6d432b2d2 fix hidden post behavior 2023-05-08 11:23:30 +02:00
ThatOneCalculator
52e67728c1 Revert "fix: hidden post federation"
This reverts commit 8a51c73fe705d4c86886ae6b5cc2b9a8dd7dcfb8.
2023-05-07 18:01:36 -07:00
ThatOneCalculator
82a4bcd3a8 chore: formatting 2023-05-07 12:29:02 -07:00
ThatOneCalculator
972eed930c remove gfonts from redoc 2023-05-07 12:28:24 -07:00
ThatOneCalculator
1fd815beea Revert "Merge pull request 'Add support for CW boosting' (#10047) from supakaity/hajkey:hk/cw-boost into develop"
This reverts commit 5e86bafb24a714f3351da0a205bc57f54332e33c, reversing
changes made to d1977fc3204e16523b3c94be2a2b1878f18dca56.
2023-05-07 11:38:39 -07:00
April John
aa5cca8b94 fix: make userId optional cause its not used and
should not be used lmao
2023-05-07 16:27:49 +02:00
Kaity A
2c6f3a9989 Note editing 2023-05-07 20:27:25 +10:00
naskya
007cb0e747 format 2023-05-07 09:46:07 +09:00
MeiMei
a23b4a4b36 (partially) cherry-picked from misskey/10e526b
fix: Escape SQL LIKE

* SQL LIKE escape

* CHANGELOG
2023-05-07 09:16:46 +09:00
naskya
b3fff542ba Modify backend for Calckey 2023-05-07 09:13:37 +09:00
naskya
0fb14f8f43 format 2023-05-07 08:05:18 +09:00
たーびん
61df9d4752 feat: チャンネルの検索用ページとAPIの追加
* add channel search

* move  channel search to channel list page

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
2023-05-07 08:00:30 +09:00
trollo
3ccf069d82 fix: hidden post federation 2023-05-06 18:27:42 +02:00
ThatOneCalculator
c8ec5f324d chore: format 2023-05-05 13:29:39 -07:00
ThatOneCalculator
55a80ee6f0 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-05 13:28:39 -07:00
ThatOneCalculator
5cc0ecf215 re-enable post imports 2023-05-05 13:27:52 -07:00
naskya
4bb2751460 Merge branch 'develop' into fix/word-mutes 2023-05-05 14:01:14 +00:00
April John
0bbd8c10ef fix: dont stream hidden posts over websocket 2023-05-05 15:53:05 +02:00
April John
feebae8a3d hide hidden posts in websocket streams 2023-05-05 15:50:50 +02:00
April John
13b5a0052e Feat: new internal post visibility "hidden" 2023-05-05 15:16:10 +02:00
April John
0be60ac6c4 Fix: properly handle timeline db errors 2023-05-05 14:30:08 +02:00
naskya
1b0fc8f2fc Remove the code snippets which didn't work 2023-05-05 16:58:42 +09:00
naskya
0e80f59dc6 I believe I finally solved the boost hard mute issue (took 3 hours) 2023-05-05 15:32:47 +09:00
naskya
a14a41b27c oops 2023-05-05 12:49:34 +09:00
naskya
59a53d8f64 Fix regex hard mutes 2023-05-05 12:36:17 +09:00
naskya
9e62df0c8f Fix channel bug 2023-05-05 07:47:03 +09:00
naskya
c99badde3e clean up 2023-05-05 06:16:23 +09:00
naskya
ecc0dd9a9b Use original (Misskey's) implementation for hard mutes as muted reason isn't needed 2023-05-05 05:48:31 +09:00
naskya
7b58910de8 I was confused 2023-05-05 05:26:59 +09:00
naskya
467575801b Fix missing return, typo 2023-05-05 05:22:32 +09:00
naskya
f023992ab0 Fix missing arguments 2023-05-05 05:17:16 +09:00
naskya
4e60fa7193 format 2023-05-04 14:41:18 +09:00
naskya
4207ff51e7 Merge branch 'develop' into fix/word-mutes 2023-05-04 05:36:29 +00:00
naskya
775eb75428 Differentiate soft mutes and hard mutes 2023-05-04 14:20:06 +09:00
naskya
d09fc8be2b Refactor hard word mutes 2023-05-04 13:17:37 +09:00
Namekuji
03d9642d4b don't update if renoted by bot 2023-05-03 16:16:34 -04:00
Kaity A
5bfe6c0730 Merge remote-tracking branch 'origin/develop' into hk/edit-federation 2023-05-02 18:24:54 +10:00
Kaity A
a56c7fe1d8 update file sensitivity on note edit 2023-05-02 18:22:42 +10:00
Kaitlyn Allan
e58d1d7695 updates to include alt text editing 2023-05-02 17:47:16 +10:00
ThatOneCalculator
eec5c86cb3 disable post imports for now 2023-05-01 23:08:35 -07:00
ThatOneCalculator
f6428ca16b max import posts twice a month 2023-05-01 21:54:15 -07:00
ThatOneCalculator
2d0ace0685 chore: formatting 2023-05-01 20:32:18 -07:00
Namekuji
b067e8abfd fix db migration 2023-05-01 18:11:56 -04:00
Kainoa Kanter
6a1ba9f07c Merge pull request 'Fix: 500 server error when attempting to fetch followers-only reply as guest' (#9983) from s1idewhist1e/calckey:issue/9075 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9983
2023-05-01 19:38:16 +00:00
s1idewhist1e
b1bbc3ac8e fix email validation 2023-04-30 22:57:10 -07:00
s1idewhist1e
45ef53994c Wrap note fetching in a try/catch 2023-04-30 22:11:15 -07:00
Namekuji
7a23aa57e4 Merge branch 'develop' into instance-silence 2023-04-30 22:02:04 -04:00
Namekuji
5013111bee enforce follow-request from silenced users 2023-04-30 21:43:56 -04:00
Namekuji
faa5fc5dd4 suppress notification from silenced users and instances 2023-04-30 21:35:10 -04:00
ThatOneCalculator
1faa47f558 favicon 2023-04-30 17:14:04 -07:00
Namekuji
ec97ccd4c3 do not notify if the target is not following 2023-04-30 19:46:02 -04:00
Namekuji
5fc77586f2 format 2023-04-30 18:01:06 -04:00
Namekuji
8128ef5f01 add db migration 2023-04-30 18:00:19 -04:00
Namekuji
2072d41fcd Merge branch 'develop' into instance-silence 2023-04-30 17:52:05 -04:00
ThatOneCalculator
1eb19b6988 fix(ap): Use unique identifier for each follow request
Closes #9677

Co-authored-by: GitHub <hutchisr>
2023-04-30 13:26:51 -07:00
fruye
0cf2e71b2e Use numeric ids everywhere in mastodon API (#9970)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9970
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-04-30 19:34:52 +00:00
Kaity A
89716480e5 fix poll voting causing edit revisions. 2023-05-01 03:17:38 +10:00
Kaity A
6a509637d5 Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
Namekuji
cec5813ab2 can overlap with blocked hosts 2023-04-30 09:04:29 -04:00
Namekuji
f2a8d1f680 add toggler 2023-04-30 09:01:42 -04:00
Namekuji
c35f03832d format 2023-04-30 08:08:45 -04:00
Namekuji
ada759a9e5 rename and comment 2023-04-30 07:58:03 -04:00
Namekuji
ce60660128 instance silence 2023-04-30 07:27:55 -04:00
Kaity A
f9a72e1ea6 Add Libre Translate support 2023-04-30 11:09:51 +10:00
ThatOneCalculator
6eba097e09 new logos 2023-04-29 15:32:33 -07:00
ThatOneCalculator
1dbcbe9dbb chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
fruye
05b2f9b89d fix: Declare /api/v1/accounts/relationships before /api/v1/accounts/:id
Previously the 'relationships' part was considered to be an account id
and was handled by completely different API endpoint.
2023-04-28 20:03:06 +02:00
Kainoa Kanter
b8875beefa Revert "[Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)"
This reverts commit 2cdaad588c82508734d04c2169503782dfe8556a.
2023-04-27 16:32:37 -07:00
Kainoa Kanter
fd91a878c1 Revert "Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop"
This reverts commit 4f6cae76434d927920ae8eac5fad6b72336f29ac, reversing
changes made to 64a737d001ca9781ae8bb6995cad69219cba3831.
2023-04-27 16:25:13 -07:00
fruye
14e59f2401 fix: Get list titles from Form data when creating and updating lists
This change will actually make it possible for Mastodon clients to
create and rename lists, as they send the title in a Form data instead
of a query string.

https://docs.joinmastodon.org/methods/lists/#form-data-parameters
2023-04-27 22:42:10 +02:00
fruye
67b0e9e2dc fix: Make statusModel created_at fields be ISO 8601 strings
This makes the 'Reactions to this post' status (seen when viewing
a status context) send the correct data type for `created_at` fields.

https://docs.joinmastodon.org/entities/Account/#created_at
https://docs.joinmastodon.org/entities/Status/#created_at
2023-04-27 21:54:51 +02:00
ThatOneCalculator
7d48709b40 fix: style email with inline styles 2023-04-26 20:21:30 -07:00
ThatOneCalculator
3c5fbb7b0b try to fix email style... 2023-04-26 20:04:58 -07:00
ThatOneCalculator
e4ca9590bd fix? 2023-04-26 19:58:26 -07:00
ThatOneCalculator
36aef5a063 fix: add route 2023-04-26 19:51:25 -07:00
ThatOneCalculator
ab61c62f54 feat: frontend interface for post-account creation email verification 2023-04-26 19:44:38 -07:00
ThatOneCalculator
3aa5b8237d Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 14:20:02 -07:00
ThatOneCalculator
5d182895f0 Revert "chore: update summaly"
This reverts commit b60a3b509e6131ce8d29d7304dfa200c4b493e35.
2023-04-26 14:19:55 -07:00
Namekuji
dda66daedd feat: reserved usernames (#9917)
This PR adds a feature to prevent users from creating a new account with a reserved username such as root, admin, system, proxy, info, etc...

Reserved usernames can be configured via the config file.

The administrator can create an account with a reserved username via the first setup screen or the control panel.

The existing account of reserved usernames will not be affected.

Co-authored-by: Namekuji <nmkj@mx.kazuno.co>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9917
Co-authored-by: Namekuji <nmkj@noreply.codeberg.org>
Co-committed-by: Namekuji <nmkj@noreply.codeberg.org>
2023-04-26 20:06:18 +00:00
ThatOneCalculator
af4a2f2313 see if this works 2023-04-25 18:21:15 -07:00
ThatOneCalculator
f6d1fa8519 throw different error if following is null 2023-04-25 08:31:05 -07:00
ThatOneCalculator
2b033a813f revert messaging room 2023-04-24 15:45:34 -07:00
naskya
fdb4575f15 fix: boost muting in the recommended timeline (#9906)
Closes: #9905
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9906
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-24 19:47:56 +00:00
ThatOneCalculator
49e0399881 chore: up pakcages 2023-04-23 15:34:50 -07:00
fruye
2ef30e0152 feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
naskya
36b88c7286 security: validate image url (#9882)
It looks like url validations are added in f7564d87b0, but I found another validation commit not applied in Calckey, so I cherry-picked 0da0cc80b9 from [Misskey](https://github.com/misskey-dev/misskey).

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9882
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-21 01:50:47 +00:00
ThatOneCalculator
f1fa00f962 chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator
dbc25ce574 email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator
45b3e5635d reaction settings auto reload 2023-04-19 20:46:37 -07:00
daikei
ebb93328d5 [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)
This follows up #9869, with an awaited ``next()``, fixing the script.

> I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of koa-remove-trailing-slashes into a 206 byte script that gets the job done well.

(just to show the code does work)
![](https://s3.kitsunes.club/storage/41c7854d-d01e-4f4c-94dd-8b651e2d7367.gif)

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9870
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 22:36:22 +00:00
ThatOneCalculator
79d9b1bf13 Revert "[Fix] remove-trailing-slashes with inhouse script (#9869)"
This reverts commit 07db141fc0f1d0c55a930378f3adc81f23dbda44.
2023-04-17 01:22:31 -07:00
ThatOneCalculator
4a7a79c3d5 Revert "formatting"
This reverts commit b32e1b56fa0acda38a91f2851aea398204d02417.
2023-04-17 01:22:25 -07:00
ThatOneCalculator
e006d96aac formatting 2023-04-17 01:03:56 -07:00
daikei
1df7458d4e [Fix] remove-trailing-slashes with inhouse script (#9869)
I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of `koa-remove-trailing-slashes` into a 206 byte script that gets the job done well.

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9869
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 08:02:29 +00:00
ThatOneCalculator
24c23c6474 chore: formatting 2023-04-14 15:35:18 -07:00
daikei
2aa0fa37cf remove koa-favicon 2023-04-14 16:20:27 +00:00
daikei
74a43b7478 replace koa-favicon with a small patch of code
This should remove a needless dependency and replace it with a tiny, simple koa router
2023-04-14 16:18:50 +00:00
ThatOneCalculator
224fdf4dc5 chore: up swc 2023-04-13 09:43:13 -07:00
naskya
58b3950680 Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
Kainoa Kanter
5f6358c4bd Merge pull request 'fix: retrieve remote user again when migrating' (#9826) from nmkj/calckey:fix-alsoknownas into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9826
2023-04-08 06:15:27 +00:00
Kainoa Kanter
1affde0a8c chore: formatting 2023-04-07 22:46:10 -07:00
Namekuji
f2cf92aea1 fetch person again 2023-04-08 01:44:50 -04:00
naskya
0ef179e35f feat: per-user boost muting (#9825)
Cherry-picked from FoundKey/c414f24a2c ([commit](c414f24a2c))

This allows us to hide specified users' boosts from the timelines (the boosts will still be visible on their user page).

Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9825
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-08 05:44:36 +00:00
Kainoa Kanter
799ac84ee3 Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c4827fbff05782d08ae65bc3440c080.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
a5c4d0a7bd Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6bce9b86b8f4f9a5b78f640166dd3d5.
2023-04-07 17:35:10 -07:00
Kainoa Kanter
0c17baa47f Merge pull request 'fix: followers transfer via account migration' (#9822) from nmkj/calckey:fix-move into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9822
2023-04-08 00:06:08 +00:00
Namekuji
a5468a8204 fix move inbox 2023-04-07 17:48:25 -04:00
Kaity A
21905514d4 Incorporate calckey-js into calckey repository (#9820)
Closes #9712.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Ken Allan <ken@norganna.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9820
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-07 14:25:22 +00:00
Namekuji
177e9a50b2 fix id of move activity 2023-04-07 06:39:29 -04:00
Kainoa Kanter
dac3b02a3f days for featured 2023-04-06 22:48:07 -07:00
Kainoa Kanter
37d82c3b75 Merge pull request 'feat: give reason for soft word mutes' (#9815) from amybones/calckey:feat_soft_mute_reasons into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9815
2023-04-07 05:07:24 +00:00
Kainoa Kanter
d92cfb8cdf formatting 2023-04-06 18:56:46 -07:00
amy bones
3819e921cc feat: give reason for soft mutes
Bad UX when a post is muted and it just says "Some chick said something". Now
provide some context too to help people decide if they want to view something
potentially triggering.
2023-04-05 21:28:26 -07:00
amybones
89e27d8418 fix: toggling the blocking state from the instance-info admin view (#9809)
Because the admin meta information was never loaded on this page, no amount of toggling the block or suspend sliders on the instance-info page (e.g. `https://calckey.example.com/instance-info/instance.tld`) will result in the instance actually being added to the blocklist. You could still do it from the bulk blocklist management page, but that can get unwieldy quickly if you just want to do a quick block of an instance.

Co-authored-by: amy bones <amy@spookygirl.boo>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9809
Co-authored-by: amybones <amybones@noreply.codeberg.org>
Co-committed-by: amybones <amybones@noreply.codeberg.org>
2023-04-04 03:46:23 +00:00
ThatOneCalculator
3e7d64ac4b feat: push notifs button
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
2023-04-03 20:36:59 -07:00
Kainoa Kanter
8cdadd70ba Merge pull request 'Require timeline endpoints to return the requested limit of notes.' (#9805) from supakaity/hajkey:hk/notes-pagination into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9805
2023-04-03 17:02:01 +00:00
Kaity A
d7e253eb62 Requested limit to be fulfilled if possible 2023-04-04 02:50:53 +10:00
amy bones
3f3bf0a9e7 fix: changing passwords, 2fa, and password resets.
The argon2 usage was only implemented for sign-ins which broke a bunch of other
endpoints and features.
2023-04-03 05:14:50 -07:00
Kaity A
eaa6bc2da3 Separate cat-avatar mode and speak-as-cat nyanification 2023-04-02 21:24:12 +10:00
ThatOneCalculator
c5522d0207 fix import 2023-04-01 23:28:55 -07:00
ThatOneCalculator
33718bdd5d chore: 🎨 format 2023-04-01 21:10:31 -07:00
ThatOneCalculator
cb1b13e879 fix: 🛂 no longer need 2fa for webauthn 2023-04-01 21:04:22 -07:00
ThatOneCalculator
7522cdf445 fix migration 2023-04-01 12:14:54 -07:00
ThatOneCalculator
64d6b987ab chore: add cleanup migration 2023-04-01 12:03:49 -07:00
Kaitlyn Allan
52f06a2e14 Clarify variable names 2023-04-01 22:49:14 +10:00
Kaitlyn Allan
a86f8d4911 Improve performance of charts
Fix some undefined !== deleted issues
2023-04-01 21:42:03 +10:00
kabo2468
021f667976 fix: don't nyaize quoted text 2023-03-31 23:30:57 +09:00
ThatOneCalculator
df83d4c211 add argon 2023-03-30 19:19:09 -07:00
ThatOneCalculator
19c4a59513 formatting 2023-03-30 19:10:03 -07:00
ThatOneCalculator
5be627b869 feat: 🔒 add argon2 support
Passwords will be automatically re-hashed on sign-in. All new password hashes will be argon2 by default.  This uses argon2id and is not configurable. In the very unlikely case someone has more specific needs, a fork is recommended.  ChangeLog: Added  Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>

Breaks Calckey -> Misskey migration, but fixes Foundkey -> Calckey migration
2023-03-30 19:09:44 -07:00
s1idewhist1e
981d3ee725 Refactor: use rust for native mastodon id conversion (#9786)
This uses [napi-rs](https://napi.rs/) to allow for automatic generation of node bindings for the native code.

I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.

Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.

Some benchmarks for 1 million conversions:

```
	node, x1_000_000: 2.847s
	rust, x1_000_000: 1.265s
```

There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00
cutestnekoaqua
1b61d1a58d check for signatures while post import 2023-03-30 17:52:17 +02:00
cutestnekoaqua
cf5671cb05 nyaa 2023-03-30 17:31:29 +02:00
Cleo
7a31740e20 remove debug msgs 2023-03-30 09:30:38 +00:00
Cleo
69daa49403 „packages/backend/src/server/api/endpoints/i/import-posts.ts“ ändern
Signed-off-by: Cleo <cutestnekoaqua@noreply.codeberg.org>
2023-03-30 09:12:51 +00:00
Cleo
fcbdde47d0 Yeet mentions 2023-03-30 08:40:20 +00:00
naskya
c2883ea95b fix: direct boost (#9783)
Sorry to create PR multiple times. I should have included this in #9778.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9783
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:15:06 +00:00
cutestnekoaqua
4df655126d get post details from object 2023-03-29 21:38:52 +02:00
cutestnekoaqua
db392efae8 catch text parsing error 2023-03-29 21:25:28 +02:00
cutestnekoaqua
41c7dfe208 add info 2023-03-29 21:16:45 +02:00
cutestnekoaqua
da322a086b catch errors 2023-03-29 21:15:06 +02:00
cutestnekoaqua
d640af9714 handle mastodon style posts 2023-03-29 21:10:01 +02:00
cutestnekoaqua
365d9bc40a dont ping users 2023-03-29 20:01:56 +02:00
cutestnekoaqua
dfb6178ddf actually increase line num 2023-03-29 19:37:31 +02:00
cutestnekoaqua
f43b5a2537 update post job 2023-03-29 19:36:23 +02:00
cutestnekoaqua
d0f2cbd664 note import debug logs 2023-03-29 19:23:37 +02:00
cutestnekoaqua
b9b693c233 temporary set import limit to infinity for debug 2023-03-29 19:16:39 +02:00
naskya
3eccb04e92 Merge branch 'develop' into fix/followers-only-boost 2023-03-29 02:24:21 +00:00
cutestnekoaqua
86e02468ce why is this git ignored? 2023-03-29 00:09:31 +02:00
cutestnekoaqua
c05703001c why is this git ignored? 2023-03-28 23:48:27 +02:00
cutestnekoaqua
624f305d9c feat: experimental post import 2023-03-28 23:33:16 +02:00
Kagami Sascha Rosylight
4e78a4e0b0 fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
Kaitlyn Allan
e696a13fb2 set workers to reduce their processing priority 2023-03-25 21:19:06 -07:00
ThatOneCalculator
cdcd4320a9 fix? 2023-03-24 13:14:41 -07:00
ThatOneCalculator
bf358a2fb3 dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
8d1c7c787c feat: post metadata uses full @
Closes #9660
2023-03-23 18:03:50 -07:00
ThatOneCalculator
9fa73242a0 chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
ThatOneCalculator
21061b6803 feat: masto api add display name 2023-03-23 16:16:27 -07:00
ThatOneCalculator
6b298823ff Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-23 09:07:25 -07:00
ThatOneCalculator
ae9ba9b2c3 Revert "refactor: nyaize on the frontend"
This reverts commit aff90b3ef225e5d4453469b36b7bf3a8565c7a68.
2023-03-23 09:06:32 -07:00
amy bones
88295aad8f fix: relay signature handling
A change sometime ago moved to setting some signature fields in the incoming
object to undefined as opposed to deleting them. The trouble is that downstream
code checks against existence, not undefinedness and rejects the message.

Resolves: #9665
2023-03-22 17:32:49 -07:00
Kainoa Kanter
10d8d41580 Merge pull request 'fix: max user profile length to db field length' (#9750) from amybones/calckey:fix-profile-length into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9750
2023-03-22 18:58:32 +00:00
cutestnekoaqua
abfbb15fef Masto api :) 2023-03-22 17:43:05 +01:00
cutestnekoaqua
d8fe02042c allow client credentials not just for tapbots 2023-03-22 14:40:59 +01:00
amy bones
b5130abc25 fix: max user profile length to db field length
Resolves: #9749
2023-03-22 02:10:43 -07:00
ThatOneCalculator
7420f6ce56 validate blank messages on backend 2023-03-19 20:03:49 -07:00
ThatOneCalculator
887673ecdd refactor: nyaize on the frontend 2023-03-19 19:59:00 -07:00
ThatOneCalculator
efef445eef fix: repo url 2023-03-19 16:53:49 -07:00
Kaitlyn Allan
ebef0b14c6 Fix error saving drive file caption > 512 chars 2023-03-19 20:06:24 +10:00
ThatOneCalculator
c1da33a658 cli images 2023-03-19 02:33:44 -07:00
ThatOneCalculator
26cbcba6a6 fix cli more 2023-03-19 02:08:08 -07:00
ThatOneCalculator
472164f573 feat: spruce up CLI 2023-03-19 01:59:33 -07:00
Kaity A
77c12cba8d Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
naskya
94eb321431 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
ThatOneCalculator
d8c0ba0795 fix: when count is actually 0 2023-03-19 00:13:30 -07:00
cutestnekoaqua
3122701186 pass auth to metadata 2023-03-18 13:06:49 +01:00
cutestnekoaqua
3e748cb401 fix: intermediarily convert ids 2023-03-18 12:23:03 +01:00
cutestnekoaqua
9c0416df65 add 404 as replacements 2023-03-18 12:09:43 +01:00
cutestnekoaqua
25896f0093 chore: update megalodon 2023-03-18 11:52:18 +01:00
fruye
3d7868c9dc fix: Parse mastoAPI limit argument in more places & Improve converting arguments to boolean (#9716)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9716
Authored-by: fruye <fruye@unix.dog>
Signed-off-by: Cleo John <waterdev@galaxycrow.de>
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-03-17 13:58:01 +00:00
s1idewhist1e
5eec5ac2ef feat: Make follower counts for remote users correct (#9705)
#9293

Not sure if this is the right approach for this

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9705
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-17 01:16:31 +00:00
fruye
b62b1d43d6 fix: Run to boolean conversion in mastoAPI public and hashtag timelines
The `only_media` query parameter in `/api/v1/timelines/public` and
`/api/v1/timelines/tag/:hashtag` was previously passed directly as-is to
the Misskey API, which made it pretty upset because it was receiving a
string named 'true' instead of the value 'true'.

Needed for pleromaFE to display a timeline.
2023-03-15 23:09:19 +01:00
Cleo John
c1a6e342e9 webhook mastodon fixes 2023-03-14 17:18:30 +01:00
Luna
f02b1429e9 Small fix to Masto ID conversion code 2023-03-13 00:44:38 -04:00
Luna
75fd6d068d Sorta kinda handle client_credentials auth flow 2023-03-11 23:19:17 -05:00
Luna
2d7225a179 Proxy object IDs for Mastodon API to prevent Calckey ID format incompatibilities 2023-03-11 16:02:35 -05:00
Luna
07d45c6a70 Convert limit parameter to int for certain Mastodon account endpoints 2023-03-11 16:02:35 -05:00
Luna
bd15a1d8d6 Enable multipart for masto oauth endpoints to fix Ivory 2023-03-11 16:02:35 -05:00
Kaity A
be4d51fcad Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
Kaity A
55b2708009 Set movedToUri & alsoKnownAs null when undefined 2023-03-04 08:24:22 +00:00
cutestnekoaqua
a176e5b9aa parse full multipart data to media endpoints 2023-03-01 15:53:40 +01:00
cutestnekoaqua
83216f0b3b fix import 2023-03-01 15:07:35 +01:00
cutestnekoaqua
1c674fcf01 some quick fixes 2023-03-01 15:04:01 +01:00
Cleo John
447547b911 fix errors 2023-02-28 17:38:48 +01:00
Cleo John
83494b707d more mastodon work 2023-02-28 17:23:04 +01:00
Masaya Suzuki
00e42db681 Check redis connection
---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-23 22:04:47 -08:00
CutestNekoAqua
f013669e7b aa 2023-02-23 17:38:18 +01:00
CutestNekoAqua
066b4fa78d meow? 2023-02-23 17:20:34 +01:00
CutestNekoAqua
ac6cc1ea45 maybe buffer? 2023-02-23 17:13:35 +01:00
CutestNekoAqua
bab5577ee5 this is the sign I need a break 2023-02-23 17:07:49 +01:00
CutestNekoAqua
50687ef209 move file upload to new router 2023-02-23 17:02:02 +01:00
CutestNekoAqua
76a4228de3 oh ich hab verkackt 2023-02-23 16:57:21 +01:00
CutestNekoAqua
b712b67df3 use multer upload instead 2023-02-23 16:55:38 +01:00
CutestNekoAqua
6b97e42a7f update thingy? 2023-02-23 16:42:57 +01:00
CutestNekoAqua
678c3c2483 lol 2023-02-23 16:34:16 +01:00
CutestNekoAqua
506709d2eb fixed what ever calc did here, masto app didnt 2023-02-23 16:32:21 +01:00
CutestNekoAqua
273b86b9f4 ?? 2023-02-23 16:26:33 +01:00
CutestNekoAqua
b1d785b486 await the instance meta 2023-02-23 16:12:53 +01:00
CutestNekoAqua
83cc0c9828 import config 2023-02-23 15:58:54 +01:00
CutestNekoAqua
0ca238d680 import multer 2023-02-23 15:55:28 +01:00
CutestNekoAqua
75bd0baf99 remove not needed middleware handlers 2023-02-23 15:46:12 +01:00
CutestNekoAqua
e4a276a989 aaa 2023-02-23 00:31:14 +01:00
CutestNekoAqua
e2ad9a94ec fix mastodon api stats 2023-02-22 09:44:47 +01:00
ThatOneCalculator
aae1d293b5 fix: 🐛 Don't show image previews if NSFW
Closes #9636
2023-02-18 12:02:25 -08:00
ThatOneCalculator
706ebbd853 Masto API meta 2023-02-18 11:58:02 -08:00
ThatOneCalculator
c28e5fcad5 feat: Show time for users 2023-02-18 11:33:25 -08:00
CutestNekoAqua
a5633b9368 fix oopsie 2023-02-18 17:24:58 +01:00
CutestNekoAqua
cedf306f76 debug print users 2023-02-18 17:22:43 +01:00
CutestNekoAqua
28a31879f8 make relationshiops work 2023-02-18 17:14:16 +01:00
daikei
5ac063200e Merge branch 'develop' into develop 2023-02-17 21:12:04 +00:00
ThatOneCalculator
9d2ccab7f5 chore: formatting 2023-02-17 13:01:14 -08:00
ThatOneCalculator
301c03e97f chore: remove hard-to-see gradient 2023-02-17 00:16:35 -08:00
ThatOneCalculator
75c53f783a perf: emoji lib performance fix 2023-02-17 00:01:22 -08:00
ThatOneCalculator
4453e847a4 fix: 🐛 pagination for "/api/channels/followed"
Co-authored-by: takonomura <@takonomura@github.com>
2023-02-15 10:31:10 -08:00
ThatOneCalculator
fc285bb645 fix: 💄 admin overview style 2023-02-13 20:21:42 -08:00
ThatOneCalculator
0e9f9063b4 attempt fix 2023-02-13 19:48:57 -08:00
cutestnekoaqua
a607673019 try again 2023-02-13 20:41:42 +01:00
cutestnekoaqua
c4683c0196 actually return value 2023-02-13 20:38:11 +01:00
cutestnekoaqua
b209a9e533 uwu 2023-02-13 20:36:13 +01:00
cutestnekoaqua
d83e2f2c7a mew 2023-02-13 20:28:23 +01:00
ThatOneCalculator
68c65044fd chore: formatting 2023-02-13 11:17:07 -08:00
cutestnekoaqua
57e307ae39 Revert "parse query stuff with bools"
This reverts commit 4eb695f3c3acca0510036b13562207d35c7bf7fb.
2023-02-13 19:39:14 +01:00
cutestnekoaqua
75b20908bd parse query stuff with bools 2023-02-13 19:34:41 +01:00
cutestnekoaqua
9bec89afe8 initial bool parsing in mastodon 2023-02-13 18:54:38 +01:00
cutestnekoaqua
03f7ba241a nya 2023-02-13 17:08:48 +01:00
cutestnekoaqua
adbde2ae94 meow 2023-02-13 17:02:51 +01:00
cutestnekoaqua
5cd23ca88f changes typings 2023-02-13 16:58:42 +01:00
cutestnekoaqua
d6c9a142ab change types 2023-02-13 16:58:18 +01:00
cutestnekoaqua
030d890286 add debug to error 2023-02-13 16:53:56 +01:00
cutestnekoaqua
5905d7e8c1 basic account lookup 2023-02-13 16:12:21 +01:00
cutestnekoaqua
fa960711ae feat: #9614 2023-02-13 15:12:21 +01:00
ThatOneCalculator
428dac79c8 fix: 🐛 first user gets admin
Closes #9620

Co-authored-by: @Johann150
2023-02-12 20:19:16 -08:00
ThatOneCalculator
428a830749 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-02-12 12:07:15 -08:00
ThatOneCalculator
dd45c01b68 feat: remote featured notes 2023-02-12 12:07:07 -08:00
Kio-td
070ec13665 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-02-12 12:11:21 -05:00
Kaity A
4c12faacb1 invalidate local user cache on user update 2023-02-12 07:54:59 +00:00
ThatOneCalculator
99accc4502 fix: correct megalodon import 2023-02-11 17:23:30 -08:00
ThatOneCalculator
57aed1fed9 chore: formatting 2023-02-11 17:22:05 -08:00
Kaity A
2b030a0a8c Implementation of an instances wide antenna source. (#9604)
This PR contains new source for antenna posts, which is a list of instance hostnames to process all posts from.

Using this mode, a user can filter for keywords on an instance wide basis.

This change includes a new antenna source called `instances` and a new database column in the `antenna` table called `instances` to store the instance names.

On the antenna editor, there's also an "Add an instance" finder dialog to allow users to search through the known instance hostnames.

Co-authored-by: Kaity A <supakaity@blahaj.zone>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9604
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-02-12 01:20:17 +00:00
Kaity A
7091f889ee Enable reply update/display in detailed view. (#9606)
This PR establishes a new replied note stream update for subscribed notes, which gets fired off whenever a note receives a reply and the user is subscribed to the note for updates.

It specifically does not provide note details as part of the update, just the note id of the reply, so that they must go and retrieve the note and be subject to the proper permission and visibility checks.

The detailed note component has then been updated to watch for the replied notification so it can add new replies to the thread as they are created.

This allows both seeing new replies while on the page, and also to see your own replies appear after you post them without having to reload the page.

This PR relies on https://codeberg.org/calckey/calckey.js/pulls/2 to add the replied type to the calkey.js module.

Co-authored-by: Kaity A <supakaity@blahaj.zone>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9606
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-02-12 01:19:43 +00:00
Kainoa Kanter
e363940bcf Merge pull request 'fix: 🐛 100vh body background color' (#9608) from GeopJr/calckey:fix/100vh-body-bg-color into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9608
2023-02-12 00:29:33 +00:00
ThatOneCalculator
2dff0cf8a0 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-02-11 16:22:00 -08:00
ThatOneCalculator
6333016077 chore: calckey megalodon 2023-02-11 16:20:57 -08:00
cutestnekoaqua
8149145b75 is this too spec? 2023-02-12 00:35:39 +01:00
cutestnekoaqua
740e5e56ba oof 2023-02-12 00:33:52 +01:00
cutestnekoaqua
b2bb9ec178 eow 2023-02-12 00:29:52 +01:00
cutestnekoaqua
a97806eeaa simplify code 2023-02-12 00:25:51 +01:00
cutestnekoaqua
1acf0518b0 try this instead 2023-02-12 00:19:35 +01:00
cutestnekoaqua
d91358ce2f refine error msg 2023-02-12 00:14:03 +01:00
cutestnekoaqua
f5a9add712 add account lookup 2023-02-12 00:10:10 +01:00
cutestnekoaqua
0d836df218 remove unneeded next middleware 2023-02-11 23:50:58 +01:00
cutestnekoaqua
87c54e03d8 change name of Reactions bot 2023-02-11 23:46:35 +01:00
cutestnekoaqua
273ab91284 fix timelines 2023-02-11 23:12:14 +01:00
cutestnekoaqua
9189ef29ba meow
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-11 22:50:20 +01:00
Evangelos Paterakis
b2b619ffa7 fix: 🐛 100vh body background color 2023-02-11 23:28:46 +02:00
ThatOneCalculator
1d89cc3e3d docs: 📝 custom assets 2023-02-11 13:16:45 -08:00
daikei
861fbcab41 Remove hardcoding of sounds (#9510) (#9607)
Co-authored-by: Kio-td <kio.thedev@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9607
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-02-11 21:09:43 +00:00
daikei
13af804543 Discard notes made before Fedi's existence, or after today (#9605)
This PR should kill #9531 - Safeguarding against posts that are made before 2007 (Identica being made in 2008, the 'first ever activitypub software' according to wikipedia.)

Personally, if gone unnoticed, I believe that notes from the past can be used as an attack vector to silently flood a database.

Co-authored-by: Kio-td <kio.thedev@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9605
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-02-11 21:05:31 +00:00
ThatOneCalculator
1e7f8c3ab8 chore: up calckey.js 2023-02-11 13:04:22 -08:00
daikei
7e7c47f143 Merge branch 'develop' into develop 2023-02-11 20:29:44 +00:00
GeopJr
ccba7fc9db feat: don't depend on an external service for urn:ietf:wg:oauth:2.0:oob (#9602)
Co-authored-by: GeopJr <evan@geopjr.dev>
Co-committed-by: GeopJr <evan@geopjr.dev>
2023-02-11 20:08:12 +00:00
Kio-td
7465e8461d Fix bad math 2023-02-11 07:18:56 -05:00
Kio-td
1a90496318 Merge branch 'develop' of https://codeberg.org/Daikei/calckey into develop 2023-02-11 06:26:31 -05:00
Kio-td
4ff3b39ba3 Discard if 3 days in the future 2023-02-11 06:26:05 -05:00
daikei
7c64103668 Merge branch 'develop' into develop 2023-02-11 11:18:22 +00:00
Kio-td
1104db515e Semi-Kill #9531 2023-02-11 06:13:55 -05:00
Kainoa Kanter
572f97771f Add source SVG logo files 2023-02-11 06:11:02 +00:00
cutestnekoaqua
49ad84b754 floor created at 2023-02-11 01:51:14 +01:00
cutestnekoaqua
ec23cb65d4 parse client id 2023-02-11 01:17:35 +01:00
cutestnekoaqua
10f5d49fc6 do more change 2023-02-11 01:08:20 +01:00
cutestnekoaqua
ecc0397dd3 make secure check 2023-02-11 01:07:44 +01:00
cutestnekoaqua
f4861e9dc5 remove multipart here? 2023-02-11 00:57:43 +01:00
cutestnekoaqua
bd7910d741 i need to seperate 404 to own route 2023-02-11 00:51:50 +01:00
ThatOneCalculator
13238973b6 chore: Rome Formatting 2023-02-10 15:41:19 -08:00
cutestnekoaqua
955994c93d meow 2023-02-11 00:40:04 +01:00
cutestnekoaqua
657f40e771 ree 2023-02-11 00:35:30 +01:00
cutestnekoaqua
e58b839339 split routers 2023-02-11 00:33:01 +01:00
cutestnekoaqua
0f928bfb23 revert it for now 2023-02-11 00:19:52 +01:00
cutestnekoaqua
1b3308bd4b Revert "use formidable instead"
This reverts commit b8406ecaa40c08576d2644b797e05363533b0cfb.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
73ad1f1a31 Revert "meow?"
This reverts commit 6e79148152cfa3cd3757b1545af6db804f4aa166.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
fccf6f4de8 Revert "remove body parser settings for now"
This reverts commit 41ce22aa1c718dde7585609da2addd75985394a0.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
ed6736adf0 remove body parser settings for now 2023-02-11 00:08:26 +01:00
cutestnekoaqua
fd60486bca meow? 2023-02-11 00:02:20 +01:00
cutestnekoaqua
1d3e01ee8e use formidable instead 2023-02-10 23:50:27 +01:00
cutestnekoaqua
465cb5a570 use multer instead 2023-02-10 23:29:29 +01:00
cutestnekoaqua
2ff3e68d94 me forgorr 2023-02-10 23:17:29 +01:00
cutestnekoaqua
23aa51102b migrate middleware usage
Co-authored-by Natty <natty.sh.git@gmail.com>
2023-02-10 23:15:47 +01:00
cutestnekoaqua
9b2cd8f2e8 this is super cursed 2023-02-10 23:00:15 +01:00
cutestnekoaqua
9703b2496f temp test 2023-02-10 22:30:19 +01:00
cutestnekoaqua
1024e4d027 merge more multipart stuff 2023-02-10 21:16:55 +01:00
cutestnekoaqua
78463f5f36 ree 2023-02-10 20:53:27 +01:00
cutestnekoaqua
ebd53e1f90 weird merge error 2023-02-10 20:52:58 +01:00
cutestnekoaqua
3f73e2ff84 Merge Masto Api changes
Co-authored-by Natty <natty.sh.git@gmail.com>
2023-02-10 20:45:29 +01:00
cutestnekoaqua
8ddfd9630c Revert "yeet koabody"
This reverts commit d5eb131f582ad1900392eafbf3e1f6d3e55f1d5f.
2023-02-10 20:40:54 +01:00
ThatOneCalculator
76011a3f28 fix: 🔒 prevent issues 2023-02-10 11:14:33 -08:00
daikei
506a38e197 Merge branch 'develop' into develop 2023-02-10 08:18:23 +00:00
Cleo
b2ebf7c7fa „packages/backend/src/server/index.ts“ ändern 2023-02-10 08:01:38 +00:00
Cleo
a0e4927f4c revert da2368bf7af1d4e3a7f2fb4b8703b68a1f8c8ceb
revert fix: some Masotdon API compat issues (#9592)
Co-authored-by: GeopJr <geopjr@noreply.codeberg.org>
Co-committed-by: GeopJr <geopjr@noreply.codeberg.org>
2023-02-10 07:56:46 +00:00
Kio-td
79a3aadc60 Clean up bad coding practices 2023-02-10 00:38:23 -05:00
Kio-td
cdc210f0f0 Close #9473 2023-02-10 00:19:47 -05:00
GeopJr
3cfb6675e7 fix: some Masotdon API compat issues (#9592)
Co-authored-by: GeopJr <geopjr@noreply.codeberg.org>
Co-committed-by: GeopJr <geopjr@noreply.codeberg.org>
2023-02-10 02:58:52 +00:00
cutestnekoaqua
db14e343d5 yeet koabody 2023-02-10 01:05:49 +01:00
cutestnekoaqua
0cf351b3da Revert "shrugs"
This reverts commit 5a3f84a93470b5c6e5f996bc062e1f42efb69729.
2023-02-10 00:59:16 +01:00
cutestnekoaqua
09e18eb312 shrugs 2023-02-10 00:54:10 +01:00
cutestnekoaqua
96933b696a use ES import in index 2023-02-10 00:38:39 +01:00
cutestnekoaqua
77e836797b change method name of masto api 2023-02-10 00:34:24 +01:00
cutestnekoaqua
fc8d328018 change imports 2023-02-10 00:32:30 +01:00
cutestnekoaqua
cf13cf44e2 move get-unsecure 2023-02-10 00:27:57 +01:00
cutestnekoaqua
bc75b2664e fix import 2023-02-10 00:23:44 +01:00
cutestnekoaqua
1c0b13a965 Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01:00
cutestnekoaqua
6bbc669382 making build work 2023-02-09 23:32:40 +01:00
cutestnekoaqua
b1e3c2e1c7 feat: v1 Mastodon API
This commit adds (maybe unstable) support for Mastodons v1 api
also some v2 endpoints, maybe I miss stuff, I dont know.
We will need to test this but it should be kinda stable
and work like (old) butter.

Co-authored-by: Natty <natty.sh.git@gmail.com>
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-09 23:21:50 +01:00
cutestnekoaqua
bb711adff8 fix some ctx stuff 2023-02-07 23:05:26 +01:00
cutestnekoaqua
0756e980d1 wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
ThatOneCalculator
af6994dedf Merge remote-tracking branch 'asreal/Dockerfile-optimization' into develop 2023-02-05 21:15:01 -08:00
cutestnekoaqua
029eb6a521 fix: reactions using unicode weren't processed 2023-02-05 12:37:01 +01:00
ThatOneCalculator
9afe5424c0 chore: formatting 2023-02-04 12:41:25 -08:00
ThatOneCalculator
4073b746b4 fix: 🔒 improve tag search security 2023-02-04 12:38:46 -08:00
ThatOneCalculator
06ee523871 fix: 🐛 following issues
Closes #9544
2023-02-04 12:37:20 -08:00
Asrael
eeee91dcb4 build: reduce container size by removing dev dependencies from final image
This change moves many of the dependencies into devDependencies, by analyzing what is used in the runtime files. Additionally, NPM and apk cache are eliminated with multi-stage builds
2023-02-03 21:38:40 -08:00
cutestnekoaqua
cc594a68aa fix: Use ❤️ instead of ♥️ 2023-02-04 02:30:43 +01:00
ThatOneCalculator
40d539ad20 fix 2023-02-01 11:55:45 -08:00
Kainoa Kanter
62085a7183 Merge pull request 'Proper support for image types in notes, opengraph images and videos.' (#9524) from Skystryder/chakey:feature/opengraph into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9524
2023-01-30 04:52:01 +00:00
Skystryder
6d65843f78 Also increase the size for proxy. 2023-01-28 18:00:08 -08:00
Skystryder
2d5e836e96 Cleaning up image conversions to use webp, and increasing the thumbnail size. 2023-01-28 17:46:03 -08:00
Skystryder
e9a2fb5fe9 Proper support for image types in notes, opengraph images and videos.
Progress toward https://codeberg.org/calckey/calckey/issues/9373
2023-01-28 16:47:26 -08:00
ThatOneCalculator
619b925d12 fix: 🐛 signin with ipv6
co-authored-by: Syuilo
2023-01-24 15:13:25 -08:00
ThatOneCalculator
a28d818906 Fix config 2023-01-23 10:35:51 -08:00
ThatOneCalculator
4b2f9bd631 TWA/assetlinks support 2023-01-21 12:55:38 -08:00
ThatOneCalculator
a6437a79cd feat: PWA icons 2023-01-21 12:29:46 -08:00
ThatOneCalculator
a71dab09a5 Revert "hopefully this fixed chat updates"
This reverts commit bbbfbc1061fbced2c8ccf4879597305ab0d89157.
2023-01-19 16:33:14 -08:00
ThatOneCalculator
c742617a35 lavaforge --> codeberg until lavaforge is ready 2023-01-19 16:18:17 -08:00
ThatOneCalculator
be05847383 fix: heart reaction 2023-01-19 16:17:20 -08:00
ThatOneCalculator
1da7464ee7 clean up w/ rome 2023-01-16 11:19:20 -08:00
ThatOneCalculator
cb9dafdcdc chore: lavaforge links 2023-01-15 13:18:10 -08:00
cutestnekoaqua
6b700b152c fix: deliver queue 2023-01-15 02:25:01 +01:00
cutestnekoaqua
31be0899fd refactor constants
Also added more standard media formats
2023-01-14 18:21:35 +01:00
cutestnekoaqua
83728839d0 chore: rome linting 2023-01-14 16:09:47 +01:00
cutestnekoaqua
1b43766322 chore: change code commit of pictogram to emoji 2023-01-13 19:40:49 +01:00
CyberRex0
dc8a6b96d8 Add android-arm64 binary for swc 2023-01-13 18:26:22 +00:00
cutestnekoaqua
f8d901179c fix: return only first emoji but fully 2023-01-13 18:49:10 +01:00
ThatOneCalculator
bb61a9684b Remove usused eslint files 2023-01-12 22:27:17 -08:00
ThatOneCalculator
cca9a7d7cf Revert "fix: heart reactions"
This reverts commit 620dedab47bfee796e7de0f9cfb85288c4539a8e.
2023-01-12 21:41:43 -08:00
ThatOneCalculator
ef06bdceda close #9463 2023-01-12 20:58:43 -08:00
ThatOneCalculator
ac64087a1e no more eslint 2023-01-12 20:54:33 -08:00
ThatOneCalculator
2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
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
ThatOneCalculator
f31b374024 don't load icons in pug 2022-11-21 20:05:08 -08:00
ThatOneCalculator
a2d9405824 deprecate node < 18 2022-11-21 16:27:32 -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
c35c534a86 typo 2022-11-18 20:18:00 -08:00
ThatOneCalculator
613c560bcc Finally fix star reaction fallback migration 2022-11-18 20:17:32 -08:00
ThatOneCalculator
48c03b071c migration 2022-11-18 19:26:45 -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
eea4855692 upgrade deps 2022-11-18 17:20:34 -08:00
ThatOneCalculator
2c0cf33798 init 2022-11-17 13:54:25 -08:00
ThatOneCalculator
d8ae9e7be6 chore: ⬆️ upgrade packages 2022-11-16 02:08:33 -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
1529626d05 chore: ⬆️ update deps 2022-11-13 13:14:34 -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
ThatOneCalculator
52bc14d4b7 chore: 📦 package upgrades 2022-11-09 17:21:09 -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
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
ThatOneCalculator
80ea452b9b Calckey as software name, finally! 2022-07-19 10:49:43 -07:00
ThatOneCalculator
e4246d8586 Calckey in launch strings 2022-07-19 10:18:05 -07:00
ThatOneCalculator
8687b46e18 More Calckey strings 2022-07-19 10:13:17 -07:00
ThatOneCalculator
c6eaf11033 Branding 2022-07-19 09:21:45 -07:00
ThatOneCalculator
0693367f96 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-19 09:04:29 -07:00
syuilo
a23b24e9cc Merge branch 'develop' into pr/9021 2022-07-19 23:53:08 +09:00
Acid Chicken (硫酸鶏)
bfce689abc fix(server): make sure getFileInfo doesn't fail if detectSensitivity ever fails (#9020) 2022-07-19 17:09:21 +09:00
Johann150
5217f18ca4 handle authentication errors in stream API 2022-07-19 09:32:46 +02:00
Johann150
ad2f017af8 update openapi spec generator
Properly document GET API endpoints.
Added Bearer token authentication.
2022-07-19 09:32:01 +02:00
Johann150
69059b2b1f improve authentication errors 2022-07-19 09:29:04 +02:00
Johann150
8b6381a6a8 add OAuth 2.0 Bearer Token authentication 2022-07-19 09:29:04 +02:00
ThatOneCalculator
bab942856e tabs 2022-07-18 23:21:08 -07:00
ThatOneCalculator
ae5fd85436 calckey ascii art 2022-07-18 23:07:18 -07:00
ThatOneCalculator
4ee44087b9 oauth 2022-07-18 22:22:24 -07:00
ThatOneCalculator
3938786fed yarn lol 2022-07-18 22:04:21 -07:00
ThatOneCalculator
7da37a3500 MOTD 2022-07-18 21:47:32 -07:00
ThatOneCalculator
002f7b5481 The annoying orange 2022-07-18 21:32:02 -07:00
ThatOneCalculator
ab07240b11 migration 2022-07-18 21:04:55 -07:00
ThatOneCalculator
db7fbce3b1 Merge remote-tracking branch 'nullobsi/secure-fetch' into develop 2022-07-18 20:50:15 -07:00
ThatOneCalculator
67460a4e7b Merge remote-tracking branch 'thatonecalculator/self-host-images' into develop 2022-07-18 20:34:37 -07:00
ThatOneCalculator
2520468447 Merge remote-tracking branch 'thatonecalculator/repair-style' into develop 2022-07-18 20:34:06 -07:00
ThatOneCalculator
005d557502 Calckey 2022-07-18 19:00:45 -07:00
nullobsi
1df427a085 Hide private data in pug when private mode is enabled 2022-07-17 15:25:40 -07:00
nullobsi
4e52c8d8fd Add secure mode settings to Security tab 2022-07-17 15:25:40 -07:00
nullobsi
7131ca8897 In private mode, block access to many public APIs 2022-07-17 15:25:40 -07:00
nullobsi
8f6605eb63 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-07-17 15:25:39 -07:00
nullobsi
03185aae2e Add migration for allowedHosts, secureMode, privateMode 2022-07-17 14:02:40 -07:00
syuilo
c56f14473f Update 1651224615271-foreign-key.js
#8852
2022-07-17 05:12:59 +09:00
syuilo
958260795f Update 1651224615271-foreign-key.js
#8852
2022-07-16 23:51:32 +09:00
syuilo
14463b7cbf fix(server): fix bind of method
Fix #9006
2022-07-16 19:03:41 +09:00
syuilo
2284142e58 tweak boot.js 2022-07-14 22:25:57 +09:00
syuilo
e00b4724ac tweak boot.js 2022-07-14 22:04:16 +09:00
syuilo
8c9530fb41 tweak boot.js 2022-07-14 21:52:58 +09:00
syuilo
a3a2d1186c chore: use tab 2022-07-14 21:02:45 +09:00
syuilo
975e22089a improve error handling of client boot 2022-07-14 20:41:17 +09:00
syuilo
ae5596dce2 log error while client boot 2022-07-14 20:29:45 +09:00
syuilo
f4eaa9b3ce update deps 2022-07-13 21:37:48 +09:00
tamaina
1665262483 fix(sw, notification): Don't issue an event if there is no affect (#8979)
* test

* ]v]
2022-07-13 21:07:49 +09:00
Johann150
278b7a70a7 enhance: read theme color nodeinfo (#8977)
* provide theme color in nodeinfo metadata

* read theme color from nodeinfo

Prefer to read the theme color from the nodeinfo since it is more
performant than performing selector search on a DOM.
2022-07-13 21:06:24 +09:00
nvisser
a60b0dd757 Make tensorflow an optinal dependency (#8986) 2022-07-13 21:00:59 +09:00
syuilo
235e55790b feat: support <plain> syntax for mfm 2022-07-12 12:03:38 +09:00
MeiMei
41e4505111 Fix crash at startup if TensorFlow is not supported (#8984)
* Lazy loading tensorflow

* CHANGELOG

* CHANGELOG

* Check CPU flags

* .
2022-07-12 10:38:57 +09:00
syuilo
fa72ec1f08 re: update mfm-js 0.23.0-canary.1 2022-07-11 23:13:23 +09:00
syuilo
e8a58722a2 update mfm-js 0.23.0-canary.1 2022-07-10 21:09:37 +09:00
yzhe819
2d69600539 chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
tamaina
a461625b31 enhance(sw): If receiving a push notification issued more than a day, ignore it. (#8980)
* enhance(sw): ignore old push notification

* ✌️

* 半日

* !==

* 1日
2022-07-10 15:15:21 +09:00
dogcraft
8b106bf548 fix: QueryFailedError when logging user's IPs (#8973)
* fix QueryFailedError when logging user's IPs

* use `orIgnore` to fix
2022-07-10 11:02:46 +09:00
syuilo
fc531766ad update summaly 2022-07-09 18:23:21 +09:00
MeiMei
6125bd981e Fix Attempts to update all notifications (#8974)
* Fix massive update notification parameters

* CHANGELOG

* CHANGELOG
2022-07-09 18:18:39 +09:00
syuilo
638f0eba12 enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
syuilo
da51152662 enhance(server): tweak identicon generation 2022-07-09 13:22:35 +09:00
Kainoa Kanter
26c012b9c8 v 2022-07-08 12:57:59 -07:00
Kainoa Kanter
7e78110c54 Merge branch 'misskey-dev:develop' into repair-style 2022-07-08 12:57:21 -07:00
syuilo
2012c0937e fix test 2022-07-08 11:21:11 +09:00
syuilo
ed5d81859f feat: auto nsfw detection (#8840)
* feat: auto nsfw detection

* ✌️

* Update ja-JP.yml

* Update ja-JP.yml

* ポルノ判定のしきい値を高めに

* エラーハンドリングちゃんとした

* Update ja-JP.yml

* 感度設定を強化

* refactor

* feat: add video support for auto nsfw detection

* rename: image -> media

* .js

* fix: add missing error handling

* fix: use valid pathname instead of using filename due to invalid usage

* perf(nsfw-detection): decode frames

* disable detection of video for some reasons

* perf(nsfw-detection): streamify detection process for video

* disable disallowUploadWhenPredictedAsPorn option

* fix(nsfw-detection): improve reliability

* fix(nsfw-detection): use Math.ceil instead of Math.round

* perf(nsfw-detection): delete tmp frames after used

* fix(nsfw-detection): FSWatcher does not emit ready event

* perf(nsfw-detection): skip black frames

* refactor: strip exists check

* Update package.json

* めっちゃ変えた

* lint

* Update COPYING

* オプションで動画解析できるように

* Update yarn.lock

* Update CHANGELOG.md

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
syuilo
cddfd5df4b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 19:08:21 +09:00
syuilo
bbd8f6cd57 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
dependabot[bot]
154bbb9d17 chore(deps): bump moment from 2.29.3 to 2.29.4 in /packages/backend (#8958)
Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  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-07 18:29:42 +09:00
syuilo
7e3404e763 chore(server): tweak api for admin 2022-07-07 18:09:50 +09:00
Kainoa Kanter
a49d19686c enhance: Styled error screen (#8946)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`

* Fix

* Update base.pug

* Finally fix!

* Wrap details in `<code>`

* Add style to flush

* Fix

* BIOS -> Repair tool

* Fix

* Typo

* Adjust style

* Adjust text

* Flush -> Clear

* Revert flush changes

* Responsive

* Also hide splash
2022-07-07 17:35:56 +09:00
ThatOneCalculator
814b7fab35 🎨 2022-07-06 23:23:37 -07:00
ThatOneCalculator
dd360f3ead Responsive 2022-07-06 23:16:15 -07:00
ThatOneCalculator
6b2f5dc80a Actually fix :godmode: 2022-07-06 21:50:48 -07:00
ThatOneCalculator
33656d8d3d Typo 2022-07-06 21:47:01 -07:00
ThatOneCalculator
6b7af71fe1 Merge branch 'repair-style' of https://github.com/ThatOneCalculator/misskey into repair-style 2022-07-06 21:46:28 -07:00
ThatOneCalculator
92a5f577a6 Fix flush 2022-07-06 21:46:04 -07:00
Kainoa Kanter
2a0cf2abe7 Merge branch 'develop' into repair-style 2022-07-06 21:40:18 -07:00
ThatOneCalculator
eec414da8b 🎨 2022-07-06 21:39:41 -07:00
ThatOneCalculator
620199b8be Formatting error 2022-07-06 21:36:25 -07:00
ThatOneCalculator
8246c61814 Change script location 2022-07-06 21:34:57 -07:00
ThatOneCalculator
cdcdb76b5b Typo 2022-07-06 21:32:03 -07:00
ThatOneCalculator
9e04347390 Flush style 2022-07-06 21:24:39 -07:00
ThatOneCalculator
bf61e2969b Tweak bios 2022-07-06 21:15:47 -07:00
ThatOneCalculator
8c8896b7c6 Adjust cli 2022-07-06 21:13:32 -07:00
ThatOneCalculator
74029229fa Add bios style 2022-07-06 21:10:31 -07:00
ThatOneCalculator
4d545a1a59 Styled CLI 2022-07-06 21:01:34 -07:00
syuilo
7cb84dc30a revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +09:00
syuilo
aac0251dd4 perf: allow get for notes/reactions 2022-07-05 19:16:21 +09:00
syuilo
1812c49dbb rename: BIOS -> Repair Tool 2022-07-05 17:46:17 +09:00
Kainoa Kanter
36c502696b feat: styled error screen (#8930)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`
2022-07-05 17:44:05 +09:00
tamaina
da6665f5a0 move resolutions 2022-07-05 05:17:37 +00:00
tamaina
247c51b84d Merge branch 'develop' into pr/ThatOneCalculator/8764 2022-07-05 05:16:06 +00:00
CyberRex
bc49a0e9be Add additional drive capacity change support (#8867)
* Add additional drive capacity change support

* Update packages/backend/src/server/api/endpoints/admin/drive-capacity-override.ts

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* 🎨

* show instance default capacity in placeholder

* fix

* update api/drive

* fix

* remove :

* fix lint

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-05 00:21:01 +09:00
MeiMei
1831a6a339 fix: streamingテストおそい (#8912) 2022-07-03 20:54:54 +09:00
syuilo
1fe89d6aab fix typo 2022-07-03 19:01:08 +09:00
syuilo
e5ccfa5158 feat: moderation note 2022-07-03 00:15:03 +09:00
syuilo
ddcd10db8e feat(server): add fetch-rss api to reduce dependency of external apis 2022-07-02 21:26:33 +09:00
syuilo
e23e7de453 feat: Log user ips (#8872)
* wip

* store ip and headers

* Update admin-file.vue

* require admin for view ip/headers

* IP (recent) 消した

* admin必須

* opt in

* clean ips periodically

* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
syuilo
cf36949256 enhance(server): アンケートを新しい順にソート 2022-07-02 12:34:22 +09:00
syuilo
c90225ea02 chore(client): tweak ui 2022-07-02 12:22:52 +09:00
MeiMei
62d6d106a6 migrate parse5 to 7.0.0 (#8916)
* migrate parse5 to 7.0.0

* fix
2022-07-01 13:48:03 +09:00
syuilo
23c1109fb0 use parse5 6.0.1
Fix #8914
2022-07-01 11:07:14 +09:00
Johann150
95290ad085 fix typo
Co-authored-by: mei23 <m@m544.net>
2022-06-30 22:03:04 +02:00
syuilo
66c0059868 update deps 2022-07-01 00:21:25 +09:00
syuilo
986b12d4a8 chore(client): tweak ui 2022-06-30 20:15:14 +09:00
syuilo
f571188dd0 fix(server): cannot show users 2022-06-30 15:36:09 +09:00
syuilo
38cdd46063 chore(client): tweak client 2022-06-30 15:32:11 +09:00
ThatOneCalculator
bf6a4b8696 Self host error/info/not-found images 2022-06-28 19:33:32 -07:00
tamaina
fa775220cf Merge branch 'develop' into pr/ThatOneCalculator/8764 2022-06-28 05:08:57 +00:00
syuilo
73113f7631 improve instance doughnut charts 2022-06-28 13:05:20 +09:00
syuilo
31474fc66d fix(api): fix instance schema 2022-06-28 12:16:11 +09:00
syuilo
dcf30c1f4a feat(api): add federation/stats endpoint 2022-06-28 10:41:22 +09:00
syuilo
aa3914d7a2 fix(api): add missing themeColor property of instance 2022-06-28 10:40:49 +09:00
syuilo
4d89a77aef feat: make possible to delete an account by admin
Resolve #8830
2022-06-27 23:49:16 +09:00
Johann150
746f17450f refactor: remove duplicate code (#8895) 2022-06-27 21:48:10 +09:00
MeiMei
9dcd23d74f fix: mocha テストが動かないのを修正 v2 (#8892)
* on push

* Fix mute test

* fix note test

* api

* inc timeout

* uploadUrl

* Revert "on push"

This reverts commit 778a58df61ff9a22421f8ec5dcce96b364eab38d.

* lint

* waitFire

* Wrap connectStream

* return
2022-06-26 19:16:32 +09:00
syuilo
bbad8434c4 fix #8894 2022-06-26 17:38:50 +09:00
tamaina
af100cb1c2 enhance(client): Enhance boot error display (#8879)
* Change boot error message

* fix

* ✌️

* fix
2022-06-26 12:47:43 +09:00
syuilo
107d282b9d Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-25 18:26:34 +09:00
syuilo
e25de6ccc8 feat: allow GET for some endpoints
Resolve #8263
2022-06-25 18:26:31 +09:00
dependabot[bot]
a7cf1b30ec chore(deps): bump jsrsasign from 10.5.24 to 10.5.25 in /packages/backend (#8889)
Bumps [jsrsasign](https://github.com/kjur/jsrsasign) from 10.5.24 to 10.5.25.
- [Release notes](https://github.com/kjur/jsrsasign/releases)
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt)
- [Commits](https://github.com/kjur/jsrsasign/compare/10.5.24...10.5.25)

---
updated-dependencies:
- dependency-name: jsrsasign
  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-06-25 16:28:36 +09:00
Johann150
a89486af35 fix: always respect instance mutes (#8854)
* fix: muted user query also checks instances

This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.

* fix lint
2022-06-25 14:23:59 +09:00
dependabot[bot]
a752b95e1a chore(deps): bump jpeg-js from 0.4.1 to 0.4.4 in /packages/backend (#8843)
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.1 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.1...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 13:50:15 +09:00
dependabot[bot]
41a3917b81 chore(deps): bump undici from 5.4.0 to 5.5.1 in /packages/backend (#8842)
Bumps [undici](https://github.com/nodejs/undici) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.4.0...v5.5.1)

---
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-06-25 13:50:06 +09:00
syuilo
d7a21948b3 feat: 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように 2022-06-24 21:43:28 +09:00
Johann150
d78b20ba07 fix lints 2022-06-24 12:44:22 +02:00
MeiMei
aef9cb41f3 enhance: Redisをioredisに統一してIPv6サポート (#8869)
* Use ioredis, Supports IPv6 host

https://github.com/misskey-dev/misskey/issues/8862

* Fix import

* order

* a

* i

* fix

* flushdb

* family

* CHANGELOG

* redis_version

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
Johann150
aa22cd03de refactor: simplify ap/show with DbResolver (#8838)
Using the existing code in DbResolver we can avoid separate code for
parsing the URIs in this endpoint.

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-23 21:32:17 +09:00
Johann150
6c244d452e enhance: word mute checks CW (#8873) 2022-06-23 20:26:47 +09:00
syuilo
69c45e4474 tweak client 2022-06-21 17:55:38 +09:00
syuilo
0fddc528ed fix(server): faviconUrl of federated instance is missing 2022-06-21 14:28:43 +09:00
tamaina
566e0d2bea feat: Add Badge Image to Push Notification (#8012)
* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* backend/src/web/index.ts

* notification-badges

* add scripts

* change create-notification.ts

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* refactor

* キャッシュ対策

* Truncate push notification message

* fix

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* pollEnded

* URLをsw.jsに戻す

* clean up

* fix lint

* changelog

* alpha-test

* also with twemoji

* add isMimeImage function

* catch

* Colour => Color

* char2file => char2filePath

* Update autocomplete.vue

* remove clone?

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-20 00:33:46 +09:00
futchitwo
2ee931e0c6 Improve: unclip (#8823)
* Refactor clip page to use Composition API

* Refactor clip page

* Refactor clip page

* Refactor clip page

* Improve: unclip

* Fix unclip

* Fix unclip

* chore: better type and name

* Fix

* Fix clipPage vue provider

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-18 18:27:09 +09:00
MeiMei
ea7c2ec26f enhance: Improve player detection in URL preview (#8849)
* enhance: Improve player detection in URL preview

* CHANGELOG
2022-06-18 16:02:31 +09:00
tamaina
1e908dc895 remove packagemanager 2022-06-16 21:23:11 +09:00
tamaina
0c4b76a832 Merge branch 'develop' into pr/ThatOneCalculator/8764 2022-06-16 21:19:17 +09:00
Johann150
ebd33b9281 fix: render empty note content correctly
Instead of coercing to `null`, coercing to an empty string should simplify handling.
2022-06-16 12:51:44 +02:00
Johann150
efe35ea9e0 fix: correctly render note text
Fix a regression from #8787 that was previously fixed in #8440.
2022-06-16 12:32:09 +02:00
MeiMei
5508bd552c fix: GenerateVideoThumbnail (#8825)
* fix: GenerateVideoThumbnail

* CHANGELOG

* fix cleanup

* Revert "fix cleanup"

This reverts commit d54cf8262ac01a3deb6b8dd7689ec144d4d09ea8.
2022-06-14 23:02:14 +09:00
Johann150
537e3176ea fix: tmpdir cleanup removes contained files (#8826) 2022-06-14 23:00:10 +09:00
syuilo
24a10451c2 enhance(server): モデレーターであってもレートリミットを有効に 2022-06-14 22:59:19 +09:00
tamaina
ef3a582f64 fix: add limit to i/notifications (#8836)
* fix: add limit to i/notifications

* ms

* remove ms
2022-06-14 22:55:58 +09:00
Johann150
41eeb9a184 fix(docs): use correct description property 2022-06-14 11:55:58 +02:00
Johann150
d2d4a17ef7 fix: remove unused parameter 2022-06-14 11:54:55 +02:00
syuilo
ab2d56605e lint fixes 2022-06-14 18:01:23 +09:00
Johann150
ad858dd2e3 fix: missing file name parameter (#8820) 2022-06-13 00:25:06 +09:00
tamaina
9bd3c82e6c fix: some fixes of multiple notification read (#8819)
* fix: limit multiple notification read

* fix

* fix
2022-06-12 19:28:13 +09:00
Johann150
e161c0abe4 chore: synchronize visibility checks (#8687)
* reuse single meId parameter

* unify code style

Use template string to avoid having to use escaped quote marks.

* fix: follower only notes are visible to mentioned users

This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts

* add comment
2022-06-11 16:14:44 +09:00
syuilo
01011ef9c5 update deps 2022-06-10 15:06:42 +09:00
syuilo
602df78fde Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-10 14:56:07 +09:00
syuilo
7dc86abec3 chore: tweak logo 2022-06-10 14:56:05 +09:00
Johann150
c7a2c42cc2 enhance(federation): use ActivityPub defined property in favour of proprietary property. (#8787)
* add activitypub `source` property

* parse MFM from new `source` attribute
2022-06-10 14:31:58 +09:00
Johann150
674029f700 enhance: improve documentation for /users/ endpoints (#8790)
* docs: category & description for reset password

* docs: category & description for testing

* docs: descriptions for groups endpoints

* docs: descriptions for drive file endpoints

* docs: descriptions for sw endpoints

* docs: descriptions for user list endpoints

* docs: descriptions & result type for gallery posts

* docs: descriptions & result type for user endpoints

* docs: add return type for stats
2022-06-10 14:25:20 +09:00
Johann150
2461d16d12 refactor: use awaitAll to reduce duplication (#8791)
* refactor: use awaitAll to reduce duplication

* fix lint

* fix typo
2022-06-08 17:59:48 +09:00
syuilo
6ba668f934 fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
syuilo
e8fdd35808 Update .mocharc.json 2022-06-05 19:46:52 +09:00
tamaina
0d4b9f07f3 https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892 2022-06-04 23:34:23 +09:00
tamaina
87b6d5ea39 fix 2022-06-04 08:44:36 +00:00
tamaina
2665322b23 Merge branch 'develop' into pr/ThatOneCalculator/8764 2022-06-04 08:34:56 +00:00
syuilo
3f4101d17b use node 16 2022-06-04 17:26:56 +09:00
tamaina
ac4d6e1ac2 fix http-signature 2022-06-04 08:26:36 +00:00
syuilo
c9cd88a9db update summaly 2022-06-04 17:24:41 +09:00
tamaina
f595c068f9 yarn node => node
依存関係の記載不足の解消がかなり多いため、yarn nodeは使わない
2022-06-04 08:07:27 +00:00
tamaina
13d924b804 wip 2022-06-04 08:01:02 +00:00
syuilo
3661d1bc33 fix bug 2022-06-04 15:15:44 +09:00
syuilo
4bf3ed6c1e fix test 2022-06-04 14:25:30 +09:00
Johann150
102012aa9d fix: add id for activitypub follows (#8689)
* add id for activitypub follows

* fix lint

* fix: follower must be local, followee must be remote

Misskey will only use ActivityPub follow requests for users that are local
and are requesting to follow a remote user. This check is to ensure that
this endpoint can not be used by other services or instances.

* fix: missing import

* render block with id

* fix comment
2022-06-04 13:52:42 +09:00
Johann150
86c04c4489 fix: ensure resolver does not fetch local resources via HTTP(S) (#8733)
* refactor: parseUri types and checks

The type has been refined to better represent what it actually is. Uses of
parseUri are now also checking the parsed object type before resolving.

* cannot resolve URLs with fragments

* also take remaining part of URL into account

Needed for parsing the follows URIs.

* Resolver uses DbResolver for local

* remove unnecessary use of DbResolver

Using DbResolver would mean that the URL is parsed and handled again.
This duplicated processing can be avoided by querying the database directly.

* fix missing property name
2022-06-04 11:29:20 +09:00
Johann150
336eea9d93 fix: correctly render empty note text (#8746)
Ensure that the _misskey_content attribute will always exist. Because
the API endpoint does not require the existence of the `text` field,
that field may be `undefined`. By using `?? null` it can be ensured
that the value is at least `null`.

Furthermore, the rendered HTML of a note with empty text will also be
the empty string. From git blame it seems that this behaviour was added
because of a Mastodon bug that might have previously existed. Hoever,
this seems to be no longer the case as I can find mastodon posts that
have empty content.

The code could be made a bit more succinct by using the null coercion
operator.
2022-06-03 23:18:44 +09:00
PikaDude
186cac05a2 User moderation details (#8762)
* add more user details for admins to see

* fix some issues

* small style fix

as suggested by Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* fix

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-06-03 23:14:50 +09:00
syuilo
e0fb88f9fe Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-03 23:08:18 +09:00