Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
9c513b5
update size_can icon from blue to red #119
Bennet11 Mar 22, 2018
c700803
Merge pull request #125 from Bennet11/master
cg-cnu Mar 22, 2018
bd67248
Merge pull request #124 from JWBAK/master
cg-cnu Mar 22, 2018
bcf6ad9
Merge pull request #123 from jonasgrilleres/master
cg-cnu Mar 22, 2018
8220fd5
update size box icon
kwin555 Mar 22, 2018
8ae2b83
Merge pull request #126 from kwin555/master
cg-cnu Mar 22, 2018
31e2d39
updated src/images/arrow-left.svg
justin-mclaren Mar 23, 2018
64d6878
Merge pull request #133 from chinapalace/master
cg-cnu Mar 23, 2018
eea4335
Update color of selected svgs
Mar 23, 2018
08f6c62
Merge pull request #134 from hankchanocd/svg-color
cg-cnu Mar 24, 2018
8aa1995
Changed drone dropoff location
mnpal Mar 24, 2018
269c387
Merge pull request #135 from manp3104/master
cg-cnu Mar 24, 2018
28440d7
issue 132
ziyliu Mar 24, 2018
cf8912c
fixed issue number #131 drone pickup locaiton icon
Mar 24, 2018
1f7681f
Merge pull request #142 from wavemeetu/master
cg-cnu Mar 24, 2018
53267cd
Merge pull request #141 from zliu92/master
cg-cnu Mar 24, 2018
8368286
refactored variable names for adding and removing terminals
cg-cnu Mar 24, 2018
0bea4ed
Change time icon
ganes1410 Mar 24, 2018
17e7b1e
Merge pull request #144 from ganes1410/master
cg-cnu Mar 24, 2018
14c2851
Changed connector image from blue to red.
yam-yam-architect Mar 24, 2018
6658520
Changed the DAV logo. Fixes issue #138
Mar 24, 2018
66f8e45
changed logo file's name
durgeshra Mar 25, 2018
7f5c6bf
Delete logo_missions.png
durgeshra Mar 25, 2018
751643c
Added logo_missions.svg
durgeshra Mar 25, 2018
97df182
Merge pull request #147 from itstimeforanap/master
cg-cnu Mar 25, 2018
27440cb
Merge pull request #148 from durgeshra/master
cg-cnu Mar 25, 2018
324e13e
Merge pull request #143 from cg-cnu/refactor-terminals
TalAter Mar 25, 2018
8149233
Change GPS Icon
harshitbshah Mar 26, 2018
0ca6171
add dav-js dep update webpack tools
antt001 Mar 26, 2018
a1c5336
feat: dav-js register davId
antt001 Mar 27, 2018
91ae5d7
feat: create mission transacton [WIP]
antt001 Mar 27, 2018
edb83b6
Merge pull request #146 from jasonclarke116/master
cg-cnu Mar 28, 2018
4818b62
Merge pull request #149 from harshitbshah/master
cg-cnu Mar 28, 2018
515fa53
renamed and refactored getCoordinatesFromString function
cg-cnu Mar 28, 2018
a60baf0
Revert "feat: create mission transacton [WIP]"
srfrnk Mar 28, 2018
7ac70d4
Revert "feat: dav-js register davId"
srfrnk Mar 28, 2018
7747fdb
Revert "add dav-js dep update webpack tools"
srfrnk Mar 28, 2018
c185a7b
chore: merge reverts
srfrnk Mar 28, 2018
19370dd
fix: merge fix
srfrnk Mar 28, 2018
c4e99e5
feat: static coord for COEX-SITL
srfrnk Mar 28, 2018
aa0fd22
feat: web3 integration with smart contracts
antt001 Mar 28, 2018
8eff6b8
feat: new mkfile trg - link to contracts
srfrnk Mar 28, 2018
f45f012
fix: vehicle_id
srfrnk Mar 28, 2018
290c2d1
replaced sort_button.svg
Garrison88 Mar 29, 2018
dd33502
fix: userId to lower
antt001 Mar 29, 2018
07e59ea
Merge pull request #153 from Garrison88/patch-1
cg-cnu Mar 29, 2018
31204a8
feat: approve completed mission
antt001 Mar 29, 2018
a6d61cc
fix: lint
srfrnk Mar 30, 2018
c397ff9
chore: compile
srfrnk Mar 30, 2018
39042ef
Merge branch 'master' into NEW-CAP-15
srfrnk Mar 30, 2018
c9e2da1
refactor: changed all the image names with underscore to hyphen
cg-cnu Mar 30, 2018
11a4896
update blockchain signing gif
Mar 30, 2018
d81f9d3
Merge pull request #158 from meet-cric/master
cg-cnu Mar 30, 2018
e8e540d
write tests for shiftCoords function
Apr 2, 2018
7c90069
scaling dav logo in missions page
salujaharkirat Apr 2, 2018
7fc12b1
Merge pull request #160 from jinxac/master
cg-cnu Apr 2, 2018
47c75a8
changed background color of Find Drones Button #161
siddhant034 Apr 2, 2018
e0b318d
Merge pull request #162 from siddhant034/patch-1
cg-cnu Apr 2, 2018
e961393
change confirm text color in takeoff page #163
hinchley2018 Apr 2, 2018
19f5ef5
Merge pull request #166 from hinchley2018/jh-confirm-takeoff
cg-cnu Apr 2, 2018
7391548
style/changed-check-icon
cdt-eth Apr 2, 2018
607c1fe
Changed the button text in the Mission Summary page from Close to Con…
Apr 3, 2018
ac14d0e
feat: setup new drone_charging application and started mainscreen markup
timigod Apr 5, 2018
4dff639
Merge pull request #169 from bluetreebranch/master
TalAter Apr 5, 2018
12e9eed
Merge pull request #157 from cg-cnu/refactor-imageNames
TalAter Apr 5, 2018
2826439
fix: showing user location after it has been gotten
timigod Apr 5, 2018
30614b5
fix: show controls for delivery_drones app
timigod Apr 5, 2018
3c72767
chore: added charging stations icon and temporary code to simulate th…
timigod Apr 5, 2018
3d79ee4
make shiftCoords function test meaningful
Apr 6, 2018
2ddb32e
Merge pull request #159 from pawangspandey/master
srfrnk Apr 6, 2018
dc2fb67
chore: added user profile icon and user location text labels
timigod Apr 8, 2018
1fe5d6b
feat: changed vehicle detail components & containers to mapItem detai…
timigod Apr 8, 2018
e57626a
Merge pull request #168 from christiandavidturner/master
cg-cnu Apr 10, 2018
ee0fc70
fix: support 0 values in cords
cg-cnu Apr 10, 2018
6e2b93e
feat: started order screen UI (and some functionality)
timigod Apr 11, 2018
4346956
fix: new contract interface
srfrnk Apr 11, 2018
9051485
changed mission c close button color from #807B9C to #FF6A46
codemode9 Apr 12, 2018
eb2e846
separation of captain logic from missioncontrol [ WIP 2 ]
antt001 Apr 12, 2018
00a3042
feat: transition to searching screen works.
timigod Apr 13, 2018
d8de96f
Merge branch 'FEAT-SKYSENSE' of github.com:DAVFoundation/missions int…
timigod Apr 13, 2018
5474893
chore: started charging station bid
timigod Apr 13, 2018
91d6f51
#164 | change close button in the bid filter options in drone searchi…
rishu2482 Apr 14, 2018
3f1679c
feat: charging bid now displays on search screen
timigod Apr 15, 2018
4f78af0
feat: added the charging bid selection header
timigod Apr 15, 2018
6d3c095
fix: error with charging bid selection header props
timigod Apr 15, 2018
2683ee1
Merge branch 'FEAT-CAP-SEP' into FEAT-GRADD
antt001 Apr 15, 2018
8f49b29
chore: changed how vehicles and chargers are shown on map
timigod Apr 15, 2018
d16ba20
chore: made test charger bid show up close to drone location, fix: zo…
timigod Apr 16, 2018
8e0a076
chore: started using actual data as props in Charging Main Screen
timigod Apr 16, 2018
5c339a1
chore: mooved need type to state
antt001 Apr 16, 2018
b449318
chore: dispatches chooseBid and respond with mock mission
timigod Apr 16, 2018
1f1df76
chor: use enum instead of strings
antt001 Apr 16, 2018
b1b0c12
feat: add route plan app
antt001 Apr 16, 2018
6d8a367
feat: now moves to and displays signing screen
timigod Apr 16, 2018
23d067e
feat: moves to start charging screen
timigod Apr 17, 2018
f756bba
feat: all charging screens done
timigod Apr 17, 2018
5ed895f
fix: kept going back to charger_waiting status, fixed now
timigod Apr 17, 2018
7383c22
fix: added range slider to charging order screen
timigod Apr 19, 2018
0d84d89
.
timigod Apr 19, 2018
bf8df19
chore: added icons for charging/waiting for drone dialogs in mission …
timigod Apr 19, 2018
ef6f7af
added gradd form html
Apr 20, 2018
49c10a4
feat: GRADD mission flow [STUBS]
antt001 Apr 22, 2018
2e3ddbc
chore: merge
srfrnk Apr 23, 2018
2ae4579
chore: fix lint issue
timigod Apr 24, 2018
140b76a
chore: fix lint issue
timigod Apr 24, 2018
40d3522
added and removed changes to html form
Apr 24, 2018
45104b7
changes according to pull-request review
Apr 24, 2018
15eaa23
Merge pull request #175 from dmauas/FEAT-GRADD
srfrnk Apr 24, 2018
48db0ca
Merge pull request #174 from rishu2482/master
cg-cnu Apr 25, 2018
0e86079
Merge pull request #172 from codemode9/master
cg-cnu Apr 25, 2018
1f925d4
fix: merge fixes
srfrnk Apr 25, 2018
adab986
chore: merge
srfrnk Apr 25, 2018
0ccd710
fix: issue with final mission screen not being displayed
timigod Apr 25, 2018
9a1dbd2
Merge branch 'FEAT-GRADD' of github.com:DAVFoundation/missions into F…
timigod Apr 25, 2018
439b411
feat: adds and implements function to draw line path given an array o…
timigod Apr 26, 2018
25e6813
updated gradd form
Apr 26, 2018
393a823
Merge remote-tracking branch 'upstream/FEAT-GRADD' into FEAT-GRADD
Apr 26, 2018
5cec003
Merge pull request #176 from dmauas/FEAT-GRADD
srfrnk Apr 26, 2018
d36d967
Merge branch 'FEAT-GRADD' into INT-SKY-GRADD
antt001 Apr 29, 2018
37e5ea0
Merge remote-tracking branch 'origin/INT-SKY-GRADD' into INT-SKY-GRADD
srfrnk Apr 29, 2018
a26eb3a
added route-creator form from davfoundation repo
Apr 30, 2018
1283775
fix: needs for route plan and charge api calls fulfiled actions
antt001 Apr 30, 2018
3f918e3
form fetches base64 mission & populates
Apr 30, 2018
f464e0a
commented out video playing that was throwing an error from main.js
May 1, 2018
25e00e1
completed work on route creator form - now submits proper base64
May 1, 2018
4b16b1e
feat: captains reducer
antt001 May 1, 2018
855da1b
Merge branch 'FEAT-GRADD' into INT-SKY-GRADD
May 1, 2018
cd5b1f9
docs: update CONTRIBUTING.md documentation to soport contracts
haialaluf May 1, 2018
aa1b161
Merge branch 'INT-SKY-GRADD' of https://github.com/DAVFoundation/miss…
haialaluf May 1, 2018
c68c614
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
srfrnk May 2, 2018
33e9c26
feat: missions fromaerospike
antt001 May 2, 2018
bff573d
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
antt001 May 2, 2018
bb402bf
fix: graad flow fixes
antt001 May 7, 2018
30138b7
removed old gradd form
May 8, 2018
01da567
Merge pull request #177 from dmauas/INT-SKY-GRADD
srfrnk May 8, 2018
18413d4
fix: drone delivery flow fixes
antt001 May 9, 2018
325f951
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
antt001 May 9, 2018
b389a4d
fix: fixes for sky flow
antt001 May 9, 2018
db596cb
fix: change vehicle and provider id to captain
antt001 May 10, 2018
0c4ef13
fix: change cahrger to captain [part 2] + UX fixes
antt001 May 13, 2018
c86a11d
chore: merge from master
srfrnk May 13, 2018
b317ba9
fix: compilation issues
srfrnk May 13, 2018
0a0b65b
fix: compilation errors
srfrnk May 14, 2018
6296fcf
qa and bug fix
haialaluf May 14, 2018
4773c5e
qa and bug fix
haialaluf May 14, 2018
bf2549a
fix: captain sky flow
antt001 May 14, 2018
fe694df
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
antt001 May 14, 2018
1136bdb
qa and bug fix
haialaluf May 14, 2018
921b383
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 14, 2018
722d34e
fix: compilation errors
antt001 May 15, 2018
51be643
fixw: drone simulation flow
srfrnk May 15, 2018
0227011
chore: merge
srfrnk May 15, 2018
2405366
Download route.json functionality
haialaluf May 15, 2018
7ea39a2
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 15, 2018
3735380
fix: status update reverted
srfrnk May 15, 2018
ace97f8
bug fix
haialaluf May 15, 2018
6e662da
fix: better state update
srfrnk May 15, 2018
b362a17
feat: allow stop
srfrnk May 16, 2018
dc25b8a
logo css fix
haialaluf May 16, 2018
96b2854
fix: dynamic code removed
srfrnk May 17, 2018
67ac19d
naming fix
haialaluf May 17, 2018
dbd88ce
Disable blockchain
yaronsha May 22, 2018
7c44517
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 22, 2018
a6a1141
Drone charging screen add station waiting and disabling blockchain
yaronsha May 22, 2018
06893bb
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 22, 2018
951602e
fix: Ethreum links
srfrnk May 22, 2018
0de1ba4
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
srfrnk May 22, 2018
5290fc5
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 22, 2018
1f8f4e6
fix: route to takeoff confirm screen
srfrnk May 22, 2018
b047987
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 23, 2018
7245788
fix: disabled css packing - plugin not working
srfrnk May 23, 2018
a0bd6db
fix: run missions in docker since S3 doesn't support routing
srfrnk May 23, 2018
f46f8f7
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 23, 2018
bbf16da
feat: eb aws deployment
antt001 May 23, 2018
084da2f
fix: default to dev env in compose
antt001 May 24, 2018
dcab94c
fix: typo
antt001 May 24, 2018
4d47992
S3 configuration
haialaluf May 24, 2018
2692090
Merge branch 'INT-SKY-GRADD' of https://github.com/DAVFoundation/miss…
haialaluf May 24, 2018
4573e87
fix: s3 deploy stg
srfrnk May 24, 2018
ea3b19d
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 24, 2018
e9607e6
s3 serve static files
haialaluf May 24, 2018
ec9f4bc
fix: deploy html folder
srfrnk May 24, 2018
f2a8572
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
srfrnk May 24, 2018
064f5bb
s3 serve static files
haialaluf May 24, 2018
32892bc
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 24, 2018
07acc61
s3 serve static files
haialaluf May 24, 2018
de7ba54
S3 serve static pages
haialaluf May 24, 2018
8981da0
fix: build
srfrnk May 28, 2018
6c0af89
fix: force build
srfrnk May 28, 2018
a952a91
fix: build docker w/o cache
srfrnk May 28, 2018
6ee04f5
fix: updated contributing docs
srfrnk May 28, 2018
b391464
set drone simulation as root, make drone simulation work with out con…
haialaluf May 28, 2018
b082b38
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 28, 2018
2cf9fbc
fix: don't overwrite vehicle status
srfrnk May 28, 2018
1e651d3
Removed apostrophe from start and end coordinates
TalAter May 29, 2018
3ce9d88
Grammar fix in searching screen
TalAter May 29, 2018
81f1518
text changes
haialaluf May 29, 2018
9d75d70
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 29, 2018
9a77572
fix: normal build
srfrnk May 29, 2018
5dfe5de
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
srfrnk May 29, 2018
82188c8
fix: new bucket
srfrnk May 29, 2018
cc28bfb
change missioncontrol an captain-sim url
haialaluf May 29, 2018
749790e
Merge branch 'INT-SKY-GRADD' of github.com:DAVFoundation/missions int…
haialaluf May 29, 2018
d5caf0a
change missioncontrol an captain-sim url
haialaluf May 29, 2018
8c61cf2
fix css minification
haialaluf May 29, 2018
67deeab
add drone types to order screen
yaronsha May 29, 2018
f4479d3
fix: copy contracts
srfrnk May 29, 2018
a5c7e35
Merge branch 'INT-SKY-GRADD'
srfrnk May 30, 2018
908d45e
missioncontrol url on static pages bug fixes
haialaluf May 31, 2018
9c0dc5d
fix: build
srfrnk May 31, 2018
38a03af
Small changes: DD-43 to DD-45
haialaluf Jun 4, 2018
8b89857
change drone types in drone charging screen
yaronsha Jun 6, 2018
d47dd02
fix: separated apps to support cloudfront
srfrnk Jun 6, 2018
8ed1209
Merge branch 'master' into SHAHAR
srfrnk Jun 6, 2018
e533724
feat: added DOMAIN for mooving.io
srfrnk Jun 7, 2018
78c7399
Update README.md
TalAter Jun 10, 2018
8070a37
Merge branch 'SHAHAR'
srfrnk Jun 14, 2018
ef46d47
feat: mainnet contracts
antt001 Jun 14, 2018
697f7af
change pin icon (DD-49) fix Makefile make start-gradd path
haialaluf Jun 17, 2018
e61471a
feat: remove number of charging stations and user location from main …
yaronsha Jul 1, 2018
4da937d
text changes (DD-78, DD-179)
haialaluf Jul 1, 2018
3ead7a3
add error modal in case No Provider Was Found
haialaluf Jul 1, 2018
8b21484
fix: sign to a wallet mesasage location fixed on safari
yaronsha Jul 1, 2018
e3aa5bd
fix: wallet sign in message position in safari
yaronsha Jul 1, 2018
00a3612
change page title
haialaluf Jul 2, 2018
6ca16b5
merge master
haialaluf Jul 4, 2018
eecadc0
Integrate Missions APP to MC via SDK (DD-186)
haialaluf Jul 4, 2018
f24d227
move all MC connection to sdk
haialaluf Jul 5, 2018
8a0f21b
ui changes
antt001 Jul 11, 2018
3162e1e
merge from FEAT-SDK-1-0
srfrnk Aug 20, 2018
4a9528a
add 100ms delay when selecting a new sorting option
luisduenas Aug 24, 2018
7c10459
#90 add 100ms delay when selecting a new sorting option
luisduenas Aug 24, 2018
87c6491
Merge pull request #170 from cg-cnu/refactor-getShortCoordsString
srfrnk Aug 26, 2018
d72b437
Merge pull request #151 from cg-cnu/refactor-getCoordinatesFromString
srfrnk Aug 26, 2018
975d203
Merge pull request #180 from luisduenas/master
yaronsha Aug 29, 2018
5d44561
Sorted package.json (because reasons)
TalAter Sep 6, 2018
68fc9f7
Update MissionScreen.jsx
tifa64 Oct 10, 2018
adda060
Update x-button-svg
tifa64 Oct 10, 2018
b0d0cb0
Merge pull request #182 from tifa64/master
TalAter Oct 11, 2018
0dff59d
fix: package.json to reduce vulnerabilities
snyk-bot Dec 6, 2018
86724a1
Removed Yarn lock file
TalAter Dec 6, 2018
16c7137
Merge branch 'snyk-fix-m824i8'
TalAter Dec 6, 2018
6acbfeb
Update .editorconfig
debragail Dec 21, 2018
aa087e9
Merge pull request #184 from debragail/patch-1
TalAter Jan 7, 2019
7bd2eaf
Update PULL_REQUEST_TEMPLATE.md
debragail Jan 12, 2019
6422f9e
Merge pull request #185 from debragail/patch-2
TalAter Jan 29, 2019
1580ba8
Update PULL_REQUEST_TEMPLATE.md
debragail Jan 29, 2019
d9621e0
Merge pull request #186 from debragail/patch-3
TalAter Feb 5, 2019
d606b29
Updated copyright year
sermock Oct 12, 2019
963393d
Merge pull request #189 from SerMock/patch-1
TalAter Oct 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .ebextensions/.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
option_settings:
aws:elb:loadbalancer:
ManagedSecurityGroup: sg-c62008b6
aws:elb:loadbalancer:
SecurityGroups: sg-c62008b6
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[Makefile]
indent_style = tab
25 changes: 25 additions & 0 deletions .elasticbeanstalk/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
branch-defaults:
INT-SKY-GRADD:
environment: missions-stg2
group_suffix: null
master:
environment: missions-stg
group_suffix: null
environment-defaults:
missions-stg:
branch: null
repository: null
global:
application_name: missions
branch: null
default_ec2_keyname: missions-stg-key
default_platform: Docker 17.09.1-ce
default_region: us-east-1
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: eb-cli-dav
repository: null
sc: git
workspace_type: Application
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Enhancement that improves upon existing functionality

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ yarn-debug.log*
yarn-error.log*

package-lock.json
src/build
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ A lot of **missions** functionality came from pull requests sent by the develope
- [x] Fork the repository from the [missions GitHub page](https://github.com/DAVFoundation/missions).
- [x] Clone a copy to your local machine with `$ git clone git@github.com:YOUR-GITHUB-USER-NAME/missions.git`
- [x] Run `npm install` to install all the packages
- [x] Run `npm start` to build the project
- [x] Run `npm start` to build the project
- [x] Open [http://localhost:3333/](http://localhost:3333/) to see your local instance of missions live.
- [x] If you would like to see some simulated drones appear on the map, you will also need to set up the [Mission Control](https://github.com/DAVFoundation/missioncontrol/blob/master/CONTRIBUTING.md) project.
- [x] If you would like to see some simulated drones appear on the map, you will also need to set up the [Mission Control](https://github.com/DAVFoundation/missioncontrol/blob/master/CONTRIBUTING.md) project as well as the [Captain-Sim](https://github.com/DAVFoundation/captain-sim/blob/master/CONTRIBUTING.md) project.
- [x] To be able to make transactions on ethereum network, you need to set up [contracts](https://github.com/DAVFoundation/contracts) project, and set the build symlinks at missions/src, to point your build directory at contracts project, with `$ ln -sf /path/to/contracts/build /path/to/missions/src/build`.
- [x] Now, code, code, code.
- [x] Commit your local changes by using `$ git commit -m "nice detailed message here..."`
- [x] Once you've made sure all your changes work correctly and have been committed, push your local changes back to github with `$ git push -u origin master`
Expand All @@ -28,7 +29,7 @@ A lot of **missions** functionality came from pull requests sent by the develope

#### Important:

* This project is just the client-facing side of missions. You can run it on its own and do some limited development, but you won't see any drones on the map, or get any responses to your requests for pickups. To get the full-experience, you will need to also [get **Mission Control** up and running](https://github.com/DAVFoundation/missioncontrol/blob/master/CONTRIBUTING.md) in a separate console window
* This project is just the client-facing side of missions. You can run it on its own and do some limited development, but you won't see any drones on the map, or get any responses to your requests for pickups. To get the full-experience, you will need to also (https://github.com/DAVFoundation/missioncontrol/blob/master/CONTRIBUTING.md) in a separate console window
* Please stick to the project's existing coding style. Coding styles don't need to have a consensus, they just need to be consistent :smile:
* Push your changes to a topic branch in your fork of the repository. Your branch should be based on the `master` branch
* When submitting a [pull request](https://help.github.com/articles/using-pull-requests/), please elaborate as much as possible about the change, your motivation for the change, etc.
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:9
RUN npm i -g webpack webpack-cli

WORKDIR /app
COPY . /app
RUN npm i

CMD npm run start-stg

EXPOSE 3333
10 changes: 10 additions & 0 deletions Dockerrun.aws.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"AWSEBDockerrunVersion": "1",
"Volumes": [
{
"ContainerDirectory": "/var/app",
"HostDirectory": "/var/app"
}
],
"Logging": "/var/eb_log"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 DAV Foundation
Copyright (c) 2019 DAV Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
46 changes: 31 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,42 @@
BUCKET=s3://missions.io/
## deploy to staging
STG_BUCKET=s3://missions-stg/
all:
STG_BUCKET=s3://stg.missions.io/
WEBPACK=./node_modules/webpack/bin/webpack.js
WEBPACK_DEV=./node_modules/webpack-dev-server/bin/webpack-dev-server.js

setup:
@ npm i
FORCE:

start: setup
@ npm start
setup: FORCE
@npm i
@rsync -a ../dav-js/build src

start-sim: setup
@export APP=drone_simulation && export DOMAIN=mooving && ${WEBPACK_DEV} --config webpack.dev.js

start-sky: setup
@export APP=drone_charging && ${WEBPACK_DEV} --config webpack.dev.js

start-gradd: setup
@export APP=route_plan && ${WEBPACK_DEV} --config webpack.dev.js

stop: FORCE
@npm run stop

build: setup
@ npm run build
@rsync -a ../dav-js/build src
@npm run build

publish: build
@ aws s3 cp --recursive --acl public-read dist/ ${BUCKET}
@aws s3 cp --recursive --acl public-read dist/ ${BUCKET}

build-stg: setup
@ npm run build-stg

create-aws-stg-env:
## create s3 bucket for missions
@aws s3api create-bucket --bucket missions-stg --region us-east-1
@rsync -a ../dav-js/build src
@export APP=drone_simulation && export DOMAIN=mooving && ${WEBPACK} --config webpack.stg.js
@export APP=route_plan && export DOMAIN=mooving && ${WEBPACK} --config webpack.stg.js
@export APP=drone_charging && export DOMAIN=mooving && ${WEBPACK} --config webpack.stg.js
@cp -r ./src/html/. ./dist/route_plan/html

deploy-aws-stg-env: build-stg
@aws s3 cp --recursive --acl public-read dist/ ${STG_BUCKET}
@aws s3 cp --recursive --acl public-read dist/drone_simulation s3://mooving.io/
@aws s3 cp --recursive --acl public-read dist/route_plan s3://route-plan.mooving.io/
@aws s3 cp --recursive --acl public-read dist/drone_charging s3://drone-charging.mooving.io/
# @aws s3 cp --recursive --acl public-read dist/ ${STG_BUCKET}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

> By DAV

Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles.
Missions is the client facing side of the marketplace connecting DAV users with transportation service providers

It demonstrates how a third party might build their own product, while integrating technologies provided by DAV, and provide a way for users and autonomous vehicles to transact.
It demonstrates how a third party might build their own product, while integrating technologies provided by DAV, and provide a way for users and transportation services to interact and transact.

### Contributing Code, Reporting Bugs and Suggesting Features

Expand Down
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: '3'

services:
missions:
build: .
command: 'npm run start'
ports:
- '3333:3333'
environment:
NODE_ENV: development
ETH_NODE_URL: http://dav-contracts:8545
MISSION_CONTROL_URL: http://mission-control:8443
BLOCKCHAIN_TYPE: NONE
networks:
- dav
external_links:
- missioncontrol_missioncontrol_1:mission-control
- dav-contracts:dav-contracts
networks:
dav:
external: true
26 changes: 16 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,44 @@
"bugs": {
"url": "https://github.com/DAVFoundation/missions/issues"
},
"license": "MIT",
"author": "Tal Ater <tal@talater.com>",
"repository": {
"type": "git",
"url": "https://github.com/DAVFoundation/missions.git"
},
"license": "MIT",
"author": "Tal Ater <tal@talater.com>",
"scripts": {
"build": "webpack --config webpack.prod.js",
"build-stg": "webpack --config webpack.stg.js",
"start": "webpack-dev-server --config webpack.dev.js",
"start-stg": "webpack-dev-server --config webpack.stg.js",
"stop": "kill $(ps aux | grep 'webpack' | awk '{print $2}')",
"test": "jest"
},
"jest": {
"moduleNameMapper": {
"\\.(css|jpg|png|svg)$": "<rootDir>/empty-module.js"
}
},
"dependencies": {
"@turf/turf": "^5.1.6",
"callback-timeout": "^3.0.1",
"mapbox-gl": "~0.44.1",
"moment": "^2.20.1",
"randomstring": "^1.1.5",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-dom": "^16.2.1",
"react-geosuggest": "^2.7.0",
"react-rangeslider": "^2.2.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^3.7.2",
"redux-actions": "^2.2.1",
"redux-devtools-extension": "^2.13.2",
"redux-promise-middleware": "5.0.0",
"turf": "^3.0.14"
"truffle-contract": "^3.0.4",
"turf": "^3.0.14",
"web3": "^1.0.0-beta.34"
},
"devDependencies": {
"babel-core": "^6.26.0",
Expand All @@ -56,10 +67,5 @@
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.1",
"webpack-merge": "^4.1.1"
},
"jest": {
"moduleNameMapper": {
"\\.(css|jpg|png|svg)$": "<rootDir>/empty-module.js"
}
}
}
}
75 changes: 64 additions & 11 deletions src/actions/index.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,57 @@
import { createAction } from 'redux-actions';
import {
createAction
} from 'redux-actions';

import {
fetchStatus as apiFetchStatus,
createNeed as apiCreateNeed,
updateMissionStatus as apiUpdateMissionStatus,
fetchBids as apiFetchBids,
chooseBid as apiChooseBid,
fetchSimulationDrones,
initWeb3,
confirmTakeoff as apiConfirmTakeoff,
} from '../lib/api';
initWeb3_NO_BLOCKCHAIN,
registerDavId as davRegisterDavId,
createMissionTransaction as davCreateMissionTransaction,
approveCompletedMission as davApproveCompletedMission
} from '../lib/dav';

export const updateApp = createAction('UPDATE_APP');

export const updateStatus = createAction('UPDATE_STATUS', apiFetchStatus);

export const updateStatusFulfilled = createAction('UPDATE_STATUS_FULFILLED');

export const getSimulationDrones = createAction('GET_SIMULATION_DRONES', fetchSimulationDrones);
export const getSimulationDronesFulfilled = createAction('GET_SIMULATION_DRONES_FULFILLED');

export const verifyDavId = createAction('VERIFY_DAV_ID', initWeb3);

export const verifyDavId_NO_BLOCKCHAIN = createAction('VERIFY_DAV_ID', initWeb3_NO_BLOCKCHAIN);

export const updateDavId = createAction('UPDATE_DAV_ID');

export const updateContractMissionIdMissionId = createAction('UPDATE_CONTRACT_MISSION_ID');

export const registerDavId = createAction('REGISTER_DAV_ID', davRegisterDavId);

export const registerDavIdFulfilled = createAction('REGISTER_DAV_ID_FULFILLED');

export const unregisteredDavId = createAction('UNREGISTERED_DAV_ID');

export const unlockWallet = createAction('UNLOCK_WALLET');

export const closeWalletDialog = createAction('CLOSE_WALLET_DIALOG');

export const updateMapCoords = createAction('UPDATE_MAP_COORDS');

export const updateOrderDetails = createAction('UPDATE_ORDER_DETAILS');

export const resetOrderDetails = createAction('RESET_ORDER_DETAILS');

export const createNeed = createAction('CREATE_NEED', apiCreateNeed);
export const createDroneDeliveryNeedFulfilled = createAction('CREATE_DRONEDELIVERY_NEED_FULFILLED');
export const createDroneChargingNeedFulfilled = createAction('CREATE_CHARGING_NEED_FULFILLED');
export const createRoutePlanNeedFulfilled = createAction('CREATE_ROUTEPLAN_NEED_FULFILLED');

export const createNeedFulfilled = createAction('CREATE_NEED_FULFILLED');

Expand All @@ -33,13 +65,34 @@ export const chooseBidPending = createAction('CHOOSE_BID_PENDING');

export const chooseBidFulfilled = createAction('CHOOSE_BID_FULFILLED');

export const confirmTakeoff = createAction(
'CONFIRM_TAKEOFF',
apiConfirmTakeoff,
);
export const createMissionTransaction = createAction('CREATE_MISSION_TRANSACTION', davCreateMissionTransaction);

export const createMissionTransactionFulfilled = createAction('CREATE_MISSION_TRANSACTION_FULFILLED');

export const createMissionTransactionFailed = createAction('CREATE_MISSION_TRANSACTION_FAILED');

export const approveCompletedMission = createAction('APPROVE_COMPLETED_MISSION', davApproveCompletedMission);

export const confirmTakeoff = createAction('CONFIRM_TAKEOFF', apiConfirmTakeoff);

export const confirmTakeoffPending = createAction('CONFIRM_TAKEOFF_PENDING');

export const confirmTakeoffFulfilled = createAction(
'CONFIRM_TAKEOFF_FULFILLED',
);
export const confirmTakeoffFulfilled = createAction('CONFIRM_TAKEOFF_FULFILLED');


export const confirmDroneDocking = createAction('CONFIRM_DRONE_DOCKING');

export const updateMissionStatus = createAction('UPDATE_MISSION_STATUS', apiUpdateMissionStatus);
// for charging mock purposes

export const completeChargingMission = createAction('COMPLETE_CHARGING_MISSION');

const apiStartChargingMission = (mission) => {
return new Promise(resolve => resolve({
mission
}));
};

export const startChargingMission = createAction('START_CHARGING_MISSION', apiStartChargingMission);

export const startChargingMissionFulfilled = createAction('START_CHARGING_MISSION_FULFILLED');
Loading
Loading