Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1c0cb1ae71 | ||
![]() |
0ba5dc3900 | ||
![]() |
872717feeb | ||
![]() |
85b51f06a4 | ||
![]() |
94df60d054 | ||
![]() |
7395284480 | ||
![]() |
b537fa5467 | ||
![]() |
dca58c20d2 | ||
![]() |
0a3030f7d0 | ||
![]() |
81cc6f3104 | ||
![]() |
cc0b9c6933 |
@@ -121,7 +121,7 @@ common/views/components/signup.vue:
|
||||
unavailable: "Unavailable"
|
||||
error: "Network error"
|
||||
invalid-format: "Only use letters, numbers and -."
|
||||
too-short: "Please enter at least 1 character!"
|
||||
too-short: "Please enter at least 1 character!"
|
||||
too-long: "Please enter up to 20 characters."
|
||||
password: "Password"
|
||||
password-placeholder: "We recommend more than 8 characters."
|
||||
@@ -168,11 +168,11 @@ common/views/widgets/server.vue:
|
||||
common/views/widgets/visibility-chooser.vue:
|
||||
public: "Public"
|
||||
home: "Home"
|
||||
home-desc: "ホームタイムラインにのみ公開"
|
||||
home-desc: "Post to the home timeline only"
|
||||
followers: "Followers"
|
||||
followers-desc: "自分のフォロワーにのみ公開"
|
||||
followers-desc: "Post to followers only"
|
||||
specified: "Direct"
|
||||
specified-desc: "指定したユーザーにのみ公開"
|
||||
specified-desc: "Post to specified users only"
|
||||
private: "Private"
|
||||
desktop/views/components/activity.chart.vue:
|
||||
total: "Black ... Total"
|
||||
@@ -188,7 +188,7 @@ desktop/views/components/calendar.vue:
|
||||
next: "Next month"
|
||||
go: "Click to naviguate"
|
||||
desktop/views/components/choose-file-from-drive-window.vue:
|
||||
choose-file: "ファイル選択中"
|
||||
choose-file: "Choosing files"
|
||||
upload: "Upload files from your PC"
|
||||
cancel: "Cancel"
|
||||
ok: "OK"
|
||||
@@ -264,7 +264,7 @@ desktop/views/components/following-window.vue:
|
||||
desktop/views/components/following.vue:
|
||||
empty: "You don’t follow anyone."
|
||||
desktop/views/components/friends-maker.vue:
|
||||
title: "気になるユーザーをフォロー:"
|
||||
title: "Recommended users:"
|
||||
empty: "Similar users weren’t found."
|
||||
fetching: "Loading…"
|
||||
refresh: "More"
|
||||
@@ -418,7 +418,7 @@ desktop/views/components/settings.vue:
|
||||
do-update: "Check for update"
|
||||
update-settings: "Advanced settings"
|
||||
prevent-update: "アップデートを延期する(非推奨)"
|
||||
prevent-update-desc: "この設定をオンにしてもアップデートが反映される場合があります。この設定はこのデバイスのみ有効です。"
|
||||
prevent-update-desc: "You may reflect updates even if you select this setting. This setting is valid only this device."
|
||||
no-updates: "No updates available"
|
||||
no-updates-desc: "Your Misskey is up to date."
|
||||
update-available: "New version is available!"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
meta:
|
||||
lang: "日本語"
|
||||
lang: "中文(简体)"
|
||||
divider: ""
|
||||
common:
|
||||
misskey: "Misskeyで皆と共有しよう。"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"author": "syuilo <i@syuilo.com>",
|
||||
"version": "2.16.1",
|
||||
"clientVersion": "1.0.5657",
|
||||
"version": "2.16.3",
|
||||
"clientVersion": "1.0.5668",
|
||||
"codename": "nighthike",
|
||||
"main": "./built/index.js",
|
||||
"private": true,
|
||||
|
@@ -37,6 +37,7 @@ export default Vue.extend({
|
||||
fetch(cb?) {
|
||||
this.fetching = true;
|
||||
(this as any).api('notes', {
|
||||
local: true,
|
||||
reply: false,
|
||||
renote: false,
|
||||
media: false,
|
||||
|
@@ -8,6 +8,10 @@ import Note, { pack } from '../../../models/note';
|
||||
* Get all notes
|
||||
*/
|
||||
module.exports = (params) => new Promise(async (res, rej) => {
|
||||
// Get 'local' parameter
|
||||
const [local, localErr] = $.bool.optional().get(params.local);
|
||||
if (localErr) return rej('invalid local param');
|
||||
|
||||
// Get 'reply' parameter
|
||||
const [reply, replyErr] = $.bool.optional().get(params.reply);
|
||||
if (replyErr) return rej('invalid reply param');
|
||||
@@ -61,6 +65,10 @@ module.exports = (params) => new Promise(async (res, rej) => {
|
||||
};
|
||||
}
|
||||
|
||||
if (local) {
|
||||
query._user.host = null;
|
||||
}
|
||||
|
||||
if (reply != undefined) {
|
||||
query.replyId = reply ? { $exists: true, $ne: null } : null;
|
||||
}
|
||||
|
@@ -49,8 +49,8 @@ const router = new Router();
|
||||
//#region static assets
|
||||
|
||||
router.get('/assets/*', async ctx => {
|
||||
// 無圧縮スクリプトを用意するのは大変なので一時的に無効化
|
||||
const path = process.env.NODE_ENV == 'production' ? ctx.path.replace('raw.js', 'min.js') : ctx.path.replace('min.js', 'raw.js');
|
||||
// 互換性のため
|
||||
const path = ctx.path.replace('.raw.js', '.js').replace('.min.js', '.js');
|
||||
await send(ctx, path, {
|
||||
root: client,
|
||||
maxage: ms('7 days'),
|
||||
|
Reference in New Issue
Block a user