summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannick Hemelhof2018-12-18 09:36:06 +0100
committerJannick Hemelhof2018-12-18 09:36:06 +0100
commitf2fc84a0fe31737464c829be2c5b791c668cb967 (patch)
treeb33ac5418063594c24e921dd6f7c26412f638558
parent0c89d5aa2e240d47abaa6cbafe901546417b1ce3 (diff)
downloadaur-f2fc84a0fe31737464c829be2c5b791c668cb967.tar.gz
Update to v0.11.12
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
-rw-r--r--remove-analytics.patch60
3 files changed, 37 insertions, 37 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5289d571e9b..57efd4a603f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = boostnote
pkgdesc = Open source note-taking app for programmers
- pkgver = 0.11.11
+ pkgver = 0.11.12
pkgrel = 1
url = https://boostnote.io/
arch = any
@@ -10,16 +10,16 @@ pkgbase = boostnote
makedepends = git
depends = electron
depends = nodejs
- source = boostnote-0.11.11.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.11.11.tar.gz
+ source = boostnote-0.11.12.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.11.12.tar.gz
source = boostnote.js
source = boostnote.desktop
source = warning-fix.patch
source = remove-analytics.patch
- sha512sums = 777efc8d9fb463327ea9e563bbbe4fe1f55ca18386ae7b7ee5d7c9eaffcda5d364923d1a3f8dbed4eb3cf0886e92d77b90efaced9eb5ab2d7d38236c159fe480
+ sha512sums = b638a2f15f33c687625fd8ce728a524146f73366b733894b672e1b0318a61eb2422957c3df7d0a60ceafe6728145ed93c4361ca28b5b2e6779d1a003d6d06885
sha512sums = 1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a
sha512sums = 18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40
sha512sums = a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6
- sha512sums = 753bc8788b3f002ab6c75bd84b823ff2de647b6cc857a2f0b2788ce4730b7566a9c47ac95b6f769f7d6b92050d4b74e4bed9de76b0c88e906d34d31c741e0515
+ sha512sums = 4d5fdb1bc88ce3751e85a1855908e1752396b85b8ff3d72e4ae968eb8da2c1821cd5fb2478ecf525fec70e82a181f9c9cf9686c4017f3567753642f76546f80e
pkgname = boostnote
diff --git a/PKGBUILD b/PKGBUILD
index fe940909218..94245dfb046 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Romain Bazile <gromain {dot} baz {at} gmail {dot} com>
pkgname=boostnote
_pkgname=Boostnote
-pkgver=0.11.11
+pkgver=0.11.12
pkgrel=1
pkgdesc="Open source note-taking app for programmers"
arch=('any')
@@ -22,11 +22,11 @@ source=(
"remove-analytics.patch"
)
-sha512sums=('777efc8d9fb463327ea9e563bbbe4fe1f55ca18386ae7b7ee5d7c9eaffcda5d364923d1a3f8dbed4eb3cf0886e92d77b90efaced9eb5ab2d7d38236c159fe480'
+sha512sums=('b638a2f15f33c687625fd8ce728a524146f73366b733894b672e1b0318a61eb2422957c3df7d0a60ceafe6728145ed93c4361ca28b5b2e6779d1a003d6d06885'
'1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a'
'18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40'
'a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6'
- '753bc8788b3f002ab6c75bd84b823ff2de647b6cc857a2f0b2788ce4730b7566a9c47ac95b6f769f7d6b92050d4b74e4bed9de76b0c88e906d34d31c741e0515')
+ '4d5fdb1bc88ce3751e85a1855908e1752396b85b8ff3d72e4ae968eb8da2c1821cd5fb2478ecf525fec70e82a181f9c9cf9686c4017f3567753642f76546f80e')
prepare() {
cd "${_pkgname}-${pkgver}"
diff --git a/remove-analytics.patch b/remove-analytics.patch
index 7bf6c1d9df8..0efba29a83b 100644
--- a/remove-analytics.patch
+++ b/remove-analytics.patch
@@ -1,30 +1,30 @@
diff -ura a/browser/lib/newNote.js b/browser/lib/newNote.js
---- a/browser/lib/newNote.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/lib/newNote.js 2018-11-17 11:37:35.152421985 +0100
+--- a/browser/lib/newNote.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/lib/newNote.js 2018-12-18 09:14:38.440189997 +0100
@@ -1,11 +1,8 @@
import { hashHistory } from 'react-router'
import dataApi from 'browser/main/lib/dataApi'
import ee from 'browser/main/lib/eventEmitter'
-import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig'
- export function createMarkdownNote (storage, folder, dispatch, location) {
+ export function createMarkdownNote (storage, folder, dispatch, location, params, config) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_MARKDOWN')
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
- return dataApi
- .createNote(storage, {
- type: 'MARKDOWN_NOTE',
-@@ -30,8 +27,6 @@
+
+ let tags = []
+ if (config.ui.tagNewNoteWithFilteringTags && location.pathname.match(/\/tags/)) {
+@@ -37,8 +34,6 @@
}
- export function createSnippetNote (storage, folder, dispatch, location, config) {
+ export function createSnippetNote (storage, folder, dispatch, location, params, config) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_SNIPPET')
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
- return dataApi
- .createNote(storage, {
- type: 'SNIPPET_NOTE',
+
+ let tags = []
+ if (config.ui.tagNewNoteWithFilteringTags && location.pathname.match(/\/tags/)) {
diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js
---- a/browser/main/Detail/MarkdownNoteDetail.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/Detail/MarkdownNoteDetail.js 2018-11-17 11:38:07.298768413 +0100
+--- a/browser/main/Detail/MarkdownNoteDetail.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/Detail/MarkdownNoteDetail.js 2018-12-18 09:15:07.053824657 +0100
@@ -15,7 +15,6 @@
import StatusBar from '../StatusBar'
import _ from 'lodash'
@@ -50,8 +50,8 @@ diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/Mark
note.isStarred = !note.isStarred
diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/SnippetNoteDetail.js
---- a/browser/main/Detail/SnippetNoteDetail.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/Detail/SnippetNoteDetail.js 2018-11-17 11:38:51.445122461 +0100
+--- a/browser/main/Detail/SnippetNoteDetail.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/Detail/SnippetNoteDetail.js 2018-12-18 09:15:46.964251990 +0100
@@ -19,7 +19,6 @@
import _ from 'lodash'
import {findNoteTitle} from 'browser/lib/findNoteTitle'
@@ -98,8 +98,8 @@ diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/Snipp
}
diff -ura a/browser/main/Detail/TagSelect.js b/browser/main/Detail/TagSelect.js
---- a/browser/main/Detail/TagSelect.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/Detail/TagSelect.js 2018-11-17 11:39:09.005030042 +0100
+--- a/browser/main/Detail/TagSelect.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/Detail/TagSelect.js 2018-12-18 09:16:00.454354015 +0100
@@ -3,7 +3,6 @@
import CSSModules from 'browser/lib/CSSModules'
import styles from './TagSelect.styl'
@@ -117,8 +117,8 @@ diff -ura a/browser/main/Detail/TagSelect.js b/browser/main/Detail/TagSelect.js
newTag = newTag.trim().replace(/ +/g, '_')
if (newTag.charAt(0) === '#') {
diff -ura a/browser/main/Main.js b/browser/main/Main.js
---- a/browser/main/Main.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/Main.js 2018-11-17 11:39:27.158283298 +0100
+--- a/browser/main/Main.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/Main.js 2018-12-18 09:16:21.980893940 +0100
@@ -10,7 +10,6 @@
import dataApi from 'browser/main/lib/dataApi'
import _ from 'lodash'
@@ -139,8 +139,8 @@ diff -ura a/browser/main/Main.js b/browser/main/Main.js
this.state = {
diff -ura a/browser/main/modals/CreateFolderModal.js b/browser/main/modals/CreateFolderModal.js
---- a/browser/main/modals/CreateFolderModal.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/modals/CreateFolderModal.js 2018-11-17 11:39:41.414896738 +0100
+--- a/browser/main/modals/CreateFolderModal.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/modals/CreateFolderModal.js 2018-12-18 09:16:35.717493677 +0100
@@ -6,7 +6,6 @@
import store from 'browser/main/store'
import consts from 'browser/lib/consts'
@@ -158,8 +158,8 @@ diff -ura a/browser/main/modals/CreateFolderModal.js b/browser/main/modals/Creat
const { storage } = this.props
const input = {
diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js
---- a/browser/main/modals/PreferencesModal/InfoTab.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/modals/PreferencesModal/InfoTab.js 2018-11-17 11:40:38.001418930 +0100
+--- a/browser/main/modals/PreferencesModal/InfoTab.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/modals/PreferencesModal/InfoTab.js 2018-12-18 09:17:14.424024793 +0100
@@ -3,7 +3,6 @@
import styles from './InfoTab.styl'
import ConfigManager from 'browser/main/lib/ConfigManager'
@@ -241,8 +241,8 @@ diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modal
)
}
diff -ura a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js
---- a/browser/main/NoteList/index.js 2018-11-15 11:24:56.000000000 +0100
-+++ b/browser/main/NoteList/index.js 2018-11-17 11:41:44.764678765 +0100
+--- a/browser/main/NoteList/index.js 2018-12-17 06:56:16.000000000 +0100
++++ b/browser/main/NoteList/index.js 2018-12-18 09:17:36.037313386 +0100
@@ -17,7 +17,6 @@
import path from 'path'
import { hashHistory } from 'react-router'
@@ -251,7 +251,7 @@ diff -ura a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js
import Markdown from '../../lib/markdown'
import i18n from 'browser/lib/i18n'
import { confirmDeleteNote } from 'browser/lib/confirmDeleteNote'
-@@ -681,7 +680,6 @@
+@@ -686,7 +685,6 @@
note: newNote
})
})
@@ -259,7 +259,7 @@ diff -ura a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js
})
.catch((err) => {
console.error('Notes could not go to trash: ' + err)
-@@ -699,8 +697,6 @@
+@@ -704,8 +702,6 @@
const firstNote = selectedNotes[0]
const eventName = firstNote.type === 'MARKDOWN_NOTE' ? 'ADD_MARKDOWN' : 'ADD_SNIPPET'
@@ -269,9 +269,9 @@ diff -ura a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js
.createNote(storage.key, {
type: firstNote.type,
diff -ura a/package.json b/package.json
---- a/package.json 2018-11-15 11:24:56.000000000 +0100
-+++ b/package.json 2018-11-17 11:41:58.158006105 +0100
-@@ -51,8 +51,6 @@
+--- a/package.json 2018-12-17 06:56:16.000000000 +0100
++++ b/package.json 2018-12-18 09:17:47.943964022 +0100
+@@ -52,8 +52,6 @@
"@rokt33r/markdown-it-math": "^4.0.1",
"@rokt33r/season": "^5.3.0",
"@susisu/mte-kernel": "^2.0.0",