Commit graph

21073 commits

Author SHA1 Message Date
syuilo
b778ef7949 chore(dev): update okteto workflow 2022-06-09 01:48:00 +09:00
syuilo
57152df5d6 Update pr-preview-deploy.yml 2022-06-09 01:43:35 +09:00
syuilo
c26570abff chore(dev): update okteto workflow 2022-06-09 01:35:57 +09:00
Takuya Yoshida
362120c608 ok-to-test with okteto (#8799) 2022-06-09 00:50:23 +09:00
syuilo
90bdf4aa85 Update CONTRIBUTING.md 2022-06-08 22:23:43 +09:00
Johann150
3f88351ca0 fix: try to prevent autocomplete for emoji search (#8798) 2022-06-08 20:20:37 +09:00
Johann150
2461d16d12 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
syuilo
6aac70faf0 Update .node-version 2022-06-06 21:01:00 +09:00
syuilo
6ba668f934 fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
syuilo
e8fdd35808 Update .mocharc.json 2022-06-05 19:46:52 +09:00
syuilo
3e465b488d chore: lint fixes 2022-06-05 12:26:36 +09:00
syuilo
6123d60f9e chore(client): fix menu item style 2022-06-05 12:23:57 +09:00
tamaina
1beefab8ea fix lockfile 2022-06-04 23:51:59 +09:00
tamaina
127394a019 revival gulp build
66ab7591bf (r885899944)
2022-06-04 23:51:16 +09:00
tamaina
bc6d60bf5c Update .gitignore
Co-authored-by: iwata <ishowta@gmail.com>
2022-06-04 23:48:39 +09:00
tamaina
9e826c6afa enable actions/setup-node's global cache 2022-06-04 23:48:07 +09:00
tamaina
0d4b9f07f3 https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892 2022-06-04 23:34:23 +09:00
tamaina
9f9d28eda5 yarn install --immutable
Co-authored-by: ishowta <ishowta@gmail.com>
2022-06-04 23:33:36 +09:00
tamaina
89c079b400 remove yarn set version berry 2022-06-04 23:31:51 +09:00
tamaina
8989e09c5f ✌️ 2022-06-04 23:00:55 +09:00
tamaina
2f1e99169e add packageExtensions 2022-06-04 22:41:27 +09:00
tamaina
87b6d5ea39 fix 2022-06-04 08:44:36 +00:00
tamaina
cee971c1b1 fix 2022-06-04 08:36:50 +00:00
tamaina
2665322b23 Merge branch 'develop' into pr/ThatOneCalculator/8764 2022-06-04 08:34:56 +00:00
syuilo
3f4101d17b use node 16 2022-06-04 17:26:56 +09:00
tamaina
ac4d6e1ac2 fix http-signature 2022-06-04 08:26:36 +00:00
syuilo
c9cd88a9db update summaly 2022-06-04 17:24:41 +09:00
tamaina
7d1cb31d13 fix 2022-06-04 08:09:38 +00:00
tamaina
f595c068f9 yarn node => node
依存関係の記載不足の解消がかなり多いため、yarn nodeは使わない
2022-06-04 08:07:27 +00:00
tamaina
13d924b804 wip 2022-06-04 08:01:02 +00:00
syuilo
e8dea6c79b Update CHANGELOG.md 2022-06-04 16:04:59 +09:00
syuilo
552f488a25 Update CONTRIBUTING.md 2022-06-04 16:01:27 +09:00
syuilo
db96a8dd83 Update CONTRIBUTING.md 2022-06-04 16:01:11 +09:00
syuilo
14a0143767 Update CHANGELOG.md 2022-06-04 15:47:10 +09:00
syuilo
b262e19742 Revert "feat: option to collapse long notes (#8561)"
This reverts commit e675ffcf38b07f5c70d00b49c171c7ab3460e810.
2022-06-04 15:23:53 +09:00
syuilo
3661d1bc33 fix bug 2022-06-04 15:15:44 +09:00
syuilo
4bf3ed6c1e fix test 2022-06-04 14:25:30 +09:00
Balazs Nadasdi
170ea0f6c2 feat: option to collapse long notes (#8561)
* feat: option to collapse long notes

Closes #8559

* do not collapse if cw exists

* use '閉じる' to close / show less.

* make it sticky

* Change style of the Show less button
2022-06-04 13:57:09 +09:00
Johann150
102012aa9d fix: add id for activitypub follows (#8689)
* add id for activitypub follows

* fix lint

* fix: follower must be local, followee must be remote

Misskey will only use ActivityPub follow requests for users that are local
and are requesting to follow a remote user. This check is to ensure that
this endpoint can not be used by other services or instances.

* fix: missing import

* render block with id

* fix comment
2022-06-04 13:52:42 +09:00
Johann150
86c04c4489 fix: ensure resolver does not fetch local resources via HTTP(S) (#8733)
* refactor: parseUri types and checks

The type has been refined to better represent what it actually is. Uses of
parseUri are now also checking the parsed object type before resolving.

* cannot resolve URLs with fragments

* also take remaining part of URL into account

Needed for parsing the follows URIs.

* Resolver uses DbResolver for local

* remove unnecessary use of DbResolver

Using DbResolver would mean that the URL is parsed and handled again.
This duplicated processing can be avoided by querying the database directly.

* fix missing property name
2022-06-04 11:29:20 +09:00
Johann150
336eea9d93 fix: correctly render empty note text (#8746)
Ensure that the _misskey_content attribute will always exist. Because
the API endpoint does not require the existence of the `text` field,
that field may be `undefined`. By using `?? null` it can be ensured
that the value is at least `null`.

Furthermore, the rendered HTML of a note with empty text will also be
the empty string. From git blame it seems that this behaviour was added
because of a Mastodon bug that might have previously existed. Hoever,
this seems to be no longer the case as I can find mastodon posts that
have empty content.

The code could be made a bit more succinct by using the null coercion
operator.
2022-06-03 23:18:44 +09:00
PikaDude
186cac05a2 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
syuilo
e0fb88f9fe Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-03 23:08:18 +09:00
syuilo
dbab6abde4 fix(test): reset redis in e2e test
#7986
2022-06-03 23:08:15 +09:00
tamaina
064c81bcfe npm run => yarn 2022-06-03 22:39:07 +09:00
tamaina
a31de36d63 add packageExtensions for chartjs_date-fns
Co-authored-by: acid-chicken <root@acid-chicken.com>
2022-06-03 22:06:36 +09:00
sn0w
42e436459c fix(client): correctly handle MiAuth URLs with query string (#8772) 2022-06-03 21:22:03 +09:00
tamaina
aecd48f59b add @rollup/pluginutils 2022-06-03 07:47:23 +00:00
tamaina
74e0d2a0f5 Fix yarn.lock
Co-authored-by: ishowta <ishowta@gmail.com>
2022-06-02 22:37:19 +09:00
tamaina
8462fb2933 continue-on-error: true 2022-06-02 10:51:29 +00:00