9 Commits

Author SHA1 Message Date
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
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
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
Radek Czemerys
74531f66ec fix: resolve lint errors 2020-07-16 11:04:00 +02:00
Radek Czemerys
894868b3a7 feature: components refactor 2020-06-10 01:42:17 +02:00
Radek Czemerys
3b1e598850 Fix critical security vulnerability 2020-06-05 21:42:22 +02:00
Radek Czemerys
fdfa718eb0 feature: e2e tests on Github Actions (#254) 2020-05-08 11:56:37 +02:00
Radek Czemerys
6149f150df TS types (#253)
* Add TS to lib/components/styles/authentication

* Rollback prettier changes to declutter diff

* Authentication migration

526 errors

* Notes

328 errors

* Settings

172 errors

* refactor: last screens

* fix: revert setting wrong sideMenuHandler

* feature: upgrade type deps
2020-05-07 10:57:52 +02:00
Radek Czemerys
d86b4b98f0 Typescript + snjs migration (#252)
* Rename all files for TS

* Bump types

* Update naming

* App working state

* snjs migration

* chore: update deps

* fix: use initUUID from snjs item

* chore: Add TODO comment

* feature: bump types

* chore: remove sourcemaps from tsconfig
2020-04-28 17:25:19 +02:00