Compare commits
232 Commits
Author | SHA1 | Date | |
---|---|---|---|
938fcb3e5e | |||
3553f3be4e | |||
8c4662e6e5 | |||
e7610b2467 | |||
79e60afd42 | |||
3da93e7bf9 | |||
1700154f00 | |||
68571d8f57 | |||
61461b7f59 | |||
c27c3817a9 | |||
08e1db45a9 | |||
27c373ddf4 | |||
e62d7bc1ba | |||
0d680b060e | |||
0f054aed88 | |||
b4308ecb91 | |||
e68ff28649 | |||
cb946772b4 | |||
f169585a55 | |||
e5fbc68e0e | |||
f32cad2667 | |||
503f23ad3b | |||
481b46ac9e | |||
9c34ef7d74 | |||
18fbaee9df | |||
94b59e8b6f | |||
e9c5cd543e | |||
5e1d17dff2 | |||
526838c77c | |||
ef6b370d0e | |||
38896205c8 | |||
7221684337 | |||
99e936bf2b | |||
138fee9b52 | |||
a19c1535e8 | |||
05ba1d0fd4 | |||
c2b3436770 | |||
a0fd3aef98 | |||
b112341d91 | |||
0dba5607a8 | |||
7378c4a9d8 | |||
89e7ef36dc | |||
39ed02bc53 | |||
449dc17df8 | |||
5cb3d86a1b | |||
a3687dd653 | |||
fbc5b8ceb7 | |||
4c545fbba5 | |||
7fda726bbe | |||
e404e5e2de | |||
930127348a | |||
3db37e1d52 | |||
b9c4a582ac | |||
a085d9fbd7 | |||
7f2356ba4b | |||
7a7f668879 | |||
69a05aa5de | |||
c0c64a2d5d | |||
3c3b4eb2af | |||
1019e0bcfd | |||
faf2c007aa | |||
43678ac801 | |||
f22d5aa46d | |||
d599c1e740 | |||
0cc4519fc0 | |||
0265c85ba3 | |||
7ec0670748 | |||
d06517265f | |||
a88e486468 | |||
c22ff4c556 | |||
d4c4e30fe4 | |||
1ec3338d2e | |||
bffcfd92da | |||
f44517f4af | |||
5087a5af21 | |||
3a6331693a | |||
56a28923ca | |||
fb8ed718ce | |||
45e5d89353 | |||
d3fe02fb3e | |||
7d2126e2b2 | |||
1f4ae2f63a | |||
b378066ebf | |||
2210d1053a | |||
bb6cd258f3 | |||
b5adb02eb8 | |||
8b702bcfa0 | |||
3e11011229 | |||
e5ba475147 | |||
3cd537ecf2 | |||
d7c7bc5d8e | |||
9191b9e736 | |||
ce340aba7a | |||
62cc14c93b | |||
a284e8c5eb | |||
834c6df9eb | |||
c74fe3c6e2 | |||
ca542f8677 | |||
d6e23b803b | |||
8b327fbc82 | |||
8432c2c9ea | |||
94fd5485b6 | |||
cd4680b422 | |||
7e4a800352 | |||
00bc097abb | |||
5c3a56b283 | |||
48ea805999 | |||
6b753b05d6 | |||
52d577c7dd | |||
cf757ed01e | |||
82dd88821c | |||
0e3e90f94f | |||
7c3086e9d9 | |||
202e943d55 | |||
36bcaaff55 | |||
967fae142b | |||
8f41dfec2e | |||
1f0abef084 | |||
0e6fbdfa5b | |||
e881e1bfb3 | |||
9e6cdd6106 | |||
d1efe1d208 | |||
2f2a8e537d | |||
82de8b7c50 | |||
fb194b855b | |||
a4a9b8707d | |||
c4c20bee7c | |||
41b491fa7c | |||
667d58bad4 | |||
630464f38d | |||
8050352ad8 | |||
b6d0d4eb99 | |||
70b129cc42 | |||
c52b504140 | |||
e987a50e9f | |||
d7e7848c92 | |||
9bb6dc52b8 | |||
73df95c42d | |||
f27e4033a6 | |||
e523e54881 | |||
606e5c0878 | |||
4b13431a19 | |||
87c8f9ff95 | |||
5e61c60f85 | |||
fbc9d5ecba | |||
d381d31e5e | |||
65e7204ec9 | |||
0b5e3a93a5 | |||
23d743bcae | |||
3e1596d5fb | |||
8a04fc3336 | |||
bffdfea58a | |||
449ea4b669 | |||
e632806349 | |||
9cc8b3656a | |||
a3fff800d2 | |||
48d767918f | |||
4f249159d3 | |||
0d19c2d42e | |||
e53a40658d | |||
0389e2c891 | |||
8aa089178a | |||
d3c8368b0c | |||
ca4f026533 | |||
7d02b36092 | |||
9e634360fa | |||
9cf811b048 | |||
b0d38446d7 | |||
dfe10ac61f | |||
f41c851108 | |||
522dbb1e13 | |||
bc4315da1e | |||
1a841b101e | |||
cbcf3b7599 | |||
4c4b3b8a8a | |||
c562d09479 | |||
ee7bef3395 | |||
80fa5c2e36 | |||
7212027937 | |||
16b5e121cd | |||
a87930542a | |||
e9ba81149d | |||
7ea207df5d | |||
aaa40e34c3 | |||
9b010074e1 | |||
0359db23d9 | |||
320f5fedfb | |||
3e2d2e5f6b | |||
b8d9dd15ac | |||
936fcfb1c7 | |||
fb60ffd319 | |||
8c9f8de6d2 | |||
18693fb380 | |||
cf9242053d | |||
47ee005457 | |||
5b965349a5 | |||
f7e9725e59 | |||
17dc50c242 | |||
deda2b2782 | |||
344e13ebcb | |||
a07d753da8 | |||
3003100443 | |||
bca4e5f0fa | |||
9b61306f59 | |||
b66e0b3ac5 | |||
4a9e9b4eea | |||
fc98552fdc | |||
4911a394a6 | |||
acc7a7e626 | |||
eaa6b35778 | |||
6059fb2aa6 | |||
dc3329bae2 | |||
41f4c247bc | |||
a3f75fe3f4 | |||
bf876f83df | |||
b3088facf4 | |||
44167ab84c | |||
eb745d2aa0 | |||
54bcb80b44 | |||
f871cf1053 | |||
8a484a623c | |||
1cb984ba79 | |||
4708b15c32 | |||
93c8ec631f | |||
a4ddd18f12 | |||
e4012e12f9 | |||
7427b4c839 | |||
c7c030bda6 | |||
64ebd808ef | |||
59028c234c | |||
a8c4058bdf | |||
87d17ccbfb |
@ -1,3 +0,0 @@
|
|||||||
.[]
|
|
||||||
.head
|
|
||||||
.label
|
|
@ -1,2 +0,0 @@
|
|||||||
.links
|
|
||||||
.next
|
|
@ -1,39 +0,0 @@
|
|||||||
(
|
|
||||||
.data |
|
|
||||||
map(
|
|
||||||
select(
|
|
||||||
.relationships
|
|
||||||
.currently_entitled_tiers
|
|
||||||
.data[]
|
|
||||||
)
|
|
||||||
) |
|
|
||||||
map(
|
|
||||||
.relationships
|
|
||||||
.user
|
|
||||||
.data
|
|
||||||
.id
|
|
||||||
)
|
|
||||||
) as $data |
|
|
||||||
.included |
|
|
||||||
map(
|
|
||||||
select(
|
|
||||||
.id as $id |
|
|
||||||
$data |
|
|
||||||
contains(
|
|
||||||
[
|
|
||||||
$id
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
) |
|
|
||||||
map(
|
|
||||||
.attributes |
|
|
||||||
[
|
|
||||||
.full_name,
|
|
||||||
.thumb_url,
|
|
||||||
.url
|
|
||||||
] |
|
|
||||||
@tsv
|
|
||||||
) |
|
|
||||||
.[] |
|
|
||||||
@text
|
|
@ -1,87 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# __MISSKEY_BEARER_TOKEN=
|
|
||||||
# __MISSKEY_CAMPAIGN_ID=
|
|
||||||
# __MISSKEY_GITHUB_TOKEN=
|
|
||||||
# __MISSKEY_HEAD=syuilo:patch-autogen
|
|
||||||
# __MISSKEY_REPO=syuilo/misskey
|
|
||||||
# __MISSKEY_BRANCH=develop
|
|
||||||
test "$(curl -LSs -w '\n' -- "https://api.github.com/repos/$REPO/pulls?access_token=$__MISSKEY_GITHUB_TOKEN" | jq -r -f check_pr.jq | grep $__MISSKEY_HEAD)" && exit 1
|
|
||||||
cd "$(dirname $0)/.." && \
|
|
||||||
touch null.cache && \
|
|
||||||
rm *.cache && \
|
|
||||||
git checkout $__MISSKEY_BRANCH && \
|
|
||||||
git pull origin $__MISSKEY_BRANCH && \
|
|
||||||
git pull upstream $__MISSKEY_BRANCH && \
|
|
||||||
git stash && \
|
|
||||||
git rebase -f upstream/$__MISSKEY_BRANCH && \
|
|
||||||
git branch patch-autogen && \
|
|
||||||
git checkout patch-autogen && \
|
|
||||||
git reset --hard HEAD || \
|
|
||||||
exit 1
|
|
||||||
touch patreon.md.cache && \
|
|
||||||
rm patreon.md.cache && \
|
|
||||||
echo '<!-- PATREON_START -->' > patreon.md.cache && \
|
|
||||||
url="https://www.patreon.com/api/oauth2/v2/campaigns/$__MISSKEY_CAMPAIGN_ID/members?include=currently_entitled_tiers,user&fields%5Btier%5D=title&fields%5Buser%5D=full_name,thumb_url,url,hide_pledges"
|
|
||||||
while :
|
|
||||||
do
|
|
||||||
touch patreon.raw.cache && \
|
|
||||||
rm patreon.raw.cache && \
|
|
||||||
curl -LSs -w '\n' -H "Authorization: Bearer $__MISSKEY_BEARER_TOKEN" -- $url > patreon.raw.cache && \
|
|
||||||
touch patreon.cache && \
|
|
||||||
rm patreon.cache && \
|
|
||||||
cat patreon.raw.cache | \
|
|
||||||
jq -r -f patreon.jq >> patreon.cache && \
|
|
||||||
echo '<table><tr>' >> patreon.md.cache && \
|
|
||||||
cat patreon.cache | \
|
|
||||||
awk -F'\t' '{print $2,$1}' | \
|
|
||||||
sed -e 's/ /\\" alt=\\"/' | \
|
|
||||||
xargs -I% echo '<td><img src="%" width="100"></td>' >> patreon.md.cache && \
|
|
||||||
echo '</tr><tr>' >> patreon.md.cache && \
|
|
||||||
cat patreon.cache | \
|
|
||||||
awk -F'\t' '{print $3,$1}' | \
|
|
||||||
sed -e 's/ /\\">/' | \
|
|
||||||
xargs -I% echo '<td><a href="%</a></td>' >> patreon.md.cache && \
|
|
||||||
echo '</tr></table>' >> patreon.md.cache || \
|
|
||||||
exit 1
|
|
||||||
new_url="$(cat patreon.raw.cache | jq -r -f next_url.jq)"
|
|
||||||
test "$new_url" = 'null' && \
|
|
||||||
break || \
|
|
||||||
URL="$url"
|
|
||||||
done
|
|
||||||
ignore= && \
|
|
||||||
echo -e "\n**Last updated:** $(date -uR | sed 's/\+0000/UTC/')\n<!-- PATREON_END -->" >> patreon.md.cache && \
|
|
||||||
touch README.md && \
|
|
||||||
touch .autogen/README.md && \
|
|
||||||
rm .autogen/README.md && \
|
|
||||||
mv README.md .autogen/README.md && \
|
|
||||||
cat .autogen/README.md | while IFS= read line;
|
|
||||||
do
|
|
||||||
if [[ -z "$ignore" ]]
|
|
||||||
then
|
|
||||||
if [[ "$line" = '<!-- PATREON_START -->' ]]
|
|
||||||
then
|
|
||||||
ignore='PATREON_INSIDE'
|
|
||||||
else
|
|
||||||
echo "$line" >> README.md
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [[ "$LINE" = '<!-- PATREON_END -->' ]]
|
|
||||||
then
|
|
||||||
ignore=
|
|
||||||
cat patreon.md.cache >> README.md
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
cat patreon.md.cache
|
|
||||||
touch null.cache && \
|
|
||||||
rm *.cache && \
|
|
||||||
diff .autogen/README.md README.md > diff.cache
|
|
||||||
cat diff.cache && \
|
|
||||||
test 4 -lt $(cat diff.cache | wc -l) && \
|
|
||||||
git add README.md && \
|
|
||||||
git commit -m 'Update README.md [AUTOGEN]' && \
|
|
||||||
git push -f origin patch-autogen && \
|
|
||||||
curl -LSs -w '\n' -X POST -d '{"title":"[AUTOMATED] Update README.md","body":"*This pull request was created by a tool.*","head":"'$__MISSKEY_HEAD'","base":"'$__MISSKEY_BRANCH'"}' -- "https://api.github.com/repos/$__MISSKEY_REPO/pulls?access_token=$__MISSKEY_GITHUB_TOKEN"
|
|
||||||
git stash
|
|
||||||
git checkout $__MISSKEY_BRANCH
|
|
||||||
git branch -D patch-autogen
|
|
20
.eslintrc
@ -3,29 +3,11 @@
|
|||||||
"parser": "@typescript-eslint/parser"
|
"parser": "@typescript-eslint/parser"
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"eslint:recommended",
|
"eslint:recommended"
|
||||||
"plugin:vue/recommended"
|
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"vue/require-v-for-key": 0,
|
|
||||||
"vue/max-attributes-per-line": 0,
|
|
||||||
"vue/html-indent": 0,
|
|
||||||
"vue/html-self-closing": 0,
|
|
||||||
"vue/no-unused-vars": 0,
|
|
||||||
"vue/attributes-order": 0,
|
|
||||||
"vue/require-prop-types": 0,
|
|
||||||
"vue/require-default-prop": 0,
|
|
||||||
"vue/html-closing-bracket-spacing": 0,
|
|
||||||
"vue/singleline-html-element-content-newline": 0,
|
|
||||||
"vue/no-v-html": 0,
|
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"no-unused-vars": 0,
|
"no-unused-vars": 0,
|
||||||
"no-empty": 0
|
"no-empty": 0
|
||||||
},
|
|
||||||
"globals": {
|
|
||||||
"ENV": true,
|
|
||||||
"VERSION": true,
|
|
||||||
"API": true,
|
|
||||||
"LANGS": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5
.github/ISSUE_TEMPLATE/01_bug-report.md
vendored
@ -7,6 +7,11 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Thanks for reporting!
|
||||||
|
First, in order to avoid duplicate Issues, please search to see if the problem you found has already been reported.
|
||||||
|
-->
|
||||||
|
|
||||||
## 💡 Summary
|
## 💡 Summary
|
||||||
|
|
||||||
<!-- Tell us what the bug is -->
|
<!-- Tell us what the bug is -->
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extension": ["ts","js","cjs","mjs"],
|
"extension": ["ts","js","cjs","mjs"],
|
||||||
"require": "ts-node/register",
|
"require": ["ts-node/register", "tsconfig-paths/register"],
|
||||||
"slow": 1000,
|
"slow": 1000,
|
||||||
"timeout": 30000,
|
"timeout": 30000,
|
||||||
"exit": true
|
"exit": true
|
||||||
|
@ -1 +1 @@
|
|||||||
v14.15.4
|
v14.15.5
|
||||||
|
1
CHANGELOG.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
see [releases](https://github.com/misskey-dev/misskey/releases)
|
@ -8,7 +8,7 @@
|
|||||||
- 温度感高めで見てほしいものは責付いてください。
|
- 温度感高めで見てほしいものは責付いてください。
|
||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
Feature suggestions and bug reports are filed in https://github.com/syuilo/misskey/issues .
|
Feature suggestions and bug reports are filed in https://github.com/misskey-dev/misskey/issues .
|
||||||
|
|
||||||
* Please search existing issues to avoid duplication. If your issue is already filed, please add your reaction or comment to the existing one.
|
* Please search existing issues to avoid duplication. If your issue is already filed, please add your reaction or comment to the existing one.
|
||||||
* If you have multiple independent issues, please submit them separately.
|
* If you have multiple independent issues, please submit them separately.
|
||||||
|
16
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM node:14.15.4-alpine AS base
|
FROM node:14.15.5-alpine3.13 AS base
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
@ -10,7 +10,6 @@ RUN apk add --no-cache \
|
|||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
file \
|
file \
|
||||||
git \
|
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
@ -18,10 +17,12 @@ RUN apk add --no-cache \
|
|||||||
make \
|
make \
|
||||||
nasm \
|
nasm \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
python \
|
python3 \
|
||||||
zlib-dev
|
zlib-dev \
|
||||||
|
vips-dev \
|
||||||
|
vips
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock .yarnrc ./
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
@ -30,8 +31,9 @@ FROM base AS runner
|
|||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
tini
|
tini \
|
||||||
RUN npm i -g web-push
|
vips
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
|
||||||
COPY --from=builder /misskey/node_modules ./node_modules
|
COPY --from=builder /misskey/node_modules ./node_modules
|
||||||
|
11
README.md
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://circleci.com/gh/syuilo/misskey)
|
[](https://circleci.com/gh/misskey-dev/misskey)
|
||||||
[](https://david-dm.org/syuilo/misskey)
|
[](https://david-dm.org/misskey-dev/misskey)
|
||||||
[](http://makeapullrequest.com)
|
[](http://makeapullrequest.com)
|
||||||
[](https://github.com/humanetech-community/awesome-humane-tech)
|
[](https://github.com/humanetech-community/awesome-humane-tech)
|
||||||
|
|
||||||
@ -22,11 +22,16 @@ Why don't you take a short break from the hustle and bustle of the city, and div
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Do you have a question? Or are you experiencing trouble?
|
||||||
|
Visit [our forum](https://forum.misskey.io/)!
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
:sparkles: Features
|
:sparkles: Features
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
<a href="https://xn--931a.moe/"><img src="https://github.com/syuilo/misskey/blob/develop/assets/ai-orig.png?raw=true" align="right" height="320px"/></a>
|
<a href="https://xn--931a.moe/"><img src="https://github.com/misskey-dev/misskey/blob/develop/assets/ai-orig.png?raw=true" align="right" height="320px"/></a>
|
||||||
|
|
||||||
<h3>Posting</h3>
|
<h3>Posting</h3>
|
||||||
<p>
|
<p>
|
||||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 441 B |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 441 B |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |