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"
|
||||
failed: "Failed to change password"
|
||||
common/views/components/post-form-attaches.vue:
|
||||
attach-cancel: "Remove Attachment"
|
||||
mark-as-sensitive: "Mark as 'sensitive'"
|
||||
unmark-as-sensitive: "Unmark as 'sensitive'"
|
||||
desktop/views/components/sub-note-content.vue:
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"author": "syuilo <i@syuilo.com>",
|
||||
"version": "11.0.0-beta.16",
|
||||
"version": "11.0.0",
|
||||
"codename": "daybreak",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -13,7 +13,6 @@
|
||||
"start": "node ./index.js",
|
||||
"init": "node ./built/init.js",
|
||||
"migrate": "node ./built/migrate.js",
|
||||
"debug": "DEBUG=misskey:* node ./index.js",
|
||||
"build": "webpack && gulp build",
|
||||
"webpack": "webpack",
|
||||
"watch": "webpack --watch",
|
||||
|
@@ -166,6 +166,7 @@ export default Vue.extend({
|
||||
|
||||
append(note) {
|
||||
this.notes.push(note);
|
||||
this.cursor = this.notes[this.notes.length - 1].id
|
||||
},
|
||||
|
||||
releaseQueue() {
|
||||
|
@@ -85,7 +85,7 @@ export default Vue.extend({
|
||||
this.makePromise = cursor => this.$root.api('users/notes', {
|
||||
userId: this.user.id,
|
||||
limit: fetchLimit + 1,
|
||||
untilId: cursor ? cursor : undefined,
|
||||
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365,
|
||||
withFiles: this.withFiles,
|
||||
includeMyRenotes: this.$store.state.settings.showMyRenotes,
|
||||
includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes,
|
||||
|
@@ -166,6 +166,7 @@ export default Vue.extend({
|
||||
|
||||
append(note) {
|
||||
this.notes.push(note);
|
||||
this.cursor = this.notes[this.notes.length - 1].id
|
||||
},
|
||||
|
||||
releaseQueue() {
|
||||
|
@@ -36,7 +36,7 @@ export default Vue.extend({
|
||||
includeReplies: this.mode == 'with-replies',
|
||||
includeMyRenotes: this.mode != 'my-posts',
|
||||
withFiles: this.mode == 'with-media',
|
||||
untilId: cursor ? cursor : undefined
|
||||
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365
|
||||
}).then(notes => {
|
||||
if (notes.length == fetchLimit + 1) {
|
||||
notes.pop();
|
||||
|
@@ -160,6 +160,7 @@ export default Vue.extend({
|
||||
|
||||
append(note) {
|
||||
this.notes.push(note);
|
||||
this.cursor = this.notes[this.notes.length - 1].id
|
||||
},
|
||||
|
||||
releaseQueue() {
|
||||
|
@@ -21,7 +21,7 @@ export default Vue.extend({
|
||||
userId: this.user.id,
|
||||
limit: fetchLimit + 1,
|
||||
withFiles: this.withMedia,
|
||||
untilId: cursor ? cursor : undefined
|
||||
untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365
|
||||
}).then(notes => {
|
||||
if (notes.length == fetchLimit + 1) {
|
||||
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;
|
||||
|
||||
@Column('integer', {
|
||||
default: 0
|
||||
default: 0, select: false
|
||||
})
|
||||
public score: number;
|
||||
|
||||
|
@@ -49,7 +49,8 @@ export default async (user: User, note: Note, reaction?: string) => {
|
||||
})
|
||||
.where('id = :id', { id: note.id })
|
||||
.execute();
|
||||
// v11 inc score
|
||||
|
||||
Notes.increment({ id: note.id }, 'score', 1);
|
||||
|
||||
perUserReactionsChart.update(user, note);
|
||||
|
||||
|
@@ -30,7 +30,8 @@ export default async (user: User, note: Note) => {
|
||||
})
|
||||
.where('id = :id', { id: note.id })
|
||||
.execute();
|
||||
// v11 dec score
|
||||
|
||||
Notes.decrement({ id: note.id }, 'score', 1);
|
||||
|
||||
publishNoteStream(note.id, 'unreacted', {
|
||||
reaction: exist.reaction,
|
||||
|
Reference in New Issue
Block a user