Commit graph

58 commits

Author SHA1 Message Date
syuilo
3b95fce051 fix federation chart 2022-03-08 22:56:46 +09:00
syuilo
e3afe9fd82 delete needless instance drive columns 2022-03-07 21:20:14 +09:00
syuilo
13dfafb1dd feat: add active to federation chart 2022-03-07 15:10:16 +09:00
syuilo
3b86bdf18c feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
5ab7362d4c fix query error 2022-03-04 18:18:37 +09:00
syuilo
2606e10d55 enhance(chart): better federation pub/sub calculation 2022-03-04 16:26:10 +09:00
syuilo
94f294da59 fix federation chart pubsub 2022-03-04 15:32:50 +09:00
syuilo
d8c2d19d67 fix esm 2022-03-01 03:34:40 +09:00
syuilo
94228778c9 refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00
syuilo
bf72af1289 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-23 21:31:51 +09:00
Johann150
95e4425a79 fix: also recognize "shortcut icon" favicon (#8220)
* also recognize "shortcut icon" favicon

Not using querySelector for this because it uses jsdom which might be slower.
Reversing the order because WHATWG says the last appropriate link should be used.

* also fetchIconUrl

* br

* improve readability

* fix

* フォールバックにhrefの評価を含める

* fix val name

* 将来的な拡張を考えたコードにした

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-23 20:17:43 +09:00
syuilo
2f83378acc feat: add pub & sub item for federation chart 2022-02-23 16:17:16 +09:00
tamaina
706c1b054d SchemaTypeの型計算量を削減 (#8332)
* schema typeの型計算量を削減

* reduce some type error

* wip

* fix

* clean up

* more shrink
2022-02-19 23:21:28 +09:00
syuilo
036c9571e2 refacator: fix typw 2022-02-19 14:53:33 +09:00
syuilo
81c7db0744 refactor: use ajv instead of cafy (#8324)
* 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>
2022-02-19 14:05:32 +09:00
syuilo
9b76f8d963 refactor: better getChart result type 2022-02-18 22:29:23 +09:00
syuilo
4a24258007 refactor: fix types 2022-02-13 12:46:52 +09:00
syuilo
f3853f76af refactor: fix types 2022-02-13 01:39:58 +09:00
syuilo
48fe5b1499 enhance: improve federation chart 2022-02-10 17:45:12 +09:00
syuilo
94365e97e9 fix(server): チャートのcleanでエラーが出る可能性がある問題を修正 2022-02-09 03:55:49 +09:00
syuilo
30a153e6ee fix(server): チャートのresyncでエラーが出る問題を修正
Fix #8274
2022-02-09 03:51:43 +09:00
syuilo
4d05c3e8a9 feat: introduce intersection calculation of charts 2022-02-09 03:46:58 +09:00
syuilo
61f855429f feat: improve federation chart 2022-02-08 23:43:51 +09:00
syuilo
756201ebef feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加 2022-02-08 23:12:37 +09:00
syuilo
74f66c6a62 chore: remove unused code 2022-02-08 22:49:44 +09:00
syuilo
06180d1331 fix 2022-02-06 08:39:23 +09:00
syuilo
b0da30469d imprpve active users chart 2022-02-06 06:24:06 +09:00
syuilo
ed86093869 fix chart clean 2022-02-06 02:16:52 +09:00
syuilo
eaad6e188c Improve chart engine (#8253)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update core.ts

* wip

* wip

* #7361

* delete network chart

* federationChart強化 apRequestChart追加

* tweak
2022-02-06 00:13:52 +09:00
syuilo
34449ec0b2 use date-fns 2022-02-04 10:41:27 +09:00
syuilo
f6184239cf refactor 2022-02-03 21:38:57 +09:00
syuilo
dcd2a3037f refactor 2022-02-03 02:41:22 +09:00
syuilo
1e31e8d1ca refactor(backend): use insert instead of save 2022-01-26 00:51:26 +09:00
MeiMei
3150708d7a refactor, enhance: ドライブ引数のオブジェクト化, 追加時のcomment指定 (#8180)
* refactor: ドライブの引数をオブジェクト化する Resolve #8177

* Resolve #8181

* fix

* archivePath
2022-01-23 22:52:35 +09:00
syuilo
e1b9c22874 enhance: convert svg to png of custom emojis 2022-01-21 18:47:02 +09:00
syuilo
93f79c1d8c refactor(server): use named export 2022-01-20 02:43:13 +09:00
syuilo
3230cdaa4f feat(server): store mime type of webpublic 2022-01-20 02:40:13 +09:00
syuilo
6c01a2aec1 refactor(server): use insert instead of save 2022-01-20 02:33:20 +09:00
tamaina
66ef4f1ebe refactor: 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.

* ✌️

* clean up

* test?

* wip

* wip

* better schema def

* ✌️

* 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

* ✌️

* なんかもういろいろ

* remove

* very good schema

* api schema

* wip

* refactor: awaitAllの型定義を変えてみる

* fix

* specify types in awaitAll

* specify types in awaitAll

* ✌️

* wip

* ...

* ✌️

* 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

* ✌️

* wip

* 分割代入ではなくallOfで定義するように

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo
9117fd7a06 bye reversi 2022-01-12 17:34:53 +09:00
tamaina
a26ab96021 enhance: 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように (#8108)
* 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように

* add comment
2022-01-03 07:35:02 +09:00
syuilo
cbce987453 refactor(server): use insert instead of save 2022-01-03 03:17:16 +09:00
syuilo
21a7cb9546 refactor(server): use insert instead of save 2022-01-03 02:20:30 +09:00
syuilo
6bd6b72e1b Revert "revert d53795184"
This reverts commit aedbab17cc400ae7ac17498463504f40646e8673.
2022-01-01 22:25:30 +09:00
tamaina
336c7e0ebc wip (#8101) 2022-01-01 18:00:53 +09:00
syuilo
e50eff9de7 revert d53795184 2021-12-29 17:21:08 +09:00
syuilo
af1281fcb6 refactor 2021-12-26 12:08:22 +09:00
syuilo
7b9f7fb060 enhance(server): better content type detection 2021-12-26 01:43:51 +09:00
tamaina
748547fbb4 Truncate push notification message (#8089)
* Truncate push notification message

* fix
2021-12-25 02:01:35 +09:00
syuilo
89bbcf1807 enhance(backend): improve chart engine 2021-12-14 18:12:37 +09:00