syuilo
1c12f0e16c
refactor: fix type
2022-04-17 20:44:21 +09:00
syuilo
bba30f4d40
refactor: fix type
2022-04-17 17:30:27 +09:00
syuilo
9859e81ac6
refactor: fix type
2022-04-17 14:42:13 +09:00
syuilo
79068fd7b5
refactor: fix type
2022-04-17 13:31:45 +09:00
syuilo
ff4b6f51ec
refactor: fix type
2022-04-17 13:21:07 +09:00
syuilo
b87c26127f
Streaming経由でのAPIリクエストを削除
2022-04-17 13:19:05 +09:00
syuilo
264fd9f4af
refactor: fix type
2022-04-17 13:14:29 +09:00
syuilo
11bb1f66bb
refactor: fix type
2022-04-17 13:01:30 +09:00
syuilo
3a2a9e3031
refactor: fix type
2022-04-17 12:59:41 +09:00
syuilo
45a1149655
refactoe
2022-04-16 17:19:30 +09:00
syuilo
a37dee9b8d
refactor
2022-04-08 19:01:38 +09:00
syuilo
0c1ad61bee
fix(api): parameter validation of users/show was wrong
2022-04-06 00:04:25 +09:00
syuilo
2e9afc526d
fix types
2022-04-03 16:30:22 +09:00
syuilo
f4f6a76ecc
chore: fix lint
2022-04-03 15:33:22 +09:00
Johann150
5ac6bc5463
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949923b830a6d0361d1aa4d5f5614b7b7.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
syuilo
0c6bfe77cd
fix(api): admin/update-meta was not working
2022-04-03 13:54:22 +09:00
syuilo
74bbf670dd
revert 484e023c0
2022-04-02 16:47:53 +09:00
syuilo
8b2a0a5773
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
Johann150
2058d048d0
enhance(doc): required input fields ( #8456 )
...
* remove empty file
If the endpoint is to be implemented later, the file can be added back,
but for now it is confusing to have an empty file.
* enhance(doc): document defaults
Default for `isPublic` is based on the database schema default value.
Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
* enhance(doc): explain nullable emoji category
* fix: make nullable if default is null
* enhance(doc): explain mute attribute expiresAt
* fix: define required fields
- `notes/create`: the default for `text` has been removed because ajv can not handle
`default` inside of `anyOf`, see
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
first alternative.
- `notes/create`: The `mediaIds` property has been marked as deprecated because it
has the same behaviour as using `fileIds`, but the implementation tries to handlè
`fileIds` first.
- The result schema for `admin/emoji/list` has been altered because the `host`
property will always be `null` as it is filtered this way in the database query.
See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67.
* enhance(doc): explain nullable hostname
* update changelog
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-02 15:04:36 +09:00
syuilo
8744c27dfb
fix(server): admin/meta is not working
...
Fix #8455
2022-04-01 19:17:19 +09:00
syuilo
23aeceb345
fix(server): add missing import
2022-03-29 18:46:59 +09:00
syuilo
800f820655
perf(server): reduce db query when get notifications
2022-03-26 18:22:55 +09:00
syuilo
523ee14a73
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
921299b02f
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
b0eb9ea31e
refactor
2022-03-25 13:11:52 +09:00
syuilo
61826829d3
refactor: separate meta api for admin or not
2022-03-25 01:50:28 +09:00
Johann150
245fdb8544
fix API console ( #8416 )
...
Adjusted the server to send the API description based on the new
API type declarations introduced previously.
2022-03-19 18:25:06 +09:00
syuilo
827ee9426c
fix(server): ulidを使用していると動作しない問題を修正
2022-03-11 12:44:35 +09:00
Johann150
9e1255b334
remove HTTPS handling ( #8380 )
2022-03-08 23:23:18 +09:00
syuilo
e3afe9fd82
delete needless instance drive columns
2022-03-07 21:20:14 +09:00
syuilo
17f7b41240
feat: 時限ミュート
...
#7677
2022-03-04 20:23:53 +09:00
syuilo
f71aa3df32
feat: instance default theme
2022-03-01 23:58:01 +09:00
syuilo
fc466933fc
fix esm
2022-02-27 14:21:25 +09:00
syuilo
a02e37b2e1
fix
2022-02-27 14:10:31 +09:00
tamaina
13cc69fe1c
Fix avatar/banner proxy ( #8346 )
...
* Fix avatar/banner proxy
Co-authored-by: mei23 <m@m544.net>
* use getAvatarUrl
* fix
* join avatar and banner to improve performance
* join
* Update hybrid-timeline.ts
* fix
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +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
44bb08454a
fix: better language settings
...
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo
68899ee206
プライベートタブでログインし直すと文字数がNaNになる問題を修正
2022-02-20 19:01:06 +09:00
syuilo
1d2be559e9
プロフィールの追加情報を最大16まで保存できるように
...
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
18ea7a1142
remove max note text length setting
...
Resolve #8323
2022-02-20 16:07:43 +09:00
tamaina
9ebb464149
Fix ajv ( #8333 )
...
* wip
* ✌️
* use ajv/dist/core
* revert try
* clean up
2022-02-20 13:15:40 +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
1db0032d08
refactor: fix type
2022-02-19 14:30:42 +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
000e6bb6a6
Delete jobs.ts
2022-02-18 20:30:22 +09:00
syuilo
4d333c5f84
refactor: fix types
2022-02-15 23:08:50 +09:00
syuilo
2c7cb1f3ea
fix(server): stats APIで内部エラーが発生する問題を修正
...
Fix #8308
2022-02-12 17:33:29 +09:00
syuilo
c15cc02ab3
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-02-10 22:01:34 +09:00
Johann150
84c409a52b
fix: regular expressions in word mutes ( #8254 )
...
* 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>
2022-02-10 19:47:46 +09:00