917 Commits

Author SHA1 Message Date
Johnny A
36807b3bdb fix: import file on iOS (#449)
* fix: decode selected file uri on iOS

* fix: remove exception from alert

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-06-21 17:58:18 -03:00
Antonella Sgarlatta
0ce2418da5 chore(version-snjs): 2.7.2 2021-06-17 12:00:36 -03:00
Antonella Sgarlatta
7a74c5662a fix: change lock mentions to prevent editing (#424)
* fix: change lock mentions to prevent editing

* fix: live item deinit called more than once

* fix: match uppercase to v4 design

* fix: remove unwanted change
2021-06-09 11:53:34 -03:00
Antonella Sgarlatta
2590a02a85 feat: revert offline editors (#443)
* Revert "fix: access denied webview errors on Android 10"

This reverts commit f171308aa6.

* Revert "feat: check for and download editor updates"

This reverts commit bce7218a4b.

* Revert "fix: live item deinit called more than once (#423)"

This reverts commit fb58bfc3ca.

* Revert "fix: offline editors issues (#416)"

This reverts commit 08930bdf73.

* Revert "feat: remove editor loading message on ThemesActivated action (#415)"

This reverts commit 19d535330d.

* Revert "fix: decrease loading editor message timeout"

This reverts commit d57361745b.

* Revert "fix: check if component mounted before state update"

This reverts commit 439df5f14c.

* Revert "feat: offline editors (#392)"

This reverts commit d2fe25d3ab.
2021-06-08 17:38:27 -03:00
Karol Sójko
4f2b6b0e72 feat: switch sign out to API v1 (#442) 2021-06-08 16:16:13 +02:00
Johnny A
ac4bc342f8 feat: option to import backups (#441)
* feat: option to import backups

* fix: remove catch block

* fix: long strings

* fix: 'first' prop to Import Data button

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-06-07 21:59:47 -04: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
Baptiste Grob
4b511b9e4d fix: typo 2021-05-24 11:59:07 +02:00
Baptiste Grob
38bd12ad42 feat: don't include archived and trashed in search options defaults 2021-05-14 14:30:25 +02:00
Baptiste Grob
f171308aa6 fix: access denied webview errors on Android 10 2021-05-14 13:54:58 +02:00
Baptiste Grob
bce7218a4b feat: check for and download editor updates 2021-05-13 16:28:45 +02:00
Baptiste Grob
bbb253f88f fix: immediately show editor change in note side menu 2021-05-11 17:31:51 +02:00
Baptiste Grob
91626b0d13 fix: replace YellowBox with LogBox 2021-05-05 12:20:06 +02:00
Baptiste Grob
7565a36766 fix: DrawerLayout warnings (#430)
* fix: use FlatList in NoteSideMenu

* fix: use FlatList in MainSideMenu
2021-05-05 11:35:20 +02:00
Antonella Sgarlatta
fb58bfc3ca fix: live item deinit called more than once (#423) 2021-05-04 12:13:50 -03:00
Antonella Sgarlatta
2142d56549 Merge branch 'master' into develop 2021-04-30 16:42:49 -03:00
Baptiste Grob
d59de4cb8b Hotfix/3.6.8 (#422)
* fix: do not set state in SNTextView content change event

* fix: typing quickly on search bar causes issues with input

Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
2021-04-30 13:35:47 -03:00
Baptiste Grob
71175ab593 Fix Compose view not picking up remote changed (#421)
* chore(deps): update sn-textview & standard-notes-rn

* fix: update compose view when receiving remote changes

* chore(version): 3.6.8

* fix: set screenshot privacy on app launch

Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
2021-04-30 10:56:52 -03:00
Baptiste Grob
f8a54df0c9 fix: show syncing status only once on startup (#419) 2021-04-28 17:19:41 +02:00
Baptiste Grob
5364366aa4 feat: link new notes with default editor (#417) 2021-04-28 17:14:09 +02:00
Antonella Sgarlatta
08930bdf73 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
2021-04-27 14:25:01 -03:00
Antonella Sgarlatta
19d535330d feat: remove editor loading message on ThemesActivated action (#415)
* chore(version-snjs): 2.0.76

* feat: remove loading editor message on ActivateThemes action
2021-04-26 14:19:41 -03:00
Antonella Sgarlatta
10f2441f27 Merge branch 'master' into develop 2021-04-26 10:33:59 -03:00
Baptiste Grob
2ec7611b0a fix: close editor when unmounting compose component (#412) 2021-04-26 11:41:31 +02:00
Baptiste Grob
e6ddd32f58 fix: do not display local data message when there are no items to decrypt (#411)
* fix: do not display local data message when there are no items to decrypt

* fix: use unicode ellipsis

* feat: improve status messages for initial loading/syncing
2021-04-23 16:03:49 +02:00
Baptiste Grob
cbd2d1702a fix: remember active tag on launch (#410)
* chore: run pod install

* fix: use 'application?'

* fix: restore selected tag on launch
2021-04-23 15:43:15 +02:00
Antonella Sgarlatta
0f7322af38 More accurate saving status, disable editor change on locked notes and SNJS upgrade (#409)
* fix: more accurate saving status

* fix: disallow changing editor on locked note

* chore(version-snjs): 2.0.75

* refactor: support snjs session history refactor
2021-04-21 16:32:51 -03:00
Antonella Sgarlatta
e254a41bbe fix: changes saved to previous note when switching notes (#406) 2021-04-19 16:40:20 -03:00
Antonella Sgarlatta
d57361745b fix: decrease loading editor message timeout 2021-04-14 10:44:13 -03:00
Antonella Sgarlatta
5732930ad2 fix: set screenshot privacy on app launch 2021-04-13 11:58:50 -03:00
Antonella Sgarlatta
22e06c43af fix: typing quickly on search bar causes issues with input 2021-04-12 17:08:49 -03:00
Antonella Sgarlatta
439df5f14c fix: check if component mounted before state update 2021-04-12 16:29:25 -03:00
Antonella Sgarlatta
d2fe25d3ab 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
2021-04-12 15:59:49 -03:00
Antonella Sgarlatta
5ed00944dd feat: make screenshot privacy optional (#389)
* feat: change PasscodeSection component name to SecuritySection

* feat: add screenshot privacy setting

* feat: make feature text dependent on platform

* fix: capitalize on Android

* fix: use default storage mode
2021-03-30 11:24:23 -03:00
Antonella Sgarlatta
60fd971e0c fix: unhandled promise rejection when attempting scrollToIndex 2021-03-30 11:04:34 -03:00
Antonella Sgarlatta
081d96c2a6 fix: cancel button on Android not clearing search 2021-03-30 11:04:06 -03:00
Antonella Sgarlatta
526b143c8c fix: fix lingering syncing message 2021-03-29 16:46:20 -03:00
Antonella Sgarlatta
33b8d4d86e fix: fix iOS font size and weight 2021-03-29 10:31:47 -03:00
Antonella Sgarlatta
d35e5f0171 fix: make compose note title bigger and bold 2021-03-26 16:42:02 -03:00
Antonella Sgarlatta
8fd731fe6c chore(version-snjs): 2.0.70 2021-03-25 13:01:10 -03:00
Antonella Sgarlatta
7be6491167 fix: hide webview when navigating away from screen 2021-03-24 17:31:41 -03:00
Antonella Sgarlatta
13a55f2df1 fix: re-add authenticate screen animation and remove isFocusingSearch 2021-03-24 11:25:22 -03:00
Antonella Sgarlatta
4d83d7c070 fix: update search box and fix chips not hiding on blur 2021-03-23 17:59:36 -03:00
Antonella Sgarlatta
4bed8690a9 fix: fix search bar focus issues 2021-03-23 17:43:23 -03:00
Antonella Sgarlatta
aeb449c41e fix: chips not hiding when clicking cancel 2021-03-23 11:33:23 -03:00
Antonella Sgarlatta
9945204bd5 Search options (#382)
* feat: add chip component

* feat: pass search options from state to snjs search

* feat: add keys to chip items

* feat: enable/disable protections chip depending on protections status

* feat: make selecting protected chip a protected action

* feat: change wording

* feat: add horizontal scrolling

* feat: add view protected note screen

* feat: remove protect note alert

* feat: show protected content when chip is selected

* fix: hide horizontal scrollbar

* fix: fix view protected screen wording

* Revert "feat: show protected content when chip is selected"

This reverts commit 367a7e7a14.

* fix: add search filter to query condition

* fix: apply filters only when searching

* fix: change wording for one search result

* fix: automatically re-focus input after enabling protected search

* fix: improve is focusing search

* feat: improve view protected note screen

* fix: use onCancel to hide chips on Android

* fix: use useFocusEffect instead of focus listener

* fix: add margin to chips for Android

* feat: add space between icon and placeholder on Android

* fix: fix Android search bar focus

* fix: fix wording for 0 search results

* feat: better wording for view protected note text

* feat: add search options container animation

* feat: add chips animation

* chore: update search box

* feat: make search options animation faster

* fix: always show all chips except when on archived or trash tag

* fix: add bg color to search container

* feat: make chips animation faster

* fix: only toggle chip when selected has changed

* fix: remove elevation for search bar container

* chore: upgrade search box

* feat: use native driver for chip animation

* feat: add opacity animation to search options

* feat: adjust animations duration

* feat: make chip animation faster
2021-03-23 10:44:13 -03:00
Antonella Sgarlatta
bff052a731 fix: add min height to webview 2021-03-19 15:13:19 -03:00
Antonella Sgarlatta
7ccf709a37 chore(version-snjs): 2.0.65 2021-03-10 11:22:31 -03:00
Antonella Sgarlatta
633f76cc86 fix: save note alerts wording (#379) 2021-03-08 13:58:18 -03:00
Antonella Sgarlatta
af4a10e648 feat: notes display criteria (#378)
* feat: notes display criteria

* feat: use CollectionSort instead of NoteSortKey

* feat: remove includeArchived and includePinned
2021-03-08 12:31:30 -03:00