Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master v1 0 0 #680

Merged
merged 320 commits into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
320 commits
Select commit Hold shift + click to select a range
987f799
Translated pt locations files (#125)
douglara Mar 24, 2020
048b1f8
fixing broken link to issue list (#186)
greggles Mar 24, 2020
8d74174
Fix formatting in languages json due to merge (#183)
thetimbanks Mar 24, 2020
269fe43
Added feedback for trace overlap if it comes back with no results (#190)
SamMakesThings Mar 25, 2020
dcb8e68
minor version bump to clear Xcode warnings (#168)
rparet Mar 25, 2020
076b617
Bluetooth Broadcasting on Android. (#193)
vitorpamplona Mar 25, 2020
77eda9f
Fix broken layout on low-res devices using flex layout on LocationTra…
SamMakesThings Mar 25, 2020
30f2672
Update CSV data source, refine text (#197)
penrods Mar 25, 2020
29ef96d
Version: 0.5.8 (#198)
vitorpamplona Mar 25, 2020
8d4e51a
Fix typo in location tracking url_info text (#200)
thetimbanks Mar 25, 2020
20db5f8
Enhancing the License screen (#202)
penrods Mar 25, 2020
4bf1b3e
Fix circles crash by only showing nearby circles (#212)
tremblerz Mar 26, 2020
51b224f
ESlint added and removed few errors (#201)
harshvitra Mar 26, 2020
35f93c3
Added Loader for Webviews (#206)
harshvitra Mar 26, 2020
00e89b6
Change color of three dot menu button to match the color of other but…
pathakparth Mar 26, 2020
91a8da3
Migrating Bluetooth library to 0.0.5 (#214)
vitorpamplona Mar 26, 2020
9bd456e
Add code formatting rules with git-hooks #189 (#210)
pathakparth Mar 26, 2020
e0ecc04
initial commit of new welcome screen
Mar 27, 2020
150d7af
Brazilian Portuguese language support (#229)
alpita-masurkar Mar 27, 2020
58b4d1d
Dutch translation (#225)
alpita-masurkar Mar 27, 2020
305c010
Andynuzzo/it (#223)
andreanuzzo Mar 27, 2020
595faa9
Update macos_build.yml (#236)
rparet Mar 27, 2020
28b0762
Typo fix from Enrico Santus on latest (#239)
alpita-masurkar Mar 27, 2020
2b72fa6
Add jest snapshot testing to the main views (#187)
thetimbanks Mar 27, 2020
df02c39
Italian missing licenses file- Andy's translation added (#241)
alpita-masurkar Mar 27, 2020
1d4b005
Update intro screen with real contents
Mar 27, 2020
c6e23e8
Add custom map styles to the Overlap map (#246)
thetimbanks Mar 27, 2020
5df8463
Merge branch 'develop' of https://github.com/letstrace/letstrace into…
Mar 27, 2020
ffda773
Haitian Creole with Translation Inputs from Gerald McElroy (#238)
alpita-masurkar Mar 27, 2020
9db51a3
Spanish language support based on Miquel Vila Porté's translation (#245)
alpita-masurkar Mar 27, 2020
3c425e1
gradient button. minor content update for intro screen
Mar 27, 2020
9c2fabf
add svg for icon
Mar 27, 2020
b6c7899
minor update to button in intro page. added font weights so we can us…
Mar 27, 2020
7551c35
Notification UI to show histogram and day wise list of intersections …
tremblerz Mar 27, 2020
323bc8d
Fixed 'Always Allow' for iOS (#97)
1geek0 Mar 27, 2020
6191720
Change the ui of Notifications (#254)
harshvitra Mar 28, 2020
8f6880b
Fix design and remove url (#255)
harshvitra Mar 28, 2020
b198943
Cleanup react warning on the Overlap screen (#249)
thetimbanks Mar 28, 2020
7b32dcd
Fixed text in the Notifications page (#256)
harshvitra Mar 28, 2020
d233a34
adding generic ButtonWrapper component. updated UI for locationTracki…
Mar 28, 2020
03b8f5d
updated launch screen for iOS
Mar 28, 2020
73bf439
formatting code using prettier-vscode
Mar 28, 2020
cca0b2c
using props type for buttons
Mar 28, 2020
92aadb4
Merge branch 'develop' of https://github.com/letstrace/letstrace into…
Mar 28, 2020
a1aa119
update lock file
Mar 28, 2020
bf01886
resolve autolinking for react native
Mar 28, 2020
380fbd0
minor fixes
jin-stuff Mar 28, 2020
83dc7a6
Merge pull request #1 from letstrace/newUI
sreekarhub Mar 28, 2020
90f169c
Update Export screen to show more accurate log data (#244)
thetimbanks Mar 28, 2020
26e84a6
Change location marker and description, get rid of redundant markers …
tremblerz Mar 28, 2020
35ebe83
Minor bug fixes in Share and Overlap features (#265)
tremblerz Mar 29, 2020
74d8002
Removed unused screens and reverted name changes
sreekarhub Mar 29, 2020
783fdb7
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
sreekarhub Mar 29, 2020
87a64a0
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
sreekarhub Mar 29, 2020
2d744c5
Rebase on develop
sreekarhub Mar 29, 2020
b941d0e
Merge pull request #2 from letstrace/newUI
jin-stuff Mar 29, 2020
71dc1c4
Fixed snapshot test failure
sreekarhub Mar 29, 2020
16ccdee
Spanish translation update_Miquel (#272)
alpita-masurkar Mar 29, 2020
e5fcb63
Version 0.5.10 (#251)
vitorpamplona Mar 29, 2020
c12d4d4
Remove duplicate function willParticipate (#271)
filkaris Mar 29, 2020
91df1f1
Automatic snapshot tests with Jest (#242)
rparet Mar 29, 2020
ea702df
Add testing details to CONTRIBUTING and add Google API setup to READM…
thetimbanks Mar 29, 2020
1aa62b4
Catalan translation_miquel (#274)
alpita-masurkar Mar 29, 2020
647e96d
Marathi_Translation_Update_Alpita (#268)
alpita-masurkar Mar 29, 2020
e6bd624
Disable share button on Export screen if no log data (#275)
thetimbanks Mar 29, 2020
673c9ac
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
sreekarhub Mar 29, 2020
3a8d004
Resolved merge conflicts
sreekarhub Mar 29, 2020
6a3745e
Reverted formatting changes on services files
jin-stuff Mar 29, 2020
7832217
Reverted formatting changes on services files
jin-stuff Mar 29, 2020
c3d521b
Fix disable location sharing ble (#280)
davidbiga Mar 29, 2020
903a680
fix unit test for react-native-svg
jin-stuff Mar 29, 2020
e7a872e
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
jin-stuff Mar 29, 2020
b45b161
Update Overlap screen to update when it comes into focus (#259)
thetimbanks Mar 29, 2020
72ea1c4
[Dev setup] Mac fixes, and clearer instructions (#281)
Mar 30, 2020
1c3a600
FR locale (translation) (#215)
heri Mar 30, 2020
27a9d1d
Adding Kannada Language support (#276)
kalidasa Mar 30, 2020
3b592b0
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
jin-stuff Mar 31, 2020
693c5dc
Export fix for iOS (#283)
tremblerz Mar 31, 2020
419e99d
Android Bluetooth Contact Tracing V1. (#279)
vitorpamplona Mar 31, 2020
41da1d0
Windows development scripts (#288)
darioscarpa Mar 31, 2020
a074146
CS (Czech) locale (#213)
CMIT-RomanP Mar 31, 2020
908cf46
Hindi translation update_Garvit_Joshi (#292)
alpita-masurkar Mar 31, 2020
8ecdb8f
added new language support for the urdu (#258)
talha7o Mar 31, 2020
8c5a745
add gujarati support (#286)
AmeyDesai7 Apr 1, 2020
3fd542e
Update contribution documentation (#293)
pathakparth Apr 1, 2020
8d4e773
Version 0.5.11 (#297)
vitorpamplona Apr 1, 2020
d0599c6
Merge branch 'develop' of https://github.com/tripleblindmarket/privat…
jin-stuff Apr 2, 2020
094a9d2
update lock file
jin-stuff Apr 2, 2020
3dd8c08
disable landscape.
jin-stuff Apr 2, 2020
0f55967
fixed syntax error in gj labels block on dev, languages.js (#318)
alpita-masurkar Apr 2, 2020
0f48894
Merge Safe paths branch into develop (#328)
tremblerz Apr 3, 2020
04e5fb2
Fix issues which came with safepaths branch merge (#332)
tremblerz Apr 3, 2020
f5274f7
Merge branch 'privateKitUIRefresh' of git://github.com/letstrace/lets…
Apr 4, 2020
be14d2e
Merge branch 'letstrace-privateKitUIRefresh' into develop
Apr 4, 2020
2fca51b
"Rebranding" from Private Kit to: COVID Safe Paths (#331)
penrods Apr 4, 2020
6684c56
Remove old "Check Overlap" functionality (#348)
penrods Apr 5, 2020
35fd06f
Reworking the UI for exposure notifications (#342)
penrods Apr 5, 2020
849c04f
Make some hardcoded texts translatable (#329)
filkaris Apr 5, 2020
e3189d5
Merge fixes for the safepaths (#352)
tremblerz Apr 5, 2020
99f9d0e
merging #354
Apr 5, 2020
8791676
ken wuz here - fixing unresolved
Apr 5, 2020
dc45932
V2 Redesign (#354)
TruffleClock Apr 5, 2020
5ac0848
Merge translation strings into a single file (#356)
penrods Apr 5, 2020
eba5e76
android import fix #114 (#247)
popofibo Apr 5, 2020
dcaecf4
Change android launcher and app name (#358)
tstirrat Apr 5, 2020
3afba2a
Commit headline -- not longer than this line (50)
Apr 5, 2020
1a9cd46
Add a .gitmessage template to the repo (#362)
penrods Apr 6, 2020
7388c08
Tweak the Licenses file to hold Legal in general (#361)
penrods Apr 6, 2020
390e017
Merge branch 'develop' of github.com:tripleblindmarket/private-kit in…
Apr 6, 2020
9c6f32c
Start of news from Healthcare Authorities (#366)
penrods Apr 6, 2020
81ecf37
Add locale picker, Haitian Creole translation (#367)
penrods Apr 6, 2020
c0c8394
Fix the tests with all the UI changes (#369)
tremblerz Apr 6, 2020
3f1801d
Enforce Yarn, remove npm lock (#240)
pathakparth Apr 6, 2020
4b9b504
Mock splash screen to fix unit-test (#372)
pathakparth Apr 6, 2020
e9ee22f
Fix small typo in dev_setup.sh (#364)
Patrick-Erichsen Apr 6, 2020
85fe969
Make develop green, improve unit tests (#370)
tstirrat Apr 7, 2020
2602c19
Final wording tweaks for the MVP (#376)
penrods Apr 7, 2020
3edd37b
Add v2 UI styled locale picker (was #368) (#377)
penrods Apr 7, 2020
013bd70
Separate and parallelize builds, build APK for easy testing (#359)
tstirrat Apr 7, 2020
3be087e
Change Export directory path for iOS (#383)
tremblerz Apr 8, 2020
8a00e8a
Update android launcher icon (#386)
tstirrat Apr 8, 2020
4dc74c8
CI: Automatically Generating a GitHub Release with APK and AAB files …
vitorpamplona Apr 8, 2020
7a80407
Location saving at proper rate; disable bluetooth (#389)
kenpugsley Apr 8, 2020
b3e7ca6
v0.5.12 (#395)
vitorpamplona Apr 8, 2020
cd8048d
Speed up GitHub build actions with caching (#397)
tstirrat Apr 8, 2020
582cf5b
CI: Signing APK on Release Tag (#399)
vitorpamplona Apr 8, 2020
a93692d
[iOS] Rename app on screen to Safe Paths (#402)
tstirrat Apr 8, 2020
5c7e692
Version bump 0.9.0 (#404)
kenpugsley Apr 8, 2020
3cfe284
Add Settings view base snapshot test (#406)
tstirrat Apr 8, 2020
9c803f7
Update iOS icon (#409)
tstirrat Apr 9, 2020
0746465
[Android] White splashscreen with new logo (#405)
tstirrat Apr 9, 2020
77f6765
Small spelling fixes in README (#411)
forsythetony Apr 9, 2020
f554600
clean up BackgroundGeolocation configuration and start/stop (#412)
kenpugsley Apr 9, 2020
e392cec
Changes based on Mayo feedback (#414)
penrods Apr 9, 2020
0eec475
rev to v0.9.1 (#415)
kenpugsley Apr 9, 2020
d11577a
Build stability fixes and tweaks (#420)
tstirrat Apr 9, 2020
2509e11
Add helper for i18n extraction (#419)
tstirrat Apr 10, 2020
bf6c59a
iOS splash screen update (#417)
tstirrat Apr 10, 2020
c0c78e3
Rename repo urls in contributing docs (#424)
avances123 Apr 10, 2020
616e649
Add jest config to .eslintrc.json (#426)
Patrick-Erichsen Apr 10, 2020
ff7fd7a
Clean up unused styles and variables (#413)
NethravathiPuttraju Apr 10, 2020
03c3275
Extract some reused variables to consts (#393)
denispapakul Apr 10, 2020
19765e5
Fix i18n string extraction bug (#427)
tstirrat Apr 10, 2020
e56176a
Add a lint checker on PRs (#421)
tstirrat Apr 10, 2020
7464c33
Exact location distance calculation for intersect and backfill (#422)
kenpugsley Apr 10, 2020
7de7173
Rename workflows so they're clear in settings (#431)
tstirrat Apr 10, 2020
3ca44cd
Ignore auto-generated jetifier json file (#428)
tstirrat Apr 10, 2020
e0ab52a
Migrate intersection logic into background service (#378)
tremblerz Apr 11, 2020
aac05c6
Refine Exposure notification screen and minor errors (#436)
penrods Apr 11, 2020
d06d431
replace npm with yarn in dev setup scripts (#438)
efalkner Apr 11, 2020
404b996
Italian translation by Andy Nuzzo (#441)
alpita-masurkar Apr 11, 2020
bb1d6b7
Update Cocoapods Provisioning (#440)
efalkner Apr 11, 2020
f125591
Adjust text vertical centering around pulse (#466)
tstirrat Apr 12, 2020
ee6d3c1
Final removal of Private Kit (leaving only attributions) (#465)
kenpugsley Apr 12, 2020
3368dc4
Version bump to 0.9.2 (#482)
kenpugsley Apr 12, 2020
a9693fc
Fix typo "procceed" to "proceed" (#485)
penrods Apr 12, 2020
37ced7e
Consolidate .github/.github folder (#478)
tstirrat Apr 12, 2020
52f0950
Minor readme fixes (#488)
kenpugsley Apr 13, 2020
e3ca1f3
Auto sort import statements with Prettier (#480)
tstirrat Apr 13, 2020
0897b47
Configure Android to use singleTask launchMode (#501)
troach-sf Apr 13, 2020
0ee2288
Spanish Translation from Miquel Vila Porte (#491)
alpita-masurkar Apr 13, 2020
7880d17
Remove hardcoded link to Haitian health authority (#499)
penrods Apr 13, 2020
e531aac
Android StatusBar transparency fix (#497)
troach-sf Apr 13, 2020
4d2468d
Italian i18n updates from @andreanuzzo, @diarmidmackenzie (#498)
alpita-masurkar Apr 13, 2020
54bb332
Feature/cn-language (#493)
ai-entrepreneur Apr 13, 2020
e8d2b15
Russian Translation by Ksenia Lukacher (#479)
alpita-masurkar Apr 13, 2020
0d6f7da
Notify "Location tracking was disabled" on Android (#503)
darkerthanblackoff Apr 14, 2020
943e961
Add French translation (#490)
Cimbali Apr 14, 2020
66c31e1
Move Google import block, disable for release builds (#505)
tstirrat Apr 14, 2020
3e6c079
Event history UX update (#467)
tstirrat Apr 14, 2020
4f43ac7
Fix usage of URL from a Healthcare Authority (#507)
penrods Apr 14, 2020
7977c61
Update Haitian translation (#502)
tstirrat Apr 14, 2020
e7ad447
Simple tests for dev_setup.sh on ubuntu and mac (#481)
tstirrat Apr 14, 2020
04cff4d
Backport workflows to release-candidate and master (#514)
kenpugsley Apr 14, 2020
f4f1feb
Shifted device info from Legal page to About page (#506)
harshvitra Apr 15, 2020
e85a725
Add Language translation for Indonesian (#519)
khairu-aqsara Apr 15, 2020
3076866
Vietnamese translation (#524)
alpita-masurkar Apr 15, 2020
fef9d3b
Patch for android restart bug in react-native-background-geolocation …
troach-sf Apr 16, 2020
eb00524
xcode changes for new bundle id and correct team (#533)
kenpugsley Apr 16, 2020
70c28a6
0.9.4 (#534)
kenpugsley Apr 16, 2020
f99c94e
Malayalam translation from @saranyaharidas (#531)
saranyaharidas Apr 16, 2020
e295a2f
Slovak translation from Aneta Laukova (#537)
alpita-masurkar Apr 16, 2020
76bc624
bump the versionCodes to what they should have been for 0.9.4 (#544)
kenpugsley Apr 16, 2020
0705fa1
Haitian language update (#525)
alpita-masurkar Apr 16, 2020
c7d8166
Minor fixes to issue/pr templates (#542)
tstirrat Apr 16, 2020
27e0892
Don't translate the default news URL (#538)
tstirrat Apr 16, 2020
2086f02
Move java files to correct path (#541)
tstirrat Apr 16, 2020
3e93531
No translation for Mayo clinic link (#539)
tstirrat Apr 16, 2020
eb69755
Remove inaccessible Overlap/Map screens and dependencies (#540)
tstirrat Apr 17, 2020
4e96091
English: carrythe -> carry the (#553)
summetj Apr 17, 2020
ad56285
Update Italian translation (#550)
matteocrippa Apr 17, 2020
284c835
Add repo in CONTRIBUTING.md (#554)
summetj Apr 17, 2020
ce69c21
Use COVID-19 and not COVID19 (#552)
jamwong Apr 17, 2020
7962ca7
New Slovak translation messages from Aneta (#551)
alpita-masurkar Apr 17, 2020
5d0690b
Add location tracking toggle and language picker to Settings screen (…
SamMakesThings Apr 17, 2020
db15c18
Allow vscode to type hint jest global (#556)
tstirrat Apr 17, 2020
fca6e3c
Fix iOS/Android font discrepencies (#546)
tstirrat Apr 17, 2020
ee99e07
Refactor settings styles (#555)
tstirrat Apr 18, 2020
09b1209
Update android splash text to "Safe Paths" (#560)
tstirrat Apr 18, 2020
c9e4a0e
Update iOS splash text to "Safe Paths" (#562)
tstirrat Apr 18, 2020
6f7949b
Making COVID-19 consistent on all screens (#565)
NethravathiPuttraju Apr 18, 2020
4ab5c0b
Romanian Translation (#545)
b-dorian Apr 18, 2020
f56b356
Add a debug mode for intersections (#437)
penrods Apr 18, 2020
e99dd80
[iOS] End to end tests w/ Detox (#567)
efalkner Apr 19, 2020
a3aa785
update italian localization (#576)
matteocrippa Apr 20, 2020
2ca58ff
Fix intersect to handle multiple authorities (#529)
kenpugsley Apr 20, 2020
750eed5
Improve Google Location Data import experience (#410)
sergesemashko Apr 20, 2020
d61c9d3
Translate platform (iOS, Android) strings (#578)
tstirrat Apr 20, 2020
5f2f131
Add e2e test + screenshots for iPhone SE (#586)
tstirrat Apr 20, 2020
90762a7
Fix incorrect intersect function import (#575)
Patrick-Erichsen Apr 20, 2020
2c221d8
FR locale update (#591)
heri Apr 20, 2020
41b6c65
Dutch translation (#590)
danoszz Apr 20, 2020
2aa0dea
Polish translation from Ilona Dyńska (#573)
ilonadynska Apr 20, 2020
825d4b2
Device locale / user override separation (#571)
tstirrat Apr 20, 2020
71b6ad9
[i18n] Upload strings to Lokalise, when merged into develop (#592)
tstirrat Apr 20, 2020
1d2767e
Set returnEmptyString to false (#597)
darkerthanblackoff Apr 20, 2020
16684ce
Fix some yellow box warnings (#598)
tstirrat Apr 21, 2020
d01aa03
Tweaks to better support small screens (#577)
penrods Apr 21, 2020
7f027ac
Bug/fix spurious linking errors yarn install (#596)
efalkner Apr 21, 2020
33c1161
Refactor NativePicker, detect device language better (#557)
tstirrat Apr 21, 2020
144a8f1
Stop lint-diff on master, fails always (#600)
tstirrat Apr 21, 2020
53b9016
Enable Google import button in all builds (#599)
tstirrat Apr 21, 2020
4b73dde
Add Arabic Language + Right to left App behavior (#581)
Ahmednagyyy Apr 21, 2020
d907c9e
Add yarn start, run-ios, run-android scripts (#558)
tstirrat Apr 21, 2020
028a3c0
0.9.5 (#604)
kenpugsley Apr 21, 2020
6852c9d
A few small doc tweaks & grammar fixes (#616)
ivarley Apr 21, 2020
db8607c
Use the useTranslation hook in all functional components (#595)
tstirrat Apr 21, 2020
0f9c0c4
Text crop issue on onboarding screens 2,3 & 4 (#627)
saranyaharidas Apr 22, 2020
bf09704
Add scroll view to import screen (#640)
sergesemashko Apr 23, 2020
73a33d1
Fix missing settings icon on iOS 12.0.x (#643)
Krish023 Apr 23, 2020
8dd4cbd
Fix white background on choose provider screen (#624)
NethravathiPuttraju Apr 23, 2020
363864a
Revert "Fix missing settings icon on iOS 12.0.x (#643)" (#650)
tstirrat Apr 23, 2020
72f1680
Disable google import on release builds (#651)
tstirrat Apr 23, 2020
1f81cca
Fix settings locale override storage (#649)
tstirrat Apr 23, 2020
3a1af3c
Suggest screenshots and fixed issues in PR template (#637)
tstirrat Apr 23, 2020
b066279
Temporarily filter out extra languages in release mode (#654)
tstirrat Apr 24, 2020
b9ea396
Lokalise: Translations update (ht) (#655)
tstirrat Apr 24, 2020
933552c
Fix languages specific for history page (#628)
denispapakul Apr 24, 2020
e8a6431
Add yaml file for version checking (#658)
Fatkhi Apr 24, 2020
69b7364
Add healthcare selection to onboarding flow (#657)
Patrick-Erichsen Apr 24, 2020
8b943a6
Add version check service (#653)
Fatkhi Apr 24, 2020
8798711
Change naming in yaml, change yaml link (#661)
Fatkhi Apr 24, 2020
79ff0ce
change to rawcdn for the versions.yaml file (#662)
kenpugsley Apr 24, 2020
714b359
Add an EULA to the onboarding process (#638)
SamMakesThings Apr 24, 2020
ca4df17
Add in a 6 hour time period between notifications (#665)
kenpugsley Apr 24, 2020
923bfe8
Polish the EULA (#666)
penrods Apr 24, 2020
edd6efb
BUGFIX: Add authority wasn't immediate (#667)
penrods Apr 24, 2020
91b7346
Hide unintented "What does this mean?" message (#668)
penrods Apr 24, 2020
56dbfd9
v1.0.0 (#669)
kenpugsley Apr 24, 2020
b8b9211
Merge branch 'develop' into kpugsley/master_v1-0-0
Apr 24, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
66 changes: 65 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,68 @@
module.exports = {
root: true,
extends: '@react-native-community',
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:jest/recommended',
],
parser: 'babel-eslint',
plugins: ['react', 'react-native', 'detox'],
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
modules: true,
},
},
env: {
commonjs: true,
es6: true,
'react-native/react-native': true,
'detox/detox': true,
node: true,
jest: true,
'jest/globals': true,
mocha: true,
},
settings: {
react: {
version: 'detect',
},
},
rules: {
// 0 is for off, 1 is for warning, 2 is for error
'eol-last': 2, // Require file to end with single newline
'no-constant-condition': 2, // Disallow use of constant expressions in conditions
'no-dupe-keys': 2, // Disallow Duplicate Keys
'no-empty': 2, // Disallow Empty Block Statements
'no-extra-boolean-cast': 2, // Disallow Extra Boolean Casts
'no-prototype-builtins': 2, // Disallow use of Object.prototypes builtins directly
'no-undef': 2, // Disallow Undeclared Variables
'no-underscore-dangle': 2, // Disallow dangling underscores in identifiers
'no-unreachable': 2, // Disallow unreachable code after return, throw, continue, and break statements
'no-unused-vars': 2, // Disallow Unused Variables
'no-useless-escape': 2, // Disallow unnecessary escape usage
'no-console': 0, // disallow the use of console
'no-var': 2, // require let or const instead of var
strict: [2, 'global'], // require or disallow strict mode directives
'react-native/no-color-literals': 1, // Detect StyleSheet rules and inline styles containing color literals instead of variables
'react-native/no-inline-styles': 0, // For keeping styles away from the logic, we can switch it to 1 in future
'react-native/no-raw-text': ['error', { skip: ['Trans'] }], // This is to make sure everything is translated in the app
'react-native/no-unused-styles': 1, // Detect StyleSheet rules which are not used in your React components
'react/jsx-boolean-value': 2, // Enforce boolean attributes notation in JSX (fixable)
'react/jsx-key': 2, // Report missing key props in iterators/collection literals
'react/jsx-no-duplicate-props': 2, // Enforce no duplicate props
'react/jsx-no-undef': 2, // Disallow undeclared variables in JSX
'react/jsx-sort-props': 0, // Enforce props alphabetical sorting (fixable)
'react/jsx-wrap-multilines': 2, // Prevent missing parentheses around multilines JSX (fixable)
'react/no-deprecated': 1, // Prevent usage of deprecated methods
'react/no-did-mount-set-state': 1, // Prevent usage of setState in componentDidMount
'react/no-did-update-set-state': 1, // Prevent usage of setState in componentDidUpdate
'react/no-multi-comp': 0, // Prevent multiple component definition per file
'react/no-string-refs': 1, // Prevent string definitions for references and prevent referencing this.refs
'react/prop-types': 0, // Prevent missing props validation in a React component definition
'react/react-in-jsx-scope': 2, // Prevent missing React when using JSX
'react/self-closing-comp': 2, // Prevent extra closing tags for components without children
},
};
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- # Submitting an Issue -->
<!-- When submitting an Issue against this repo, please follow these
guidelines to help us help you. -->

## Version

- Type of phone: Android / iPhone
- OS Version:
- Model: e.g. Samsung Galaxy S8

## Steps to reproduce

<!-- Be as detailed as possible -->

## Expected Behavior

<!-- Example: -->

- When I click `Stop Logging` I am taken to the `Import` screen. Expect to
go back to the Welcome greeting.

<!--
## Upload any files to the Issue useful in helping us to investigate

Please ensure you upload any relevant files - such as screenshots - which
will aid in investigating and fixing.
-->
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- ## Description -->

<!-- Description of what the PR does -->

#### Linked issues:

<!-- Add issues here e.g.: Fixes #1234 -->

#### Screenshots:

<!-- If you're changing visuals, add a screenshot here -->

#### How to test

<!-- Description of how to validate or test this PR -->
Binary file added .github/branches-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/pull-request-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: Build

on:
push:
branches:
- develop
- release-candidate
- master
pull_request:
branches:
- develop
- release-candidate
- master

jobs:
build-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Cache node_modules/
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-

- run: yarn --frozen-lockfile

- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Increase max file watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- name: Bundle JS
run: npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ --verbose

- name: Build APK (gradle)
run: ./gradlew assembleDebug --no-daemon
working-directory: ./android

- name: Upload APK
uses: actions/upload-artifact@v1
with:
name: Debug APK
path: android/app/build/outputs/apk/debug/app-debug.apk

build-ios:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master

- name: Set XCode Version
run: sudo xcode-select -s /Applications/Xcode_11.app

- name: Cache node_modules/
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-

- run: yarn --frozen-lockfile

- name: Cache ruby gems
uses: actions/cache@v1
with:
path: ios/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-

- name: Install ruby gems (including Cocoapods)
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
working-directory: ./ios

- name: Cache CocoaPods
uses: actions/cache@v1
with:
path: ios/Pods
key: ${{ runner.OS }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.OS }}-pods-

- run: pod install --repo-update
working-directory: ./ios

- name: Bundle iOS JS
run: npx react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --verbose
# - name: Build App
# # xcodebuild -workspace COVIDSafePaths.xcworkspace -configuration Debug -scheme COVIDSafePaths
# # xcodebuild -workspace COVIDSafePaths.xcworkspace -scheme COVIDSafePaths archive -archivePath COVIDSafePaths.xcarchive -allowProvisioningUpdates
# # xcodebuild -exportArchive -archivePath ./COVIDSafePaths.xcarchive -exportPath . -exportOptionsPlist COVIDSafePaths/Info.plist
# run: xcodebuild -workspace COVIDSafePaths.xcworkspace -scheme COVIDSafePaths archive -archivePath COVIDSafePaths.xcarchive -allowProvisioningUpdates
# working-directory: ./ios
# - name: Upload Artifact
# uses: actions/upload-artifact@v1
# with:
# name: Debug IPA
# path: ios/build/
93 changes: 93 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Create Release Assets

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Cache node_modules/
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-

- run: yarn --frozen-lockfile

- name: Setup kernel for react native, increase watchers for release versions.
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Build AAB
run: ./gradlew clean bundleRelease --stacktrace
working-directory: ./android

- name: Sign AAB
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: android/app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Build APK
run: ./gradlew assembleRelease --stacktrace --no-daemon
working-directory: ./android

- name: Sign APK
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: android/app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload APK Asset
id: upload-release-asset-apk
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/apk/release/app-release-unsigned-signed.apk
asset_name: app-release-${{ github.ref }}.apk
asset_content_type: application/zip

- name: Upload AAB Asset
id: upload-release-asset-aab
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/bundle/release/app.aab
asset_name: app-release-${{ github.ref }}.aab
asset_content_type: application/zip
73 changes: 73 additions & 0 deletions .github/workflows/dev_setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Dev setup

on:
push:
branches: [develop]
paths:
- 'dev_setup.sh'
pull_request:
branches: [develop]
paths:
- 'dev_setup.sh'

jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Cache node_modules/
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-

- run: CI=true ./dev_setup.sh -ni

- run: yarn && yarn run test:dev_setup

- name: Bundle JS
run: npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ --verbose

- name: Build APK (gradle)
run: ./gradlew assembleDebug --no-daemon
working-directory: ./android

test-mac:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2

- name: Cache node_modules/
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-

- name: Cache ruby gems
uses: actions/cache@v1
with:
path: ios/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-

- name: Cache CocoaPods
uses: actions/cache@v1
with:
path: ios/Pods
key: ${{ runner.OS }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.OS }}-pods-

- run: CI=true ./dev_setup.sh -ni

- run: yarn && yarn run test:dev_setup

- name: Bundle iOS JS
run: npx react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --verbose

Loading