498 Commits

Author SHA1 Message Date
Vardan Hakobyan
5433fc0bdc chore: upgrade deps (#633)
* chore: upgrade deps

* fix: ts error
2022-06-06 20:35:05 +04:00
Mo
26f7de22f2 chore: bump snjs 2022-06-02 12:10:37 -05:00
Mo
229528c855 fix: protected note selection on tablets (#628) 2022-05-31 09:30:59 -05:00
Vardan Hakobyan
30333f259d chore: bump version (#627) 2022-05-26 20:20:43 +04:00
Vardan Hakobyan
0ca9d78c2b chore: upgrade dependencies (#625)
* chore: upgrade dependencies

* fix: import icons from the correct repo

* fix: remove unnecessary code

* fix: correct function call

* chore: bump snjs

* fix: upgrade rnjsi, use urlsafe base64

* fix: error when deleting the note

* chore: upgrade deps

Co-authored-by: Mo <mo@standardnotes.com>
2022-05-26 16:12:59 +04:00
Vardan Hakobyan
bb1f4e3af7 feat: show "Learn more" in Files section if user is not entitled to files (#618)
* feat: show "Learn more" in Files section if user is not entitled to files

* chore: bump version

* chore: version bump
2022-05-23 13:05:02 +04:00
Mo
0bc6762e31 chore: upgrade snjs; fixes #619 2022-05-19 10:55:30 -05:00
Mo
bf1dccc0b2 feat: app group update (#617) 2022-05-17 11:01:32 -05:00
Vardan Hakobyan
51d97076b8 feat: show progress on file upload and download (#608) 2022-05-10 09:30:27 -05:00
Mo
f1e707cb36 chore: bump snjs 2022-05-10 07:42:58 -05:00
Mo
e3e32f3c6b chore: bump deps and version 2022-05-09 17:45:07 -05:00
Mo
7671ae6eb1 chore: bump snjs deps 2022-05-05 22:23:53 -05:00
Mo
de782eccf4 feat: note types 2022-05-03 11:24:35 -05:00
Mo
2123fdb3f1 fix: pass note view into compose instead of reading dynamic state (#605) 2022-05-02 12:36:23 -05:00
Mo
647b301a16 chore: upgrade snjs (#601) 2022-04-25 11:03:03 -05:00
Vardan Hakobyan
32a5c0dcda chore: lint codebase according to @standardnotes/config (#594)
* refactor: extend TS configs from snjs and update codebase

* chore: run prettier

* chore: prettier

* chore: eslint

* chore: make file and folder names uppercase

* chore: make remaining file names pascal case

* fix: update custom paths in tsconfig

* fix: correct file name

* fix: set print width to 100
2022-04-20 19:06:35 +04:00
Mo
f9471b416e chore: upgrade snjs 2022-04-19 11:46:55 -05:00
Vardan Hakobyan
b4ca62faa5 chore: upgrade dependencies (#593) 2022-04-19 17:58:03 +04:00
Vardan Hakobyan
767285a8b0 feat: upload files (#584)
* feat: upload files (chosen from device)

* refactor: handle file picking and uploading separately

* fix: when some file isn't uploaded, move to the next one instead of stopping the whole uploading process
fix: better wording

* feat: read file in chunks when uploading

* feat: read file in chunks and upload in one loop

* feat: attach files from camera and image library

* fix: better wording

* feat: let the user choose whether to shoot photo or video to attach, remove extra "Library" option for Android

* fix: correct imports

* fix: correct imports

* fix: remove unneeded styles, improve wording

* feat: implement files deletion (#588)

* feat: implement files deletion

* refactor: handle error on deleting, better wording
2022-04-13 11:12:51 -05:00
Mo
51fd22aa2a refactor: new snjs (#586) 2022-04-11 13:37:54 -05:00
Vardan Hakobyan
b2ecd5f6d1 chore: upgrade deps (#581)
* chore: upgrade deps

* chore: correct snjs version

* fix: use correct service

* fix: TS errors

* fix: TS errors
2022-04-04 19:50:29 +04:00
Vardan Hakobyan
90a0caf901 feat: files popover (#570)
* feat: files popover (initial commit)

* chore: fixes after updating deps

* refactor: get rid of extra types

* feat: filter files list

* feat: rename file

* fix: sodium jsi package

* chore: update deps

* chore: upgrade deps

* fix: sodium jsi types

* feat: download files

* refactor: use screens navigation instead of modals so that next popups are not hidden behind already opened ones

* chore: version bump

* refactor: navigate to new screen for renaming files

* refactor: when downloading the file, append content chunks to it instead of overwriting the whole file

* feat: add Share dialog on iOS and separate "Share" and "Download" options on Android

* fix: small fixes

* feat: show toast notifications on file-related actions

* feat: show toast notifications on file-related actions, cleanup unneeded files after share

* feat: store downloaded files in "Downloads" folder on Android

* feat: show success message on ios after sharing the file

* fix: use `Aes` from React Native, remove unused dependency

* fix: restore "@standardnotes/react-native-aes" module

* feat: add feature flag to show files on dev only

* chore: fix lint error

* fix: performance optimization

* fix: call file protection methods from mutator service

* fix: remove event listener correctly after RN version update

* feat: download files on android to "Download" folder

* fix: remove event listener correctly after RN version update

* feat: check the storage permissions on Android on downloading files

* fix: don't trigger download if there is another download in progress

* style: wrap long file names, remove unneeded styles

* style: make file list scrollable, wrap long file names, remove unneeded styles

* fix: correctly delete attached file, better wording

* refactor: move files related logic to separate service

* fix: make the last item in files list reachable on scrolling

* fix: show toast notification after attaching/detaching file to a note

* feat: show lock icon next to protected files

* feat: show lock icon ONLY next to protected files

* feat: make search bar from notes list reusable and consume in files list as well

* feat: show filtered files count on screen title

* refactor: better name for `SearchBar` component

* fix: remove hardcoded bottom padding from files list

* chore: upgrade dependencies

* feat: show files in a separate section on sidebar
refactor: move file-related actions to a custom hook

* refactor: add types for toast

* feat: hide toast notification when pressing it

* chore: upgrade deps

* feat: show lock icon for protected files in Files section

* feat: better look for "Attached"/"All files" tabs switcher

* fix: decrease tab switcher height a bit smaller

* chore: fix lint errors

* feat: show "Export" instead of "Download" on iOS file actions

* feat: show different titles for file screen opener link depending on attached files count

* fix: show files list in note sidebar with correct vertical distance

* fix: optimize file protection toggling

* chore: cleanup console logs

* fix: remove commented parts

* fix: remove not implemented and commented parts

* style: more distance between lock and filetype icons

* fix: changes based on reviews

* fix: remove android-related unneeded configs

* chore: upgrade dependencies

Co-authored-by: Mo <mo@standardnotes.com>
2022-03-30 17:54:35 +04:00
Mo
7e14b5a052 fix: patch keychain package to fix launch performance regression in last release 2022-03-28 13:53:47 -05:00
Mo
a8350f7593 chore: fix missing android bundle 2022-03-23 14:07:23 -05:00
Mo
35f584f4e2 fix: do not modify timestamps when modifying note metadata 2022-03-22 12:46:49 -05:00
Mo
b6cdbe37f6 chore: upgrade deps 2022-03-22 11:11:46 -05:00
Mo
5319a9871c chore: upgrade deps 2022-03-21 14:47:39 -05:00
Mo
2ae277f594 chore: major deps (#574)
* chore: upgrade core rn dep

* chore: move rn document picker to main deps

* chore: upgrade dev deps

* chore: upgrade rnsodium

* chore: upgrade styled-components

* chore: upgrade rn doc picker

* chore: upgrade react navigation

* chore: upgrade sntextview and react-native-aes

* chore: update static server patch file

* chore: fix types

* chore: upgrade snjs deps

* chore: lint

* chore: bump version
2022-03-19 10:29:38 -05:00
Mo
a4fc21611c feat: remove bugsnag (#573) 2022-03-15 13:43:49 -05:00
Mo
6970d84422 chore(deps): snjs 2022-03-14 11:59:08 -05:00
Vardan Hakobyan
9469ebf860 fix: when adding child tag to a note, add its parent tag as well (#569)
* fix: when adding child tag to a note, add its parent tag as well

* chore: bump dependencies version

* chore: correct imports

* chore: correct imports
2022-03-08 18:53:59 +04:00
Mo
3563b62f0e chore: upgrade deps 2022-02-27 17:48:47 -06:00
Mo
28eaeca46e refactor: smart tags to smart views (#562) 2022-02-27 14:44:45 -06:00
Mo
f0bc7467c9 chore: upgrade deps (#560) 2022-02-25 10:32:53 -06:00
Vardan Hakobyan
f6fa6ce4b0 fix: allow copying locked note's title (#557)
* fix: allow copying locked note's title

* chore: version bump
2022-02-24 18:33:41 +04:00
Johnny A
1a2b66042c chore(deps): update sn-react-native and sn-textview packages (#556)
* chore(deps): update sn-react-native and sn-textview packages

* chore: update Podfile.lock

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-02-23 16:59:48 -04:00
Mo
8aca011686 chore: bump version 2022-02-23 11:15:55 -06:00
Vardan Hakobyan
804df2adf4 feat: show listed on mobile (#554)
* feat: show listed on mobile

* fix: avoid endless loop when fetching listed items

* refactor: render side menu items without checking item's index

* feat: implement new blog addition

* feat: ui improvements, show appropriate message when no action available for a blog

* feat: refresh listed menu items when user executes blog-related action

* feat: UI improvements - add icons, better distinction between Listed sections

* feat: show loading indicators on async actions, near respective items

* chore: update dependencies

* fix: updates regarding last snjs changes

* fix: remove unnecessary html tags from message
2022-02-23 19:02:47 +04:00
Mo
f4bb8794ca fix: increase batch size to 700 2022-02-16 15:14:18 -06:00
Mo
656311344c chore(deps): snjs 2022-02-16 13:31:56 -06:00
Mo
28097e2b51 fix: add on load decryption batching 2022-02-16 13:27:26 -06:00
Mo
9894ec3fc7 chore: fix version number 2022-02-16 11:51:11 -06:00
Radek Czemerys
0c6e611632 feat: use new JSI sodium implementation (#553)
* feat: use JSI for sodium implementation

* feat: syncronous crypto

* feat: synchronous uuid generation

* fix: revert xcodeproj changes

* chore: bump react-native-sodium-jsi version

* refactor: removed unused android code

* chore(deps): snjs

* chore(deps): snrn-jsi
2022-02-16 11:24:31 -06:00
Vardan Hakobyan
ded4063f11 feat: import svg icons from stylekit (#550)
* feat: import svg icons from stylekit

* chore: update dependencies versions

* fix: remove unnecessary local icons
2022-02-15 12:11:51 +04:00
Vardan Hakobyan
d53ebaa4be fix: bump snjs submodules versions, update affected parts (#546)
* chore: bump SN versions

* fix: updates according to latest snjs changes
2022-02-09 19:10:00 +04:00
Mo
055e73725a chore(deps): bump @standardnotes packages 2022-02-03 12:01:01 -06:00
vardanhakobyan
7ea667f0da release: 3.10.1 (to match with the new release version) 2022-02-03 12:42:39 +04:00
vardanhakobyan
7e8b41462e release: 3.10.0 2022-02-03 12:39:15 +04:00
Vardan Hakobyan
3b89c655bd feat: new UI for note cell (#537)
* chore: add support of svg files

* chore: replace original `no-shadow` rule to stop receiving false positive warnings

* feat: show editor icons and note status icons (pinned, deleted, etc.)

* refactor: store new colors in themes

* fix: handle missing icons case for note cell

* fix: get icon color and tint from snjs, remove duplicate color (`#086DD6`) from themes

* feat: let users to hide the editor icons

* chore: snjs version bump
2022-01-31 19:01:57 +04:00
Vardan Hakobyan
8407233690 fix: use specific commit for the package (working version) (#533) 2022-01-19 18:28:23 +04:00