Commit graph

1542 commits

Author SHA1 Message Date
Mar0xy
871407ce53
upd: add new endpoint to mk api, add preferences to masto api 2023-09-25 04:55:11 +02:00
Mar0xy
fc377980d4
upd: dont require detail for createdAt 2023-09-25 04:16:07 +02:00
Mar0xy
a7778e6425
fix: megalodon reblogged and favourited user info, add createdAt to note 2023-09-25 03:55:21 +02:00
syuilo
576158e883 fix(backend): 「ユーザーの新規投稿」の通知設定を切り替えるとサーバー内部エラーが出る
Fix #11892
2023-09-25 10:34:07 +09:00
syuilo
5318532a8d enhance: improve moderation log 2023-09-25 10:29:12 +09:00
Mar0xy
1446514442
fix: contact person in masto instance endpoint 2023-09-25 03:26:05 +02:00
Mar0xy
3526880607
fix: get account statuses for local users 2023-09-25 03:23:03 +02:00
Mar0xy
97749e6722
upd: fix cross origin on file proxy 2023-09-25 02:58:40 +02:00
Mar0xy
645907851d
fix: text min length is 1 (thanks mk) 2023-09-25 02:48:05 +02:00
Mar0xy
df62b3786a
upd: apply host to alot of fields 2023-09-25 02:40:04 +02:00
Mar0xy
1b9897f83b
upd: replace star with heart 2023-09-25 02:04:28 +02:00
Mar0xy
806a76c5ca
fix: text is undefined in masto status api 2023-09-25 02:03:16 +02:00
Mar0xy
3fd2b55406
Revert "test: check old megalodon version"
This reverts commit 89eea5df52.
2023-09-25 01:49:57 +02:00
Mar0xy
89eea5df52
test: check old megalodon version 2023-09-25 01:20:03 +02:00
Mar0xy
ead0667320
fix: upload media on masto api 2023-09-25 01:02:16 +02:00
Mar0xy
8f219557d4
upd: megalodon package fix lines, enable error on media 2023-09-24 23:46:02 +02:00
Mar0xy
60b2842203
chore: lint 2023-09-24 23:25:04 +02:00
Mar0xy
37d7a4b604
upd: change parser and fix fetchAccessToken 2023-09-24 23:18:39 +02:00
Mar0xy
30cc0a9b18
fix: oauth headers 2023-09-24 23:01:46 +02:00
Mar0xy
ce42cc0e8d
chore: remove ts-ignore comment 2023-09-24 22:57:05 +02:00
Mar0xy
8f997c39c9
chore: fix lint 2023-09-24 22:54:51 +02:00
Mar0xy
ad1d3ccb75
chore: change ignore to expect 2023-09-24 22:53:34 +02:00
Mar0xy
96180bb808
add: x-www-form-urlencoded parser 2023-09-24 22:50:59 +02:00
Mar0xy
fa30404048
upd: header 2023-09-24 22:13:20 +02:00
Mar0xy
95df69b06c
fix: backend issue 2023-09-24 22:07:41 +02:00
Mar0xy
0758e38237
upd: masto api support more types 2023-09-24 21:45:00 +02:00
Mar0xy
487e397810
upd: also split by + 2023-09-24 21:33:16 +02:00
Mar0xy
c19ef16a06
chore: make lint happy 2023-09-24 19:53:56 +02:00
Mar0xy
c782085af4
upd: change oauth 2023-09-24 19:47:12 +02:00
Mar0xy
250beca901
fix oauth login 2023-09-24 19:15:08 +02:00
Mar0xy
2432a9a184
chore: typecheck fix 2023-09-24 17:45:49 +02:00
Mar0xy
b107ff5a1f
chore: lint says const happy 2023-09-24 17:42:31 +02:00
Mar0xy
c6c6873984
chore: change const to let 2023-09-24 17:38:31 +02:00
Mar0xy
db6dc1b52e
chore: lint and update package name 2023-09-24 17:36:13 +02:00
Mar0xy
410e6515d3
upd: complete status endpoint for masto 2023-09-24 17:10:33 +02:00
Mar0xy
54bb1efe8f
add: new emojiregex function 2023-09-24 16:26:27 +02:00
Mar0xy
7c3f3390b4
add: status get endpoints to masto api 2023-09-24 16:14:50 +02:00
Mar0xy
55e85fe1c1
upd: import status endpoint into service 2023-09-24 15:42:09 +02:00
Mar0xy
7640985332
add: status to masto endpoints 2023-09-24 15:41:38 +02:00
Mar0xy
f1fc1ba4c7
add: timeline endpoints tio masto api 2023-09-24 15:33:13 +02:00
taichan
dc8ab01168
fix(backend): お知らせのページネーションが機能しない #11800 (#11890)
* fix(backend): お知らせのページネーションが機能しない #11800

* Update CHANGELOG
2023-09-24 20:08:00 +09:00
Mar0xy
1501ab261d
upd: prettify layout 2023-09-24 12:05:59 +02:00
syuilo
fe570fe16b
Update DriveService.ts 2023-09-24 16:45:36 +09:00
syuilo
cf573add27 fix 2023-09-24 16:24:13 +09:00
syuilo
00659220a5 Update update.ts 2023-09-24 15:51:04 +09:00
syuilo
51546ad1ce fix(backend): Playを非公開にできない
Fix #11884
2023-09-24 15:46:14 +09:00
syuilo
841e6ff901 improve moderation log 2023-09-24 15:40:38 +09:00
Mar0xy
34e6717dab
add: filter endpoint to masto api 2023-09-24 05:35:50 +02:00
Mar0xy
168c041373
add: notification endpoints to masto api 2023-09-24 05:02:36 +02:00
Mar0xy
bb2d4b0e09
add: search endpoints to masto api 2023-09-24 04:25:01 +02:00
syuilo
509cea511c update deps 2023-09-24 11:09:49 +09:00
syuilo
8e5a90589d improve moderation log 2023-09-24 10:57:24 +09:00
syuilo
ed983a5baf improve moderation log 2023-09-24 10:46:09 +09:00
syuilo
2ad3b1fd74 improve moderation log 2023-09-24 10:33:30 +09:00
Mar0xy
17efcf6b51
upd: Masto API accounts endpoint finished 2023-09-24 02:48:16 +02:00
Mar0xy
afda15260f
upd: megalodon to v7 2023-09-24 01:44:53 +02:00
Mar0xy
b4674ce65c
upd: add new endpoints to Masto API 2023-09-24 00:43:28 +02:00
Mar0xy
21015e7df6
add: account endpoint
- Still work in progress
2023-09-24 00:42:59 +02:00
Mar0xy
763d7c3a63
add: timeline endpoint only with the functions for other endpoints 2023-09-24 00:42:03 +02:00
Mar0xy
b25e193845
upd: create auth endpoint 2023-09-24 00:41:13 +02:00
Mar0xy
9dfc4dbf02
fix: converter returning sharkeyid wrong 2023-09-24 00:39:33 +02:00
Mar0xy
ceffd53d47
fix: spacing 2023-09-23 18:51:57 +02:00
Mar0xy
2375d043d1
add: Megalodon, initial mastodon api 2023-09-23 18:49:47 +02:00
syuilo
19bc9c20a6 improve moderation log 2023-09-23 20:50:02 +09:00
syuilo
10924fd229 fix 2023-09-23 18:47:11 +09:00
syuilo
9e4d3ebe5f
enhance(backend): refine moderation log (#10939)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update DriveService.ts
2023-09-23 18:28:16 +09:00
syuilo
ba6e85482e コミット忘れ 2023-09-23 14:26:06 +09:00
syuilo
5a4cf059ee update deps 2023-09-23 12:46:19 +09:00
syuilo
8f77350089 enhance: PWAのshort_nameを設定可能に 2023-09-23 12:38:20 +09:00
Mar0xy
1e8d26ce4d
upd: change about-misskey to about-sharkey 2023-09-23 04:34:15 +02:00
syuilo
cac1c2f1e9 fix(backend): notes/reactionsのページネーションが機能しない 2023-09-23 10:00:38 +09:00
Mar0xy
6a0aa612cc
fix: no such note 2023-09-23 02:50:54 +02:00
Mar0xy
d0956d5657
chore: resolve uri on UpdateNote call 2023-09-23 02:37:33 +02:00
Mar0xy
93ec6a62fb
upd: attempt at updating remote notes 2023-09-23 02:32:49 +02:00
Mar0xy
d05848790c
fix: lint 2023-09-22 23:58:31 +02:00
Mar0xy
0da4717983
upd: clicky click on replies 2023-09-22 23:56:00 +02:00
Mar0xy
5d40ca6568
upd: update notes live on feed 2023-09-22 23:44:07 +02:00
Mar0xy
8d2f655e51
fix: a few lint problems 2023-09-22 23:03:39 +02:00
Mar0xy
1795195097
fix: update? what update 2023-09-22 22:54:35 +02:00
Mar0xy
ab57616483
fix: AP Services throwing errors 2023-09-22 22:42:01 +02:00
Mar0xy
feec3c302b
upd: add backend for post editing 2023-09-22 21:05:42 +02:00
anatawa12
526b3ae0e4
feat: ユーザを除外できるアンテナ (#11277)
* feat: ユーザを除外できるアンテナ

* feat(backend/api): ユーザを除外できるアンテナの作成・更新

* feat(frontend): ユーザを除外できるアンテナの作成・更新

* docs(changelog): add アンテナで一部のユーザを除外したすべてのノートから受信できるようになりました

* fix: d.ts生成時にexport defaultを生成するように

* fix CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-22 16:52:43 +09:00
syuilo
90a5511a54 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-09-22 16:47:45 +09:00
syuilo
032b6c6afb update deps 2023-09-22 16:47:42 +09:00
typeling1578
3bbc2e55b1
fix(backend): mostr.pub, Mitraのユーザーをフォローできない問題を修正 (#11791)
* fix(backend): mostr.pub, Mitraのユーザーをフォローできない問題を修正

* Revert "fix(backend): mostr.pub, Mitraのユーザーをフォローできない問題を修正"

This reverts commit 9685715e6470caffc2b0c7b991d55c5edf7fa0f1.

* fix ApResolverService

* Update CHANGELOG.md

* fix test

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-22 16:43:01 +09:00
syuilo
c836157edb
enhance: 二要素認証設定時のセキュリティを強化 (#11863)
* enhance: 二要素認証設定時のセキュリティを強化

パスワード入力が必要な操作を行う際、二要素認証が有効であれば確認コードの入力も必要にする

* Update CoreModule.ts

* Update 2fa.ts

* wip

* wip

* Update 2fa.ts

* tweak
2023-09-22 14:12:33 +09:00
Insert5StarName
909079d18d Minor Modification 2023-09-22 04:20:38 +02:00
Amelia Yukii
313cbb19db
upd: port Listenbrainz
upd: port Listenbrainz
2023-09-22 03:34:39 +02:00
Insert5StarName
113a67077e upd: port Listenbrainz 2023-09-22 03:31:59 +02:00
Mar0xy
2bcd2eefc1
change to default functions for resolving collections 2023-09-22 02:46:41 +02:00
Mar0xy
2bfe51e39d
upd: fetch counts for notes, followers and following 2023-09-22 02:23:17 +02:00
Mar0xy
7111c6c90b
upd: swap bcrypt to argon2, add misskey-js to dev, auto load replies 2023-09-22 00:21:57 +02:00
syuilo
03b5acf17f fix test 2023-09-21 19:39:42 +09:00
syuilo
e3f151e230 feat: 指定したユーザーの投稿通知
Resolve #11499
2023-09-21 18:48:15 +09:00
syuilo
e41619775f feat: プロフィールでのリンク検証
Resolve #11099
2023-09-21 11:58:51 +09:00
syuilo
6459eadcf1 update deps 2023-09-21 10:25:44 +09:00
syuilo
b9c6992aac
update deps (#11849)
* update deps

* wip

* wip
2023-09-20 16:43:45 +09:00
syuilo
fa13b815ef fix: provide NoSuchNoteError error 2023-09-20 11:43:33 +09:00
syuilo
5d65e34078 fix import 2023-09-20 11:40:17 +09:00
syuilo
0183d24786 Update ClipService.ts 2023-09-20 11:36:39 +09:00
syuilo
053da10e94 refactor(backend): update directory structure for models 2023-09-20 11:33:36 +09:00
syuilo
c3db55b5b6 fix 2023-09-20 11:29:10 +09:00
syuilo
bb0b2df37e refactor(backend): extract clip-related logics to ClipService 2023-09-20 09:33:52 +09:00
syuilo
0dca6afa1f fix(backend): MK_ONLY_SERVERオプションを指定した際にクラッシュする問題を修正
Fix: #11811
2023-09-17 15:43:50 +09:00
syuilo
0260a6af85
fix test 2023-09-17 15:11:33 +09:00
syuilo
fba08c6310 fix 2023-09-17 14:36:57 +09:00
syuilo
f7c6932a83 enhance: 各ノートが被クリップ数を保持するようにし、無意味にnotes/clipsを叩かないように 2023-09-17 10:55:26 +09:00
syuilo
814e28459e enhance(backend): improve server icon setting
Resolve #11481
Resolve #10901
2023-09-16 17:05:17 +09:00
syuilo
6cf466e5d1
update deps (#11820)
* update deps

* fix

* wip

* wip

* wip

* Update docker-compose.yml.example

* Delete reviewer-lottery.yml

* Update RepositoryModule.ts

* wip

* wip

* clean up

* update deps

* wip

* wip
2023-09-15 14:28:29 +09:00
6543
cf7c6558ae
enhance nodeinfo by prpoagate the standart keys for homepage and repository (#11830) 2023-09-14 09:56:33 +09:00
かっこかり
3456680e1d
新しい実績を追加 (#11817)
* (add) new achievement

* (update) changelog

* Update test-notification.ts

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-12 15:48:19 +09:00
syuilo
42c7aad251 enhance(backend): configure ratelimit for notification creation apis 2023-09-12 15:38:00 +09:00
かっこかり
cd6428715e
feat: テスト通知を送信できるようにする (#11810)
* (add) Notification test

* Update Changelog

* (add) backend, frontend impl

* globalEventの名前を明確にする

* Run API Extractor
2023-09-11 14:31:50 +09:00
syuilo
98e40e666c fix 2023-09-11 14:28:50 +09:00
syuilo
74faa01db8
fix 2023-09-11 13:29:24 +09:00
xtex
054ba3fea5
feat: nodeinfo 2.1 (#11805)
* feat: enable nodeinfo 2.1

Since 9dd06a7621, nodeinfo 2.1 has been released.

Signed-off-by: xtex <xtexchooser@duck.com>

* feat: only add software.repository to nodeinfo 2.1

e54c48e171
Signed-off-by: xtex <xtexchooser@duck.com>

* feat: add software.homepage url to nodeinfo 2.1

507822cb3c
Signed-off-by: xtex <xtexchooser@duck.com>

* fix: set proper Content-Type for nodeinfo

Signed-off-by: xtex <xtexchooser@duck.com>

* style: fix lint warnings

Signed-off-by: xtex <xtexchooser@duck.com>

---------

Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-10 16:16:00 +09:00
Ebise Lutica
8749716700
enhance: センシティブチャンネルはユーザーのノート一覧から除外 (#11797)
* enhance: センシティブチャンネルはユーザーのノート一覧から除外

* READMEに明記

* Update notes.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-10 15:14:31 +09:00
syuilo
ff9a65e8fa
feat: passkey support (#11804)
https://github.com/MisskeyIO/misskey/pull/149
2023-09-08 14:05:03 +09:00
Ezekiel Lee
af7e129b1e
fix(backend): timeout when querying mentions (#11799) 2023-09-08 08:44:46 +09:00
syuilo
d8dc10829c enhance(backend): 古いアンテナを自動停止するか切り替え可能に
Resolve #11785
2023-09-07 16:20:28 +09:00
syuilo
ca00a08e6e feat: introduce aidx and make it default
Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
2023-09-06 18:33:51 +09:00
Sayamame-beans
bf303238f0
feat(backend): Webhook設定でsecretを空に出来るように (#11784)
* feat(backend): allow webhook secret to be empty

* Update CHANGELOG.md
2023-09-06 13:02:33 +09:00
syuilo
59ab4af7ca update deps 2023-09-05 17:43:43 +09:00
syuilo
1beaac8e2d fixes 2023-09-05 17:02:14 +09:00
syuilo
2630513c83 clean up 2023-09-05 15:06:17 +09:00
syuilo
7258888e76 clean up 2023-09-05 15:04:53 +09:00
syuilo
f53cffaeb2 enhance(backend): タイムライン等の有効期限を設定可能に
Resolve #11773
2023-09-05 15:03:50 +09:00
syuilo
1f7a81aae7
update deps (#11764)
* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
2023-09-04 13:33:38 +09:00
xtex
a53727f1a5
Respond .well-known/host-meta.json with application/json (#11777)
According to RFC 6415 appendix-A.
   The server
   MUST include the HTTP "Content-Type" response header field with a
   value of "application/json".  Any other "Content-Type" value (or lack
   thereof) indicates that the server does not support the JRD format.
"application/jrd+json" is only used by WebFinger (RFC 7033)
2023-09-03 16:42:32 +09:00
syuilo
257c4fccf1
feat: Refine 2fa (#11766)
* wip

* Update 2fa.qrdialog.vue

* Update 2fa.vue

* Update CHANGELOG.md

* tweak

* ✌️
2023-08-28 18:25:31 +09:00
GrapeApple0
70a7800927
プロフィールにその人が作ったPlayの一覧出せるように (#11445)
* プロフィールにその人が作ったPlayの一覧出せるように

* Update CHANGELOG.md

* playの公開範囲を設定できるように

* 間違えて変更してしまったのを修正

* Update packages/frontend/src/pages/flash/flash-edit.vue

* Update packages/frontend/src/pages/flash/flash-edit.vue

* tweak

* Update packages/backend/migration/1690796169261-play-visibility.js

* Update packages/backend/src/models/entities/Flash.ts

* Update packages/backend/src/models/entities/Flash.ts

* Update Flash.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-21 20:23:09 +09:00
White-Green
f664f941a2
fix: antennas validation (#11469) 2023-08-21 17:33:04 +09:00
MomentQYC
388448f298
feat: Removing stack trace info in production env (#11657)
* feat: Hiding stack traces in production env

* sytle

* style

* style

* add SPDX

* move ./error.js to ./misc/error.js

* revert: remove frontend changes

* feat: Hiding stack traces in production env

* feat: Hiding stack traces in production env

* revert

* revert

* revert

* change and fix

* revert

* fix queue endpoint test

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-08-21 17:21:57 +09:00
anatawa12
50ec129b87
feat: 'server' webhook payload which hold misskey server url (#11752) 2023-08-21 16:13:10 +09:00
taichan
af806352a1
feat: ローカルのみノート検索 (#11451)
* Add local search

* Update CHANGELOG

* lint

* Remove TODO comment

* lint

* Update packages/backend/src/core/SearchService.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-20 13:39:37 +09:00
atsuchan
750085ffd5
Fix: DB CONSTRAINT of RenoteMuting (#11724)
* Fix: DB CONSTRAINT of RenoteMuting

* change order of migration of fixing renotemuting
2023-08-20 13:22:37 +09:00
Essem
3eacbe6b6d
enhance(backend): Add address bind config option (#11725)
* Add address bind config option

* Edit changelog

* forgot to add to types
2023-08-20 13:20:01 +09:00
syuilo
c9aeccb2ab fix(backend): ジョブキュー管理画面の認証を回避できる問題を修正 2023-08-20 10:00:10 +09:00
Juunini
60fe5d6824
fix(backend): fix typo lnik to link (#11740) 2023-08-19 15:49:21 +09:00
woxtu
dd1783f984
chore(backend): Resolve import/no-default-export rule violations (#11732)
* Disable `import/no-default-export` properly

* Disable `import/no-default-export`
2023-08-17 21:20:58 +09:00
syuilo
792622aead
refactor: prefix Mi for all entities (#11719)
* wip

* wip

* wip

* wip

* Update RepositoryModule.ts

* wip

* wip

* wip

* Revert "wip"

This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
2023-08-16 17:51:28 +09:00
syuilo
9487856495
feat: refine announcement (#11497)
* wip

* Update read-announcement.ts

* wip

* wip

* wip

* Update index.d.ts

* wip

* Create 1691649257651-refine-announcement.js

* wip

* wip

* wip

* wip

* wip

* wip

* Update announcements.vue

* wip

* wip

* Update announcements.vue

* wip

* Update announcements.vue

* wip

* Update misskey-js.api.md

* Update users.ts

* Create MkAnnouncementDialog.stories.impl.ts

* wip

* wip

* Create AnnouncementService.ts
2023-08-13 20:12:29 +09:00
anatawa12
5aada8bbe2
fix(backend): correctFilename changes dll to exe (#11710) 2023-08-13 00:01:17 +09:00
Kagami Sascha Rosylight
ec229dbd3b
fix(backend/ApNoteService): try retrieving again when failed by duplication (#11472)
* fix(backend/ApNoteService): try retrieving again when failed by duplication

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-08 13:26:03 +09:00
tamaina
f6a3f6f5f1
enhance(backend): Improve behavior of correctFilename (#11484)
* enhance(backend): Improve behavior of correctFilename

* ✌️

* 未知のファイル形式かつ拡張子がある場合は何もしない

* ✌️

* .ext

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-08 13:24:30 +09:00
anatawa12
b26e4dc505
fix: muteがapiからのuser list timeline取得で機能しない (#11480) 2023-08-08 13:23:25 +09:00
tamaina
2217a3c549
chore: cacheRemoteFilesのデフォルト値をfalseに (#11398)
* chore: cacheRemoteFilesのデフォルト値をfalseに

* proxyRemoteFiles to default

* update ja-JP.yml

* update ja-JP.yml

* youCanCleanRemoteFilesCache

* changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-05 14:03:01 +09:00
anatawa12
c5b8766a18
feat: sensitive channel (#11438)
* feat(backend): add isSensitive to Channel

* feat(backend): support isSensitive in channel endpoints

* feat(frontend/channel-editor): support isSensitive in create/edit channel page

* feat(frontend/channel): show sensitive indicator for sensitive channels

* docs(changelog): add チャンネルをセンシティブ指定できるようになりました

* chore: license header for each file

* chore: add isSensitive of channel to Note object
2023-08-05 13:58:31 +09:00
woxtu
79966d33b5
Fix typos (#11450) 2023-08-05 13:56:33 +09:00
woxtu
8a6791da3f
refactor(backend): Remove unused injections (#11462)
* Remove unused injections

* Remove unused imports
2023-08-05 10:33:00 +09:00