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

Merge from master to pull in fixes #612

Open
wants to merge 548 commits into
base: urap-2017-emotion
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
548 commits
Select commit Hold shift + click to select a range
c4cb56d
Merge pull request #600 from shankari/fix_today
shankari Aug 6, 2019
98d324d
Add tram and subway
DO3B Aug 12, 2019
762b426
Change footprint values for both tram and subway
DO3B Aug 13, 2019
e64ac65
Add light_rail
DO3B Aug 14, 2019
6caf8d4
Add light rail color even in the trip detail
DO3B Aug 14, 2019
a36b437
calling getData() after loading the carbon dataset
tms-martins Aug 14, 2019
3bf4b26
Merge branch 'master' into select-carbon-dataset-locale
tms-martins Aug 14, 2019
561c604
Merge pull request #597 from tms-martins/select-carbon-dataset-locale
shankari Aug 14, 2019
3087207
Add carbon dataset for the 3 new modes
DO3B Aug 16, 2019
ae0b676
Merge pull request #601 from fabmob/i18n-emission
shankari Aug 16, 2019
d0d7cd6
Updated carbon footprint values for LIGHT_RAIL and TRAM based on Trem…
tms-martins Aug 17, 2019
61c6c5a
Added carbon footprint for SUBWAY
tms-martins Aug 17, 2019
9e2f9d6
Merge pull request #602 from tms-martins/eu-values-for-new-modes
shankari Aug 19, 2019
f1e8907
Fix "Check senses data"
DO3B Aug 1, 2019
d77c2ef
Fix issue where calorie was NaN by adding an condition to check if th…
DO3B Aug 16, 2019
00a3f8e
Merge pull request #603 from shankari/cherry-pick-fixes-from-fabmob
shankari Aug 28, 2019
e609293
Bump uglify-js from 2.5.0 to 3.6.6 in /www/manual_lib/leaflet
dependabot[bot] Nov 1, 2019
8942f9d
Merge pull request #611 from e-mission/dependabot/npm_and_yarn/www/ma…
shankari Nov 1, 2019
8b4e945
add the required manifest field for apps that target API 28 and want …
ericafenyo Jan 13, 2020
f5b9a7f
Convert the translation scripts to be executable
shankari Feb 27, 2020
6d3b958
Merge pull request #617 from shankari/set_executable
shankari Feb 27, 2020
39a5c34
add note about cocoapods version without problems
jf87 Mar 9, 2020
56d868a
Merge pull request #618 from jf87/patch-1
shankari Mar 18, 2020
46cf4ef
Changing map tiles and attribution to oms due to loading problem on a…
Goulitch Mar 26, 2020
a245a84
Fixing undefined Time in Diary
Goulitch Mar 26, 2020
b31888d
Fixing streets display in diary
Goulitch Mar 27, 2020
a2bc8dc
Merge pull request #616 from ericafenyo/feature/support-for-android-28
shankari Mar 30, 2020
75db6cd
Bump up target version to API 28
shankari Mar 30, 2020
f01f881
Add android + update ionic deploy tag
shankari Mar 30, 2020
5fe208d
Ensure that we turn off all google analytics by default
shankari Mar 30, 2020
581e5d0
Upgrade to the latest versions of the plugins
shankari Mar 30, 2020
5b23980
Fix plugin versions in package.json as well
shankari Mar 30, 2020
f734104
Fix the installation instructions
shankari Apr 16, 2020
de7f58e
Merge pull request #636 from shankari/apply_plugin_updates
shankari Apr 16, 2020
b422847
Vastly simplify the instructions for installation
shankari Apr 1, 2020
b6fd738
Enable CI
shankari Apr 1, 2020
f001ce9
Enable CI for android and iOS
shankari Apr 2, 2020
5807527
Add status badges for the builds
shankari Apr 3, 2020
26760cb
Fix the plugin test to account for the new plugin
shankari Apr 4, 2020
5dd4956
Fix android setup
shankari Apr 4, 2020
6abd803
I always forget to bump up the number of plugins!
shankari Apr 5, 2020
4866fc3
There is now a dependent `badge` plugin after the upgrade
shankari Apr 6, 2020
7d80a11
Set the scheduled check to run only once on the weekend
shankari Apr 12, 2020
6349af6
Merge pull request #638 from e-mission/import_ci
shankari Apr 18, 2020
a1c7ff1
Create a hook to set the provider
shankari Apr 4, 2020
dadba95
Make the hook executable
shankari Apr 4, 2020
18da2f2
Add the hook to the config.xml
shankari Apr 4, 2020
e9012c1
Bump up all plugins to the latest version
shankari Apr 18, 2020
0097aaa
Copy both google-service.json and GoogleServices-Info.plist every time
shankari Apr 18, 2020
837ccdc
Fix dest path for GoogleServices-Info.json
shankari Apr 18, 2020
40176e1
Bump up the number of expected plugins
shankari Apr 18, 2020
cd8d39e
Bump up ionic cli version
shankari Apr 18, 2020
75bf6df
We will only support android 5.0+
shankari Mar 30, 2020
a922958
Fix the sign_and_align_keys script
shankari Apr 1, 2020
f949605
Bunch of minor fixes found in testing
shankari Apr 6, 2020
aa78a1c
Change the README to work with the current repo workflows
shankari Apr 18, 2020
605b8ca
Merge pull request #639 from e-mission/modify_plugins
shankari Apr 18, 2020
cc99f67
Remove the upstream setup
shankari Apr 18, 2020
d021b90
Create a setup script + workflow for the serve case as well
shankari Apr 18, 2020
7295eef
Fix the workflow to run the full setup script
shankari Apr 18, 2020
e3b4e65
Remove the angular_mocks since we are not testing anything at this point
shankari Apr 1, 2020
778bc19
Add the ionic/cordova dependencies to the json
shankari Apr 18, 2020
0b40963
Add the setup install + fix README as well
shankari Apr 18, 2020
21a44ff
Remove the upstream instruction
shankari Apr 18, 2020
8c3f6ee
Merge pull request #640 from e-mission/ci_for_serve_install
shankari Apr 18, 2020
11007e0
Switch all the map tiles and nominatim lookups to be $https
shankari Apr 4, 2020
7058a0c
Add a second onboarding page
shankari Apr 3, 2020
18d2e50
Add in missing file
shankari Apr 3, 2020
40dbe85
Remove legacy build
shankari Apr 1, 2020
4bcd9ed
Add the sensor explanation as a page after the consent
shankari Apr 19, 2020
06177b9
Make aggregate calls to the server using a native plugin
shankari Apr 20, 2020
50e2a30
Update README.md
shankari Apr 20, 2020
6060cdf
Fix 'today' in the datepicker
shankari May 10, 2020
b78ed10
Merge pull request #667 from shankari/minor_unsw_fixes
shankari May 10, 2020
a5c967d
Fix copyright person + dates
shankari Jun 20, 2020
ec6f75c
Fix the licenses for this repo
shankari Jun 20, 2020
cb52469
Merge pull request #698 from shankari/fix_license
shankari Jun 20, 2020
3530b8c
Add a couple of additional dependencies
shankari Jun 28, 2020
b9e19b1
Merge pull request #699 from shankari/fix_license
shankari Jun 28, 2020
47213e8
Add a special case explanation for samsung phones as well
shankari Jun 29, 2020
e646daf
Merge branch 'master' of https://github.com/e-mission/e-mission-phone…
shankari Jun 29, 2020
08a2a53
Merge branch 'port_ui_fixes' of https://github.com/e-mission/e-missio…
shankari Jun 29, 2020
78503b9
Port the deploy code to the latest version
shankari Jul 1, 2020
6988c1e
Ionic config file format has minor changes
shankari Jul 10, 2020
3252ae6
Update the README to reflect the current status
shankari Jul 10, 2020
dd2469b
Minor changes to wording to capture change in focus
shankari Jul 10, 2020
5e09ba4
Merge pull request #641 from e-mission/port_ui_fixes
shankari Jul 10, 2020
1781016
Bump up the count to account for cordova-plugin-advanced-http
shankari Jul 10, 2020
59c9ae4
Merge pull request #700 from e-mission/upgrade_to_latest_cordova
shankari Jul 10, 2020
56981de
Add a separate set of "activate" scripts
shankari Jul 11, 2020
e251323
Use the exported versions from `setup/export_shared_dep_versions.sh`
shankari Jul 11, 2020
7619b55
Fix all the CI to work with the new setup + activate model
shankari Jul 11, 2020
cc6f421
Add the gradle version as a variable
shankari Jul 11, 2020
318f1a0
Update the README for additional clarity
shankari Jul 11, 2020
4402868
Merge pull request #701 from shankari/minor_install_and_ci_fixes
shankari Jul 11, 2020
ac65596
Add links + fix file name
shankari Jul 11, 2020
4a7a2dd
Fix issues in the hook scripts
shankari Jul 13, 2020
0ab3357
Add a new hook to have the push plugin use APNS by default
shankari Jul 13, 2020
16f70c8
Fixed the android check to look simpler
shankari Jul 13, 2020
015747b
Fix variable name in hook
shankari Jul 14, 2020
d0d576d
Merge pull request #702 from shankari/script_fixes
shankari Jul 14, 2020
9c705ab
Upgrade all other dependencies (other than e-mission plugins)
shankari Jul 15, 2020
9a3794d
Upgrade the tool dependencies as well
shankari Jul 15, 2020
d4a184b
Upgrade the dependencies for the serve side as well
shankari Jul 15, 2020
30e999a
Dramatically simplify config.xml
shankari Jul 15, 2020
317cbd5
Use the newer version of all our plugins
shankari Jul 15, 2020
44b7aa5
Replace the obsolete `ionic-plugin-keyboard` by the new `cordova-plug…
shankari Jul 15, 2020
491b77a
Reverting back to [email protected]
shankari Jul 16, 2020
f9f78ee
Add the preference in the package.json as well
shankari Jul 17, 2020
0ae2109
Upgrade to the most recent version of google play services
shankari Jul 17, 2020
ebcd38c
Load OSM over https as well
shankari Jul 19, 2020
76e0804
Fix the local notification format
shankari Jul 19, 2020
7b9c321
fix(survey): fix last commit
atton16 Oct 27, 2019
4a9e968
fix(survey): move getAllSurveyAnswers to the first Promise.all as well
atton16 Oct 27, 2019
2b86595
fix(survey): add logging
atton16 Oct 27, 2019
65953f2
fix(survey): a bit of refactoring
atton16 Oct 27, 2019
202624c
Remove survey answers from the list since master does not use it
shankari Jul 19, 2020
7ea899e
Merge branch 'make_all_calls_in_parallel' of https://github.com/shank…
shankari Jul 19, 2020
8537d9d
Read mode and purpose in the case where the server is not connected a…
shankari Jul 19, 2020
7dc85b1
Migrate to the most recent plugin format
shankari Jul 19, 2020
b57b361
Merge pull request #703 from shankari/make_all_calls_in_parallel
shankari Jul 19, 2020
b2bb8db
Merge branch 'emission-contribution' of https://github.com/tarekeg/e-…
shankari Jul 19, 2020
d02779c
Add the new URL for the map tiles to the CSP to avoid CORS issues
shankari Jul 19, 2020
44d8745
Merge branch 'minor_fixes_from_transway'
shankari Jul 19, 2020
4a70b27
Merge branch 'master' of https://github.com/e-mission/e-mission-phone…
shankari Jul 20, 2020
9ae21f3
Stop trying to parse the data received from iOS
shankari Jul 20, 2020
0adf459
Reformat the actions to be consistent with the new spec
shankari Jul 20, 2020
7476477
Add a new developer zone control to test the notification
shankari Jul 20, 2020
08e971e
Reorder the plugins to be in alphabetical order
shankari Jul 20, 2020
e6b60c5
Go back to ios 6.1.0 by hiding the splash screen
shankari Jul 20, 2020
806ee9a
Remove the engines from the config as well
shankari Jul 20, 2020
ad5736c
Modify existing icons and create new icons
shankari Jul 31, 2020
61513d9
Remove references to ngCordova
shankari Jul 31, 2020
38d0ab2
Fix the hasAccount check to work properly on both android and iOS
shankari Aug 1, 2020
e6df96a
Bump up the version number after beta testing is complete
shankari Aug 1, 2020
c0c338f
Change the plugin sources to be from github
shankari Aug 1, 2020
8ce402b
Add the GoogleServices preference since cordova-android supports it
shankari Aug 1, 2020
a5d1ad5
Add additional logging to debug uninstalling the cocoapods gem
shankari Aug 1, 2020
5380806
Ensure that we fail on error in subfiles as well
shankari Aug 1, 2020
4abedc4
Tweak the CI build further
shankari Aug 1, 2020
5a832ca
Bump up the plugin count after adding cordova-plugin-androidx-adapter
shankari Aug 1, 2020
be9ef49
Remove unsupported option
shankari Aug 1, 2020
137f3d9
Commenting out cocoapods uninstall since it is failing on CI
shankari Aug 1, 2020
be9ab2f
Merge pull request #704 from shankari/fix_plugin_scripts
shankari Aug 1, 2020
55da7e0
Remove hardcoded path to my home directory
shankari Aug 3, 2020
4289e1d
Only install gradle if it is not already installed
shankari Aug 3, 2020
050222a
Update the README to reflect that the limitations are gone
shankari Aug 3, 2020
b8a3c19
Merge pull request #705 from shankari/point_release
shankari Aug 3, 2020
07371d4
Enable image load on iOS as well
shankari Aug 4, 2020
94dd385
Upgrade to API 29
shankari Aug 6, 2020
5429fab
Upgrade to the latest versions of many of the packages
shankari Aug 6, 2020
7a5d086
Merge pull request #707 from shankari/upgrade_to_sdk_29
shankari Aug 6, 2020
3592f0d
Merge pull request #708 from shankari/upgrade_to_sdk_29
shankari Aug 6, 2020
82d7d7d
Update README some more
shankari Aug 6, 2020
71d287e
Fix links
shankari Aug 7, 2020
9dd4fee
Support a generic xpath selector for the HTML element
shankari Aug 11, 2020
9e99e4f
Merge pull request #709 from shankari/support_xpath_in_survey
shankari Aug 11, 2020
0a4e738
Fix minor issue in survey launch
shankari Aug 11, 2020
b31b983
Merge pull request #710 from shankari/support_xpath_in_survey
shankari Aug 11, 2020
61aac5c
Fix the detail screen + minor cleanup to section-level properties
shankari Aug 18, 2020
66bfe31
Fix the icon list in the detail as well
shankari Aug 18, 2020
83febe9
Merge pull request #711 from e-mission/fix_detail_view
shankari Aug 22, 2020
68b6fde
Fix the paths for the file where the provider needs to be customized
shankari Aug 23, 2020
e4d484c
Merge pull request #712 from shankari/fix_deploy_hook
shankari Aug 23, 2020
dc3b8c9
Fix the gradle check to properly strip out whitespace
shankari Aug 23, 2020
6d64817
Merge pull request #713 from shankari/fix_gradle_check
shankari Aug 23, 2020
679d275
Fix minor regressions in the code to load translated files
shankari Aug 27, 2020
2eeb69d
Get the file i18n to work correctly
shankari Aug 28, 2020
f7aad94
Merge pull request #715 from shankari/i18n_improvements
shankari Aug 28, 2020
d0464df
Fix the headers for the mode and purpose popovers
shankari Aug 28, 2020
b3c3830
Fix the sensor_explanation to not be COVID focused
shankari Aug 28, 2020
6b08e25
Use the correct data model when the other popup is cancelled
shankari Aug 28, 2020
4a65f73
Simpify `close*Popover`
shankari Aug 28, 2020
e871a19
Merge branch 'master' of https://github.com/e-mission/e-mission-phone…
shankari Sep 19, 2020
f33b9a0
Couple of small fixes to the login screen
shankari Sep 22, 2020
07f38fc
Merge pull request #719 from shankari/master
shankari Sep 22, 2020
7c97a90
Merge pull request #720 from e-mission/master
shankari Sep 23, 2020
a298602
Merge branch 'deploy-upload-master' of https://github.com/e-mission/e…
shankari Sep 23, 2020
140549b
Remove last vestiges of COVID-19 project
shankari Oct 12, 2020
e48de82
Use pre-filled survey URLs to autopopulate values for google forms
shankari Oct 17, 2020
44a8e0f
Merge pull request #721 from shankari/fix_google_forms
shankari Oct 17, 2020
5537278
Unify mode and purpose code (#718)
shankari Sep 1, 2020
f1d7e40
Rewrite code to be more backwards compliant
shankari Sep 2, 2020
198c46b
Fix/improve the sensor_explanation
shankari Sep 12, 2020
6cfb8e5
Merge pull request #722 from shankari/unify_mode_purpose_code
shankari Oct 18, 2020
b07b241
Merge pull request #723 from shankari/update_sensor_explanation
shankari Oct 18, 2020
58194e3
Bump up the version number of the data collection plugin
shankari Oct 26, 2020
6ef163a
Merge pull request #725 from shankari/bump_up_versions
shankari Oct 26, 2020
b3b51a9
Upgrade ionic and nvm
shankari Oct 27, 2020
f0de5e7
Merge pull request #726 from shankari/bump_up_versions
shankari Oct 27, 2020
8e58e3c
Upgrade cocoapods and gradle
shankari Oct 27, 2020
35914c1
Update npm to the latest compatible version
shankari Oct 27, 2020
10bbad4
Merge pull request #727 from shankari/bump_up_versions
shankari Oct 27, 2020
f652e0e
Remove the auto-generated icon files from the main phone repo (#728)
shankari Oct 29, 2020
7467162
Adapt the `phonegap serve` command to work with CORS
shankari Nov 1, 2020
cdca078
Store a bunch of device settings that can help debug any tracking iss…
shankari Nov 6, 2020
614ddc9
Merge pull request #730 from shankari/store_device_settings
shankari Nov 6, 2020
ce7ba58
One more path fix, this time for locales
shankari Dec 7, 2020
3c5d419
Bump up the version number of the JWT plugin
shankari Dec 7, 2020
7298c52
Merge pull request #731 from shankari/upgrade_to_recent_auth
shankari Dec 7, 2020
7e1ec3e
Auto-merge bulk update of org policies
shankari Jan 14, 2021
ce86aa6
Heavy lifting for supporting the option to upload the phone log
shankari Feb 5, 2021
a94e1ec
Fix IOS build
shankari Feb 5, 2021
66e8315
Fix IOS build (#735)
shankari Feb 5, 2021
5f59c21
Merge branch 'master' of https://github.com/e-mission/e-mission-phone…
shankari Feb 6, 2021
624c18e
Support both email and upload temporarily
shankari Feb 6, 2021
2ae5857
Support iOS uploads as well
shankari Feb 6, 2021
f71f9b4
Read the metadata from the phone and send it to the server
shankari Feb 8, 2021
195da40
Final fixes for the upload logs feature
shankari Feb 8, 2021
97f240b
Merge pull request #734 from shankari/upgrade_upload_process
shankari Feb 16, 2021
70fbdb2
Merge branch 'master' of https://github.com/e-mission/e-mission-phone
shankari Feb 16, 2021
6d079d3
Initial boilerplate code to create the new "label" tab
shankari Jan 15, 2021
85a56ba
Initial version of the labeling page
shankari Jan 15, 2021
c42ff51
Get the list + popup to largely work
shankari Jan 16, 2021
4a05e6c
Display user inputs (almost) correctly
shankari Jan 16, 2021
0cb3d69
Handle the case in which the labels have not yet been processed
shankari Jan 16, 2021
d6f7d36
Support filtering
shankari Jan 16, 2021
a428f19
Minor fit and finish UI fixes
shankari Jan 16, 2021
06bb859
Always match against the unprocessed labels
shankari Jan 16, 2021
b9ea179
Improve the performance of the trip detail screen
shankari Jan 17, 2021
ac15519
Enable the infinite scroll
shankari Jan 17, 2021
b43ecac
Display the start/end place name in the list
shankari Jan 17, 2021
c3851e8
Handle gaps in trips
shankari Jan 18, 2021
9e38f14
Remove the data load from the setup function
shankari Jan 18, 2021
42827dc
Change the "more" button to be next to the address
shankari Jan 18, 2021
9b1a016
Minor fix with big but corner case impact
shankari Jan 18, 2021
089797e
Ensure that the map has a fixed value on iOS
shankari Jan 18, 2021
0f87bf1
Adjust header button widths and text to ensure that they don't overlap
shankari Jan 18, 2021
6e661ea
Refactor the filtering code to make it easier to add new filters
shankari Feb 17, 2021
79f0731
Fix the diary screen spacing
shankari Feb 17, 2021
1e9ce27
Re-enable place lookups on the infinite scroll screen
shankari Feb 17, 2021
09ddaa1
Dynamically populate the user inputs based on the config
shankari Feb 17, 2021
e18f853
Remove obsolete code from the infinite scroll
shankari Feb 17, 2021
6d2fe85
Set the width for the filter buttons as well
shankari Feb 17, 2021
6a2deb3
Merge pull request #736 from shankari/add_infinite_scroll
shankari Feb 17, 2021
189a5ee
Cherry-picked from location history (#738)
shankari Feb 18, 2021
43724c1
Remove the "goals" tab since we are not running the habitica server a…
shankari Feb 18, 2021
85d5586
Convert the diary from auto-refresh to manual refresh
shankari Feb 18, 2021
ef67d56
Merge pull request #739 from shankari/other_fixes_to_master
shankari Feb 18, 2021
5f33c6e
Switch to es5-compatible version of bottleneck
shankari Feb 18, 2021
ae8c466
Merge pull request #740 from shankari/es5_compat
shankari Feb 18, 2021
7d58c01
Add the lib files for the bottleneck dependency
shankari Feb 18, 2021
b6dbf2e
Merge pull request #741 from e-mission/master
shankari Feb 18, 2021
173c120
initial pass at refactoring the consent code (missing i18n)
shankari Feb 26, 2021
e2f6051
Support i18n
shankari Feb 27, 2021
302cd9c
Merge pull request #744 from shankari/add_privacy_link
shankari Feb 27, 2021
f063f5d
Remove hardcoded link from the consent document
shankari Feb 27, 2021
340d12b
Move the privacy policy link up
shankari Feb 27, 2021
debc6a8
Merge pull request #745 from shankari/fix_popup_top
shankari Feb 27, 2021
5d62441
Merge pull request #746 from e-mission/master
shankari Mar 5, 2021
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
65 changes: 65 additions & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This is a basic workflow to help you get started with Actions

name: osx-ubuntu-build-android

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '5 4 * * 0'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Print the java version
run: java -version

- name: Tries to figure out where android is installed
run: |
echo "Android listed at $ANDROID_HOME"
ls -al /opt/

- name: Setup the cordova environment
shell: bash -l {0}
run: |
bash setup/setup_android_native.sh

- name: Check tool versions
shell: bash -l {0}
run: |
source setup/activate_native.sh
echo "cordova version"
npx cordova -version
echo "ionic version"
npx ionic --version
which gradle
echo "gradle version"
gradle -version

- name: Build android
shell: bash -l {0}
run: |
echo $PATH
which gradle
gradle -version
echo "Let's rerun the activation"
source setup/activate_native.sh
echo $PATH
which gradle
gradle --version
npx cordova build android
33 changes: 33 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
64 changes: 64 additions & 0 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This is a basic workflow to help you get started with Actions

name: osx-build-ios

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '5 4 * * 0'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Print the xcode path
run: xcode-select --print-path

- name: Print the xcode setup
run: xcodebuild -version -sdk

- name: Print applications through dmg
run: ls /Applications

- name: Print applications through brew
run: brew list --formula

- name: Setup the cordova environment
shell: bash -l {0}
run: |
bash setup/setup_ios_native.sh

- name: Check tool versions
shell: bash -l {0}
run: |
source setup/activate_native.sh
echo "cordova version"
npx cordova -version
echo "ionic version"
npx ionic --version

- name: Build ios
shell: bash -l {0}
run: |
source setup/activate_native.sh
npx cordova build ios

- name: Cleanup the cordova environment
shell: bash -l {0}
run: bash setup/teardown_ios_native.sh

58 changes: 58 additions & 0 deletions .github/workflows/serve-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# This is a basic workflow to help you get started with Actions

name: osx-serve-install

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '5 4 * * 0'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Print the xcode path
run: xcode-select --print-path

- name: Print the xcode setup
run: xcodebuild -version -sdk

- name: Print applications through dmg
run: ls /Applications

- name: Print applications through brew
run: brew list --formula

- name: Setup the serve environment
shell: bash -l {0}
run: |
bash setup/setup_serve.sh

- name: Check tool versions
shell: bash -l {0}
run: |
source setup/activate_serve.sh
echo "cordova version"
npx cordova -version
echo "ionic version"
npx ionic --version

# TODO: figure out how to check that a server started correctly
# - name: Try starting it
# run: npx run serve

10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,12 @@ package-hooks/
.DS_Store
app-settings.json
.idea/
.io-config.json
.io-config.json
*.apk
*.app.zip
*.ipa
www/js/control/collect-settings.js
www/js/control/sync-settings.js
www/js/control/transition-notify-settings.js
config.xml
package.json
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 22015-2018, e-mission
Copyright (c) 2020-2021, Alliance for Sustainable Energy
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
100 changes: 100 additions & 0 deletions OpenSourceLicenses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
This file lists the module dependencies for the project and their licenses.

1. Most of this module code is **not** redistributed, either in source or binary
form. Instead, it is downloaded automatically using package managers and linked
from the code. The module download includes the license and appropriate credit.

1. So our primary check here is for modules which do not have a license, or
which are GPL licensed.

The original project was created based on the ionic starter tabs template
https://github.com/ionic-team/ionic-starter-tabs
which is explicitly designed to provide a template for developers.

## Redistributed, modified javascript dependencies

These dependencies were checked in over time in order to support libraries that
did not have bower entries, or libraries that were modified with minor changes
based on bugs. TODO: Go through the modules, determine the changes and submit them as PRs 🚧

| Module | License | Original code |
|--------|---------|---------------|
| `www/manual_lib/angularjs-nvd3-directives` | Apache |
| `www/manual_lib/fontawesome` | Icons: CC BY 4.0, Code: MIT License | https://fontawesome.com |
| `www/manual_lib/ionic-datepicker` | MIT | https://github.com/rajeshwarpatlolla/ionic-datepicker |
| `www/manual_lib/leaflet` | BSD 2-clause | https://github.com/Leaflet/Leaflet |
| `www/manual_lib/ui-leaflet` | MIT | https://github.com/angular-ui/ui-leaflet 🗄️ |

## Javascript dependencies installed via bower

| Module | License |
|--------|---------|
| `www/lib/ionic` | MIT (from [`bower.json`](https://github.com/ionic-team/ionic-bower/blob/v1.3.0/bower.json)) |
| `www/lib/ionic-toast` | MIT |
| `www/lib/moment` | MIT |
| `www/lib/moment-timezone` | MIT |
| `www/lib/Leaflet.awesome-markers` | MIT |
| `www/lib/angular` | MIT |
| `www/lib/angular-animate` | MIT |
| `www/lib/angular-sanitize` | MIT |
| `www/lib/angular-nvd3` | MIT |
| `www/lib/angularLocalStorage` | MIT |
| `www/lib/ng-walkthrough` | MIT |
| `www/lib/animate.css` | MIT |
| `www/lib/nz-tour` | MIT |
| `www/lib/leaflet-plugins` | MIT |
| `www/lib/angularjs-slider` | MIT |
| `www/lib/angular-translate` | MIT |
| `www/lib/angular-translate-loader-static-files` | MIT |
| `www/lib/angular-translate-interpolation-messageformat` | MIT |

## Javascript dependencies installed via npm `package.json`

Note that some of these are only required for development, not for proper operation.
Not sure whether we should list them or not, but it doesn't hurt.

| Module | License |
|--------|---------|
| phonegap | Apache |
| fs-extra | MIT |
| klaw-sync | MIT |

## Javascript dependencies installed via npm command line

| Module | License |
|--------|---------|
| cordova | Apache |
| bower | MIT |
| ionic | MIT |

## Cordova platforms, installed automatically

| Module | License |
|--------|---------|
| cordova-ios | Apache |
| cordova-android | Apache |

## Cordova plugins, installed automatically

| Module | License |
|--------|---------|
| phonegap-plugin-push | MIT |
| ionic-plugin-keyboard | Apache |
| cordova-plugin-app-version | MIT |
| cordova-plugin-file | Apache |
| cordova-plugin-device | Apache |
| cordova-plugin-whitelist | Apache |
| cordova-plugin-customurlscheme | MIT |
| cordova-plugin-email-composer | Apache |
| cordova-plugin-x-socialsharing | MIT |
| cordova-plugin-inappbrowser | Apache |
| de.appplant.cordova.plugin.local-notification-ios9-fix | Apache |
| cordova-plugin-ionic | MIT |
| edu.berkeley.eecs.emission.cordova.auth | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.comm | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.datacollection | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.serversync | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.settings | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.transitionnotify | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.unifiedlogger | BSD 3-clause |
| edu.berkeley.eecs.emission.cordova.usercache | BSD 3-clause |
Loading