summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-07-09 17:03:38 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-09 17:03:38 +0900
commit41d041f70197107ac0711fc04c737eb4542cca1c (patch)
treead37bf153ecfe299f8e558046c1c928a5ac84404
parentMerge branch 'develop' (diff)
parent11.25.1 (diff)
downloadmisskey-41d041f70197107ac0711fc04c737eb4542cca1c.tar.gz
misskey-41d041f70197107ac0711fc04c737eb4542cca1c.tar.bz2
misskey-41d041f70197107ac0711fc04c737eb4542cca1c.zip
Merge branch 'develop'
-rw-r--r--CHANGELOG.md16
-rw-r--r--docs/setup.en.md2
-rw-r--r--docs/setup.fr.md2
-rw-r--r--docs/setup.ja.md2
-rw-r--r--locales/en-US.yml3
-rw-r--r--locales/ko-KR.yml6
-rw-r--r--package.json2
-rw-r--r--src/client/app/common/views/components/google.vue1
-rw-r--r--src/client/app/common/views/components/page/page.vue6
-rw-r--r--src/client/app/desktop/views/components/drive.vue31
-rw-r--r--src/client/app/desktop/views/components/ui.header.account.vue1
-rw-r--r--src/client/app/init.css2
-rw-r--r--src/client/app/reset.styl2
-rw-r--r--src/client/style.styl2
-rw-r--r--src/init.ts11
-rw-r--r--src/server/api/endpoints/page-push.ts3
-rw-r--r--src/server/web/views/info.pug2
17 files changed, 29 insertions, 65 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 732475db37..951a0fd94f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,17 +5,11 @@ If you encounter any problems with updating, please try the following:
1. `npm run clean` or `npm run cleanall`
2. Retry update (Don't forget `npm i`)
-Migration
-------------------------------
-#### 1
-```
-npm i -g ts-node
-```
-
-#### 2
-```
-npm run migrate
-```
+11.25.1 (2019/07/09)
+--------------------
+### ๐Ÿ›Fixes
+* ใƒšใƒผใ‚ธใ‚คใƒ™ใƒณใƒˆใŒๆญฃใ—ใใ‚นใƒˆใƒชใƒผใƒ ใซๆตใ‚Œใฆใ“ใชใ„ๅ•้กŒใ‚’ไฟฎๆญฃ
+* ใƒ•ใ‚ฉใƒณใƒˆใฎ่ชฟๆ•ด
11.25.0 (2019/07/08)
--------------------
diff --git a/docs/setup.en.md b/docs/setup.en.md
index b38ef64a02..3020380037 100644
--- a/docs/setup.en.md
+++ b/docs/setup.en.md
@@ -132,7 +132,7 @@ You can check if the service is running with `systemctl status misskey`.
2. `git pull`
3. `npm install`
4. `NODE_ENV=production npm run build`
-5. Check [ChangeLog](../CHANGELOG.md) for migration information
+5. `npm run migrate`
6. Restart your Misskey process to apply changes
7. Enjoy
diff --git a/docs/setup.fr.md b/docs/setup.fr.md
index 7ab88a6cde..09ab305b43 100644
--- a/docs/setup.fr.md
+++ b/docs/setup.fr.md
@@ -126,7 +126,7 @@ Vous pouvez vรฉrifier si le service a dรฉmarrรฉ en utilisant la commande `system
2. `git pull`
3. `npm install`
4. `NODE_ENV=production npm run build`
-5. Consultez [ChangeLog](../CHANGELOG.md) pour les information de migration.
+5. `npm run migrate`
----------------------------------------------------------------
diff --git a/docs/setup.ja.md b/docs/setup.ja.md
index fcbef2af13..e8a11de69b 100644
--- a/docs/setup.ja.md
+++ b/docs/setup.ja.md
@@ -133,7 +133,7 @@ npm run init
2. `git pull`
3. `npm install`
4. `NODE_ENV=production npm run build`
-5. [ChangeLog](../CHANGELOG.md)ใงใƒžใ‚คใ‚ฐใƒฌใƒผใ‚ทใƒงใƒณๆƒ…ๅ ฑใ‚’็ขบ่ชใ™ใ‚‹
+5. `npm run migrate`
ใชใซใ‹ๅ•้กŒใŒ็™บ็”Ÿใ—ใŸๅ ดๅˆใฏใ€`npm run clean`ใพใŸใฏ`npm run cleanall`ใ™ใ‚‹ใจ็›ดใ‚‹ๅ ดๅˆใŒใ‚ใ‚Šใพใ™ใ€‚
diff --git a/locales/en-US.yml b/locales/en-US.yml
index 0be3c1b293..c53700b4e5 100644
--- a/locales/en-US.yml
+++ b/locales/en-US.yml
@@ -191,7 +191,10 @@ common:
web-search-engine: "Web search engine"
web-search-engine-desc: "Example: https://www.google.com/?#q={{query}}"
paste: "Paste"
+ pasted-file-name: "Template for pasted file name"
+ pasted-file-name-desc: "Example: \"yyyy-MM-dd HH-mm-ss [{{number}}]\" โ†’ \"2018-03-20 21-30-24 1\""
paste-dialog: "Edit the pasted file name"
+ paste-dialog-desc: "Display a dialog to edit the file name when you paste a file."
keep-cw: "Preserve content warning"
keep-cw-desc: "When replying to a post, the same content warning is set by default to the reply, as has been set by the original post."
i-like-sushi: "I prefer sushi rather than pudding"
diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml
index a24ee94200..17f0009bbe 100644
--- a/locales/ko-KR.yml
+++ b/locales/ko-KR.yml
@@ -123,6 +123,7 @@ common:
add-visible-user: "์‚ฌ์šฉ์ž ์ถ”๊ฐ€"
cw-placeholder: "๋‚ด์šฉ์— ๋Œ€ํ•œ ์ฃผ์„ (์˜ต์…˜)"
username-prompt: "์‚ฌ์šฉ์ž๋ช…์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”"
+ enter-file-name: "ํŒŒ์ผ ์ด๋ฆ„ ์ˆ˜์ •"
weekday-short:
sunday: "์ผ"
monday: "์›”"
@@ -189,6 +190,11 @@ common:
remember-note-visibility: "๊ธ€์˜ ๊ณต๊ฐœ ๋ฒ”์œ„๋ฅผ ๊ธฐ์–ตํ•˜๊ธฐ"
web-search-engine: "์›น ๊ฒ€์ƒ‰์—”์ง„"
web-search-engine-desc: "์˜ˆ: https://www.google.com/?#q={{query}}"
+ paste: "๋ถ™์—ฌ๋„ฃ๊ธฐ"
+ pasted-file-name: "๋ถ™์—ฌ๋„ฃ์€ ํŒŒ์ผ์˜ ์ด๋ฆ„ ํ…œํ”Œ๋ฆฟ"
+ pasted-file-name-desc: "์˜ˆ์‹œ: \"yyyy-MM-dd HH-mm-ss [{{number}}]\" โ†’ \"2018-03-20 21-30-24 1\""
+ paste-dialog: "๋ถ™์—ฌ๋„ฃ๊ธฐ ์‹œ ํŒŒ์ผ ์ด๋ฆ„์„ ํŽธ์ง‘"
+ paste-dialog-desc: "๋ถ™์—ฌ๋„ฃ๊ธฐ ์‹œ ํŒŒ์ผ ์ด๋ฆ„์„ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋Œ€ํ™” ์ƒ์ž๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค."
keep-cw: "CW ์œ ์ง€"
keep-cw-desc: "๊ธ€์— ๋‹ต๊ธ€์„ ๋‹ฌ ๋•Œ, ๋‹ต๊ธ€ํ•  ๊ธ€์— CW๊ฐ€ ์„ค์ •๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ๋™์ผํ•œ CW๋ฅผ ์„ค์ •ํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค."
i-like-sushi: "์ €๋Š” (ํ‘ธ๋”ฉ๋ณด๋‹ค ์ฐจ๋ผ๋ฆฌ) ์ดˆ๋ฐฅ์ด ์ข‹์•„์š”"
diff --git a/package.json b/package.json
index 3a0a73990f..f08364f2bf 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
- "version": "11.25.0",
+ "version": "11.25.1",
"codename": "daybreak",
"repository": {
"type": "git",
diff --git a/src/client/app/common/views/components/google.vue b/src/client/app/common/views/components/google.vue
index dab2e6824a..1e88147399 100644
--- a/src/client/app/common/views/components/google.vue
+++ b/src/client/app/common/views/components/google.vue
@@ -41,7 +41,6 @@ export default Vue.extend({
padding 10px
width 100%
height 40px
- font-family sans-serif
font-size 16px
color var(--googleSearchFg)
background var(--googleSearchBg)
diff --git a/src/client/app/common/views/components/page/page.vue b/src/client/app/common/views/components/page/page.vue
index 99e627fd89..1bfb93780f 100644
--- a/src/client/app/common/views/components/page/page.vue
+++ b/src/client/app/common/views/components/page/page.vue
@@ -1,5 +1,5 @@
<template>
-<div class="iroscrza" :class="{ shadow: $store.state.device.useShadow, round: $store.state.device.roundedCorners, center: page.alignCenter }" :style="{ fontFamily: page.font }">
+<div class="iroscrza" :class="{ shadow: $store.state.device.useShadow, round: $store.state.device.roundedCorners, center: page.alignCenter, serif: page.font === 'serif' }">
<header v-if="showTitle">
<div class="title">{{ page.title }}</div>
</header>
@@ -150,6 +150,10 @@ export default Vue.extend({
.iroscrza
overflow hidden
background var(--face)
+
+ &.serif
+ > div
+ font-family serif
&.center
text-align center
diff --git a/src/client/app/desktop/views/components/drive.vue b/src/client/app/desktop/views/components/drive.vue
index 2eb9581359..a78c0040c3 100644
--- a/src/client/app/desktop/views/components/drive.vue
+++ b/src/client/app/desktop/views/components/drive.vue
@@ -10,10 +10,6 @@
<span class="separator" v-if="folder != null"><fa icon="angle-right"/></span>
<span class="folder current" v-if="folder != null">{{ folder.name }}</span>
</div>
- <!--
- TODO: #343
- <input class="search" type="search" placeholder="&#xf002; %i18n:@search%"/>
- -->
</nav>
<div class="main" :class="{ uploading: uploadings.length > 0, fetching }"
ref="main"
@@ -647,33 +643,6 @@ export default Vue.extend({
> [data-icon]
margin 0
- > .search
- display inline-block
- vertical-align bottom
- user-select text
- cursor auto
- margin 0
- padding 0 18px
- width 200px
- font-size 1em
- line-height 38px
- background transparent
- outline none
- //border solid 1px #ddd
- border none
- border-radius 0
- box-shadow none
- transition color 0.5s ease, border 0.5s ease
- font-family FontAwesome, sans-serif
-
- &[data-active='true']
- background #fff
-
- &::-webkit-input-placeholder,
- &:-ms-input-placeholder,
- &:-moz-placeholder
- color $ui-control-foreground-color
-
> .main
padding 8px
height calc(100% - 38px)
diff --git a/src/client/app/desktop/views/components/ui.header.account.vue b/src/client/app/desktop/views/components/ui.header.account.vue
index c00c6b9c64..5d7ed8c302 100644
--- a/src/client/app/desktop/views/components/ui.header.account.vue
+++ b/src/client/app/desktop/views/components/ui.header.account.vue
@@ -197,7 +197,6 @@ export default Vue.extend({
max-width 16em
line-height 48px
font-weight bold
- font-family Meiryo, sans-serif
text-decoration none
@media (max-width 1100px)
diff --git a/src/client/app/init.css b/src/client/app/init.css
index cd86b654c3..db5e23c56d 100644
--- a/src/client/app/init.css
+++ b/src/client/app/init.css
@@ -5,7 +5,7 @@
*/
html {
- font-family: sans-serif;
+ font-family: Roboto, HelveticaNeue, Arial, sans-serif;
}
body > noscript {
diff --git a/src/client/app/reset.styl b/src/client/app/reset.styl
index 8128f1ed23..ce49afb161 100644
--- a/src/client/app/reset.styl
+++ b/src/client/app/reset.styl
@@ -15,7 +15,7 @@ progress
box-shadow none
textarea
- font-family sans-serif
+ font-family Roboto, HelveticaNeue, Arial, sans-serif
button
margin 0
diff --git a/src/client/style.styl b/src/client/style.styl
index 968e66e754..9638ea5305 100644
--- a/src/client/style.styl
+++ b/src/client/style.styl
@@ -18,7 +18,7 @@ html, body
padding 0
scroll-behavior smooth
text-size-adjust 100%
- font-family sans-serif
+ font-family Roboto, HelveticaNeue, Arial, sans-serif
html.changing-theme
&, *
diff --git a/src/init.ts b/src/init.ts
deleted file mode 100644
index 2fe16a7069..0000000000
--- a/src/init.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { initDb } from './db/postgre';
-
-console.log('Init database...');
-
-initDb(false, true, true).then(() => {
- console.log('Done :)');
- process.exit(0);
-}, e => {
- console.error('Failed to init database');
- console.error(e);
-});
diff --git a/src/server/api/endpoints/page-push.ts b/src/server/api/endpoints/page-push.ts
index f5e1a4d1eb..bdd2ebfe51 100644
--- a/src/server/api/endpoints/page-push.ts
+++ b/src/server/api/endpoints/page-push.ts
@@ -38,10 +38,11 @@ export default define(meta, async (ps, user) => {
throw new ApiError(meta.errors.noSuchPage);
}
- publishMainStream(user.id, 'pageEvent', {
+ publishMainStream(page.userId, 'pageEvent', {
pageId: ps.pageId,
event: ps.event,
var: ps.var,
+ userId: user.id,
user: await Users.pack(user, page.userId, {
detail: true
})
diff --git a/src/server/web/views/info.pug b/src/server/web/views/info.pug
index fc71e5c193..992e652a60 100644
--- a/src/server/web/views/info.pug
+++ b/src/server/web/views/info.pug
@@ -8,7 +8,7 @@ html
title Misskey
style.
html {
- font-family: sans-serif;
+ font-family: Roboto, HelveticaNeue, Arial, sans-serif;
}
main {