* 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
* 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>
* 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
* feat: offline editors (#392)
* feat: add react-native-zip-archive dependency
* feat: download and extract offline editors
* feat: use offline editor path as webview source
* fix: change function name
* fix: move deactivate editor to compose unmount
* fix: add origin whitelist
* fix: add read access url
* fix: increase load end timeout to remove theme load flicker
* fix: set online url on getOfflineEditor error
* fix: set editor width and scale
* fix: add timeout to remove download message flicker
* fix: deactivate component when switching editors
* fix: use online url if process is terminated
* fix: check if component mounted before state update
* fix: decrease loading editor message timeout
* feat: remove editor loading message on ThemesActivated action (#415)
* chore(version-snjs): 2.0.76
* feat: remove loading editor message on ActivateThemes action
* fix: offline editors issues (#416)
* fix: read main from package.json
* fix: reload editor when switching after editor load failure
* fix: check offlineOnly before setting online url
* fix: prevent editor download if another download is in progress
* fix: live item deinit called more than once (#423)
* feat: check for and download editor updates
* fix: access denied webview errors on Android 10
* feat: serve offline editors from local static server (#472)
* feat: serve offline editors from local static server
* fix: use document directory for both OS
* fix: download error handling
* refactor: use forked repo for react-native-static-server
* chore: add logs and temporarily enable them for dev
* feat(wip): integrity verification
* refactor: component manager handling downloads
* feat(wip): functional component viewer
* feat: handle local themes
* chore: disable logging
* improve: use existing function
* fix: root url first load
* fix: types
* chore: cleanup
* chore(deps): upgrade React Native to v0.64
* chore(deps): upgrade react to v17
* fix: use FlatList in MainSideMenu
* fix: use FlatList in NoteSideMenu
* chore: run pod install
* Revert "fix: use FlatList in NoteSideMenu"
This reverts commit bd9a686268.
* Revert "fix: use FlatList in MainSideMenu"
This reverts commit 116fdafbb9.