Commit Graph

407 Commits

Author SHA1 Message Date
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
Mo
9ed6c6b0f1 feat: incorporate note controllers from snjs; fixes #525 2022-01-06 10:51:47 -06:00
Mo
3767ff1c19 fix: android webview no should load request, third party editor downloads 2021-12-31 12:45:48 -06:00
Mo
e200df214c fix: remove reachability service 2021-12-30 18:46:20 -06:00
Mo
ce5e89ac1d feat/offline-editors (#517)
* 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
2021-12-30 15:25:39 -06:00
Mo Bitar
88404609cc fix: use first party endpoint for network reachability 2021-12-22 12:09:23 -06:00
Mo Bitar
3b29a1522c fix: editor reference leak when switching editors repeatedly 2021-12-10 10:26:01 -06:00
Mo Bitar
6012c7f9f3 chore: merge master 2021-12-05 10:08:37 -06:00
Mo Bitar
66367f4b01 fix: const declaration location 2021-11-09 08:29:59 -06:00
Mo Bitar
eb589daee7 fix: enable v4 features 2021-11-09 08:25:03 -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
Johnny A
49e265d331 fix: use Base64.encode for URL safe stringified data (#505)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-04 12:21:22 -04:00
Antonella Sgarlatta
0bf103db81 fix: ts errors (#490) 2021-09-15 17:11:53 -03:00
Antonella Sgarlatta
503d239560 chore(version-snjs): 2.14.4 2021-09-15 15:42:43 -03:00
Johnny A
d26f1cf82e fix: remove trailing slash on defaultHost url (#482)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-09-08 10:06:29 -04:00
Vardan Hakobyan
f18b1f1949 Feat/provide app version to snapplication (#476)
* feat: provide version when creating application

* chore: provide old snjs version until the snjs pr is merged

* chore: put correct snjs version

* chore: put latest snjs and sncrypto-common versions

* fix: add dummy implementations to required methods
2021-09-06 10:38:56 +04:00
Antonella Sgarlatta
0c824f1475 fix: use console.error to log backup errors 2021-07-28 14:16:09 -03:00
Antonella Sgarlatta
23676d5e51 fix: add active tag to new note when not using plain editor 2021-07-19 13:06:10 -03:00
Antonella Sgarlatta
fed95918ac chore(version-snjs): 2.7.20 2021-07-15 14:05:59 -03:00
Antonella Sgarlatta
e8d6164482 chore(version-snjs): 2.7.19 - permissions handling 2021-07-14 19:01:17 -03:00
Antonella Sgarlatta
595f458b10 chore(version-snjs): 2.7.18 2021-07-13 19:19:16 -03:00
Antonella Sgarlatta
0247fa2280 fix: remove loading message on sync after registering 2021-07-06 17:32:30 -03:00
Antonella Sgarlatta
b3ae6ac665 fix: save backup to external storage if write permission is denied 2021-07-01 19:28:25 -03:00
Antonella Sgarlatta
567c76bdbd fix: save backups to downloads directory 2021-06-16 17:44:41 -03:00
Antonella Sgarlatta
ce7a59f473 fix: change backup destination to document directory 2021-06-15 15:44:01 -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
Karol Sójko
4f2b6b0e72 feat: switch sign out to API v1 (#442) 2021-06-08 16:16:13 +02: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
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
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
5732930ad2 fix: set screenshot privacy on app launch 2021-04-13 11:58:50 -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
526b143c8c fix: fix lingering syncing message 2021-03-29 16:46:20 -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
7ccf709a37 chore(version-snjs): 2.0.65 2021-03-10 11:22:31 -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
Antonella Sgarlatta
c3671d29cf fix: check if keychain is object before checking keys 2021-03-05 11:59:41 -03:00
Antonella Sgarlatta
e09189c9f1 fix: don't show previous installation alert when keychain object is empty 2021-03-04 17:55:17 -03:00
Antonella Sgarlatta
8f43441b30 fix: use fallback for intl instead of polyfill 2021-03-03 23:05:36 -03:00
Antonella Sgarlatta
dece6a0292 feat: make encrypted backups protected 2021-02-26 18:29:46 -03:00
Antonella Sgarlatta
1a120bb1b3 Merge branch 'develop' of https://github.com/standardnotes/mobile into develop 2021-02-25 17:32:41 -03:00
Antonella Sgarlatta
5c65f7b8af fix: don't blur screen on biometrics authentication 2021-02-25 17:10:30 -03:00
Antonella Sgarlatta
61b8945284 feat: make unprotecting a note a protected action (#372)
* feat: make unprotecting a note a protected action

* refactor: extract NoteCell and NoteSideMenu common code to helper hooks
2021-02-24 17:54:54 -03:00
Antonella Sgarlatta
b60366572a feat: always blur application in multitasking view 2021-02-24 17:24:03 -03:00
Antonella Sgarlatta
1ed7d80fd2 Fix biometrics on quit (#371)
* Revert "fix: add default param for authenticate screen"

This reverts commit 01266879bd.

* Revert "fix: biometrics shouldn't always show if set to on quit"

This reverts commit 5ed79e4810.

* fix: biometrics shouldn't always show if set to on quit

* fix: add prompt type and remove log

* refactor: changes per PR feedback

* refactor: remove unnecessary set to false

* refactor: return undefined instead of null

* refactor: always set previouslyLaunched to true

* chore: upgrade snjs version
2021-02-24 17:00:08 -03:00
Antonella Sgarlatta
b46e6683ac Revert "fix: biometrics shouldn't always show if set to on quit"
This reverts commit 5ed79e4810.
2021-02-24 10:43:33 -03:00
Antonella Sgarlatta
5ed79e4810 fix: biometrics shouldn't always show if set to on quit 2021-02-23 17:52:13 -03:00
Antonella Sgarlatta
9fbfb91188 feat: show alert if trying to protect note without protections 2021-02-19 13:42:04 -03:00