summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
-rw-r--r--remove-analytics.patch66
3 files changed, 43 insertions, 37 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4fd7f85db7..124426f721b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = boostnote
pkgdesc = Open source note-taking app for programmers
- pkgver = 0.13.0
+ pkgver = 0.14.0
pkgrel = 1
url = https://boostnote.io/
arch = any
@@ -10,17 +10,17 @@ pkgbase = boostnote
makedepends = git
depends = electron
depends = nodejs
- source = boostnote-0.13.0.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.13.0.tar.gz
+ source = boostnote-0.14.0.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.14.0.tar.gz
source = boostnote.js
source = boostnote.desktop
source = warning-fix.patch
source = remove-analytics.patch
source = electron_5_fix.patch
- sha512sums = 90d90a0ea697bb3fc50038d28058b40625921984ea1611038669e0ca1180c7717e512f5bbde9fc75e5ae2c7fa46ec323f450cd1002a130492a1139b3f4983b05
+ sha512sums = 9889e44be9ee43d8c126687a03a799a2dba4cea39b53358d7017e67686e61532f8d96b58f097b55b188423bda7ae70e0b5030764cd13eb3a721e1ec27f7619c7
sha512sums = 1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a
sha512sums = 18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40
sha512sums = a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6
- sha512sums = 5353c4d12e510502ccf065c549f42fed7836ca15037a43ea74733cdc555144696337b2b9b4c4ed1d1b5bdc21674c6b7ee2aa122217da0a5b08e46a705fb36fc6
+ sha512sums = 64fdbeb288e4fff9cb68e3ff2cac6d462e203c33cb4c10fefa5ca32166cfa5c2098771ade5b0102daa48f05abe23b0ad6f253dc40a91bc53f41b38e999b935f9
sha512sums = ad745b9643e9a677a2a3840c02c8dad7af33e35007141dbc33ff8f7c084b66bd1a794ef44340925fc9d6d77065f41709be56cc8ac55a978e7dc7d520cf8777bf
pkgname = boostnote
diff --git a/PKGBUILD b/PKGBUILD
index 25bf22f5a92..ba1da07c375 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.13.0
+pkgver=0.14.0
pkgrel=1
pkgdesc="Open source note-taking app for programmers"
arch=('any')
@@ -23,11 +23,11 @@ source=(
"electron_5_fix.patch"
)
-sha512sums=('90d90a0ea697bb3fc50038d28058b40625921984ea1611038669e0ca1180c7717e512f5bbde9fc75e5ae2c7fa46ec323f450cd1002a130492a1139b3f4983b05'
+sha512sums=('9889e44be9ee43d8c126687a03a799a2dba4cea39b53358d7017e67686e61532f8d96b58f097b55b188423bda7ae70e0b5030764cd13eb3a721e1ec27f7619c7'
'1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a'
'18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40'
'a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6'
- '5353c4d12e510502ccf065c549f42fed7836ca15037a43ea74733cdc555144696337b2b9b4c4ed1d1b5bdc21674c6b7ee2aa122217da0a5b08e46a705fb36fc6'
+ '64fdbeb288e4fff9cb68e3ff2cac6d462e203c33cb4c10fefa5ca32166cfa5c2098771ade5b0102daa48f05abe23b0ad6f253dc40a91bc53f41b38e999b935f9'
'ad745b9643e9a677a2a3840c02c8dad7af33e35007141dbc33ff8f7c084b66bd1a794ef44340925fc9d6d77065f41709be56cc8ac55a978e7dc7d520cf8777bf')
prepare() {
diff --git a/remove-analytics.patch b/remove-analytics.patch
index 667197df983..e37cc66323c 100644
--- a/remove-analytics.patch
+++ b/remove-analytics.patch
@@ -1,7 +1,7 @@
diff -ura a/browser/lib/newNote.js b/browser/lib/newNote.js
---- a/browser/lib/newNote.js 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/lib/newNote.js 2019-11-16 09:17:49.735595730 +0100
-@@ -1,13 +1,9 @@
+--- a/browser/lib/newNote.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/lib/newNote.js 2020-01-04 10:44:12.623066183 +0100
+@@ -1,12 +1,9 @@
import dataApi from 'browser/main/lib/dataApi'
import ee from 'browser/main/lib/eventEmitter'
-import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig'
@@ -11,23 +11,21 @@ diff -ura a/browser/lib/newNote.js b/browser/lib/newNote.js
export function createMarkdownNote (storage, folder, dispatch, location, params, config) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_MARKDOWN')
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
--
+
let tags = []
if (config.ui.tagNewNoteWithFilteringTags && location.pathname.match(/\/tags/)) {
- tags = params.tagname.split(' ')
-@@ -39,9 +35,6 @@
+@@ -39,8 +36,6 @@
}
export function createSnippetNote (storage, folder, dispatch, location, params, config) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_SNIPPET')
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
--
+
let tags = []
if (config.ui.tagNewNoteWithFilteringTags && location.pathname.match(/\/tags/)) {
- tags = params.tagname.split(' ')
diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js
---- a/browser/main/Detail/MarkdownNoteDetail.js 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/Detail/MarkdownNoteDetail.js 2019-11-16 09:18:07.675707497 +0100
+--- a/browser/main/Detail/MarkdownNoteDetail.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/Detail/MarkdownNoteDetail.js 2020-01-04 10:44:30.605745212 +0100
@@ -14,7 +14,6 @@
import StatusBar from '../StatusBar'
import _ from 'lodash'
@@ -53,8 +51,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 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/Detail/SnippetNoteDetail.js 2019-11-16 09:18:38.875877057 +0100
+--- a/browser/main/Detail/SnippetNoteDetail.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/Detail/SnippetNoteDetail.js 2020-01-04 10:45:13.317184530 +0100
@@ -17,7 +17,6 @@
import ConfigManager from 'browser/main/lib/ConfigManager'
import _ from 'lodash'
@@ -101,8 +99,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 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/Detail/TagSelect.js 2019-11-16 09:18:49.625930162 +0100
+--- a/browser/main/Detail/TagSelect.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/Detail/TagSelect.js 2020-01-04 10:45:25.556581750 +0100
@@ -4,7 +4,6 @@
import CSSModules from 'browser/lib/CSSModules'
import styles from './TagSelect.styl'
@@ -111,18 +109,17 @@ diff -ura a/browser/main/Detail/TagSelect.js b/browser/main/Detail/TagSelect.js
import i18n from 'browser/lib/i18n'
import ee from 'browser/main/lib/eventEmitter'
import Autosuggest from 'react-autosuggest'
-@@ -29,8 +28,6 @@
+@@ -29,7 +28,6 @@
}
addNewTag (newTag) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_TAG')
--
+
newTag = newTag.trim().replace(/ +/g, '_')
if (newTag.charAt(0) === '#') {
- newTag.substring(1)
diff -ura a/browser/main/Main.js b/browser/main/Main.js
---- a/browser/main/Main.js 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/Main.js 2019-11-16 09:19:03.385995187 +0100
+--- a/browser/main/Main.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/Main.js 2020-01-04 10:45:41.655761224 +0100
@@ -10,7 +10,6 @@
import dataApi from 'browser/main/lib/dataApi'
import _ from 'lodash'
@@ -143,8 +140,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 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/modals/CreateFolderModal.js 2019-11-16 09:19:13.936043181 +0100
+--- a/browser/main/modals/CreateFolderModal.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/modals/CreateFolderModal.js 2020-01-04 10:45:52.631853815 +0100
@@ -6,7 +6,6 @@
import { store } from 'browser/main/store'
import consts from 'browser/lib/consts'
@@ -162,8 +159,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 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/modals/PreferencesModal/InfoTab.js 2019-11-16 09:20:19.906319727 +0100
+--- a/browser/main/modals/PreferencesModal/InfoTab.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/modals/PreferencesModal/InfoTab.js 2020-01-04 10:47:40.273242241 +0100
@@ -3,7 +3,6 @@
import styles from './InfoTab.styl'
import ConfigManager from 'browser/main/lib/ConfigManager'
@@ -172,7 +169,7 @@ diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modal
import _ from 'lodash'
import i18n from 'browser/lib/i18n'
-@@ -25,47 +24,6 @@
+@@ -25,42 +24,6 @@
e.preventDefault()
}
@@ -212,6 +209,13 @@ diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modal
- })
- }
-
+ toggleAutoUpdate () {
+ const newConfig = {
+ autoUpdateEnabled: !this.state.config.autoUpdateEnabled
+@@ -70,11 +33,6 @@
+ ConfigManager.set(newConfig)
+ }
+
- infoMessage () {
- const { amaMessage } = this.state
- return amaMessage ? <p styleName='policy-confirm'>{amaMessage}</p> : null
@@ -220,10 +224,12 @@ diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modal
render () {
return (
<div styleName='root'>
-@@ -141,21 +99,6 @@
+@@ -150,23 +108,6 @@
</ul>
- <hr styleName='separate-line' />
+ <div><label><input type='checkbox' onChange={this.toggleAutoUpdate.bind(this)} checked={this.state.config.autoUpdateEnabled} />{i18n.__('Enable Auto Update')}</label></div>
+-
+- <hr styleName='separate-line' />
-
- <div styleName='group-header2--sub'>{i18n.__('Analytics')}</div>
- <div>{i18n.__('Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.')}</div>
@@ -243,8 +249,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 2019-10-16 13:18:47.000000000 +0200
-+++ b/browser/main/NoteList/index.js 2019-11-16 09:20:37.186388029 +0100
+--- a/browser/main/NoteList/index.js 2020-01-03 17:28:19.000000000 +0100
++++ b/browser/main/NoteList/index.js 2020-01-04 10:48:05.736787049 +0100
@@ -16,7 +16,6 @@
import path from 'path'
import { push, replace } from 'connected-react-router'
@@ -271,8 +277,8 @@ 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 2019-10-16 13:18:47.000000000 +0200
-+++ b/package.json 2019-11-16 09:21:03.156488916 +0100
+--- a/package.json 2020-01-03 17:28:19.000000000 +0100
++++ b/package.json 2020-01-04 10:48:18.933455489 +0100
@@ -56,8 +56,6 @@
"@rokt33r/markdown-it-math": "^4.0.1",
"@rokt33r/season": "^5.3.0",