Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 #138

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

v2 #138

Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
b9f811c
feat(datastore): add new datastore
antonreshetov Jan 21, 2021
4a8b0e0
feat(datastore): add extend methods
antonreshetov Jan 21, 2021
2be6490
feat(datastore): create datastore instance
antonreshetov Jan 21, 2021
bd58c58
feat(datastore): add collection schemas
antonreshetov Jan 21, 2021
bb243d8
feat(datastore): add helpers
antonreshetov Jan 21, 2021
30f6327
feat(util): add helpers for tree
antonreshetov Jan 21, 2021
293a5f3
chore: update gitignore
antonreshetov Jan 21, 2021
1ec8251
chore: add lowdb, joi, uuid
antonreshetov Jan 21, 2021
e34348f
chore: add .prettierignore
antonreshetov Jan 21, 2021
c7c0155
chore: update .prettierrc
antonreshetov Jan 21, 2021
17ca136
chore(datastore): remove joi
antonreshetov Jan 21, 2021
1b68fc6
feat(datastore): check if db files not exist in migrate folder
antonreshetov Jan 22, 2021
d82425b
feat(datastore): add backup
antonreshetov Jan 22, 2021
02c4e35
fix(datastore): remove duplicate create backup dir
antonreshetov Jan 22, 2021
e415620
fix(datastore): tags migrate
antonreshetov Feb 1, 2021
99a3445
refactor(store): folders store
antonreshetov Feb 2, 2021
d02c3df
fix(electron-store): inBox -> inbox
antonreshetov Feb 2, 2021
1b5aa22
refactor(store): use new db in app store
antonreshetov Feb 2, 2021
4c5141a
feat(datastore): add fields in helpers
antonreshetov Feb 2, 2021
a76cdd8
refactor(store): tags store
antonreshetov Feb 2, 2021
30cca21
feat(util): add 'idLink' arg to flatToNested helper
antonreshetov Feb 2, 2021
6cb2eec
feat(datastore): init backup
antonreshetov Feb 2, 2021
fd1025a
feat(datastore): add required parentId in FOLDERS_SCHEMA
antonreshetov Feb 2, 2021
46d477d
feat(datastore): add parentId in createDefaultFolders
antonreshetov Feb 2, 2021
205a586
feat(datastore): add 'massCode_v2' as suffix backup folder
antonreshetov Feb 2, 2021
d97d4a5
fix(datastore): map folder ids in loop
antonreshetov Feb 2, 2021
290fb2d
feat(store): check for exist tag before add new
antonreshetov Feb 2, 2021
5eb0f87
refactor(App): init state
antonreshetov Feb 2, 2021
93b2184
chore(main): open devtools on bottom
antonreshetov Feb 2, 2021
1e68a9b
feat(datastore): add atomic update in $findOneAndUpdate
antonreshetov Feb 2, 2021
fc4f964
refactor(store): snippets store
antonreshetov Feb 4, 2021
c4a03aa
feat(Storage): use new db, add migrate functionality
antonreshetov Feb 4, 2021
7c02539
refactor(TheLibrary): use folders from store
antonreshetov Feb 4, 2021
a906106
refactor(Tray): use new db
antonreshetov Feb 4, 2021
90fe03f
fix(datastore): helpers
antonreshetov Feb 4, 2021
7a0846c
refactor(ipc): rename dispatch method
antonreshetov Feb 4, 2021
faa40e0
chore(main:render): clear
antonreshetov Feb 4, 2021
252081b
refactor(SnippetView): rename selectedTags -> selectedTags
antonreshetov Feb 4, 2021
bce2be3
refactor(SidebarListItem): use new db methods
antonreshetov Feb 4, 2021
da5d026
chore(SidebarList): clear
antonreshetov Feb 4, 2021
2c54835
fix(store): pass snippet to 'addSnippet'
antonreshetov Feb 4, 2021
f52c923
feat(AppInputTags): add clear input tag by click outside, avoid dupli…
antonreshetov Feb 4, 2021
7cc50a7
refactor(SidebarListItem): use new db methods
antonreshetov Feb 4, 2021
81c9787
fix(store): delete tech props on add new snippet
antonreshetov Feb 4, 2021
051f5f8
refactor(TheFolders): use new db
antonreshetov Feb 4, 2021
7024f68
chore: bump to electron v11
antonreshetov Feb 5, 2021
63490c0
fix(datastore): 'nestedToFlat' helper
antonreshetov Feb 5, 2021
34ed249
fix: open devtools
antonreshetov Feb 5, 2021
6024bc2
fix(tray): set 'enableRemoteModule'
antonreshetov Feb 5, 2021
e4da163
refactor: folders tree (#139)
antonreshetov Feb 17, 2021
4d7d196
chore: remove old datastore
antonreshetov Feb 17, 2021
58ace8e
fix(FolderItem): update folder name by edit
antonreshetov Feb 17, 2021
ad75a53
chore(TheFolders): add .vue ext
antonreshetov Feb 17, 2021
65c542c
build: release 2.0.0-beta.1
antonreshetov Feb 17, 2021
d8975f8
build: add ACTIONS_ALLOW_UNSECURE_COMMANDS
antonreshetov Feb 17, 2021
d1dcc81
build: set windows-2019 to win build
antonreshetov Feb 17, 2021
1769b56
build: try to remove win build
antonreshetov Feb 17, 2021
8dc3196
build: add to yarn install timeout 1000000
antonreshetov Feb 17, 2021
9850c5a
feat: disable check for update if is beta version
antonreshetov Feb 21, 2021
782cd8e
feat(SnippetListItem): add favorites mark
antonreshetov Feb 21, 2021
360dd2f
feat(ActionBar): add debounce to snippets search
antonreshetov Mar 15, 2021
cbb2041
feat(search): add multi-word search #143 (#144)
antonreshetov Mar 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(datastore): helpers
antonreshetov committed Feb 4, 2021
commit 90fe03fbc51bb9543f24b65e1d45548d667fabbf
2 changes: 1 addition & 1 deletion src/main/lib/datastore/helpers.js
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ export function deleteTechProps (obj) {
delete obj._id
delete obj.children
delete obj.tags
delete obj.folders
delete obj.folder
delete obj.createdAt
delete obj.updatedAt