Compare commits
15 Commits
11.0.0-bet
...
11.0.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d66e4b7ff9 | ||
![]() |
7f9789cf65 | ||
![]() |
b41c18e033 | ||
![]() |
3c73a7ec6d | ||
![]() |
182c09d952 | ||
![]() |
9fb86aed04 | ||
![]() |
83b7010d6a | ||
![]() |
71654cbe47 | ||
![]() |
e8f96e848a | ||
![]() |
251abf21d4 | ||
![]() |
d103427932 | ||
![]() |
592cdfa910 | ||
![]() |
f2ad1a0406 | ||
![]() |
82af9320c0 | ||
![]() |
fceebf7388 |
@@ -966,6 +966,7 @@ common/views/components/password-settings.vue:
|
|||||||
changed: "Password changed"
|
changed: "Password changed"
|
||||||
failed: "Failed to change password"
|
failed: "Failed to change password"
|
||||||
common/views/components/post-form-attaches.vue:
|
common/views/components/post-form-attaches.vue:
|
||||||
|
attach-cancel: "Remove Attachment"
|
||||||
mark-as-sensitive: "Mark as 'sensitive'"
|
mark-as-sensitive: "Mark as 'sensitive'"
|
||||||
unmark-as-sensitive: "Unmark as 'sensitive'"
|
unmark-as-sensitive: "Unmark as 'sensitive'"
|
||||||
desktop/views/components/sub-note-content.vue:
|
desktop/views/components/sub-note-content.vue:
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "11.0.0-beta.16",
|
"version": "11.0.0",
|
||||||
"codename": "daybreak",
|
"codename": "daybreak",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -13,7 +13,6 @@
|
|||||||
"start": "node ./index.js",
|
"start": "node ./index.js",
|
||||||
"init": "node ./built/init.js",
|
"init": "node ./built/init.js",
|
||||||
"migrate": "node ./built/migrate.js",
|
"migrate": "node ./built/migrate.js",
|
||||||
"debug": "DEBUG=misskey:* node ./index.js",
|
|
||||||
"build": "webpack && gulp build",
|
"build": "webpack && gulp build",
|
||||||
"webpack": "webpack",
|
"webpack": "webpack",
|
||||||
"watch": "webpack --watch",
|
"watch": "webpack --watch",
|
||||||
|
@@ -166,6 +166,7 @@ export default Vue.extend({
|
|||||||
|
|
||||||
append(note) {
|
append(note) {
|
||||||
this.notes.push(note);
|
this.notes.push(note);
|
||||||
|
this.cursor = this.notes[this.notes.length - 1].id
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseQueue() {
|
releaseQueue() {
|
||||||
|
@@ -85,7 +85,7 @@ export default Vue.extend({
|
|||||||
this.makePromise = cursor => this.$root.api('users/notes', {
|
this.makePromise = cursor => this.$root.api('users/notes', {
|
||||||
userId: this.user.id,
|
userId: this.user.id,
|
||||||
limit: fetchLimit + 1,
|
limit: fetchLimit + 1,
|
||||||
untilId: cursor ? cursor : undefined,
|
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365,
|
||||||
withFiles: this.withFiles,
|
withFiles: this.withFiles,
|
||||||
includeMyRenotes: this.$store.state.settings.showMyRenotes,
|
includeMyRenotes: this.$store.state.settings.showMyRenotes,
|
||||||
includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes,
|
includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes,
|
||||||
|
@@ -166,6 +166,7 @@ export default Vue.extend({
|
|||||||
|
|
||||||
append(note) {
|
append(note) {
|
||||||
this.notes.push(note);
|
this.notes.push(note);
|
||||||
|
this.cursor = this.notes[this.notes.length - 1].id
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseQueue() {
|
releaseQueue() {
|
||||||
|
@@ -36,7 +36,7 @@ export default Vue.extend({
|
|||||||
includeReplies: this.mode == 'with-replies',
|
includeReplies: this.mode == 'with-replies',
|
||||||
includeMyRenotes: this.mode != 'my-posts',
|
includeMyRenotes: this.mode != 'my-posts',
|
||||||
withFiles: this.mode == 'with-media',
|
withFiles: this.mode == 'with-media',
|
||||||
untilId: cursor ? cursor : undefined
|
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
if (notes.length == fetchLimit + 1) {
|
if (notes.length == fetchLimit + 1) {
|
||||||
notes.pop();
|
notes.pop();
|
||||||
|
@@ -160,6 +160,7 @@ export default Vue.extend({
|
|||||||
|
|
||||||
append(note) {
|
append(note) {
|
||||||
this.notes.push(note);
|
this.notes.push(note);
|
||||||
|
this.cursor = this.notes[this.notes.length - 1].id
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseQueue() {
|
releaseQueue() {
|
||||||
|
@@ -21,7 +21,7 @@ export default Vue.extend({
|
|||||||
userId: this.user.id,
|
userId: this.user.id,
|
||||||
limit: fetchLimit + 1,
|
limit: fetchLimit + 1,
|
||||||
withFiles: this.withMedia,
|
withFiles: this.withMedia,
|
||||||
untilId: cursor ? cursor : undefined
|
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
if (notes.length == fetchLimit + 1) {
|
if (notes.length == fetchLimit + 1) {
|
||||||
notes.pop();
|
notes.pop();
|
||||||
|
BIN
src/client/assets/thumbnail-not-available.png
Normal file
BIN
src/client/assets/thumbnail-not-available.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
@@ -125,7 +125,7 @@ export class Note {
|
|||||||
public uri: string | null;
|
public uri: string | null;
|
||||||
|
|
||||||
@Column('integer', {
|
@Column('integer', {
|
||||||
default: 0
|
default: 0, select: false
|
||||||
})
|
})
|
||||||
public score: number;
|
public score: number;
|
||||||
|
|
||||||
|
@@ -49,7 +49,8 @@ export default async (user: User, note: Note, reaction?: string) => {
|
|||||||
})
|
})
|
||||||
.where('id = :id', { id: note.id })
|
.where('id = :id', { id: note.id })
|
||||||
.execute();
|
.execute();
|
||||||
// v11 inc score
|
|
||||||
|
Notes.increment({ id: note.id }, 'score', 1);
|
||||||
|
|
||||||
perUserReactionsChart.update(user, note);
|
perUserReactionsChart.update(user, note);
|
||||||
|
|
||||||
|
@@ -30,7 +30,8 @@ export default async (user: User, note: Note) => {
|
|||||||
})
|
})
|
||||||
.where('id = :id', { id: note.id })
|
.where('id = :id', { id: note.id })
|
||||||
.execute();
|
.execute();
|
||||||
// v11 dec score
|
|
||||||
|
Notes.decrement({ id: note.id }, 'score', 1);
|
||||||
|
|
||||||
publishNoteStream(note.id, 'unreacted', {
|
publishNoteStream(note.id, 'unreacted', {
|
||||||
reaction: exist.reaction,
|
reaction: exist.reaction,
|
||||||
|
Reference in New Issue
Block a user