Commit graph

2710 commits

Author SHA1 Message Date
Marie
c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
syuilo
2ecc0299b4 update deps 2023-12-16 14:00:27 +09:00
かっこかり
fda5147d06
fix(dev): ファイルの読み込みに失敗することがあるのを修正 (#12684)
* (enhance) コード入力をMkCodeEditorに変更

* (fix) devでファイルの読み込みに失敗することがある

* Revert "(enhance) コード入力をMkCodeEditorに変更"

This reverts commit 726d56c3e962680efc5b5a166e2210d09730341f.
2023-12-16 13:23:25 +09:00
syuilo
9f49b9f4d2 fix(backend): HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない
Fix #12678
2023-12-16 10:58:44 +09:00
shiosyakeyakini
3e256eee2c
Fix(backend): JSONSchemaに不足しているパラメータを追加 (#12680)
* Fix(backend): JSONSchemaに不足しているパラメータを追加

* nullable:falseに修正

---------

Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-12-16 09:00:32 +09:00
anatawa12
bd4d8694dd
perf: early return users/notes and users/featured-notes if me is blocked by requesting user (#12663) 2023-12-15 11:24:13 +09:00
woxtu
5cc3d3c873
Remove an unnecessary type assertion (#12666) 2023-12-15 11:22:49 +09:00
Gianni Ceccarelli
7f2a66f262 allow a theme to specify a font - #225 2023-12-14 14:24:10 +00:00
syuilo
417852779f enhance: アイコンデコレーションの位置を微調整できるように 2023-12-14 20:58:08 +09:00
おさむのひと
386fcedf35
(dev-mode) devモードの改善 (#12639)
* fix dev-mode

* fix dev-mode

* fix dev-mode

* fix dev-mode

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-14 20:16:02 +09:00
syuilo
a2a6a94614 update deps 2023-12-14 18:28:04 +09:00
syuilo
aedc1d0ee9 update deps 2023-12-14 13:22:12 +09:00
syuilo
2cfe64e9e6 fix swcrc 2023-12-14 11:35:17 +09:00
syuilo
37820ad572 fix(backend): モデレーションログがモデレーターは閲覧できないように修正
Fix #12622
2023-12-13 18:31:32 +09:00
syuilo
5472f4b934 enhance: アイコンデコレーションを複数設定できるように 2023-12-13 16:56:19 +09:00
Camilla Ett
06ca63f9c2
Fix(backend): inboxJobPerSecのデフォルト値を16から32に (#12631) 2023-12-13 08:14:34 +09:00
syuilo
319267e096 update deps 2023-12-09 13:02:14 +09:00
Insert5StarName
702fc6b6f7
chore: update repo links 2023-12-09 03:02:14 +01:00
ikasoba
e38af60fd0
fix: secure: true なエンドポイントの型が misskey-js に含まれていない (#12603)
* 作った

* 修正

* 修正
2023-12-08 15:15:17 +09:00
おさむのひと
b0039f0946
chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) (#12593)
* [wip]run standalone vite

* [wip]run standalone vite

* some fix (tabler icons, sw, streaming)

* fix theme

* fix run scripts

* favicon

* client-assets

* cssの読み込み順序とCSP設定の変更

* fix lang change

* fix clientManifest

* baseを相対パスにしてドメイン直下とサブディレクトリ配下両方に対応

* 色々修正

* 色々修正

* 色々修正

* fix

* Revert "client-assets"

This reverts commit 582601e90eb771875bdf8aba263da2316a59d01b.

# Conflicts:
#	packages/frontend/vite.config.ts

* 色々修正

* fix

* fix

* add url and proxy to server proxy

* Update packages/frontend/src/index.html

* wip

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* fix tabler load

* Apply suggestions from code review

* Update packages/frontend/src/index.html

* fix

* fix vite.config.local-dev.ts

* fix CONTRIBUTING.md

---------

Co-authored-by: FruitRiin <nassii74@gmail.com>
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: 果物リン <fruitriin@riinswork.space>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: ozelot <contact@ozelot.dev>
2023-12-08 08:22:08 +09:00
KanariKanaru
e6d01e33e6
fix(backend): ブロックした相手から自分のノートが見えないように(/users/featured-notes, /users/notes) (#12511)
* fix: ブロックした相手から自分のノートが見えないように(ユーザー,チャンネル)

* Update CHANGELOG.md

* /users/featured-notesでもブロックを考慮するように

* cacheServiceを使うように

* /channels/timeline.tsで必要のないnoteFilterを持たないように

* Update CHANGELOG.md

* FanoutTimelineEndpointServiceへの対応

- ブロックされている場合は、/users/notesでノートが表示されない
- ミュートしている場合は、ノートが表示される
2023-12-07 18:15:38 +09:00
KanariKanaru
bcf6b7f5ee
enhance: meilisearchを有効にしてもミュートやブロックを考慮するように (#12575)
* enhance: meilisearchを有効にしてもミュートやブロックを考慮するように

* Update CHANGELOG.md
2023-12-07 17:09:31 +09:00
anatawa12
1d3ef7b42f
fix(backend): pagination with sinceId broken (#12586)
* fix(backend): pagination with sinceId broken

* fix(backend): pagination with sinceId broken for dbFallback
2023-12-07 17:07:06 +09:00
Mar0xy
cc8d3edbc8
upd: add misskey icon to font 2023-12-07 01:48:57 +01:00
yupix
e42c91dee7
feat: Roleに関するSchemaを追加 (#12572)
* feat: Roleに関連するschemaを追加

* feat: 新しいRoleSchemaを使うように

* chore: misskey.jsのデータを更新

* chore: misskey-js.api.mdを更新
2023-12-06 15:47:57 +09:00
Mar0xy
93869a5f34
add: mark instance as NSFW
Closes transfem-org/Sharkey#197
2023-12-05 22:20:52 +01:00
Mar0xy
62d1cb490b
add: custom icon font 2023-12-05 22:20:51 +01:00
Marie
0de8053bc0
merge: prettier query for bubble timeline (#204) 2023-12-04 15:46:20 +01:00
Mar0xy
d5b598d696
fix: edit when it comes to quotes 2023-12-04 15:45:26 +01:00
dakkar
216d177997 fix the spacing
thanks, linter
2023-12-04 14:26:37 +00:00
dakkar
c05de08a3b prettier query for bubble timeline
I *think* this works; in my test instance (with no federated notes…)
the generated query looks correct, and PostgreSQL doesn't complain.
2023-12-04 14:13:52 +00:00
anatawa12
8866c530c4
fix(backend): エポックを固定することで年越し時にトレンドが壊れる問題を修正 (#12567) 2023-12-04 20:33:11 +09:00
syuilo
9c90ff7d06 update deps 2023-12-04 19:40:46 +09:00
anatawa12
bb38e62ae6
chore: 自分へのリプライのみ走査するように (#12570) 2023-12-04 17:56:48 +09:00
yupix
33034b0e02
feat: ユーザースキーマの改善 (#12568)
* chore: notifyにenumを設定

* feat: securityKeysListの型を明確に

* feat: notificationRecieveConfigにpropertiesを定義

* chore: misskey.jsのmodelを更新

* fix: as constをつけ忘れている
2023-12-04 16:53:31 +09:00
anatawa12
18109fcef7
Filter User / Instance Mutes in FanoutTimelineEndpointService (#12565)
* fix: unnecessary logging in FanoutTimelineEndpointService

* chore: TimelineOptions

* chore: add FanoutTimelineName type

* chore: forbid specifying both withReplies and withFiles since it's not implemented correctly

* chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService

* revert unintended changes

* use isReply in NoteCreateService

* fix: excludePureRenotes is not implemented

* fix: replies to me is excluded from local timeline

* chore(frontend): forbid enabling both withReplies and withFiles

* docs(changelog): インスタンスミュートが効かない問題の修正について言及
2023-12-04 14:38:21 +09:00
Mar0xy
2f99c7e9dc
add: Bubble timeline
Closes  transfem-org/Sharkey#154
2023-12-04 02:10:51 +01:00
Mar0xy
ec5facd09a
upd: increase cw limit
Closes transfem-org/Sharkey#193
2023-12-03 17:56:54 +01:00
おさむのひと
55c8ec80ed
fix (backend): 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正 (#12559)
* fix (backend): 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正

* fix
2023-12-03 20:46:19 +09:00
Acid Chicken (硫酸鶏)
af15f8d09d
fix(backend): reject malformed timestamp (#12554) 2023-12-03 14:38:42 +09:00
6543
34223f3da4
fix(backend): enhance nodeinfo by export instance admin via nodeAdmins key (#12503)
https://codeberg.org/thefederationinfo/nodeinfo_extension
2023-12-03 13:42:41 +09:00
おさむのひと
e17d741f4b
enhance(misskey-js) misskey-jsのストリーミングAPI定義をバックエンドに追従 (#12552)
* (enhance) misskey-jsのストリーミングAPI定義をバックエンドに追従

* fix ci

* fix ci
2023-12-03 12:45:18 +09:00
Nanaka Hiira
2eb86e0619
fix(backend): /emojiにおける拡張子の削除方法を修正 (#12543)
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-12-03 10:28:35 +09:00
おさむのひと
c68d87538a
リストタイムラインでミュートが貫通してしまう問題に対処 (#12534)
* ユーザリストTL系の各種動作を修正・統一

* fix

* fix CHANGELOG.md

* テスト追加
2023-12-03 10:19:37 +09:00
shiosyakeyakini
4de4a2e143
fix: withChannelNotesとwithFilesを同時に指定したときの考慮 (#12550)
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-12-03 10:18:28 +09:00
おさむのひと
336416261a
バックエンドが生成するapi.jsonからmisskey-jsの型を作成する (#12434)
* ひとまず生成できるところまで

* ファイル構成整理

* 生成コマンド整理

* misskey-jsへの組み込み

* fix generator.ts

* wip

* fix generator.ts

* fix package.json

* 生成ロジックの調整

* 型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした

* 型チェック用のtsconfig.jsonを作成

* 他のエンドポイントを呼ぶ関数にも適用

* 未使用エンティティなどを削除

* misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する)

* messagingは廃止されている(テストのビルドエラー解消)

* validなapi.jsonを出力できるように修正

* 修正漏れ対応

* Ajvに怒られて起動できなかったところを修正

* fix ci(途中)

* パラメータenumをやめる

* add command

* add api.json

* 都度自動生成をやめる

* 一気通貫スクリプト修正

* fix ci

* 生成ロジック修正

* フロントの型チェックは結局やらなかったので戻しておく

* fix pnpm-lock.yaml

* add README.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 21:00:05 +09:00
おさむのひと
92029ac325
fix: #12544 (#12545)
* meを渡し忘れている

* fix CHANGELOG.md

* Revert "fix CHANGELOG.md"

This reverts commit aaee4e9b8a6abf510f393bc02282f6ac016d2124.
2023-12-02 20:11:31 +09:00
MeiMei
238e8ce939
fix: Filter featured collection (#12541) 2023-12-02 19:32:30 +09:00
anatawa12
a631b976c9
Refine fanout timeline (#12507)
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb

* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し

* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装

* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list

* style: fix lint error

* chore: split logic to multiple functions

* chore: implement redis fallback

* chore: 成功率を上げる

* fix: db fallback not working

* feat: allowPartial

* chore(frontend): set allowPartial

* chore(backend): remove fallbackIfEmpty

HTL will never be purged so it's no longer required

* fix: missing allowPartial in channel timeline

* fix: type of timelineConfig in hybrid-timeline

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
Camilla Ett
8968bfd309
fix(backend): カスタム絵文字のインポート時の動作を修正 (#12360)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 17:07:57 +09:00
anatawa12
b6b838416d
chore: remove unimplemented excludeNsfw (#12520) 2023-12-02 12:05:53 +09:00
anatawa12
da0ecb650e
chore: フォローしたときにHTLをパージしなくする (#12522) 2023-12-02 12:04:30 +09:00
Mar0xy
a707b410d0
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-11-30 23:45:25 +01:00
Mar0xy
7251f12908
upd: lower max uses per hour on import notes 2023-11-30 22:05:13 +01:00
dakkar
c958d935e4 thread Pleroma imports as well
I have _not_ tested this, but it should work fine, those exports are
the same shape as Mastodon's
2023-11-30 13:26:55 +00:00
dakkar
c59e74dfd5 fix chaining for Mastodon notes
the id / replyId are not at the top level, so now `recreateChain`
takes a list of keys to walk, not just a single key
2023-11-30 13:26:55 +00:00
dakkar
15503b96a0 properly thread Mastodon imports 2023-11-30 13:26:55 +00:00
Gianni Ceccarelli
e392d523a7 prepare to import more notes
`recreateChain` converts a list of notes into a forest of notes, using
notes that are not replies as roots, and replies as child nodes,
recursively.

Previously, notes that are replies to notes not included in the
export, and their children, were never put in the forest, and
therefore wheren't imported.

This can be fine when importing from Twitter, since we can't really
link a note to a tweet.

And, for the moment, it's acceptable when importing from *key, because
the export doesn't contain the instance URL, so we can't resolve ids
to remote notes.

It's less fine when importing from Mastodon / Pleroma / Akkoma,
because in those cases we _can_ link to the remote note that the user
was replying to.

This commit makes `recreateChain` optionally return "orphaned" note
trees, so in the (near) future we can use it to properly thread
imported notes from those services.
2023-11-30 13:26:55 +00:00
yupix
ca424df80e
fix: invite系の戻り値が間違っている close #12517 (#12518) 2023-11-30 15:56:25 +09:00
かっこかり
b05d71fabf
feat(frontend): 今日誕生日のフォロー中のユーザーを一覧表示できるウィジェットを追加 (#12450)
* (add) 今日誕生日のフォロイー一覧表示

* Update Changelog

* Update Changelog

* 実装漏れ

* create index

* (fix) index
2023-11-30 14:49:26 +09:00
Mar0xy
9383e3affd
upd: remove accidental additions 2023-11-30 04:05:11 +01:00
Mar0xy
fcbb291ef1
upd: pass a few more AP values
The added values are all taken from Mastodon code in hope to make editing and everything else sync better
2023-11-30 04:01:07 +01:00
Mar0xy
65a2ea6a74
upd: improve post editing on polls
Fixes not being able to edit post if poll expiry was set and now checks properly if poll was edited or not
2023-11-30 02:11:47 +01:00
Mar0xy
5f7fc54ee9
upd: delete emoji file from drive on emoji deletion 2023-11-29 18:45:42 +01:00
yupix
3b3b908ccd
fix: packedNoteSchemaにclippedCountが抜けている (#12499) 2023-11-29 08:08:06 +09:00
Mar0xy
62bcd42891
upd: create Folders for imported media 2023-11-28 22:46:10 +01:00
Mar0xy
7e2cf4238f
upd: apply 300x300 PWA icon
Closes transfem-org/Sharkey#165
2023-11-28 03:48:22 +01:00
syuilo
51cf906b25 update deps 2023-11-27 21:05:20 +09:00
anatawa12
d32631d159
fix: query error in notes/featured (#12439) 2023-11-26 12:54:23 +09:00
zyoshoka
2ee48ae04d
fix(backend): ギャラリーの人気の投稿の選出にidを用いるように (#12448) 2023-11-26 10:05:56 +09:00
zyoshoka
7a494b2aa7
fix(backend): rename FunoutTimelineService to FanoutTimelineService (#12453) 2023-11-26 10:02:22 +09:00
zyoshoka
3e0231d995
fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正 (#12455)
* fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正

* Update CHANGELOG.md

* add test

* fix: incorrect bob's username
2023-11-26 10:01:06 +09:00
Marie
5131a3414d
fix: correct acctUri 2023-11-25 21:02:41 +01:00
Marie
a5fccab128
upd: provide uri on accounts 2023-11-25 20:59:21 +01:00
Mar0xy
7ba8529141
fix: importing remote emojis with used name
Closes transfem-org/Sharkey#164
2023-11-24 18:19:01 +01:00
yukineko
252efe8252
fix: 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正 (#12431)
* fix: 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正

* update: CHANGELOG.md
2023-11-24 20:19:46 +09:00
anatawa12
536f08c401
fix: hard mute limit not applied (#12428)
* fix: hard mute limit not applied

* Update CHANGELOG.md
2023-11-24 15:09:25 +09:00
woxtu
f7bdf5a2c0
Replace deprecated Repository.findOneById() (#12426) 2023-11-24 09:48:36 +09:00
Mar0xy
04dbf7ebe9
chore: replace icons, change errors 2023-11-23 19:22:34 +01:00
かっこかり
ed6f866a4f
enhance/fix(AP/frontend): 最近追加されたMFMのもろもろを修正 (#12420)
* (enhance) MFM rubyが連合されるように

* Update Changelog

* Update Changelog

* (fix) unixtimeのフォールバック (AP)

* (fix) unixtimeのフォールバック (frontend)

* Update Changelog
2023-11-23 19:49:45 +09:00
かっこかり
4a2a44831b
fix(backend): 招待コードが使い回せる問題を修正 (#12423)
* (fix) 招待コードを一度のみ利用できるように

* Update Changelog
2023-11-23 19:34:14 +09:00
anatawa12
864827f788
Hard mute (#12376)
* feat(backend,misskey-js): hard mute storage in backend

* fix(backend,misskey-js): mute word record type

* chore(frontend): generalize XWordMute

* feat(frontend): configure hard mute

* feat(frontend): hard mute notes on the timelines

* lint(backend,frontend): fix lint failure

* chore(misskey-js): update api.md

* fix(backend): test failure

* chore(frontend): check word mute for reply

* chore: limit hard mute count
2023-11-23 18:56:20 +09:00
Mar0xy
42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
Mar0xy
81c36908d9
fix: attachments not working on FB import 2023-11-22 19:02:43 +01:00
Mar0xy
d078a72f38
upd: add Facebook to note importing 2023-11-22 16:00:46 +01:00
syuilo
b15f293b82 fix lint, resolve code smell
Co-Authored-By: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2023-11-22 18:46:27 +09:00
おさむのひと
c284d41b5b
swagger-cli validateがvalidとなるapi.jsonを作れるようにする (#12403)
* api.jsonがswagger-cli validateでエラーにならないように生成ロジックを修正

* フィールドの消し方に不備があったので変更

* バックエンドを起動しなくてもapi.jsonを作れるようにした

* deepCopyしてからレスポンス部分を作るようにした

* fix CHANGELOG.md

* securitySchemesの定義を復活&ApiCallServiceの実装的にベアラトークンなのでその形で

* bodyが無い(空オブジェクト)のときはrequestBodyを描画しないようにする

* allowGetがtrueな項目はget用の記載も作成

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-22 17:08:56 +09:00
皐月なふ (Nafu Satsuki)
18bdec9641
fix: verifymail.io APIの設定項目が反映されない (#12399) 2023-11-22 10:13:46 +09:00
Mar0xy
cb9cbc8f15
chore: remove unused type 2023-11-21 22:23:55 +01:00
Mar0xy
3f86903cae
upd: use Meilisearch for file type searching 2023-11-21 22:23:01 +01:00
nenohi
481bca4cf2
広告掲載ページにてfilterをわかりやすく (#12385) 2023-11-21 19:50:06 +09:00
おさむのひと
b3d1cc9525
サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない (#12391)
* サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない

* Fix CHANGELOG.md

* lastUsedAtの更新に不備が出るので修正

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 15:32:34 +09:00
おさむのひと
b5be0e5780
note.tsのchannelを正しい形にしたことにより表出化した型チェックエラーを修正 (#12395)
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 15:12:05 +09:00
syuilo
77ac51a680 update typescript to 5.3 2023-11-21 11:32:13 +09:00
おさむのひと
8bd9077f77
json-schema配下の最新化 (#12312)
* user.ts、page.ts、drive-folder.tsを各EntityServiceの戻り値をもとに最新化

* 再確認

* fix error

* note以外の残りのファイルを対応

* fix CHANGELOG.md

* fix CHANGELOG.md

* fix user.ts

* fix user.ts

* コメント対応

* fix note.ts

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 11:13:56 +09:00
syuilo
cd2131c4b5 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-11-21 09:55:52 +09:00
syuilo
ed0cc443ea fix(backend): ロールタイムラインが保存されない問題を修正 2023-11-21 09:55:49 +09:00
果物リン
e0de86359c
backendのプロジェクトで単体で start できないのを修正 (#12371) 2023-11-19 13:39:25 +09:00
syuilo
b65fd34981 tweak of 2b6f789a5b 2023-11-19 10:18:57 +09:00
Nafu Satsuki
2b6f789a5b feat(moderation): モデレーターがユーザーのアイコンもしくはバナー画像を未設定状態にできる機能を追加 (MisskeyIO#222)
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2023-11-18 21:07:47 +09:00
syuilo
30dc6e691d lint fix 2023-11-18 21:04:00 +09:00
Nafu Satsuki
0a73973a7c メールアドレスの認証にverifymail.ioを使えるようにする。 2023-11-18 21:01:53 +09:00
Mar0xy
19fc5a74f0
merge: improve recreateChain
Resolves #159
2023-11-18 12:38:13 +01:00
Mar0xy
4929467016
upd: import own replies to own tweets 2023-11-17 20:10:16 +01:00
Mar0xy
13600e0abc
upd: keep choice in indexable migration update 2023-11-17 15:17:47 +01:00
Mar0xy
55ef4c4d93
upd: completely change handling of indexable 2023-11-17 15:05:58 +01:00
Mar0xy
902e5a81f9
fix: pinned being set to null causing errors in masto api 2023-11-17 14:05:36 +01:00
Mar0xy
2267f5a619
upd: change indexable value to noindex
As described in https://docs.joinmastodon.org/entities/Account/#noindex
2023-11-17 13:58:06 +01:00
Mar0xy
1a78ed400c
upd: remove event stream calls on import 2023-11-17 13:49:12 +01:00
syuilo
4b3f9bd9a6 enhance(backend): MFMのunixtimeをISO形式で連合するように 2023-11-17 15:44:36 +09:00
syuilo
4f9922d46c update deps 2023-11-17 15:10:04 +09:00
Mar0xy
a3fd51d6e0
upd: change the way likes get handled 2023-11-16 23:47:44 +01:00
Mar0xy
5af274ef0a
upd: register contentParser 2023-11-16 20:21:33 +01:00
Mar0xy
67dceab22e
fix: errors 2023-11-16 20:08:16 +01:00
Mar0xy
2fae63fe15
upd: add multipart support to oauth/token 2023-11-16 20:04:19 +01:00
Mar0xy
6ca27b48cf
upd: add multipart/form support to a few mastodon endpoints 2023-11-16 19:45:54 +01:00
おさむのひと
1eb769dbe8
LTLに特定条件下でチャンネル投稿が混ざり込む現象の修正 (#12347)
* LTLにチャンネル投稿を含まないように修正

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-16 16:02:46 +09:00
syuilo
9d78a1a8b3 enhance(backend): make ftt db fallback configurable 2023-11-16 10:20:57 +09:00
Mar0xy
8779c0defd
chore: replace misskey_app with sharkey_app 2023-11-15 23:52:09 +01:00
Mar0xy
572fe7d8e7
upd: replace default error images 2023-11-15 23:47:29 +01:00
syuilo
ca81f0ddbb fix(backend): 追加情報のカスタム絵文字がユーザー情報のtagに含まれない問題を修正
Fix #12316
2023-11-15 16:17:21 +09:00
syuilo
be6778ac61 chore(backend): improve performance 2023-11-15 16:10:05 +09:00
Jaehong Kang
04075ee0be
enhance(backend): Implementation of HTTP header and body validation to fix SIF-2023-002 (#12334)
Using Buffer instead of string

Co-authored-by: perillamint <perillamint@silicon.moe>
2023-11-15 11:13:34 +09:00
zyoshoka
aa6d0d4359
fix(backend): 非公開の投稿に対して返信できないように (#12333)
* fix(backend): 非公開の投稿に対して返信できないように

* Update CHANGELOG.md

* fix: test
2023-11-15 11:10:45 +09:00
syuilo
65c5626b65
Merge pull request from GHSA-3f39-6537-3cgc
This commit implements HTTP header and body validation to fix
[SIF-2023-002](https://advisory.silicon.moe/advisory/sif-2023-002/)

Signed-off-by: perillamint <perillamint@silicon.moe>
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-14 17:09:45 +09:00
syuilo
30bb24d18c update deps 2023-11-14 10:35:48 +09:00
syuilo
2d2eefe3d4 feat: メールアドレスを使用してユーザー名を割り出す機能
Resolve #10158
2023-11-14 07:58:18 +09:00
Mar0xy
e4bd74183f
chore: remove type in DbNoteImportToDbJobData 2023-11-13 13:09:21 +01:00
Mar0xy
6f76a3a1f8
upd: import replies to own posts on *key 2023-11-13 13:07:49 +01:00
Mar0xy
9b3993a652
fix: prevent *key renotes/boosts from being imported
Stop renotes/boosts from *key from being imported due to missing functionality of getting the related posts
2023-11-13 10:25:39 +01:00
おさむのひと
e1cc95d308
ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 (#12321)
* ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-13 09:27:37 +09:00
Mar0xy
6170461dc5
upd: add additional checks for akkoma and pleroma 2023-11-12 22:27:20 +01:00
Mar0xy
5c38e6b824
add: custom like emoji per instance, fix like
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
2023-11-12 22:16:47 +01:00
Mar0xy
1f8c12b984
fix: use a proper function 2023-11-12 18:19:44 +01:00
Mar0xy
8cad8f0ae5
fix: broken unicode in strings on IG imports 2023-11-12 18:12:39 +01:00
Mar0xy
486a2ad839
upd: remove unused function, fix logger message 2023-11-12 18:01:39 +01:00
Mar0xy
bc25b28a4e
fix: cleanup not available on development env 2023-11-12 17:32:24 +01:00
Mar0xy
b7fc13efb7
upd: pass full thinuser 2023-11-12 15:48:28 +01:00
Mar0xy
2d1e8ee44d
upd: update limit 2023-11-12 15:37:36 +01:00
Mar0xy
de9ea4d9f1
fix: type 2023-11-12 15:16:27 +01:00
Mar0xy
83f328de8a add: Importing of Posts
- Supports Instagram, Mastodon/Pleroma/Akkoma, Twitter and *key
2023-11-12 15:12:42 +01:00
Mar0xy
4f0e0f067e
upd: set file user to system when adding emoji
Prevents cluttering of user's drive and fits the custom emoji import which sets the user as system
2023-11-12 14:00:35 +01:00
atsuchan
50430e310a
Fix: latestRequestReceivedAt (#12270) 2023-11-11 14:51:29 +09:00
Mar0xy
d94b1c3fe0
chore: lint 2023-11-09 15:07:23 +01:00
Mar0xy
885800ee5e
revert: deletion of oauth.pug 2023-11-09 15:06:57 +01:00
Mar0xy
fdb36f1d96
fix: oauth/authorize and token showing error page 2023-11-09 15:00:38 +01:00
Mar0xy
fd51854670
revert: trending support for redis 6.3
It seems this change has caused redis to periodically crash on big instances
2023-11-09 14:51:19 +01:00
GrapeApple0
28e394eddc
fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないように (#12263)
* fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないように

* Update CHANGELOG.md
2023-11-09 21:35:07 +09:00
Nya Candy
e2cac3d949
fix: show real instance url (#12273)
* Update CHANGELOG.md

* fix: show real instance url

---------

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>
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
Co-authored-by: FineArchs <133759614+FineArchs@users.noreply.github.com>
2023-11-09 21:21:39 +09:00
Mar0xy
49e3a31bba
fix: not starting due to duplicate endpoint 2023-11-08 22:55:18 +01:00
Mar0xy
0087bc3ace
test: oauth/authorize on api endpoint 2023-11-08 22:45:40 +01:00
Mar0xy
c5008452c1
fix: oauth/authorize not working 2023-11-08 22:18:28 +01:00
Mar0xy
88da6f16a9
upd: add oauth decision endpoint 2023-11-08 21:11:54 +01:00
zyoshoka
2834e54e78
fix(backend): make token nullable (#12280) 2023-11-08 21:10:41 +09:00
Mar0xy
04657c14c7
upd: remove leftover nsfw ai option 2023-11-07 19:23:58 +01:00
Mar0xy
9cd2759769
feat: isIndexable 2023-11-07 19:16:57 +01:00
Mar0xy
53f2089116
fix: lastReceivedAt always being N/A 2023-11-07 18:30:04 +01:00
Mar0xy
ccd3789cc6
fix: plugin uninstall throwing error 2023-11-07 18:22:52 +01:00
Mar0xy
d85cf658ca
upd: export headers used during signin 2023-11-07 18:18:04 +01:00
Mar0xy
42a5d473e5
upd: remove remaining parts of tw 2023-11-07 17:10:27 +01:00
Mar0xy
42ecde475e
upd: add IPs to data export 2023-11-07 12:20:46 +01:00
Mar0xy
fabb876256
upd: send email on export completion 2023-11-07 11:31:11 +01:00
Mar0xy
e9b6ed941b
add: endpoint and processor for account data export 2023-11-07 03:31:47 +01:00
Marie
ecf63c4333
merge: remove tensorflow, AiService (#140) 2023-11-05 14:42:15 +01:00
ShittyKopper
c1f9670439 fix: FileInfoService unit test 2023-11-05 16:28:55 +03:00
ShittyKopper
36c136cfd2 upd: remove more traces of sensitiveMediaDetection
kept the api endpoint props just to stay compatible with clients that
expect them to be there. they are unused and won't get saved
2023-11-05 16:28:55 +03:00
Mar0xy
e50ac8ccc7
fix: withreplies not being applied to DB fallback 2023-11-05 13:25:35 +01:00
Mar0xy
35b3ac228c
merge: upstream 2023-11-05 11:19:03 +01:00
ShittyKopper
2eda00d9b9 upd: rip out AiService 2023-11-05 11:55:19 +03:00
Marie
2cce28533f
fix(backend): isBot not being set on Application type (#12248)
* fix: bot not being set on all relays

* updatePerson missing the change

* chore: replace wrong word with correct word
2023-11-05 10:22:10 +09:00
syuilo
c2ddb649f8 enhance: 非通知なお知らせを作成できるように 2023-11-05 09:04:38 +09:00
syuilo
bdbb3266ae fix(backend): アーカイブしたお知らせがコントロールパネルに表示される問題を修正 2023-11-05 09:04:03 +09:00
Mar0xy
647e76ab36
merge: upstream 2023-11-04 14:32:28 +01:00
ozelot
1e737dbb94
fix(backend): GTLの「リノートを表示」オプションが機能しないのを修正 (#12234)
* fix(backend): GTLの「リノートを表示」オプションが機能しないのを修正 (#12233)

* docs: Update changelog

* Apply suggestions from code review

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-04 18:45:59 +09:00
Mar0xy
7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
おさむのひと
39a3f4ae98
feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230)
* チャンネル内→チャンネル外へのリノート制限機能追加

* fix CHANGELOG.md

* コメント対応(canRenoteSwitch→allowRenoteToExternal)

* コメント対応(別チャンネルへのリノート対策)

* コメント対応(canRenote->allowRenoteToExternal)

* fix comment

* Update misskey-js.api.md

* ✌️

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 17:34:23 +09:00
かっこかり
24e629ca5c
enhance: 初期設定とチュートリアルを統合 (#12141)
* better onboarding experience

* enhance: iroiro

* (add) title

* (enhance) 戻る・次へボタンを全ページでstickyに

* fix merging

* (add) iroiro

* remove unnecessary file

* Update CHANGELOG.md

* tweak texts

* (fix) reactionViewer mock

* change strings

* Update MkTutorialDialog.Note.vue

* Update ja-JP.yml

* (fix) reactionViewer error

* (fix) path

* refactor

* fix

* Update MkPostForm.vue

* Update ja-JP.yml

* Update ja-JP.yml

* tweak text

* Update ja-JP.yml

* Update ja-JP.yml

* Update ja-JP.yml

* (add) achivement

* (add) もう一度見れますよメッセージを追加

* Revert "feat: レジストリAPIをサードパーティから利用可能に (#12229)"

This reverts commit 79346272f8.

* Revert "(add) もう一度見れますよメッセージを追加"

This reverts commit 6123b35215133f0d5e5db356bb43f4acbafab8fa.

* Revert "Revert "feat: レジストリAPIをサードパーティから利用可能に (#12229)""

This reverts commit bae684e484ef99308d7ac816a822047117efe1c6.

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 15:35:07 +09:00
yukineko
025ae436b5
enhance: アカウント登録時のメールアドレス認証に30分の有効期限を設定 (#12221)
* add: metaにemailVerificationExpiresInを追加

* enhance: 招待コード使用時, メアド認証時に認証期限を確認するように

* add: クライアント側に実装

* update: CHANGELOG.md

* add: コメントを追加

* Revert "add: metaにemailVerificationExpiresInを追加"

This reverts commit ceb6ccff51a406bfd87b4da6c59401ce5551dd95.

* Revert "add: コメントを追加"

This reverts commit 7ee301c3eed4ded295490a6614650a3720317772.

* change(client): メール認証の有効期限を30分で固定するように変更

* change(backend): メール認証の有効期限を30分で固定するように変更

* update: CHANGELOG.md
2023-11-03 14:54:28 +09:00
syuilo
1729307fcf update deps 2023-11-03 14:41:21 +09:00
anatawa12
3e00b32fae
build: port vite port configuration (#12223) 2023-11-03 13:34:57 +09:00
syuilo
0efacdfcf0 fix cw test 2023-11-03 13:26:48 +09:00
syuilo
79346272f8
feat: レジストリAPIをサードパーティから利用可能に (#12229)
* wip

* wip

* Update remove.ts

* refactor
2023-11-03 13:23:03 +09:00
syuilo
82526ad4f3 CWを使用する場合、注釈を空にすることを許可しない
Resolve #12217
2023-11-03 08:17:35 +09:00
Mar0xy
4da9d94a16
fix: replies showing if not set to show replies 2023-11-03 00:12:54 +01:00
Mar0xy
a8b4689501
upd: add modplayer 2023-11-02 23:14:36 +01:00
dakkar
219c7fa6ec always preserve old text when editing a note
before this change:

* create a note, with text
  * `note` has a row with the text
	* `note_edit` doesn't have any matching row
* edit the note, removing all the text
  * the row in `note` has the new, empty, text
	* `note_edit` has a matching row, but its `oldText` is NULL

so the original text is lost

after this change, the row in `note_edit` always keeps the previous
text
2023-11-02 14:28:23 +00:00
syuilo
f62ad3ed3e feat: notification grouping
Resolve #12211
2023-11-02 15:57:55 +09:00
ShittyKopper
72204d9294 Revert "prototype: decreased rounding"
This reverts commit 7a51e2d404.
2023-11-01 21:43:26 +03:00
ShittyKopper
e1844db11b upd: add corner roundness setting 2023-11-01 21:43:26 +03:00
Mar0xy
d252dc3d93
upd: apply same changes to featured 2023-11-01 15:00:24 +01:00
Mar0xy
61c66b3825
upd: move TTL after pipeline execution 2023-11-01 14:51:50 +01:00
Mar0xy
4fbd9dcfbf
upd: make hashtagservice compatible with redis 6.3 2023-11-01 14:47:36 +01:00
Mar0xy
8388b18df9
merge: upstream 2023-11-01 12:39:07 +01:00
syuilo
6a73f7c108 i/updateのレートリミットを緩和 2023-11-01 20:29:58 +09:00
syuilo
e88dbad3cf tweak test 2023-11-01 15:56:57 +09:00
syuilo
9b073e5fe6 fix 2023-11-01 15:32:35 +09:00
syuilo
77db652bff update deps 2023-11-01 14:06:54 +09:00
syuilo
e632a84431 tweak default configuration 2023-11-01 14:00:31 +09:00
syuilo
7ed2a5fc1b perf(backend): remove needless query
#12206
2023-11-01 13:55:19 +09:00
かっこかり
5fb6847419
Feat: 未読通知数を表示できるように (#11982)
* 未読通知数を表示できるように

* Update Changelog

* オプトインにする

* Fix lint

* (add) テスト通知のプッシュ通知を追加

* add test

* フロントエンドの表示上限を99に変更

* Make it default on

* 共通スタイルをくくりだす

* Update Changelog

* tweak

* Update UserEntityService.ts

* rename

* Update navbar-for-mobile.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-01 13:34:05 +09:00
Mar0xy
b02a977606
revert: previous commit 2023-11-01 01:43:01 +01:00
Mar0xy
629c605b67
upd: renderUpdate on attachments 2023-11-01 01:38:03 +01:00
Mar0xy
d49cc29923
chore: add attribution 2023-11-01 00:55:53 +01:00
Mar0xy
a2161ccb53
chore: remove debug line, change example.yml
Set the default meilisearch scope to global
2023-11-01 00:42:08 +01:00
Mar0xy
e9fafe9b51
test: debug meilisearch not being found 2023-11-01 00:33:29 +01:00
Mar0xy
86db03cdd6
test: update debug lines 2023-11-01 00:26:21 +01:00
Mar0xy
232ac0d94e
test: debug meilisearch 2023-11-01 00:14:59 +01:00
Mar0xy
4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
dakkar
044d3d76e7 actually fix #118
`note.fileIds` is an array, it's always going to be truthy; we need to
check the length, like a similar `if` does just a few lines above
2023-10-31 16:16:39 +00:00
dakkar
111863b396 try to fix #118
when fetching notes from Redis, we need to re-check the criteria from
the API request, because `userTimelineWithFiles`,
`userTimelineWithReplies`, `userTimelineWithChannel` all get merged
together, so `noteIds` may well contain notes without attachments…
2023-10-31 15:18:37 +00:00
Mar0xy
b57b644ec6
chore: remove console log on verify_credentials 2023-10-31 12:13:37 +01:00
Mar0xy
6673c7fc13
fix: limit query being returned as string instead of int 2023-10-31 12:06:47 +01:00
Mar0xy
c18efe0042
upd: add empty return on trends/links 2023-10-31 11:49:34 +01:00
Mar0xy
98389114a8
fix: suggestions 2023-10-31 11:46:08 +01:00
Mar0xy
171ba6f4f5
chore: change style of getStatusTrends 2023-10-31 11:38:23 +01:00
Mar0xy
0a9ca195e2
fix: create trends/tags endpoint 2023-10-31 11:34:25 +01:00
Mar0xy
d15c588080
upd: change handling of suggestions and status trends 2023-10-31 11:31:31 +01:00
_
7c692283ad
fix(backend): 自身の宛先なしダイレクト投稿がストリーミングで流れてこない問題を修正 (#12203)
* fix: dm stream

* add CHANGELOG
2023-10-31 15:27:20 +09:00
syuilo
a35fe29ef4 fix(backend): アクセストークンを削除すると、通知が取得できなくなる場合がある問題を修正 2023-10-31 11:45:03 +09:00
Mar0xy
20a8bb0467
fix: search being broken on dev through mastodon 2023-10-30 13:09:20 +01:00
Mar0xy
4fa15f27c7
fix: deleting a list returning an error as success 2023-10-30 13:00:58 +01:00
Mar0xy
46bb5f2dac
fix: lists not being received properly 2023-10-30 12:53:28 +01:00
syuilo
d45b2dd3a7 lint fix 2023-10-30 17:36:32 +09:00
GrapeApple0
4f180ad45c
feat: アイコンデコレーションの管理をロールで設定できるように (#12173)
* アイコンデコレーションの管理をロールで設定できるように

* インポートミス

* Update packages/frontend/src/ui/_common_/common.ts

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

* Update packages/frontend/src/ui/_common_/common.ts

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 15:33:15 +09:00
anatawa12
7015cc937b
fix(backend): We can renote pure renote (#12171)
* chore: make pure renote detection an function

* fix: we can renote pure renote

* docs(changelog): リノートをリノートできるのを修正

* fix: remaining debug log

* chore: move isPureRenote to misc

* chore: make isPureRenote type guard

* chore: use isPureRenote in other places

* fix CHANGELOG

* style: fix lint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 13:48:22 +09:00
Mar0xy
e24a57402b
chore: lint 2023-10-30 01:47:24 +01:00
Mar0xy
81def9457b
upd: allow updating of fields 2023-10-30 01:32:48 +01:00
Mar0xy
c88fbe843a
upd: remove debug lines, fix header not being detected 2023-10-30 01:04:55 +01:00
Mar0xy
d942d4d0d0
upd: change resolving of _request.files 2023-10-30 00:57:12 +01:00
Mar0xy
be7d3859c3
test: update debug lines 2023-10-30 00:45:38 +01:00
Mar0xy
e8e4bafa64
upd: remove host lookup on file updating 2023-10-30 00:34:19 +01:00
Mar0xy
2aa7c1ae34
upd: remove Bearer from auth when looking up token 2023-10-30 00:29:58 +01:00
Mar0xy
b57ec5e2eb
test: avatar and header uploading 2023-10-30 00:27:04 +01:00
かっこかり
117db08880
fix(backend): プロフィールの自己紹介欄のMFMを連合するように(実装漏れ) (#12185)
* (refactor) eliminate nested ternary operation

* fix lint

* Jissou more
2023-10-30 08:20:32 +09:00
おさむのひと
2de4d3329d
Fix: フォローしたユーザが、自分のフォローしていないチャンネルにノートを投稿した時、そのノートがHTLで見えてしまう (#12186)
* #12181 の問題に対処
「ユーザー・チャンネルともにフォローあり」のときの絞り込みに不備があり、フォローしているユーザの投稿であればチャンネルのフォロー関係なく通過するようになってしまっていた

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-30 08:19:27 +09:00
Mar0xy
cd1083cc30
fix: relationships not working on some clients 2023-10-29 14:31:26 +01:00
Mar0xy
b596a4978f
upd: add quoteUri resolving and correct reblog/quote handling 2023-10-29 12:49:41 +01:00
Mar0xy
c53323d237
upd: add history endpoint, make sure all areas use new convertAccount 2023-10-29 12:18:18 +01:00
かっこかり
59cc101752
fix(backend): プロフィールの自己紹介欄のMFMを連合するように (#12184)
* (fix) federate user description mfm

* fix

* Update Changelog
2023-10-29 19:33:35 +09:00
syuilo
aefc941df3 typo 2023-10-29 16:28:32 +09:00
syuilo
0fc36d11d7 fix(backend): STLにGTLの投稿が混ざる問題を修正
Fix #12169
2023-10-29 16:13:30 +09:00
おさむのひと
a161a9c1e7
Fix: notes/timelineにフォローしているチャンネルのノートを含める (#12179)
* notes/timelineにフォローしているチャンネルのノートを含める

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-29 14:16:36 +09:00
Mar0xy
8fd669ff7d
fix: statuses using wrong emojis 2023-10-29 03:30:35 +01:00
Mar0xy
d8b0078ffa
fix: emojis not loading on local statuses 2023-10-29 03:23:09 +01:00
Mar0xy
549bcf70db
upd: convertAccount now fetches info from the DB 2023-10-29 02:59:36 +01:00
Mar0xy
95bcfd8ef3
fix: followers and following not being able to load 2023-10-29 02:23:43 +02:00
Mar0xy
90b666e626
fix: await all results on favourites and reblogged 2023-10-29 02:20:05 +02:00
Mar0xy
43f27a639f
upd: simplify importing of mastoconverter, fix bug
Lets you import stuff into mastoconverter without needing to also import them everywhere else
Fixes not being able to get statuses on accounts
2023-10-29 02:06:19 +02:00
Mar0xy
82c10de265
upd: change deps, fix a few bugs, update converter
Fixes User and Notes count bug (transfem-org/Sharkey#113)
Fixes build issues due to types (transfem-org/Sharkey#111)
Return accounts and notes like Iceshrimp
Use MFM class from Iceshrimp to fix HTML output for mastodon
2023-10-29 00:50:00 +02:00
syuilo
a8dc6d08b1 update deps 2023-10-28 12:31:18 +09:00
かっこかり
e5ff8d8445
enhance: プラグイン削除時にアクセストークンも削除する (#12167)
* (enhance) プラグイン削除時にトークンも削除

* update changelog
2023-10-28 07:54:06 +09:00
taichan
8a2309ba7d
fix(backend): ハッシュタグのランキングの問い合わせ結果がないときのエラー修正 (#12145)
* fix(backend): undefined result error

* Update Changelog

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

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-27 18:37:17 +09:00
おさむのひと
a8ee67cace
Fix: チャンネルのフォロー・アンフォローの反映速度を改善 (#12149)
* チャンネルのフォロー・アンフォローの反映速度を改善

* fix lint

* userFollowingChannelsCacheの場所をCacheServiceからChannelFollowingServiceに移動

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-27 18:34:02 +09:00
ikasoba
dc0582739f
Fix: STLでフォローしていないチャンネルが表示される問題を修正 (#12143)
* タイムラインをpostgresから取得する際にフォローしていないチャンネルが取得されるのを修正

* CHANGELOGに追記
2023-10-25 21:19:43 +09:00
Kaity A
14a9e1050b
feat: allow using wildcards in antenna 2023-10-24 21:16:09 +10:00
syuilo
4dd4a11cef Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-24 14:38:18 +09:00
syuilo
afb37f0b03 🎨 2023-10-24 14:38:15 +09:00
yukineko
0c730968a3
fix: RedisへのTLキャッシュが有効の場合にHTL/LTL/STL/リストが空になることがある問題を修正 (#12088) (#12124)
* fix: RedisTimelineが有効の場合にHTLがリセットされた状態になる問題を修正

* add: CHANGELOG.md

* fix: LTL, STLでもTLが空になることがある問題を修正

* update: CHANGELOG.md

* fix: DBへのフォールバック時にwithRenotesが考慮されていないのを修正

* feat: リストにもDBフォールバックを実装

* fix: リストのDBフォールバック時の挙動を修正

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-24 14:34:32 +09:00
MomentQYC
9caae8a10a
feat: Facilitates the rollback of migration operations (#12109)
* Update package.json

* Update package.json
2023-10-23 16:42:54 +09:00
atsuchan
9d0648ed35
enhance(server): Improve user block (Renote Part) (#12089) 2023-10-23 16:42:26 +09:00
syuilo
9dcccbc8e1 fix(backend): 自分のフォローしているユーザーの自分のフォローしていないユーザーの visibility: followers な投稿への返信がストリーミングで流れてくる問題を修正
Fix #12117
2023-10-23 15:29:42 +09:00
syuilo
e6c54de814 enhance(backend): RedisへのTLのキャッシュをオフにできるように 2023-10-23 15:17:25 +09:00
syuilo
5a39c1a8eb fix type 2023-10-23 11:07:27 +09:00
syuilo
c9ae5d0e51 fix type 2023-10-23 09:24:13 +09:00
syuilo
fdeee5dd05 update deps 2023-10-23 09:20:55 +09:00
syuilo
9221cbf42b fix(backend): fix i/signin-history response 2023-10-23 08:59:05 +09:00
Mar0xy
6d290225ef
fix: not checking for renotes during packing of note
Closes transfem-org/Sharkey#108
2023-10-22 19:20:06 +02:00
Mar0xy
d49099baeb
upd: add additional checks 2023-10-22 19:19:44 +02:00
Marie
b43402519f
merge: nicer file type search (#107) 2023-10-22 14:46:39 +02:00
dakkar
1dc5623713 use block comment 2023-10-22 13:43:19 +01:00
dakkar
b74fd71d67 nicer file type search
* the previous one could allow a SQL injection, since the
  `opts.filetype` value came straight from the browser

* this more precise regex match will not produce spurious
  matches (which were very unlikely, true, but still, let's be
  precise) (`video/movingimages` would have matched `%image%`!)
2023-10-22 13:35:11 +01:00
Mar0xy
83be996a3d
upd: store old date and use it in previous versions 2023-10-22 14:07:04 +02:00
Mar0xy
2706b6b618
fix: date formatting in previous note view 2023-10-22 13:36:34 +02:00
Mar0xy
d50e81e475
upd: improve note edit table & improve previous version view
Closes transfem-org/Sharkey#105
2023-10-22 13:16:30 +02:00
syuilo
5dc0463323 fix(backend): ローカルタイムラインに投稿者自身の投稿への返信が含まれない問題を修正 2023-10-22 16:23:50 +09:00
syuilo
ce09a35b03 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-22 13:02:27 +09:00
syuilo
4eaa02d25f enhance: improve avatar decoration 2023-10-22 13:02:24 +09:00
Acid Chicken (硫酸鶏)
4b295088fd
Update schemas.ts (#12103) 2023-10-22 10:52:06 +09:00
syuilo
72327716ca fix(backend): リストTLに自分のフォロワー限定投稿が含まれない問題を修正
Fix #12110
2023-10-22 10:40:53 +09:00
Mar0xy
ce83c483c6
add: view previous versions of notes
Closes transfem-org/Sharkey#103
2023-10-22 03:00:35 +02:00
Mar0xy
a74c7f60b5
upd: search filters 2023-10-22 00:13:08 +02:00
Mar0xy
d392edbc6b
test: more search options 2023-10-21 22:03:19 +02:00
Mar0xy
b930b89b3c
upd: send email on new pending approval 2023-10-21 18:39:13 +02:00
Mar0xy
9eb094aeb9
fix: decrement happening on normal renotes 2023-10-21 12:48:39 +02:00
Mar0xy
01a142f777
fix: increment and decrement of note count 2023-10-21 12:40:08 +02:00
かっこかり
f51bca41c5
Feat: 外部サイトからテーマ・プラグインのインストールができるように (#12034)
* Feat: 外部サイトからテーマ・プラグインのインストールができるように

* Update Changelog

* Change Changelog

* Remove unnecessary imports

* Update fetch-external-resources.ts

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-10-21 18:41:12 +09:00
anatawa12
722584bf72
すべてのフォロー中の人のwithRepliesを変える機能 (#12049)
* feat: endpoint to update all following

* feat(frontend): change show replies for all

* docs(changelog): すでにフォローしたすべての人の返信をTLに追加できるように

* fix: cancel not working
2023-10-21 18:39:19 +09:00
CyberRex
12fe09c6e7
プロフィールのURL認証をrel=meで可能に (#12100) 2023-10-21 18:38:51 +09:00
syuilo
2c0a139da6
feat: Avatar decoration (#12096)
* wip

* Update ja-JP.yml

* Update profile.vue

* .js

* Update home.test.ts
2023-10-21 18:38:07 +09:00
shiosyakeyakini
6d6ddbc35e
fix(backend) api/iの未読のお知らせにcreatedAtを追加するように修正 (#12092)
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-10-21 07:53:57 +09:00
Mar0xy
33eab0d178
upd: change handling of renewkeyFailed 2023-10-20 12:54:25 +02:00
Mar0xy
c76f0f1679
fix: set boolean to true if uri doesn't match activity actor 2023-10-20 12:53:14 +02:00
Mar0xy
71b7c31958
upd: refetch user keys on signature failure
Reference: https://github.com/misskey-dev/misskey/pull/12051
2023-10-20 12:50:56 +02:00
syuilo
42a3489bcb update deps 2023-10-20 15:46:12 +09:00
syuilo
df957f7afe update test 2023-10-20 13:07:08 +09:00
syuilo
b394328eb1 fix(backend): フォロ限へのリプのリプ元が(非公開)の表示のまま
Fix #12083
2023-10-20 11:58:09 +09:00
syuilo
d962ea3889 add timeline tests 2023-10-20 08:15:31 +09:00
syuilo
683b71fc7e add timeline tests 2023-10-20 08:13:20 +09:00
syuilo
216b20d2db fix(backend): 自分のフォロワー限定ノートがWebsoketに乗ってこない
Fix #12081
2023-10-20 08:02:32 +09:00
syuilo
6ff5bfd2bc clean up 2023-10-20 07:48:31 +09:00
syuilo
4a7c6e261a fix(backend): 管理者権限のロールを持っていても一部のAPIが使用できないことがある問題を修正 2023-10-19 20:47:23 +09:00
syuilo
cc256f117e update deps 2023-10-19 19:51:59 +09:00
anatawa12
991fa054a6
chore: STLのdb fallbackでwithRepliesがtrueのときにすべてのリプライを除外しないように (#12075)
MiFollowingを見るのは実装コストが高いため現状実装していない

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-19 19:34:52 +09:00
Mar0xy
c3f768181a
fix: invite code not being marked as used
Fixes an issue where if approval and invite were enabled the code would stay as unused
2023-10-19 10:42:18 +02:00
Mar0xy
059401aeab
fix: system users not being set to approved on creation 2023-10-19 10:38:46 +02:00
anatawa12
93d3501c90
fix: replies are included even if withReplies = false in local timeline (#12074) 2023-10-19 17:29:09 +09:00
syuilo
431d8c7802 fix(backend): Redisがからのときにhybrid-timelineにwithReplies = trueでアクセスするとSQLのシンタックスエラーになる
Fix #12064
2023-10-19 16:22:19 +09:00
syuilo
30efd932a5 enhance: nyaizeはクライアントで表示時に行うように
Resolve #12030
2023-10-19 11:42:17 +09:00
syuilo
ec45db7870 refactor and perf tweak 2023-10-19 11:19:42 +09:00
syuilo
428d39a460 chore: disable debug log of fastify 2023-10-19 11:18:17 +09:00
syuilo
f9549e1f1b fix(backend): fix of 1671575d5d 2023-10-19 11:17:59 +09:00
syuilo
1671575d5d perf(backend): ノートのリアクション情報をキャッシュすることでDBへのクエリを削減 2023-10-19 09:20:19 +09:00
syuilo
4d1d25e02f perf(backend): improve my reaction population performance 2023-10-19 08:07:22 +09:00
syuilo
2dfbf97db4 refactor 2023-10-19 07:59:58 +09:00
syuilo
fcc4864080 perf(backend): reduce needless populateMyReaction calls 2023-10-19 07:56:25 +09:00
Mar0xy
e1f13f641e
fix: all users being marked as not approved on cards 2023-10-18 23:50:43 +02:00
Mar0xy
c79abfa8d9
fix: set remote users to approved on updates 2023-10-18 21:32:28 +02:00
Mar0xy
20e0d0b2e2
upd: mark remote users as approved 2023-10-18 20:56:41 +02:00
Mar0xy
cf6e720139
merge: branch develop 2023-10-18 19:56:42 +02:00
Mar0xy
bb54909d8e
upd: filter fallback to db for silenced users 2023-10-18 19:51:10 +02:00
Mar0xy
4b230d792c
merge: upstream changes 2023-10-18 19:48:03 +02:00
Mar0xy
a4a1b8bb8b
add: isSilenced handling to user and timeline 2023-10-18 13:34:16 +02:00
syuilo
5b244cc6eb update test 2023-10-18 17:20:43 +09:00
syuilo
ae1e276085 fix of 6cc02fee99 2023-10-18 17:17:56 +09:00
syuilo
6b5ee43800 enhance(backend): improve fanout tl for stl 2023-10-18 15:51:50 +09:00
syuilo
6b7efb6f1d fix(backend): fix admin/get-user-ips error 2023-10-18 15:32:35 +09:00
Marie
95b2689a21
fix: default for bottrending in model 2023-10-18 07:31:08 +02:00
Mar0xy
c21d255604
add: Bot Trending Toggle, Hide Bot in Timeline client option 2023-10-18 07:29:16 +02:00
Mar0xy
fa5cf36602
fix: reports not sending email
Closes transfem-org/Sharkey#81
2023-10-18 06:14:12 +02:00
Marie
182bf7e7d6
Merge branch 'develop' into feature/approval 2023-10-18 05:40:32 +02:00
Mar0xy
cb9bd6a004
add: mark all media from user as NSFW
Closes transfem-org/Sharkey#69
2023-10-18 05:32:47 +02:00
syuilo
6cc02fee99 enhance(backend): improve fanout tl
Resolve #11958
Resolve #12061
2023-10-18 12:26:16 +09:00
syuilo
2a88d8ee2d refactor(backend): rename service 2023-10-18 12:07:18 +09:00
Mar0xy
288fa1143d
upd: display correct approval_required value on masto instance endpoint 2023-10-18 04:32:40 +02:00
Mar0xy
cab0ec5de1
upd: add Not Approved state sorter to Users tab 2023-10-18 03:40:51 +02:00
Mar0xy
32fc540df4
upd: handle email signups properly with approval enabled 2023-10-18 03:21:06 +02:00
taichan
f6e1ee1d40
users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正 (#12056)
* fix(backend): ユーザーのノート取得でDBにfallbackした際にチャンネルノートのみになる

* Update CHANGELOG

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-18 09:55:15 +09:00
woxtu
0bddd0ceae
Remove unnecessary nullish coalescing (#12058) 2023-10-18 09:54:18 +09:00
かっこかり
53099cad5a
fix: admin/update-meta が保存できない (#12057)
* Fix: invalid param impressumUrl

* Update CHANGELOG.md
2023-10-18 09:48:49 +09:00
syuilo
145c5c8b2b update deps 2023-10-18 09:43:59 +09:00
Mar0xy
2f2d88dcfc
add: Require Approval for Signup 2023-10-18 02:41:36 +02:00
Mar0xy
5c7f517895
chore: change some misskey references to sharkey 2023-10-17 23:55:53 +02:00
Marie
715dea9414
upd: remove cutting off the description on relays 2023-10-17 22:51:05 +02:00
Mar0xy
6cac291d3d
fix: relays not getting accepted 2023-10-17 21:08:15 +02:00
Marie
f73e56ca2c
fix: invalid param impressumUrl 2023-10-17 19:39:48 +02:00
anatawa12
5a3c6575dd
新規にフォローした人のwithRepliesをtrueにする機能を追加 (#12048)
* feat: add defaultWithReplies to MiUser

* feat: use defaultWithReplies when creating MiFollowing

* feat: update defaultWithReplies from API

* feat: return defaultWithReplies as a part of $i

* feat(frontend): configure defaultWithReplies

* docs(changelog): 新規にフォローした人のをデフォルトでTL二追加できるように

* fix: typo

* style: fix lint failure

* chore: improve UI text

* chore: make optional params of  UserFollowingService.follow() object

* chore: UserFollowingService.follow() accept withReplies

* chore: add withReplies to MiFollowRequest

* chore: process withReplies for follow request

* feat: accept withReplies on 'following/create' endpoint

* feat: store defaultWithReplies in client store

* Revert "feat: return defaultWithReplies as a part of $i"

This reverts commit f2cc4fe6

* Revert "feat: update defaultWithReplies from API"

This reverts commit 95e3cee6

* Revert "feat: add defaultWithReplies to MiUser"

This reverts commit 9f5ab14d7063532de2b049bc2ed40a15658168f5.

* feat: configuring withReplies in import-following

* feat(frontend): configure withReplies

* fix(frontend): incorrectly showRepliesToOthersInTimeline can be shown

* fix(backend): withReplies of following/create not working

* fix(frontend): importFollowing error

* fix: withReplies is not working with follow import

* fix(frontend): use v-model

* style: fix lint

---------

Co-authored-by: Sayamame-beans <61457993+sayamame-beans@users.noreply.github.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2023-10-17 20:56:17 +09:00
syuilo
e9db0680c4 update deps 2023-10-17 09:04:17 +09:00
syuilo
5686e1d2d0 refactor 2023-10-17 09:00:42 +09:00
Mar0xy
68886b9ab5
merge: upstream performance changes & instance silencing 2023-10-16 23:38:21 +02:00
syuilo
9338ab461e update deps 2023-10-16 20:13:05 +09:00
まっちゃてぃー
5efd01ba70
feat: サーバーサイレンス機能を追加 (#12031)
* feat : サーバーサイレンスを追加

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update locale

* Update instance-info.vue

* update misskey-js.api.md

* lint fix

* migration fix

* 既存のものを使うように

* fix

* 色々直した

* Update packages/frontend/src/pages/admin/instance-block.vue

* Update packages/frontend/src/pages/admin/instance-block.vue

* Update packages/frontend/src/components/MkInstanceCardMini.vue

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

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

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

* fix: サイレンスされてるサーバーからの投稿は全部ホームにする

* fix: undefinedでfalseを返すようにした

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-16 20:11:27 +09:00
syuilo
1966876320 fix test 2023-10-16 17:42:33 +09:00
syuilo
3ebed5aa3e feat: local-only antenna
Resolve #11869
2023-10-16 15:06:00 +09:00
syuilo
6a321ba340 fix test 2023-10-16 14:35:44 +09:00
syuilo
34d1b463a4 fix tests 2023-10-16 12:58:17 +09:00
syuilo
24437a04d4 fix of 1fa1d31696 2023-10-16 12:00:56 +09:00
syuilo
1fa1d31696 perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
Mar0xy
67c95ea646
fix: type error 2023-10-15 23:42:47 +02:00
Mar0xy
ca428977a5
merge: upstream 2023-10-15 23:36:38 +02:00
Mar0xy
85f3534b2c
fix: decrement of renotecount 2023-10-15 19:43:57 +02:00
Mar0xy
97df169ebe
fix: don't decrement past 0 2023-10-15 18:16:41 +02:00
Insert5StarName
09a764a868 chore: update assets 2023-10-15 12:18:29 +02:00
syuilo
3f4ee98405
perf(backend): improve streaming api performance (#12033)
* wip

* Update NoteEntityService.ts

* wip

* wip

* wip

* wip
2023-10-15 10:36:22 +09:00
Mar0xy
c50c3b3816
merge: lint 2023-10-15 02:18:52 +02:00
Mar0xy
e123236733
chore: lint 2023-10-15 02:17:00 +02:00
Mar0xy
7e648a255f
upd: Separate quote from boost 2023-10-15 02:16:02 +02:00
Mar0xy
4359a13946
fix: Boost count not decrementing on removal 2023-10-15 02:09:38 +02:00
Mar0xy
e11630bdb2
merge: Nyaize post on create, Tweak performance 2023-10-14 12:11:23 +02:00
syuilo
329830e2c3 perf(backend): tweak populateMyReaction 2023-10-14 10:05:44 +09:00
syuilo
061e389340 perf(backend): nyaizeを投稿時にやる
Resolve #12030
2023-10-14 10:04:13 +09:00
Mar0xy
23e0daed4e
upd: fix getting renote for logged-in user 2023-10-14 02:53:52 +02:00
Mar0xy
b002848b20
upd: increase default cache max values 2023-10-14 02:19:28 +02:00
Mar0xy
d14b9af93d
chore: lint 2023-10-14 02:05:03 +02:00
Mar0xy
2d31c189d8
add: sponsors 2023-10-14 01:59:09 +02:00
Mar0xy
96d99f04fb
upd: change unrenote function 2023-10-13 22:29:14 +02:00
Mar0xy
b4c81eb4ef
upd: make unrenote stream its change 2023-10-13 22:15:35 +02:00
Mar0xy
f8f128b347
merge: all upstream changes 2023-10-13 19:01:17 +02:00
syuilo
f6ba5cfaf4
merge: timeline 1 2023-10-13 17:58:11 +02:00
Mar0xy
fe4345d191
upd: delete reactions properly in the DB
Fixes https://github.com/misskey-dev/misskey/issues/11906
2023-10-11 23:03:01 +02:00
Marie
203fdb82f1
upd: move poll out of details 2023-10-11 20:48:00 +02:00
syuilo
7b6b3ad821 update test 2023-10-11 18:25:02 +09:00
syuilo
a26d9ea132 enhance(backend): LTLでフォローしているユーザーからの自分への返信が含まれるように 2023-10-11 17:29:24 +09:00
syuilo
566cb35370 update test 2023-10-11 14:30:18 +09:00
syuilo
cf3624a54f fix(backend): users/notesでセンシティブチャンネルの投稿が含まれる場合がある問題を修正 2023-10-11 12:26:07 +09:00
syuilo
7a8d5e5840 enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に
Resolve #12001
2023-10-11 10:15:44 +09:00
syuilo
1f0c27edf2 fix(backend): フォローしているユーザーからの自分の投稿への返信がタイムラインに含まれない問題を修正 2023-10-11 08:18:00 +09:00
syuilo
26b7112b20 add tests 2023-10-11 08:02:29 +09:00
syuilo
854ac95511 fix(backend): センシティブ設定されたチャンネルの投稿をusers/notesで返さないように 2023-10-10 20:06:02 +09:00
syuilo
66940d6cf1 fix(backend): channels/timelineでミュートが効かない問題を修正 2023-10-10 19:07:59 +09:00
syuilo
cf6e53b2ac update deps 2023-10-10 16:26:48 +09:00
かっこかり
af1087aed4
Feat:「ファイルの詳細」ページを追加 (#11995)
* (add) ファイルビューア

* Update Changelog

* 既存のAPIを利用

* run api extratctor

* Change i18n

* (add) ページに関する説明を追加

* Update CHANGELOG

* (fix) design, classes
2023-10-10 10:43:43 +09:00
syuilo
9f33ce1cd0 fix of 0bb0c32908 2023-10-10 09:45:40 +09:00
syuilo
8ab3640291 fix of 0bb0c32908 2023-10-09 21:52:31 +09:00
syuilo
edf847d966 fix of 0bb0c32908 2023-10-09 21:23:07 +09:00
syuilo
13dbfef9f8 update deps 2023-10-09 20:55:40 +09:00
syuilo
11c9e193a4 fix(backend): Misskeyのバックエンドプロセスが終了しない
Resolve #10995
2023-10-09 20:47:49 +09:00
syuilo
0bb0c32908 enhance(backend): RedisへのTLの構築をListで行うように
#11404
2023-10-09 20:31:39 +09:00
syuilo
7473b2854f fix(backend): users/notesでsinceId指定時にデータベースにフォールバックするように修正 2023-10-09 18:14:38 +09:00
syuilo
04971ca565 perf(backend): untilDate/sinceDate指定時のクエリパフォーマンスを向上 2023-10-09 18:13:53 +09:00
syuilo
6ff98846e6 fix(backend): 「ファイル付きのみ」のTLでファイル無しの新着ノートが表示される
Fix #11939
2023-10-09 17:48:09 +09:00
syuilo
7066d61730 fix 2023-10-09 17:41:54 +09:00
syuilo
0680ea3a78 fix(backend): users/notes で途中までしかページネーションできなくなることがある問題を修正 2023-10-09 16:54:27 +09:00
syuilo
0f367da84b fix(backend): TLを途中までしかページネーションできなくなることがある問題を修正
Fix #11404
2023-10-09 16:47:46 +09:00
syuilo
3a4039e2e1 refactor 2023-10-09 15:34:03 +09:00
syuilo
4f20c87186 lint fixes 2023-10-09 13:32:41 +09:00
syuilo
a2d3544a08 refactor(backend): better argument name 2023-10-09 13:22:58 +09:00
_
ca07459f5e
fix(backend): ダイレクト投稿がタイムライン上に正常に表示されない問題を修正 (#11993)
* DMをredisにpushするように

* add test

* add CHANGELOG

* Update NoteCreateService.ts

* lint

* ✌️

* 前のバージョンから発生した問題ではないため不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-09 12:36:25 +09:00
syuilo
457b4cf608 fix(backend): users/notes で 自身の visibility: followers なノートが含まれない問題を修正 2023-10-09 08:54:57 +09:00
syuilo
5601ed0914 enhance(backend): UserListMembershipにユーザーリストの作成者IDを非正規化 2023-10-09 08:46:05 +09:00
April John
c4cb99a6bb
Revert: swcrc back to normal state 2023-10-08 20:54:24 +02:00
April John
ef5e9de7e6
Feat: binary builds (#60)
Automatic binary
2023-10-08 20:20:14 +02:00
かっこかり
4bbfc98883
Feat: タイムライン更新中に広告を挿入 (#11989)
* Feat: タイムライン更新中に広告を挿入

* 翻訳を変更

* Run api extractor

* fix api extractor

* Update locales/ja-JP.yml

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

* confirm -> mkinfo

* MkInputにmin, maxを指定できるように

* 負の値が指定されたら何もしない

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-08 17:56:44 +09:00
syuilo
9240db35f3 perf(backend): improve hybrid-timeline performance 2023-10-08 15:22:43 +09:00
かっこかり
f37a3eff79
(fix) メールアドレス認証失敗時にメッセージを表示 (#11986) 2023-10-08 13:48:12 +09:00
Srgr0
bb9f04d586
Set http header for CORS in nodeinfo page (#11988)
* add Access-Control-Allow-Origin header

* WellKnownServerService.tsに合わせる

* update changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-08 13:47:45 +09:00
syuilo
8e0fb23068 fix(backend): 同じ種類のTLのストリーミングを複数接続できない問題を修正
Fix #11985
2023-10-08 13:46:02 +09:00
syuilo
cd8fda50c8 fix(backend): fix of 8c684d5391 2023-10-08 08:25:37 +09:00
syuilo
2859cbab91 perf(backend): WebSocket接続が多い場合のパフォーマンスを向上
https: //github.com/MisskeyIO/misskey/pull/176
Co-Authored-By: KOBA789 <kobahide789@gmail.com>
2023-10-08 08:10:28 +09:00
syuilo
7cd9a90f26 perf(backend): use HyperLogLog instead of Set to improve hashtag chart performance 2023-10-08 07:51:10 +09:00
April John
447399eb07
Wrap entry into async function 2023-10-07 16:21:09 +02:00
syuilo
04c8a7077f fix of 8c684d5391 2023-10-07 20:27:35 +09:00
syuilo
986623dbdc fix(backend): fix sql error when featured notes is zero 2023-10-07 18:21:16 +09:00
syuilo
8c684d5391 enhance(backend): User TLをRedisにキャッシュされる以前まで遡れるように
#11958
2023-10-07 18:00:56 +09:00
syuilo
69de8cad7c refactor 2023-10-07 17:57:15 +09:00
syuilo
fb3338029b refactor 2023-10-07 17:48:10 +09:00
syuilo
dc435fb8ee enhance(backend): tweak hashtag trend 2023-10-07 14:05:58 +09:00
syuilo
0fe8c0134c enhance(backend): notes/global-timeline復活 2023-10-07 14:02:05 +09:00
かっこかり
5e8c0deab3
プライバシーポリシー・運営者情報のリンクを追加 (#11925)
* 運営者情報・プライバシーポリシーリンクを追加

* Update Changelog

* Run api extractor

* プライバシーポリシー・利用規約の同意をまとめる

* Update Changelog

* fix lint

* fix

* api extractor

* improve design

* nodeinfoにプライバシーポリシー・運営者情報を追加
2023-10-07 13:13:13 +09:00
FineArchs
d6ef28d4ca
バックエンドのテストの改善 (#11978)
* Update utils.ts

* no async executer
2023-10-07 12:25:16 +09:00
MeiMei
c8d7a5ae76
連合なしアンケートのUpdateがリモートに配信されてしまうのを修正 (#11977) 2023-10-07 12:19:05 +09:00
syuilo
71edc65d0d enhance(backend): improve hashtags/trend performance 2023-10-07 12:05:17 +09:00
syuilo
3a7558f36c enhance(backend): 3日以内に投稿されたノートのみハイライト用スコア加算 2023-10-07 07:59:46 +09:00
syuilo
4a595153dc enhance(backend): 返信はハイライトに載らないように 2023-10-07 07:53:14 +09:00
Mar0xy
9a96ac02fc
fix: adding poll to note during edit breakage 2023-10-06 21:12:33 +02:00
Mar0xy
67cfa53118
upd: federate listenbrainz, fix background federation 2023-10-06 20:53:34 +02:00
Mar0xy
f81d6f8e24
upd: show poll in non-detailed post if poll exists
Closes transfem-org/Sharkey#52
2023-10-06 20:36:28 +02:00
Mar0xy
5f9f6e4e0e
chore: lint 2023-10-06 19:17:12 +02:00
Mar0xy
bc5bc64d55
test: fedi note edit 2 2023-10-06 19:00:41 +02:00
Mar0xy
9de86e9d49
Add clean migration file 2023-10-06 18:38:12 +02:00
Mar0xy
e63e121b48
revert: all attempts
Generally broke it, need better testing tools
2023-10-06 18:36:16 +02:00
Mar0xy
220442be39
revert: recent edit on note edit 2023-10-06 18:28:30 +02:00
Mar0xy
d3b9e82192
fix: relation error 2023-10-06 18:22:41 +02:00
Mar0xy
16130fae60
test: attempt fedi fix note edit 2 2023-10-06 18:15:11 +02:00
Mar0xy
b0ad0740b2
test: attempt fix note edit 2023-10-06 17:54:47 +02:00
syuilo
873a93fea3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-06 21:11:48 +09:00
syuilo
e4345679dc clean up 2023-10-06 21:11:45 +09:00
nenohi
11e657bdd7
絵文字重複チェック (#11941)
* 絵文字重複チェック

* アップデート時のチェック

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

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

* Update packages/backend/src/server/api/endpoints/admin/emoji/add.ts

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

* Update packages/backend/src/server/api/endpoints/admin/emoji/update.ts

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-06 21:05:44 +09:00
syuilo
a5b6e807bb feat: per user featured notes 2023-10-06 18:30:08 +09:00
syuilo
8c663f65a8 clean up 2023-10-06 17:40:46 +09:00
syuilo
481ca4ec03 add more test 2023-10-06 17:36:54 +09:00
syuilo
95dc70021f update deps 2023-10-06 17:19:17 +09:00
syuilo
7d289c1b77 refactor 2023-10-06 17:01:06 +09:00
syuilo
0bdbdba9f8 refactor 2023-10-06 16:58:38 +09:00
syuilo
4489ca3c74 refactor 2023-10-06 16:28:21 +09:00
syuilo
87416710c3 enhance(backend): some tweaks 2023-10-06 16:17:29 +09:00
syuilo
132b01461d refactor 2023-10-06 16:10:59 +09:00
syuilo
dab205edb8 enhance(backend): improve featured system 2023-10-06 14:24:25 +09:00
Mar0xy
4e64397635
add: profile backgrounds 2023-10-06 02:32:09 +02:00
syuilo
e4dcab8671 chore(backend): response isHibernated in admin/show-user 2023-10-05 21:35:23 +09:00
syuilo
780721e9a2 clean up 2023-10-05 20:34:50 +09:00
anatawa12
ee483f2dee
Disallow renote of direct note (#11970)
* chore: renoteに関するチェックをまとめる

* fix: ダイレクト投稿をrenoteできる

* fix(frontend): 自分のダイレクト投稿をrenoteできる

* docs(changelog): ダイレクト投稿をリノートできてしまう

* fix lint

* chore(backend): visibilityに関するエラーをApi Errorとして返す
2023-10-05 17:03:50 +09:00
syuilo
2333bdb98a fix(backend): sinceIdやsinceDateを利用してTLを取得することができない
Fix #11961
2023-10-05 10:23:58 +09:00
syuilo
5b00fa6f82 enhance(backend): users/notesでチャンネル投稿を含めるオプション
Resolve #11965
2023-10-05 09:48:45 +09:00
syuilo
d2bb35bcf3 add more tests 2023-10-05 09:31:03 +09:00
syuilo
0dbf5175df enhance: improve moderation log 2023-10-04 19:55:35 +09:00
syuilo
55c14aec2c perf(backend): delete useless indexes 2023-10-04 16:50:06 +09:00
syuilo
fb63fc1213 tweak tl 2023-10-04 16:48:34 +09:00
syuilo
ca515d5a7e tweak timelines 2023-10-04 16:43:24 +09:00
syuilo
6ebea82dba add more test 2023-10-04 16:12:44 +09:00
syuilo
05d1f5e564 add more test 2023-10-04 15:33:02 +09:00
syuilo
ee70f05a86 fix test 2023-10-04 15:29:09 +09:00
syuilo
fb6a5c8356 add more test 2023-10-04 14:47:45 +09:00
syuilo
a997b7bdcc fix test 2023-10-04 14:45:46 +09:00
syuilo
b40329887f revert: note editing 2023-10-04 12:05:01 +09:00
syuilo
cc4fd6b5c5 fix flaky test 2023-10-04 11:56:47 +09:00
Marie
7df70aca49
fix: default in user model 2023-10-04 04:52:06 +02:00
syuilo
3dd84f7824 tweak 2023-10-04 11:48:51 +09:00
Mar0xy
2356566e63
upd: add extra check for isCat to note nyaification 2023-10-04 04:41:42 +02:00
Mar0xy
b216af65c5
fix: add type to AP User Update for speakAsCat 2023-10-04 04:38:38 +02:00
Mar0xy
4bf5c0856f
fix: speakAsCat not pulled on AP User Update 2023-10-04 04:37:51 +02:00
Mar0xy
89924b587a
add: speakAsCat extension 2023-10-04 04:35:58 +02:00
syuilo
610b68c8ff tweak 2023-10-04 11:32:33 +09:00
syuilo
a40734d417 fix(backend): [2023.10.1.beta-1] [ノート]タブでは見える投稿が[全て]タブに出てこない
Fix #11960
2023-10-04 11:24:46 +09:00
syuilo
be81c1a6d6 refactor 2023-10-04 11:15:37 +09:00
Mar0xy
89e4c5fd9c
chore: lint 2023-10-04 02:30:05 +02:00
Mar0xy
4ee3e45bf7
upd: fix poll editing 2023-10-04 02:24:20 +02:00
syuilo
17b83ff4c1 enhance: TLキャッシュ容量を設定できるように 2023-10-04 08:46:27 +09:00
Marie
38b0d4a5f7
merge: handle fedibird quotes standard on edit (#48) 2023-10-03 20:27:22 +02:00
Mar0xy
bf3d493d04
Revert "feat: improve tl performance" 2023-10-03 20:21:26 +02:00
Gianni Ceccarelli
7136735c14 handle {http://fedibird.com/ns#}quoteUri on note edit
my previous PR had missed this part of the code
2023-10-03 15:17:44 +01:00
Mar0xy
38e35e1472
merge: upstream 2023-10-03 15:20:49 +02:00
syuilo
0f6ee7dc1c Create 1696332072038-clean.js 2023-10-03 20:26:32 +09:00
syuilo
6277a5545c
feat: improve tl performance (#11946)
* wip

* wip

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update NoteCreateService.ts

* wip

* Update user-notes.ts

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* wip

* Update timelines.ts

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* Update misskey-js.api.md

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* wip

* Update timelines.ts

* wip

* test

* Update activitypub.ts

* refactor: UserListJoining -> UserListMembership

* Update NoteCreateService.ts

* wip
2023-10-03 20:26:11 +09:00
Marie
64622b5f9a
merge: increase comment length for files (#45) 2023-10-02 15:03:17 +02:00
dakkar
076b2d4e6c make drive_file.comment larger
we can change the 8192 to something else, but 512 is too short ☺
2023-10-02 13:47:35 +01:00
dakkar
f31f601111 federade quote-notes a bit better
tested against the treehouse mastodon, but should work with others
2023-10-02 13:31:00 +01:00
Mar0xy
099b86ff3c
chore: lint 2023-10-01 02:06:04 +02:00
Marie
54578f6965
upd: add MFM to HTML support and Mentions parsing to mastodon api (#33)
* upd: attempt to turn MFM to html on mastodon

* revert: recent change until better implementation later

* chore: remove unused packages

* Update docker.yml

* upd: add MFM to HTML for timelines and status view

* chore: lint

* upd: megalodon resolve urls

* upd: add spliting

* test: local user mention

* test: change local user url in mention

* upd: change check

* test: megalodon changes

* upd: edit resolving of local users

This is starting to drive me nuts

* upd: remove the @ symbol in query

* fix: make renderPerson return host instead of null for local

* upd: change url for local user

* upd: change limit

* upd: add url to output

* upd: add mastodon boolean

* test: test different format

* fix: test of different format

* test: change up resolving

* fix: forgot to provide url

* upd: change lookup function a bit

* test: substring

* test: regex

* upd: remove substr

* test: new regexs

* dirty test

* test: one last attempt for today

* upd: fix build error

* upd: take input from iceshrimp dev

* upd: parse remote statuses

* upd: fix pleroma users misformatted urls

* upd: add uri to normal user

* fix: forgot to push updated types

* fix: resolving broke

* fix: html not converting correctly

* fix: return default img if no banner

* upd: swap out img used for no header, set fallback avatar

* fix: html escaped & and ' symbols

* upd: fix ' converting into 39; and get profile fields

* upd: resolve fields on lookup

---------

Co-authored-by: Amelia Yukii <123300075+Insert5StarName@users.noreply.github.com>
2023-10-01 01:58:06 +02:00
Mar0xy
9fd66f92db
Merge branch 'icons' of https://github.com/transfem-org/Sharkey into icons 2023-10-01 01:53:38 +02:00
Mar0xy
802ad0fa02
add: like button 2023-10-01 01:53:17 +02:00
Insert5StarName
7a51e2d404 prototype: decreased rounding 2023-10-01 01:20:20 +02:00
Insert5StarName
7b179d3a92 work in progress icons 2023-09-30 21:53:52 +02:00
Mar0xy
f2e299a7a9
upd: change icon font 2023-09-30 18:52:13 +02:00
Amelia Yukii
277fa8707b
test: fix font 2023-09-30 16:43:54 +02:00
あすぱる
6840434661
change request.routerPath to requrest.routeOptions.url (#11935) 2023-09-30 14:44:16 +09:00
syuilo
d0917aac1a fix test 2023-09-30 08:56:37 +09:00
syuilo
7e74cff126 後方互換性の強化 2023-09-30 08:12:25 +09:00
syuilo
392de4df36 enhance: ノートの翻訳機能の利用可否をロールで設定可能に
Resolve #11923
2023-09-30 07:54:11 +09:00
syuilo
a512915a84 fix(backend): Redisに古いMisskeyバージョンのキャッシュが残っている場合の問題を修正 2023-09-30 07:33:58 +09:00
syuilo
d92e2b6ae0 Update create.test.ts 2023-09-29 16:41:03 +09:00
syuilo
961f5a0caa fix(backend): fix notes/create validation 2023-09-29 15:14:13 +09:00
syuilo
ac19b055c7 update deps 2023-09-29 15:11:08 +09:00
syuilo
2529830bca tweak 2023-09-29 13:42:18 +09:00
syuilo
c01731f091 refactor 2023-09-29 13:41:09 +09:00
syuilo
9771f1c435 enhance: improve moderation log 2023-09-29 13:26:11 +09:00
nenohi
9c448055a3
広告に関する修正(配信中の絞り込み、Create時にMiAdを返すように) (#11913)
* ad/createにて作成したMiAdを返すように

別なツールからアップデート等をする際に必要

* ad/list取得に現在掲載中のオプションを作成

* スイッチで配信中のみを絞れるように

* update CHANGELOG

* エラー修正

* Update packages/frontend/src/pages/admin/ads.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-29 12:27:05 +09:00
syuilo
b9da1415a5 feat: 通知の受信設定を強化 2023-09-29 11:29:54 +09:00
Mar0xy
4b87753564
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-09-29 00:57:53 +02:00
Mar0xy
fc00f08d5b
add: achievement toggle
Closes #16
2023-09-29 00:57:38 +02:00
syuilo
2438c047a7 enhance: 編集されたノートかどうか分かるように 2023-09-28 21:06:14 +09:00
syuilo
408def474b enhance: タイムラインからRenoteを除外するオプションを追加 2023-09-28 12:37:49 +02:00
syuilo
0e7a1ac44e enhance: タイムラインからRenoteを除外するオプションを追加 2023-09-28 12:37:31 +02:00
syuilo
0e0c61e64a enhance: ユーザーページのノート一覧でRenoteを除外できるように 2023-09-28 12:36:27 +02:00
syuilo
19a643ac70 enhance: improve moderation log 2023-09-28 12:35:40 +02:00
syuilo
c106db89e1 feat: note edit 2023-09-28 17:21:16 +09:00
syuilo
772d2432b6 enhance: タイムラインからRenoteを除外するオプションを追加 2023-09-28 15:32:47 +09:00
syuilo
eb740e2c72 enhance: タイムラインからRenoteを除外するオプションを追加 2023-09-28 11:41:41 +09:00
syuilo
ce1218a2b2 enhance: ユーザーページのノート一覧でRenoteを除外できるように 2023-09-28 11:02:01 +09:00
syuilo
055464a624 enhance: improve moderation log 2023-09-28 10:02:05 +09:00
Mar0xy
e17dcd7814
upd: rehash misskey passwords with argon2 on login 2023-09-27 21:46:56 +02:00
Insert5StarName
dc52209c28 upd: rehash misskey passwords 2023-09-27 21:30:24 +02:00
Mar0xy
3bb67effd2
chore: replace repo urls in migration file 2023-09-27 15:34:17 +02:00
Mar0xy
a12d1c52dd
add: source endpoint for editing through masto api 2023-09-27 14:45:57 +02:00
Mar0xy
e32b03a048
upd: return empty history 2023-09-27 14:09:48 +02:00
Mar0xy
5ae049a4af
upd: new font 2023-09-27 04:47:39 +02:00
CyberRex
5ad0906c89
feat(backend): MasterプロセスのPIDを書き出せるように (#11909) 2023-09-27 09:32:36 +09:00
Mar0xy
c056e9f624
chore: swap misskey assets out 2023-09-26 18:22:13 +02:00
Mar0xy
3be606cd02
chore: update all misskey references in the pug files to sharkey 2023-09-26 18:06:21 +02:00
Mar0xy
7d9262c55a
fix: not being able to only send emojis 2023-09-26 13:40:18 +02:00
Mar0xy
4a3c813d3e
chore: remove an extra equal sign 2023-09-26 13:29:24 +02:00
Mar0xy
7481ece433
fix: emojis not being populated for local users 2023-09-26 13:25:55 +02:00
Mar0xy
d0af17c674
chore: lint 2023-09-26 02:34:42 +02:00
Mar0xy
8595a325ce
merge: upstream 2023-09-26 02:26:30 +02:00
Mar0xy
2b1e6eb180
fix: accidental removal of handler 2023-09-25 22:53:51 +02:00
Mar0xy
5ffcd278be
rm: remove attempt at supporting avatar/banner changing 2023-09-25 22:45:22 +02:00
Mar0xy
0fe5e8738c
upd: attempt to accept file during update 2023-09-25 22:02:33 +02:00
Mar0xy
8b55fc7917
upd: change handling of masto needed desc 2023-09-25 21:45:09 +02:00
Mar0xy
b569ac911e
add: description support for mastodon 2023-09-25 21:27:39 +02:00
Mar0xy
a505e51777
revert: always get detailed user 2023-09-25 21:14:52 +02:00
Mar0xy
a847e4d5cc
upd: move patch function and make note user always detail 2023-09-25 21:10:49 +02:00
Mar0xy
1e02899de7
upd: add multer handler to update_credentials 2023-09-25 20:59:32 +02:00
Mar0xy
d521e95dda
fix: checks 2023-09-25 19:50:22 +02:00
Mar0xy
354937abdd
upd: actually use body 2023-09-25 19:49:30 +02:00
Mar0xy
314122f509
upd: convert masto ids to sharkeyid on media 2023-09-25 19:48:43 +02:00
Mar0xy
f1c827b815
add: edit support on masto api 2023-09-25 19:33:55 +02:00
Mar0xy
0d013ff54f
upd: move media put endpoint into main api file 2023-09-25 19:15:55 +02:00
Mar0xy
324cc5509e
fix: adding description not working on media 2023-09-25 18:46:17 +02:00
Mar0xy
2bda4f1768
test: enable error logs for media 2023-09-25 18:35:52 +02:00
Mar0xy
5cca3e81d2
chore: wrong value 2023-09-25 12:49:39 +02:00
Mar0xy
49077bad34
fix: getfeatureduser 2023-09-25 12:48:37 +02:00
Mar0xy
0547940523
chore: use this.baseUrl instead of BASE_URL 2023-09-25 12:46:47 +02:00
Mar0xy
aaa3a34d60
chore: swap base_url getting on some endpoints 2023-09-25 12:37:58 +02:00
Marie
4c89e433ad
chore: return proper software name in nodeinfo 2023-09-25 12:24:15 +02:00
Mar0xy
151fcb2d5c
chore: change manifest misskey to sharkey 2023-09-25 12:17:11 +02:00
syuilo
bd19d75c9c enhance: improve moderation log 2023-09-25 16:03:43 +09:00
Mar0xy
30527edf51
revert: userentity description location 2023-09-25 06:05:32 +02:00
Mar0xy
06630c097b
upd: update user data fetching on masto api 2023-09-25 05:33:25 +02:00
Mar0xy
5aa2b197da
chore: lint 2023-09-25 05:01:50 +02:00
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
syuilo
2b4c8c9e0f
update deps (#11409)
* update deps

* Update .eslintrc.js

* Update .eslintrc.js

* lint

* lint

* Update update.ts

* update deps

* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
woxtu
5096be06ac
Remove an unused dependency (#11405) 2023-07-29 15:17:29 +09:00
syuilo
ab3cd7b837 chore: add missing license identifier 2023-07-28 14:02:58 +09:00
Kagami Sascha Rosylight
eb7b5f905a
feat(backend): support OAuth 2.0 authorization (#11053)
* feat(backend): support OAuth 2.0 authorization

* secureRndstr fix

* nanndekowareta

* nanndekowareta2

* nanndekowareta3

* unref?

* refactor to not close fastify

* use microformats-parser

* Update OAuth2ProviderService.ts

* clarify the reason behind dns lookup

* refactor(backend): use @types/oauth2orize-pkce (#11350)

* refactor(backend): use @types/oauth2orize-pkce

* Update package.json

* Update pnpm-lock.yaml

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>

---------

Co-authored-by: mtgto <hogerappa@gmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 18:51:58 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)
* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
woxtu
cb0fa9a8ab
Use promises API (#11351) 2023-07-27 09:04:19 +09:00
猫ロキP@deflis
5083458071
refactor: forkでデフォルトのノート文字数を変更した場合、E2Eテストが落ちる問題を修正する (#11366)
* forkでデフォルトのノート文字数を変更した場合このテストが落ちる問題を修正する

* 文字数についてのコメントを追加しておく
2023-07-27 09:00:48 +09:00
Acid Chicken (硫酸鶏)
cf3ac3c0be
build: close #10953 2023-07-26 22:06:00 +09:00
Acid Chicken (硫酸鶏)
9208cfd5f3
fix: hide sensitive gallery image on OGP (#11380) 2023-07-25 10:45:46 +00:00
Koki Takahashi
0404d9c103
fix(backend): Change isPublic to correctly recognize as:Public term (#11347)
* fix: Change isPublic to correctly recognize as:Public term

* Update CHANGELOG.md

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-25 10:35:21 +00:00
tamaina
c1a19ff900
fix(backend): Use OFFSET instead of SKIP when using LIMIT (#11379)
* fix(backend): Use OFFSET instead of SKIP when using LIMIT

* update CHANGELOG.md
2023-07-25 19:21:50 +09:00
hutchisr
ac6a8edf0b
Use BullMQAdapter (#11367) 2023-07-25 16:32:52 +09:00
Acid Chicken (硫酸鶏)
c9b9db13c7
refactor: avoid redundant method chain 2023-07-21 10:07:03 +00:00
Alex
b3358f0a8b
enhance: Add OGP data for notes with multiple images/videos (#11142)
* Add OGP data for notes with multiple images/videos

* Update CHANGELOG.md

* Update packages/backend/src/server/web/views/note.pug

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

* Update packages/backend/src/server/web/views/note.pug

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

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-21 09:40:30 +00:00
syuilo
af2368bd2b perf(backend): use RSA 2048bit
#11129
2023-07-21 11:59:00 +09:00
syuilo
2cb8e8a748 fix(backend): antennas/notesを叩いてもアンテナの無効化が解除されないことがある問題を修正 2023-07-21 10:09:03 +09:00
meron
2801946226
fix(server): アンテナ再有効の手段にアンテナ設定の更新を追加 (#11036)
* fix(server): アンテナ再有効の手段にアンテナの表示とアンテナ設定の更新を追加

* 無効+Redisも空なアンテナの再有効化手段を antennas/update だけに
2023-07-21 10:06:11 +09:00
Kagami Sascha Rosylight
64c142b1ca
chore(backend): better error message for unsupported attestation (#11333) 2023-07-21 07:49:39 +09:00
tamaina
509e3f979e fix redis config
https://github.com/misskey-dev/misskey/pull/11329#issuecomment-1644217395
2023-07-20 16:22:47 +00:00
tamaina
0a06eb27da
enhance(backend): 設定ファイルでioredisの全てのオプションを指定可能に (#11329)
* enhance(backend): 設定ファイルでioredisの全てのオプションを指定可能に

* yappa kousuru

* fix

* fix?

* fix

* Revert "fix"

This reverts commit 227f19ff3afcbbd560b831493975206263a1a5a3.

* fix
2023-07-20 19:50:31 +09:00
syuilo
7d6ea74288 enhance(backend): admin/emoji/addで作成した絵文字を返すように 2023-07-20 17:40:04 +09:00
Acid Chicken (硫酸鶏)
e6fca72171
perf: use slacc instead of unzipper (#10780)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-20 17:00:54 +09:00
tamaina
dc93a418c0
perf(backend): createPersonでキャッシュに保存する, DBのトランザクション回数を減らす (#11324)
* perf(backend): createPersonでキャッシュを積極的に利用する, トランザクション回数を減らす

* move comment

* fix

* oops

* fix

* fix

* fix
2023-07-20 14:44:37 +09:00
syuilo
871027fa0c enhance: ユーザーにロールが期限付きでアサインされている場合、その期限をユーザーのモデレーションページで確認できるように
Close #11059
2023-07-20 10:54:41 +09:00
woxtu
5f5c4fc44f
Remove unused dependencies (#11327) 2023-07-20 06:53:35 +09:00
xtex
bf9e74ca05
fix: failed to resolve acct URI which points to local Person (#11024)
* fix: resolving alias for local users (#9199)

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

* style: return type for RemoteUserResolveService#resolveSelf

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

* docs: update CHANGELOG

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

* style: fix typecheck

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

---------

Signed-off-by: xtex <xtexchooser@duck.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-19 13:01:14 +09:00
woxtu
8c77153c04
Fix auto-fixable issues (#11314) 2023-07-19 11:27:50 +09:00
syuilo
54c0ed2ed7 update deps 2023-07-18 20:00:45 +09:00
dogcraft
5dab918999
enhance(backend): add unix socket support (#11275)
* unix socket support

* add changelog

* lint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-17 14:12:02 +09:00
syuilo
ad5fd626c7 fix of #11293 2023-07-16 14:46:41 +09:00
CGsama
4417412787
Export notes with file detail (#11293) 2023-07-16 14:21:49 +09:00
syuilo
545371011a use happy-dom 10.0.3
Resolve #11287
2023-07-16 07:43:55 +09:00