summaryrefslogtreecommitdiff
path: root/packages/backend/src/server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* プライベートタブでログインし直すと文字数がNaNになる ↵syuilo2022-02-201-0/+6
| | | | 題を修正
* プロフィールの追加情報を最大16まで保存できるようにsyuilo2022-02-201-1/+1
| | | | | Close #8225 Close #8234
* remove max note text length settingsyuilo2022-02-204-24/+4
| | | | Resolve #8323
* Fix ajv (#8333)tamaina2022-02-20304-306/+307
| | | | | | | | | | | * wip * :v: * use ajv/dist/core * revert try * clean up
* SchemaTypeの型計算量を削減 (#8332)tamaina2022-02-196-70/+39
| | | | | | | | | | | | | * schema typeの型計算量を削減 * reduce some type error * wip * fix * clean up * more shrink
* refacator: fix typwsyuilo2022-02-191-1/+0
|
* refactor: fix typesyuilo2022-02-191-1/+2
|
* refactor: use ajv instead of cafy (#8324)syuilo2022-02-19310-4942/+3378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update abuse-user-reports.ts * Update files.ts * Update list-remote.ts * Update list.ts * Update show-users.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update update.ts * Update search.ts * Update reactions.ts * Update search.ts * wip * wip * wip * wip * Update update.ts * Update relation.ts * Update available.ts * wip * wip * wip * Update packages/backend/src/server/api/define.ts Co-authored-by: Johann150 <johann.galle@protonmail.com> * Update define.ts * Update define.ts * typo * wip * wip * wip * wip * wip * wip * wip * wip * Update update.ts * wip * Update signup.ts * Update call.ts * minimum for limit * type * remove needless annotation * wip * Update signup.ts * wip * wip * fix * Update create.ts Co-authored-by: Johann150 <johann.galle@protonmail.com>
* Delete jobs.tssyuilo2022-02-181-82/+0
|
* refactor: fix typessyuilo2022-02-152-1/+2
|
* fix(server): stats APIで内部エラーが発生する問題を修正syuilo2022-02-121-3/+3
| | | | Fix #8308
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2022-02-101-1/+20
|\
| * fix: regular expressions in word mutes (#8254)Johann1502022-02-101-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: handle regex exceptions for word mutes * add i18n strings Co-authored-by: rinsuki <428rinsuki+git@gmail.com> * stricter input validation in backend * add migration for hard mutes * fix * use correct regex library in migration * use query builder to avoid SQL injection Co-authored-by: Robin B <robflop98@outlook.com> Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
* | enhance: improve federation chartsyuilo2022-02-101-22/+0
|/
* feat: インスタンスのテーマカラーを設定できるようにsyuilo2022-02-095-2/+19
|
* fix: add instance favicon where it's missing (#8270)Sol Fisher Romanoff2022-02-091-0/+3
|
* feat(client): update fontawesome v6 and self-hostingsyuilo2022-02-091-2/+2
| | | | Resolve #7475
* feat: introduce intersection calculation of chartssyuilo2022-02-096-6/+6
|
* feat: Option to show replies in timeline (rebase #7685) (#8202)nullobsi2022-02-066-6/+11
| | | | | * Add an option for timeline replies. Credit to Emilis (puffaboo) * update db on request
* Fix cast (#8257)MeiMei2022-02-061-3/+13
|
* imprpve active users chartsyuilo2022-02-061-0/+1
|
* fix: NodeInfo のユーザー数と投稿数の内容を見直す (#8255)xianon2022-02-061-7/+5
| | | | | * NodeInfoのアクティブユーザーの取得方法を変更する * NodeInfoの投稿数の出力内容を見直す
* improve chartsyuilo2022-02-061-6/+2
|
* Improve chart engine (#8253)syuilo2022-02-0614-42/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * Update core.ts * wip * wip * #7361 * delete network chart * federationChart強化 apRequestChart追加 * tweak
* refactorsyuilo2022-02-043-4/+12
|
* refactorsyuilo2022-02-031-1/+1
|
* refactorsyuilo2022-02-032-9/+26
|
* refactorsyuilo2022-02-031-1/+1
|
* refactorsyuilo2022-02-033-141/+7
|
* refactorsyuilo2022-02-031-0/+2
|
* refactorsyuilo2022-02-033-13/+13
|
* refactorsyuilo2022-02-031-1/+4
|
* Twitterの埋め込みを修正しました [Fix Twitter embed] (#8193)Kainoa Kanter2022-02-037-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix Twitter embed * Update packages/backend/src/server/web/views/gallery-post.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/channel.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/base.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/base.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/clip.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/channel.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/note.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/gallery-post.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/page.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/user.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/page.pug Co-authored-by: rinsuki <428rinsuki+git@gmail.com> * Yay! * Update packages/backend/src/server/web/views/base.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/base.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update packages/backend/src/server/web/views/base.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * Update page.pug * Update channel.pug * Update gallery-post.pug * Update note.pug * Update page.pug * Update user.pug Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
* fix: ↵MeiMei2022-02-021-1/+1
| | | | | | | ストリーミングからのAPIリクエストが出来ないのを修正 (#8244) * Update call.ts * あれ
* refactor: ↵MeiMei2022-01-313-7/+17
| | | | | | | APIで非JSON入力の型変換はendpointに渡す前に行うように (#8229) * Resolve #8228 * fix
* Add `img-src` and `media-src` to `Content-Security-Policy` header for files ↵shibao2022-01-292-2/+2
| | | | | | | | | and media proxy (#8188) * add img-src and media-src to csp in file and media proxy * add csp changes to changelog * sort and remove trailing semicolon
* refactor(backend): fix typesyuilo2022-01-261-2/+2
|
* refactor(backend): fix typesyuilo2022-01-261-1/+1
|
* refactor(backend): use insert instead of savesyuilo2022-01-264-6/+6
|
* refactor, enhance: ドライブ引数のオブジェクト化, ↵MeiMei2022-01-233-5/+11
| | | | | | | | | | | 追加時のcomment指定 (#8180) * refactor: ドライブの引数をオブジェクト化する Resolve #8177 * Resolve #8181 * fix * archivePath
* NodeInfo にユーザー数と投稿数の情報を追加する (#8126)xianon2022-01-221-16/+16
|
* enhance: convert svg to png of custom emojissyuilo2022-01-212-6/+7
|
* feat: increase files limit for notesyuilo2022-01-211-3/+3
| | | | #8062
* refactorsyuilo2022-01-212-5/+5
|
* enhance: Forward report (#8001)Johann1502022-01-212-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implement sending AP Flag object Optionally allow a user to select to forward a report about a remote user to the other instance. This is added in a backwards-compatible way. * add locale string * forward report only for moderators * add switch to moderator UI to forward report * fix report note url * return forwarded status from API apparently forgot to carry this over from my testing environment * object in Flag activity has to be an array For correct interoperability with Pleroma the "object" property of the Flag activity has to be an array. This array will in the future also hold the link to respective notes, so it makes sense to correct this on our side. * Update get-note-menu.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: code url in documentation (#8117)Johann1502022-01-211-1/+1
| | | It seems this was not changed while refactoring the modules apart.
* send-drive-file svg as png (#8107)tamaina2022-01-201-2/+8
|
* fix: proxyでsvgをpngに変換するように (#8106)tamaina2022-01-201-5/+6
| | | | | | | | | | | | | * wip * revert send-drive-file change * fix * Update packages/backend/src/server/proxy/proxy-media.ts Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
* refactor(server): use named exportsyuilo2022-01-201-2/+2
|
* refactor: ↵tamaina2022-01-18307-1763/+1792
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIエンドポイントファイルの定義を良い感じにする (#8154) * Fix API Schema Error * Delete SimpleSchema/SimpleObj and Move schemas to dedicated files * Userのスキーマを分割してみる * define packMany type * add , * Ensure enum schema and Make "as const" put once * test? * Revert "test?" This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79. * Revert "Fix API Schema Error" This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323. * :v: * clean up * test? * wip * wip * better schema def * :v: * fix * add minLength property * wip * wip * wip * anyOf/oneOf/allOfに対応? ~ relation.ts * refactor! * Define MinimumSchema * wip * wip * anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正 * anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正 * Update packages/backend/src/misc/schema.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix * array oneOfをより正確な型に * array oneOfをより正確な型に * wip * :v: * なんかもういろいろ * remove * very good schema * api schema * wip * refactor: awaitAllの型定義を変えてみる * fix * specify types in awaitAll * specify types in awaitAll * :v: * wip * ... * :v: * AllowDateはやめておく * 不必要なoptional: false, nullable: falseを廃止 * Packedが展開されないように * 続packed * wip * define note type * wip * UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように * wip * wip * wip specify user type of other schemas * ok * convertSchemaToOpenApiSchemaを改修 * convertSchemaToOpenApiSchemaを改修 * Fix * fix * :v: * wip * 分割代入ではなくallOfで定義するように Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>