187 Commits

Author SHA1 Message Date
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
1dc07c1b60 chore: add keep file to keep directory 2022-03-23 15:29:41 -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
20c6b3f52b fix: remove bugsnag remnant 2022-03-15 14:19:17 -05:00
Mo
a4fc21611c feat: remove bugsnag (#573) 2022-03-15 13:43:49 -05: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
Johnny A
b0d150e919 fix: unable to open URLs on Android 11 and above (#531)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-01-17 10:45:58 -04:00
Mo
180416b3d4 fix: allow cleartext for localhost 2022-01-03 11:38:40 -06:00
Mo
4d370380c3 feat: react-native 0.66.4 2021-12-31 23:21:26 -06:00
Mo
822787a5a1 feat: upgrade react native to 0.65.1 2021-12-31 19:11:40 -06:00
Johnny Almonte
0a4705a495 Merge remote-tracking branch 'origin/master' into develop 2021-11-11 10:18:05 -04:00
Mo Bitar
eb589daee7 fix: enable v4 features 2021-11-09 08:25:03 -06:00
Johnny A
386708660f feat: show message that user is offline when managing sessions (#508)
* chore(deps): install @react-native-community/netinfo

* fix: setup for @react-native-community/netinfo on Android

* fix: ability to set text alignment on LoadingText component

* feat: show message that user is offline when managing sessions

* fix: optional textAlign prop

* feat: network service

* fix: useIsOffline hook to check if offline

* refactor: network service

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-08 15:09:57 -04:00
Mo Bitar
fff2d36afc chore: upgrade android compile sdk 2021-11-08 12:27:54 -06:00
Johnny A
cafe222fbb fix: export backup to file on Android (#506)
* fix: set requestLegacyExternalStorage to true

* fix: refactor permission request for storage

* refactor: backups service

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-04 12:33:02 -04:00
Antonella Sgarlatta
ec861b3028 fix: add ndk version to build.gradle 2021-10-05 15:19:22 -03:00
Antonella Sgarlatta
567c76bdbd fix: save backups to downloads directory 2021-06-16 17:44:41 -03:00
Johnny A
21a2cb66a1 feat: make error reporting opt-in (disabled by default) (#440)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-06-07 10:48:34 -04:00
Johnny A
740ad3e464 feat: remote debugging for WebViews (#438)
* feat: remote debugging for WebViews

* fix: get application context

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-06-01 10:17:05 -04:00
Baptiste Grob
391f507ddd fix: revert gradle update 2021-05-12 15:58:34 +02:00
Baptiste Grob
7c9906d1f6 chore(deps): update gradle to v6.5 2021-05-12 12:32:27 +02:00
Radek Czemerys
58b3e9974c fix: downgrade react to officially supported version (#435)
* fix: downgrade react to officially supported version

* Update gradle bulld tools
2021-05-12 11:40:59 +02:00
Antonella Sgarlatta
0cdb4ad100 fix: add hermes proguard rules 2021-03-19 17:22:07 -03:00
Radek Czemerys
3059ad551c chore: broken gradle file 2021-01-04 16:25:24 +01:00
Radek Czemerys
69052a5e20 fix: chashes when disabling bug snag 2020-12-22 18:29:37 +01:00
Radek Czemerys
3d54a1b21d feature: bugsnag opt out 2020-12-22 17:38:39 +01:00
Radek Czemerys
78f3854902 feature: React Native 0.63.4 2020-12-14 13:47:32 +01:00
Radek Czemerys
5734f128de fix: dark theme auto change on Android 2020-11-24 14:03:33 +01:00
Radek Czemerys
5df5dc7ee0 fix: attempt to avoid Android crashes 2020-11-16 18:34:04 +01:00
Radek Czemerys
93505ed4cb fix: workaround for loading bigger items on Android 2020-10-20 17:19:23 +02:00
Radek Czemerys
9373ffb17a fix: fix weird fonts 2020-10-14 21:27:52 +02:00
Radek Czemerys
8a589d0d9d fix: white flash before js bundle is loaded 2020-10-14 19:03:27 +02:00
Radek Czemerys
c4f302e0d5 fix: disable settings access for main activity on Android 2020-10-12 23:47:00 +02:00
Radek Czemerys
451eb45d2b feature: disable bugsnag network requests breadcrumbs 2020-09-10 17:13:04 +02:00
Radek Czemerys
9987202174 feature: upgrade to new Bugsnag API 2020-08-27 17:24:58 +02:00
Radek Czemerys
d351c3fa54 fix: Android app crashing on app restore 2020-08-24 10:54:29 +02:00
Radek Czemerys
69e46aef78 feature: setup provisioning on iOS 2020-07-21 11:18:02 +02:00
Radek Czemerys
556b1e5c5f fix: android build number 2020-07-20 18:02:03 +02:00
Radek Czemerys
a75c94ecb8 feature: use run number to bump versions 2020-07-20 17:41:05 +02:00
Radek Czemerys
048a1fb3e2 feature: android build pipeline 2020-07-20 15:55:12 +02:00
Radek Czemerys
f9bad7c78f chore: update Android dev app icon 2020-07-17 16:51:22 +02:00
Radek Czemerys
9e75cd47e3 feature: add Android build flavours 2020-07-16 16:53:58 +02:00
Radek Czemerys
f9cc697876 feature: pass env variable for dev 2020-07-16 16:17:48 +02:00
Radek Czemerys
ad271c2366 feature: Note List header & native serch 2020-07-11 00:16:58 +02:00
Radek Czemerys
677f08c121 feature: change user facing app name to Standard Notes 2020-07-06 18:31:18 +02:00
Radek Czemerys
ceeeab13e9 feature: cleanup dependencies & fix header on Android 2020-06-23 00:14:13 +02:00
Radek Czemerys
03fca14015 feature: upgrade dependencies 2020-06-09 15:27:46 +02:00
Radek Czemerys
fdfa718eb0 feature: e2e tests on Github Actions (#254) 2020-05-08 11:56:37 +02:00
Radek Czemerys
d4ae4db154 React Native 0.62.2 (#249)
* Android upgrade

* iOS setup without flipper

* Add Bridging headers

* Bring back AsyncStorage limit

* Remove submodules

* Remove files from vendor

* Use dependencies from forks

* Update init command

* Remove unused libraries

* Working iOS setup

* Update AppDelegate.m

* Use new flipper
2020-04-21 18:04:03 +02:00