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=" %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 {