You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Minor changes
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"url": "https://github.com/laurent22/joplin"
|
"url": "https://github.com/laurent22/joplin"
|
||||||
},
|
},
|
||||||
"url": "git://github.com/laurent22/joplin.git",
|
"url": "git://github.com/laurent22/joplin.git",
|
||||||
"version": "0.8.40",
|
"version": "0.8.41",
|
||||||
"bin": {
|
"bin": {
|
||||||
"joplin": "./main_launcher.js"
|
"joplin": "./main_launcher.js"
|
||||||
},
|
},
|
||||||
|
@@ -90,8 +90,8 @@ android {
|
|||||||
applicationId "net.cozic.joplin"
|
applicationId "net.cozic.joplin"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 11
|
versionCode 12
|
||||||
versionName "0.8.9"
|
versionName "0.8.10"
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters "armeabi-v7a", "x86"
|
abiFilters "armeabi-v7a", "x86"
|
||||||
}
|
}
|
||||||
|
@@ -310,6 +310,13 @@ class BaseItem extends BaseModel {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static modelTypeToClassName(type) {
|
||||||
|
for (let i = 0; i < BaseItem.syncItemDefinitions_.length; i++) {
|
||||||
|
if (BaseItem.syncItemDefinitions_[i].type == type) return BaseItem.syncItemDefinitions_[i].className;
|
||||||
|
}
|
||||||
|
throw new Error('Invalid type: ' + type);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Also update:
|
// Also update:
|
||||||
|
@@ -59,7 +59,11 @@ class ReportService {
|
|||||||
section.title = _('Folders');
|
section.title = _('Folders');
|
||||||
section.body = [];
|
section.body = [];
|
||||||
|
|
||||||
let folders = await Folder.all();
|
let folders = await Folder.all({
|
||||||
|
orderBy: 'title',
|
||||||
|
caseInsensitive: true,
|
||||||
|
});
|
||||||
|
|
||||||
for (let i = 0; i < folders.length; i++) {
|
for (let i = 0; i < folders.length; i++) {
|
||||||
let folder = folders[i];
|
let folder = folders[i];
|
||||||
section.body.push(_('%s: %d notes', folders[i].title, await Folder.noteCount(folders[i].id)));
|
section.body.push(_('%s: %d notes', folders[i].title, await Folder.noteCount(folders[i].id)));
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
import fs from 'fs-extra';
|
||||||
import { shim } from 'lib/shim.js';
|
import { shim } from 'lib/shim.js';
|
||||||
import { GeolocationNode } from 'lib/geolocation-node.js';
|
import { GeolocationNode } from 'lib/geolocation-node.js';
|
||||||
|
|
||||||
|
@@ -46,6 +46,11 @@ class Synchronizer {
|
|||||||
line.push(action);
|
line.push(action);
|
||||||
line.push(reason);
|
line.push(reason);
|
||||||
|
|
||||||
|
let type = local && local.type_ ? local.type_ : null;
|
||||||
|
if (!type) type = remote && remote.type_ ? remote.type_ : null;
|
||||||
|
|
||||||
|
if (type) line.push(BaseItem.modelTypeToClassName(type));
|
||||||
|
|
||||||
if (local) {
|
if (local) {
|
||||||
let s = [];
|
let s = [];
|
||||||
s.push(local.id);
|
s.push(local.id);
|
||||||
|
Reference in New Issue
Block a user