Commit graph

19958 commits

Author SHA1 Message Date
syuilo
7b21b72c62 improve webhook 2022-04-03 22:36:30 +09:00
syuilo
457286ad2b fix type 2022-04-03 16:40:47 +09:00
syuilo
2dca8fef31 fix type 2022-04-03 16:35:36 +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
syuilo
4555153d68 chore: fix paths 2022-04-03 15:24:29 +09:00
syuilo
1af3842b95 refactor actions 2022-04-03 15:21:46 +09:00
syuilo
7bf6cfa9e2 fix e2e test 2022-04-03 15:14:26 +09:00
syuilo
9d9a21a173 12.109.2 2022-04-03 14:01:12 +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
0f8cc636ff Update CHANGELOG.md 2022-04-03 13:56:44 +09:00
tamaina
85dba1f5f4 fix theme-color apply (#8464) 2022-04-03 13:56:00 +09:00
syuilo
0c6bfe77cd fix(api): admin/update-meta was not working 2022-04-03 13:54:22 +09:00
Andreas Nedbal
37500ae691 Fix: Adjust ESLint calls to properly interpret globs (#8462)
* fix(backend): rename .eslintrc.js to .eslintrc.cjs

* fix(backend): wrap lint path glob in quotation marks

* fix(client): wrap lint path glob in quotation marks

* chore(workflow): make lint workflow use Node 16
2022-04-02 22:52:26 +09:00
syuilo
385d9e6e80 Update CHANGELOG.md 2022-04-02 21:40:49 +09:00
syuilo
50f6868331 12.109.1 2022-04-02 16:56:24 +09:00
syuilo
0aaa91daa2 Update CHANGELOG.md 2022-04-02 16:49:54 +09:00
syuilo
74bbf670dd revert 484e023c0 2022-04-02 16:47:53 +09:00
syuilo
f8270a4a92 12.109.0 2022-04-02 15:33:51 +09:00
syuilo
23053d812d fix syntax error 2022-04-02 15:31:11 +09:00
syuilo
de01eabbe1 New Crowdin updates (#8409)
* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Dutch)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Romanian)

* New translations ja-JP.yml (Romanian)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Slovak)

* New translations ja-JP.yml (Romanian)

* New translations ja-JP.yml (Romanian)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Slovak)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Indonesian)

* New translations ja-JP.yml (Indonesian)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Portuguese)

* New translations ja-JP.yml (Portuguese)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)
2022-04-02 15:29:24 +09:00
syuilo
8b2a0a5773 feat: Webhook (#8457)
* feat: introduce webhook

* wip

* wip

* wip

* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
d359b2c387 Update CHANGELOG.md 2022-04-02 15:26:48 +09:00
Johann150
ec9e0db07a fix(federation): avoid duplicate activity delivery (#8429)
* prefer shared inbox over individual inbox

* no new shared inbox for direct recipes

* fix type error
2022-04-02 15:16:35 +09:00
tamaina
da87171ce7 enhance: タッチパッド・タッチスクリーンでのデッキの操作性を向上 (#8450)
* enhance experience of deck with touchpad

* test: 単純にdeltaYを加算してみる

* clean up

* ios bug fix?

* ✌️

* use overflow-y

* Safari does not supports clip
2022-04-02 15:12:01 +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
2f9d955a82 Update CHANGELOG.md 2022-04-02 12:12:10 +09:00
syuilo
8744c27dfb fix(server): admin/meta is not working
Fix #8455
2022-04-01 19:17:19 +09:00
syuilo
1870d8f72b update deps 2022-04-01 19:13:40 +09:00
syuilo
23aeceb345 fix(server): add missing import 2022-03-29 18:46:59 +09:00
syuilo
462346e436 Update ROADMAP.md 2022-03-28 13:38:05 +09:00
syuilo
02f62e6edc Update CONTRIBUTING.md 2022-03-27 20:11:43 +09:00
syuilo
8f687242c2 Update ROADMAP.md 2022-03-27 19:37:50 +09:00
syuilo
a497374478 Update ROADMAP.md 2022-03-27 19:20:05 +09:00
syuilo
2cf38b8bf7 Create ROADMAP.md 2022-03-27 19:13:20 +09:00
dependabot[bot]
bfbeb5592f chore(deps): bump follow-redirects from 1.14.1 to 1.14.8 (#8313)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:42:22 +09:00
dependabot[bot]
fd8ee51d07 chore(deps): bump follow-redirects in /packages/backend (#8314)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:42:05 +09:00
dependabot[bot]
2cf00e602e Bump ansi-regex from 5.0.0 to 5.0.1 in /packages/client (#8422)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:52 +09:00
dependabot[bot]
dea92a9cdb Bump nanoid from 3.1.20 to 3.3.1 in /packages/client (#8425)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.20 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.20...3.3.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:39 +09:00
dependabot[bot]
1d481c9729 Bump nanoid from 3.1.30 to 3.3.1 in /packages/backend (#8426)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:26 +09:00
dependabot[bot]
95e614e3c7 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#8445)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:33:16 +09:00
dependabot[bot]
7d9d7096e8 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/client (#8446)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:32:57 +09:00
syuilo
9e0a1de9d1 tweak client 2022-03-27 16:28:25 +09:00
syuilo
f0620c294d fix of client 2022-03-27 16:21:09 +09:00
syuilo
aaafb26b56 fix query 2022-03-27 16:16:13 +09:00
syuilo
da96c9d927 update deps 2022-03-27 15:34:34 +09:00
Johann150
5421d6f659 limit federation of reactions on direct notes (#8448) 2022-03-27 13:57:04 +09:00
syuilo
923c203230 refactor 2022-03-27 02:22:31 +09:00
tamaina
56150d66ef fix: Handle decodeURIComponent error (#8411) 2022-03-27 02:21:56 +09:00
syuilo
8f912d25d7 fix null in query 2022-03-26 19:48:22 +09:00