27 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
a8350f7593 chore: fix missing android bundle 2022-03-23 14:07:23 -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
Mo Bitar
d483769306 fix: react native URL polyfill 2021-11-15 15:51:36 -06:00
Antonella Sgarlatta
8f43441b30 fix: use fallback for intl instead of polyfill 2021-03-03 23:05:36 -03:00
Antonella Sgarlatta
67a36121f2 fix: add intl polyfill for Android 2021-03-03 18:38:45 -03: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
d89d9bf189 fix: save tag selection 2020-11-24 19:34:04 +01:00
Radek Czemerys
1a7b62c436 feature: update snjs 2020-11-21 15:19:48 +01:00
Radek Czemerys
e3feba14c4 fix: migration & SNLog integration 2020-11-03 21:14:42 +01:00
Radek Czemerys
08ffbfdcb9 refactor: better file naming 2020-10-05 16:27:37 +02:00
Radek Czemerys
b8c876edcb feature: bring back Android text fix 2020-09-22 14:28:29 +02:00
Radek Czemerys
9987202174 feature: upgrade to new Bugsnag API 2020-08-27 17:24:58 +02:00
Radek Czemerys
b47f263bca feature: dark theme 2020-08-16 16:12:18 +02:00
Radek Czemerys
ff0c0631c9 feature: biometrics only lock 2020-07-22 16:37:59 +02:00
Radek Czemerys
03fca14015 feature: upgrade dependencies 2020-06-09 15:27:46 +02:00
Radek Czemerys
79ab688548 Stylekit refactor 2020-05-28 14:45:03 +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
Radek Czemerys
610eeffa63 Yarn + remove webview fork (#251)
* Yarn + remove webview fork

* Update lint job
2020-04-22 16:01:18 +02:00
Radek Czemerys
6783d2e406 Eslint + prettier (#250)
* 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

* Add lint deps

* Proper eslint + prettier setup

* Fix workflow path

* gitlab => github
2020-04-21 19:19:23 +02:00
Mo Bitar
7546891551 Use WebKit 2019-03-25 16:43:25 -05:00
Mo Bitar
e601286ce1 Android Text fix 2019-01-15 20:47:11 -06:00
Mo Bitar
0c0033d6d6 Fixes 2019-01-12 11:22:29 -06:00
Mo Bitar
788ff4a846 Side menu redesign WIP 2018-12-28 15:32:00 -06:00
Mo Bitar
a463f6dbfb Functioning refactor with react-navigation 2018-12-27 01:22:30 -06:00
Mo Bitar
22edfebe3c Pre-switch to React Navigation 2018-12-26 12:22:36 -06:00