09a7eabda1
backend: fix lint "no-throw-literal"
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-08-04 11:00:02 +02:00
c8f49bae76
fix lint "object-shorthand"
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-08-03 14:58:24 +02:00
37e47a257e
fix lints "import/order" and "import/no-duplicate"
...
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
Also simplified some import paths by replacing relative with absolute paths.
2022-08-03 14:05:50 +02:00
bc1c66e16e
remove admin/drive/cleanup API
...
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
This API endpoint is not working correctly and can cause unintended data loss:
It may remove emojis that have been imported from other instances.
See also https://github.com/misskey-dev/misskey/issues/8222
2022-08-03 11:00:48 +02:00
a6df127d3b
fix lint "quotes"
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-08-02 23:25:36 +02:00
ec4fe55acf
refactor: reusable function for pure renote detection
...
There was some code to detect if a note is a quote renote. However this
code was unused and it seems the kind of reversed detection of checking
if something is a pure renote is more useful.
2022-08-01 00:05:10 +02:00
b7c0e26da9
fix: lint error in create.ts
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-28 13:19:47 -04:00
40d9aa6219
API: visiblity cannot be less restrictive
...
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
Removed a now unnecessary provision from services/note/create as well.
2022-07-28 15:23:08 +02:00
63c8992cb8
Add semicolon to children.ts
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
2022-07-25 22:07:23 -04:00
4bc9610d8b
remove unnecessary joins
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
These joins are no longer necessary as of commit
c35372a20d
. It seems they are bad enough
for performance to break installs.
2022-07-25 21:46:45 +02:00
9ee609d700
Merge: enhance privacy of notes
...
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
#14
2022-07-25 18:15:21 +02:00
c35372a20d
pack children without detail
2022-07-25 16:41:47 +02:00
aca724e0bf
enable to fetch replies recursively
2022-07-25 16:41:46 +02:00
aba5b27159
remove legacy permission parsing
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
2022-07-24 11:45:37 +02:00
3fe351df6d
fix: catch errors from packing with detail
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
Packing with detail can cause an error if the reply or renote
are not visible to the user, even though the original note is
visible to the user.
2022-07-23 22:28:41 +02:00
b630cd7eac
refactor: add NoteReactions.packMany
2022-07-23 22:28:40 +02:00
3c6d9cc8ab
use getNote instead of Notes.find
...
If a note is not visible to the requesting user, an error will be raised.
2022-07-23 22:27:28 +02:00
97edaca351
getNote checks visibility
...
Raise an error When a note is not visible to the requesting user.
2022-07-23 22:27:14 +02:00
6060e7d220
enhance: better rendering of reports
...
Passing the report object reduces the number of parameters to be passed.
2022-07-19 17:18:19 +02:00
fc51ac17b1
fix: remove unnecessary null check
...
Because `findOneByOrFail` is used above, the null check is unnecessary.
2022-07-19 17:18:19 +02:00
9ca504784a
keep URL of reported object separate
...
Instead of putting the URL in the report text, it is stored separately
so that users do not accidentally change or remove it.
This way it can easily be used when forwarding reports to different
instances to tell them what exactly was reported.
2022-07-19 17:18:18 +02:00
1ec756519e
fix: move forwarded attribute to output
2022-07-19 17:18:15 +02:00
a0940c49a2
refactor: remove repositoryUrl & feedbackUrl from meta
...
These two URLs are static so there is no reason to keep them in the
database. They are also not even used anywhere by the API, so they can
also be removed from there.
Where they are used is in the nodeinfo, where they are now hardcoded.
While editing the nodeinfo, also uncommented nodeinfo version 2.1.
2022-07-18 14:39:27 +02:00
0fec6e1047
remove ms dependency
2022-07-16 16:54:11 +00:00
syuilo
ddab9eafee
perf: allow get for notes/reactions
2022-07-16 12:02:10 -04:00
syuilo
573dd770bf
feat(server): add fetch-rss api to reduce dependency of external apis
2022-07-16 11:22:47 -04:00
syuilo
791063078d
enhance(server): アンケートを新しい順にソート
2022-07-16 11:14:24 -04:00
29284eca75
remove more ads stuff from client
2022-07-13 23:20:18 +02:00
402d4e866e
remove ads from API endpoints
2022-07-13 23:20:17 +02:00
syuilo
b003e24af4
chore(client): tweak ui
...
cherry-picked from ed41d542bb8894f2eaca42cd7cc08246089e0490
2022-07-13 17:35:25 +02:00
syuilo
f95f74f96e
allow non-mods to show instance-info page
2022-07-13 16:16:35 +02:00
syuilo
3579ebf03d
feat(api): add federation/stats endpoint
2022-07-13 12:55:09 +02:00
syuilo
fbe210a39d
feat: make possible to delete an account by admin
...
Resolve #8830
2022-07-13 12:52:45 +02:00
syuilo
4d8d9936f1
feat: allow GET for some endpoints
...
Resolve #8263
2022-07-13 11:23:15 +02:00
e45624855f
fix: always respect instance mutes ( #8854 )
...
* fix: muted user query also checks instances
This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.
* fix lint
2022-07-13 11:23:14 +02:00
syuilo
f30214b006
feat(admin): show list of files of a user
2022-07-13 10:44:48 +02:00
MeiMei
d4ac71593b
enhance: use ioredis everywhere, fix IPv6 support for redis
...
fixes https://github.com/misskey-dev/misskey/pull/8869
see also https://github.com/misskey-dev/misskey/pull/8869
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-13 10:40:39 +02:00
0cd330afe4
refactor: simplify ap/show with DbResolver ( #8838 )
...
Using the existing code in DbResolver we can avoid separate code for
parsing the URIs in this endpoint.
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-13 10:16:38 +02:00
749477c199
use predefined noteVisibilities constant
2022-07-12 14:45:36 +02:00
ba0236700d
chore: remove unused imports
2022-07-12 14:41:10 +02:00
03aa41664f
chore: remove unused columns
...
The columns "mascotImageUrl" and "errorImageUrl" are unused in the
web client. It is unlikely that they are being used elsewhere.
2022-07-11 12:49:39 +02:00
futchitwo
42e3ddae91
Improve: unclip ( #8823 )
...
* Refactor clip page to use Composition API
* Refactor clip page
* Refactor clip page
* Refactor clip page
* Improve: unclip
* Fix unclip
* Fix unclip
* chore: better type and name
* Fix
* Fix clipPage vue provider
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-09 05:43:48 -04:00
tamaina
4edb67667a
fix: add limit to i/notifications ( #8836 )
...
* fix: add limit to i/notifications
* ms
* remove ms
2022-07-09 05:29:13 -04:00
22420245a5
fix(docs): use correct description property
2022-07-09 05:27:31 -04:00
syuilo
9fcc0e460c
lint fixes
2022-07-09 05:23:42 -04:00
tamaina
11a6bd890c
fix: some fixes of multiple notification read ( #8819 )
...
* fix: limit multiple notification read
* fix
* fix
2022-06-12 19:28:13 +09:00
78df3dc484
enhance: improve documentation for /users/
endpoints ( #8790 )
...
* docs: category & description for reset password
* docs: category & description for testing
* docs: descriptions for groups endpoints
* docs: descriptions for drive file endpoints
* docs: descriptions for sw endpoints
* docs: descriptions for user list endpoints
* docs: descriptions & result type for gallery posts
* docs: descriptions & result type for user endpoints
* docs: add return type for stats
2022-06-10 14:25:20 +09:00
0fa2a52fac
refactor: use awaitAll to reduce duplication ( #8791 )
...
* refactor: use awaitAll to reduce duplication
* fix lint
* fix typo
2022-06-08 17:59:48 +09:00
PikaDude
6061937996
User moderation details ( #8762 )
...
* add more user details for admins to see
* fix some issues
* small style fix
as suggested by Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-06-03 23:14:50 +09:00
21d54f2758
fix: validate text is not empty
...
fix #8747
2022-05-28 17:26:17 +02:00
aaf5bb62ab
enhance: uniform theme color ( #8702 )
...
* enhance: make theme color format uniform
All newly fetched instance theme colors will be uniformely formatted
as hashtag followed by 6 hexadecimal digits.
Colors are checked for validity and invalid colors are not handled.
* better input validation for own theme color
* migration to unify theme color formats
Fixes theme colors of other instances as well as the local instance.
* add changelog entry
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 09:54:45 +02:00
037ca92275
fix: postgres type error
...
Fix a bug introduced in #8659 . Solution was already tested there.
2022-05-15 11:32:00 +02:00
tamaina
b2a5076d14
fix: ユーザー検索で、クエリがusernameの条件を満たす場合はusernameもLIKE検索するように ( #8644 )
...
* Fix #8643
* 部分一致にする
2022-05-14 15:24:44 +09:00
4b872856c2
fix: keep file order ( #8659 )
2022-05-14 15:09:10 +09:00
syuilo
98e42ec6ff
enhance: Display TOTP Register URL
...
Close #7261
Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
tamaina
766559c6e9
feat: Improve Push Notification ( #7667 )
...
* clean up
* ev => data
* refactor
* clean up
* add type
* antenna
* channel
* fix
* add Packed type
* add PackedRef
* fix lint
* add emoji schema
* add reversiGame
* add reversiMatching
* remove signin schema (use Signin entity)
* add schemas refs, fix Packed type
* wip PackedHoge => Packed<'Hoge'>
* add Packed type
* note-reaction
* user
* user-group
* user-list
* note
* app, messaging-message
* notification
* drive-file
* drive-folder
* following
* muting
* blocking
* hashtag
* page
* app (with modifying schema)
* import user?
* channel
* antenna
* clip
* gallery-post
* emoji
* Packed
* reversi-matching
* update stream.ts
* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339
* fix lint
* clean up?
* add app
* fix
* nanka iroiro
* wip
* wip
* fix lint
* fix loginId
* fix
* refactor
* refactor
* remove follow action
* clean up
* Revert "remove follow action"
This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.
* Revert "clean up"
This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.
* remove fetch specification
* renoteの条件追加
* apiFetch => cli
* bypass fetch?
* fix
* refactor: use path alias
* temp: add submodule
* remove submodule
* enhane: unison-reloadに指定したパスに移動できるように
* null
* null
* feat: ログインするアカウントのIDをクエリ文字列で指定する機能
* null
* await?
* rename
* rename
* Update read.ts
* merge
* get-note-summary
* fix
* swパッケージに
* add missing packages
* fix getNoteSummary
* add webpack-cli
* ✌️
* remove plugins
* sw-inject分離したがテストしてない
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix
* ✌️
* clean up config
* typesを戻した
* Update packages/client/src/components/notification.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* disconnect
* oops
* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた
* truncate notification
* Update packages/client/src/ui/_common_/common.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* clean up
* clean up
* キャッシュ対策
* Truncate push notification message
* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正
* components/drive-file-thumbnail.vue
* components/drive-select-dialog.vue
* components/drive-window.vue
* merge
* fix
* Service Workerのビルドにesbuildを使うようにする
* return createEmptyNotification()
* fix
* i18n.ts
* update
* ✌️
* remove ts-loader
* fix
* fix
* enhance: Service Workerを常に登録するように
* pollEnded
* URLをsw.jsに戻す
* clean up
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00
xianon
60620bdb25
fix: アンテナ、クリップ、リストの表示を速くする ( #8518 )
...
* アンテナノートを取得するクエリがタイムアウトしないように速くする
* テーブル名を直接指定しないようにする
* クリップの取得を速くする
* リストの取得を速くする
2022-04-19 22:59:39 +09:00
syuilo
ff8313b48b
refactor
2022-04-17 20:51:59 +09:00
syuilo
02bb36cdc4
refactor: fix type
2022-04-17 20:44:21 +09:00
syuilo
a671f9102d
refactor: fix type
2022-04-17 13:31:45 +09:00
syuilo
1ee757cc5f
refactor: fix type
2022-04-17 13:21:07 +09:00
syuilo
ddd655c0c1
refactor: fix type
2022-04-17 13:14:29 +09:00
syuilo
e0a4864bea
refactor: fix type
2022-04-17 13:01:30 +09:00
syuilo
d39465085c
refactor: fix type
2022-04-17 12:59:41 +09:00
syuilo
9f7cdb4bc7
refactor
2022-04-08 19:01:38 +09:00
syuilo
daa0ca72a7
fix(api): parameter validation of users/show was wrong
2022-04-06 00:04:25 +09:00
syuilo
91f4ec3747
fix types
2022-04-03 16:30:22 +09:00
syuilo
41c2aed7dc
chore: fix lint
2022-04-03 15:33:22 +09:00
c8935b32f8
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949
.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
syuilo
408d54f2eb
fix(api): admin/update-meta was not working
2022-04-03 13:54:22 +09:00
syuilo
c03b70c949
revert 484e023c0
2022-04-02 16:47:53 +09:00
syuilo
8e5f2690f2
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
484e023c0c
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
4e63022a49
fix(server): add missing import
2022-03-29 18:46:59 +09:00
syuilo
475cee9029
perf(server): reduce db query when get notifications
2022-03-26 18:22:55 +09:00
syuilo
1c67c26bd8
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
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
22b56ac65c
refactor
2022-03-25 13:11:52 +09:00
syuilo
d0a346ed8a
refactor: separate meta api for admin or not
2022-03-25 01:50:28 +09:00
255dc6334f
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
26d90cd030
remove HTTPS handling ( #8380 )
2022-03-08 23:23:18 +09:00
syuilo
513c83e374
delete needless instance drive columns
2022-03-07 21:20:14 +09:00
syuilo
e68278f93e
feat: 時限ミュート
...
#7677
2022-03-04 20:23:53 +09:00
syuilo
ba4ef23d6b
feat: instance default theme
2022-03-01 23:58:01 +09:00
syuilo
39d9c613ac
fix
2022-02-27 14:10:31 +09:00
tamaina
e314be5b59
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
d071d18dd7
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
0a882471f3
fix: better language settings
...
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo
4e7fa8216e
プライベートタブでログインし直すと文字数がNaNになる問題を修正
2022-02-20 19:01:06 +09:00
syuilo
92f5027c3c
プロフィールの追加情報を最大16まで保存できるように
...
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
a1c7c1fb49
remove max note text length setting
...
Resolve #8323
2022-02-20 16:07:43 +09:00
tamaina
fcfb5ef0a3
Fix ajv ( #8333 )
...
* wip
* ✌️
* use ajv/dist/core
* revert try
* clean up
2022-02-20 13:15:40 +09:00
tamaina
fd8f8162e1
SchemaTypeの型計算量を削減 ( #8332 )
...
* schema typeの型計算量を削減
* reduce some type error
* wip
* fix
* clean up
* more shrink
2022-02-19 23:21:28 +09:00
syuilo
b6db709e02
refacator: fix typw
2022-02-19 14:53:33 +09:00
syuilo
510de87607
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
debef43111
Delete jobs.ts
2022-02-18 20:30:22 +09:00
syuilo
2de4978a31
fix(server): stats APIで内部エラーが発生する問題を修正
...
Fix #8308
2022-02-12 17:33:29 +09:00
syuilo
88ac0de0e6
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-02-10 22:01:34 +09:00
afb6304979
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
syuilo
0afebcfd9e
enhance: improve federation chart
2022-02-10 17:45:12 +09:00
syuilo
4ae1a65958
feat: インスタンスのテーマカラーを設定できるように
2022-02-09 21:25:48 +09:00
syuilo
7fcd9435f3
feat: introduce intersection calculation of charts
2022-02-09 03:46:58 +09:00
3ff89fa7ec
feat: Option to show replies in timeline (rebase #7685 ) ( #8202 )
...
* Add an option for timeline replies. Credit to Emilis (puffaboo)
* update db on request
2022-02-06 16:02:48 +09:00
syuilo
80fa92fb97
improve chart
2022-02-06 00:43:22 +09:00
syuilo
c1b264e4e9
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
3a04c66ee1
refactor
2022-02-04 02:06:24 +09:00
syuilo
f69867fcff
refactor
2022-02-03 21:09:07 +09:00
syuilo
92c30739f6
refactor
2022-02-03 17:21:52 +09:00
MeiMei
f2b40b51c2
refactor: APIで非JSON入力の型変換はendpointに渡す前に行うように ( #8229 )
...
* Resolve #8228
* fix
2022-01-31 01:40:27 +09:00
syuilo
37a4e5f4fc
refactor(backend): use insert instead of save
2022-01-26 00:51:26 +09:00
MeiMei
7aecf15f94
refactor, enhance: ドライブ引数のオブジェクト化, 追加時のcomment指定 ( #8180 )
...
* refactor: ドライブの引数をオブジェクト化する Resolve #8177
* Resolve #8181
* fix
* archivePath
2022-01-23 22:52:35 +09:00
syuilo
eec7e6500e
enhance: convert svg to png of custom emojis
2022-01-21 18:47:02 +09:00
syuilo
e3a5584d0a
feat: increase files limit for note
...
#8062
2022-01-21 18:27:33 +09:00
cbb7e95d82
enhance: Forward report ( #8001 )
...
* 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>
2022-01-21 03:06:38 +09:00
syuilo
59520c31fd
refactor(server): use named export
2022-01-20 02:43:13 +09:00
tamaina
efb0ffc4ec
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
1f2dab0a83
feat: multiple emojis editing
2022-01-13 00:47:05 +09:00
syuilo
b267a504ca
bye reversi
2022-01-12 17:34:53 +09:00
syuilo
faef125b74
bye room
2022-01-07 17:06:47 +09:00
syuilo
9693b2166a
clean up
2022-01-04 18:01:30 +09:00
syuilo
6be1db00d1
refactor(server): use insert instead of save
2022-01-03 02:20:30 +09:00
syuilo
4a64280a7c
lint
2022-01-03 02:12:50 +09:00
syuilo
bd903cdbb5
feat: カスタム絵文字エクスポート
2021-12-10 18:24:26 +09:00
syuilo
20134a5367
feat: improve follow export
2021-12-10 01:22:35 +09:00
syuilo
c69b72e199
fix lint
2021-12-09 23:58:30 +09:00
romaboo
054417354c
feat: user-level instance mute ( #7712 )
...
* Update ja-JP.yml
* Added settable config for muted instances
* added psql query for removal of muted notes
* Added filtering and trimming for instance mutes
* cleaned up filtering of bad instance mutes and added a refresh at the end for the list on the client
* Added notification & streaming timeline muting
* Updated changelog
* Added missing semicolon
* Apply japanese string suggestions from robflop
Co-authored-by: Robin B. <robflop98@outlook.com>
* Changed Ja-JP instance mute title string to one suggested by sousuke
Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>
* Update ja-JP instanceMuteDescription based on sousuke's suggestion
Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>
* added notification mute
* added notification and note children muting
* Fixed a bug where local notifications were getting filtered on cold start
* Fixed instance mute imports
* Fixed not saving/loading instance mutes
* removed en-US translations for instance mute
* moved instance mute migration to js
* changed settings index back to spaces
* removed destructuring assignment from notification stream in instance mute check call
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* added .note accessor for checking note data instead of notification data
* changed note to use Packed<'Note'> instead of any and removed usage of snake case
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* changed notification mute check to check specifically for notification host
* changed to using single quotes
* moved @click to the end for the linter
* revert unnecessary changes
* restored newlines
* whitespace removal
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Robin B. <robflop98@outlook.com>
Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>
Co-authored-by: puffaboo <emilis@jigglypuff.club>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-12-09 21:38:56 +09:00
syuilo
e617ced1d3
refactoring
...
https: //github.com/misskey-dev/misskey/pull/7901
Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
2021-12-03 11:43:05 +09:00
f33ded3107
feat: Undo Accept ( #7980 )
...
* allow breaking of follow
* send undo
* delete by using reject follow
2021-12-03 11:14:44 +09:00
xianon
335e4bd213
/antennas/notes API で日付による絞り込みができるようにする ( #8015 )
2021-11-28 13:45:17 +09:00
syuilo
8b7f5be878
fix for lint
2021-11-13 19:10:14 +09:00
syuilo
9ea7d75aa4
feat: 通報があったときに管理者へEメールで通知されるように
...
Resolve #7025
2021-11-12 21:11:15 +09:00
syuilo
9b876b30b2
update ms to 3.0.0
2021-11-12 19:47:04 +09:00
syuilo
6496835515
viaMobileフラグ廃止
...
Close #7965
2021-11-12 15:11:20 +09:00
syuilo
b9eaf906e7
fix lint errors
2021-11-12 10:52:10 +09:00
syuilo
0e4a111f81
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00