summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannick Hemelhof2018-11-17 12:28:22 +0100
committerJannick Hemelhof2018-11-17 12:28:22 +0100
commit0c89d5aa2e240d47abaa6cbafe901546417b1ce3 (patch)
tree9f4f6d2157cc6afc82186a0a3f9580820040ebe7
parent212a2193c4cf13f4bc926a976181c97bc8efdfac (diff)
downloadaur-0c89d5aa2e240d47abaa6cbafe901546417b1ce3.tar.gz
Update to v0.11.11
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
-rw-r--r--remove-analytics.patch123
3 files changed, 66 insertions, 71 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9095369f7d1..5289d571e9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = boostnote
pkgdesc = Open source note-taking app for programmers
- pkgver = 0.11.9
+ pkgver = 0.11.11
pkgrel = 1
url = https://boostnote.io/
arch = any
@@ -10,16 +10,16 @@ pkgbase = boostnote
makedepends = git
depends = electron
depends = nodejs
- source = boostnote-0.11.9.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.11.9.tar.gz
+ source = boostnote-0.11.11.tar.gz::https://github.com/BoostIO/Boostnote/archive/v0.11.11.tar.gz
source = boostnote.js
source = boostnote.desktop
source = warning-fix.patch
source = remove-analytics.patch
- sha512sums = 5ad71d725c5c5d11ddab74a573d39c59f82e73e1471939bc2cc650b9143f59fff66e2ef923b637a0247bc066b436143f9697d1208e80bcae89cbf29a0e09a037
+ sha512sums = 777efc8d9fb463327ea9e563bbbe4fe1f55ca18386ae7b7ee5d7c9eaffcda5d364923d1a3f8dbed4eb3cf0886e92d77b90efaced9eb5ab2d7d38236c159fe480
sha512sums = 1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a
sha512sums = 18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40
sha512sums = a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6
- sha512sums = 4725a0ad8f5e281b344ce270505b8346cc2bd09b34c923deb5da532c7dca3d1e86d3933996979c2f7222a1c6b899d36869001ef32bcc65c1bf2916ac9edd438a
+ sha512sums = 753bc8788b3f002ab6c75bd84b823ff2de647b6cc857a2f0b2788ce4730b7566a9c47ac95b6f769f7d6b92050d4b74e4bed9de76b0c88e906d34d31c741e0515
pkgname = boostnote
diff --git a/PKGBUILD b/PKGBUILD
index 2448eb4ed3e..fe940909218 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.9
+pkgver=0.11.11
pkgrel=1
pkgdesc="Open source note-taking app for programmers"
arch=('any')
@@ -22,11 +22,11 @@ source=(
"remove-analytics.patch"
)
-sha512sums=('5ad71d725c5c5d11ddab74a573d39c59f82e73e1471939bc2cc650b9143f59fff66e2ef923b637a0247bc066b436143f9697d1208e80bcae89cbf29a0e09a037'
+sha512sums=('777efc8d9fb463327ea9e563bbbe4fe1f55ca18386ae7b7ee5d7c9eaffcda5d364923d1a3f8dbed4eb3cf0886e92d77b90efaced9eb5ab2d7d38236c159fe480'
'1f0ccd2a3632a12c4714d97b9f909ddc94b53d6f86a9e4bdcab31abd55a93071a2c35c6e1e9527b747de6dd74b8a5276414980c11e174085f28b8f2d2721230a'
'18bcda13580da8ceeaa86793a77ec00a053b8fd51451dad7e2b1a19553fe1a467ac647b44b789212e783f3f6a80968cc9404e884ef7ff6b1f6588473b3229d40'
'a52e5631867e2c5f18465dee6a3201b9b5c546bda373205c4891c9f7b6114599e0854e2b49defb55ee7bea0778a7fde9c9d9f7271dceeeece743a2d72e2fd0c6'
- '4725a0ad8f5e281b344ce270505b8346cc2bd09b34c923deb5da532c7dca3d1e86d3933996979c2f7222a1c6b899d36869001ef32bcc65c1bf2916ac9edd438a')
+ '753bc8788b3f002ab6c75bd84b823ff2de647b6cc857a2f0b2788ce4730b7566a9c47ac95b6f769f7d6b92050d4b74e4bed9de76b0c88e906d34d31c741e0515')
prepare() {
cd "${_pkgname}-${pkgver}"
diff --git a/remove-analytics.patch b/remove-analytics.patch
index c71f63bead4..7bf6c1d9df8 100644
--- a/remove-analytics.patch
+++ b/remove-analytics.patch
@@ -1,6 +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
+@@ -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) {
+- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_MARKDOWN')
+- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
+ return dataApi
+ .createNote(storage, {
+ type: 'MARKDOWN_NOTE',
+@@ -30,8 +27,6 @@
+ }
+
+ export function createSnippetNote (storage, folder, dispatch, location, config) {
+- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_SNIPPET')
+- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
+ return dataApi
+ .createNote(storage, {
+ type: 'SNIPPET_NOTE',
diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js
---- a/browser/main/Detail/MarkdownNoteDetail.js 2018-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/Detail/MarkdownNoteDetail.js 2018-07-19 12:13:11.146091379 +0200
+--- 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
@@ -15,7 +15,6 @@
import StatusBar from '../StatusBar'
import _ from 'lodash'
@@ -9,7 +33,7 @@ diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/Mark
import ConfigManager from 'browser/main/lib/ConfigManager'
import TrashButton from './TrashButton'
import FullscreenButton from './FullscreenButton'
-@@ -117,7 +116,6 @@
+@@ -124,7 +123,6 @@
type: 'UPDATE_NOTE',
note: note
})
@@ -17,7 +41,7 @@ diff -ura a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/Mark
})
}
-@@ -156,7 +154,6 @@
+@@ -163,7 +161,6 @@
handleStarButtonClick (e) {
const { note } = this.state
@@ -26,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-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/Detail/SnippetNoteDetail.js 2018-07-19 12:14:00.360531159 +0200
+--- 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
@@ -19,7 +19,6 @@
import _ from 'lodash'
import {findNoteTitle} from 'browser/lib/findNoteTitle'
@@ -36,7 +60,7 @@ diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/Snipp
import TrashButton from './TrashButton'
import RestoreButton from './RestoreButton'
import PermanentDeleteButton from './PermanentDeleteButton'
-@@ -127,7 +126,6 @@
+@@ -140,7 +139,6 @@
type: 'UPDATE_NOTE',
note: note
})
@@ -44,7 +68,7 @@ diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/Snipp
})
}
-@@ -166,7 +164,6 @@
+@@ -179,7 +177,6 @@
handleStarButtonClick (e) {
const { note } = this.state
@@ -52,7 +76,7 @@ diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/Snipp
note.isStarred = !note.isStarred
-@@ -364,9 +361,6 @@
+@@ -375,9 +372,6 @@
const mode = syntax != null ? syntax.name : null
if (mode != null) {
snippets[index].mode = mode
@@ -62,7 +86,7 @@ diff -ura a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/Snipp
}
this.setState(state => ({note: Object.assign(state.note, {snippets: snippets})}))
-@@ -388,10 +382,6 @@
+@@ -399,10 +393,6 @@
}), () => {
this.save()
})
@@ -74,27 +98,27 @@ 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-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/Detail/TagSelect.js 2018-07-19 12:14:19.694305305 +0200
+--- 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
@@ -3,7 +3,6 @@
import CSSModules from 'browser/lib/CSSModules'
import styles from './TagSelect.styl'
import _ from 'lodash'
-import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig'
import i18n from 'browser/lib/i18n'
-
- class TagSelect extends React.Component {
-@@ -56,7 +55,6 @@
+ import ee from 'browser/main/lib/eventEmitter'
+ import Autosuggest from 'react-autosuggest'
+@@ -27,7 +26,6 @@
}
- submitTag () {
+ addNewTag (newTag) {
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_TAG')
- let { value } = this.props
- let newTag = this.refs.newTag.value.trim().replace(/ +/g, '_')
- newTag = newTag.charAt(0) === '#' ? newTag.substring(1) : newTag
+
+ 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-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/Main.js 2018-07-19 12:14:36.051347482 +0200
+--- 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
@@ -10,7 +10,6 @@
import dataApi from 'browser/main/lib/dataApi'
import _ from 'lodash'
@@ -103,7 +127,7 @@ diff -ura a/browser/main/Main.js b/browser/main/Main.js
import eventEmitter from 'browser/main/lib/eventEmitter'
import { hashHistory } from 'react-router'
import store from 'browser/main/store'
-@@ -26,10 +25,6 @@
+@@ -25,10 +24,6 @@
constructor (props) {
super(props)
@@ -115,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-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/modals/CreateFolderModal.js 2018-07-19 12:14:51.851712364 +0200
+--- 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
@@ -6,7 +6,6 @@
import store from 'browser/main/store'
import consts from 'browser/lib/consts'
@@ -133,38 +157,9 @@ diff -ura a/browser/main/modals/CreateFolderModal.js b/browser/main/modals/Creat
if (this.state.name.trim().length > 0) {
const { storage } = this.props
const input = {
-diff -ura a/browser/main/modals/NewNoteModal.js b/browser/main/modals/NewNoteModal.js
---- a/browser/main/modals/NewNoteModal.js 2018-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/modals/NewNoteModal.js 2018-07-19 12:15:11.568837239 +0200
-@@ -5,7 +5,6 @@
- import { hashHistory } from 'react-router'
- import ee from 'browser/main/lib/eventEmitter'
- import ModalEscButton from 'browser/components/ModalEscButton'
--import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig'
- import i18n from 'browser/lib/i18n'
-
- class NewNoteModal extends React.Component {
-@@ -24,8 +23,6 @@
- }
-
- handleMarkdownNoteButtonClick (e) {
-- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_MARKDOWN')
-- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
- const { storage, folder, dispatch, location } = this.props
- dataApi
- .createNote(storage, {
-@@ -59,8 +56,6 @@
- }
-
- handleSnippetNoteButtonClick (e) {
-- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_SNIPPET')
-- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('ADD_ALLNOTE')
- const { storage, folder, dispatch, location } = this.props
-
- dataApi
diff -ura a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js
---- a/browser/main/modals/PreferencesModal/InfoTab.js 2018-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/modals/PreferencesModal/InfoTab.js 2018-07-19 12:15:47.909689742 +0200
+--- 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
@@ -3,7 +3,6 @@
import styles from './InfoTab.styl'
import ConfigManager from 'browser/main/lib/ConfigManager'
@@ -246,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-07-19 08:21:35.000000000 +0200
-+++ b/browser/main/NoteList/index.js 2018-07-19 12:16:10.730230097 +0200
+--- 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
@@ -17,7 +17,6 @@
import path from 'path'
import { hashHistory } from 'react-router'
@@ -256,15 +251,15 @@ 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'
-@@ -633,7 +632,6 @@
+@@ -681,7 +680,6 @@
note: newNote
})
})
- AwsMobileAnalyticsConfig.recordDynamicCustomEvent('EDIT_NOTE')
- console.log('Notes went to trash')
})
.catch((err) => {
-@@ -652,8 +650,6 @@
+ console.error('Notes could not go to trash: ' + err)
+@@ -699,8 +697,6 @@
const firstNote = selectedNotes[0]
const eventName = firstNote.type === 'MARKDOWN_NOTE' ? 'ADD_MARKDOWN' : 'ADD_SNIPPET'
@@ -274,14 +269,14 @@ 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-07-19 08:21:35.000000000 +0200
-+++ b/package.json 2018-07-19 12:16:38.697563991 +0200
-@@ -52,8 +52,6 @@
+--- 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 @@
"@rokt33r/markdown-it-math": "^4.0.1",
"@rokt33r/season": "^5.3.0",
"@susisu/mte-kernel": "^2.0.0",
- "aws-sdk": "^2.48.0",
- "aws-sdk-mobile-analytics": "^0.9.2",
"chart.js": "^2.7.2",
- "codemirror": "^5.39.0",
+ "codemirror": "^5.40.2",
"codemirror-mode-elixir": "^1.1.1",