Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
db34520
Some money fix.
mashfiqui-rabbi Jun 18, 2020
a70bb05
Merge pull request #129 from StatisticalReinforcementLearningLab/addi…
mashfiqui-rabbi Jun 18, 2020
33b97a8
mobile accessiblity, iphone XR fix, Sentry added (iOS still not working)
mashfiqui-rabbi Jun 19, 2020
87fb6e6
Merge pull request #130 from StatisticalReinforcementLearningLab/addi…
mashfiqui-rabbi Jun 19, 2020
daedd2e
Excluded config.ini for adapts
mashfiqui-rabbi Jun 19, 2020
3852a86
Merge pull request #131 from StatisticalReinforcementLearningLab/addi…
mashfiqui-rabbi Jun 19, 2020
94d053a
Update README.md
samurphy11 Jun 19, 2020
87c7dcb
Merge pull request #132 from StatisticalReinforcementLearningLab/Adap…
mashfiqui-rabbi Jun 22, 2020
2fbb9b5
Some bug fixes.
mashfiqui-rabbi Jun 23, 2020
0b2d93e
Fixed important bug. App has to be updated immediately
mashfiqui-rabbi Jun 23, 2020
63d1288
Fixed the white screen bug in auth.
mashfiqui-rabbi Jun 24, 2020
d2709f9
Fixed the blank screen on the phone side.
mashfiqui-rabbi Jun 24, 2020
a79d6d8
Update README.md
samurphy11 Jun 25, 2020
820e26a
Create README.md
mashfiqui-rabbi Jun 30, 2020
870eb3d
Update README.md
mashfiqui-rabbi Jun 30, 2020
7fdf264
Update README.md
mashfiqui-rabbi Jun 30, 2020
bca4c34
Update README.md
mashfiqui-rabbi Jun 30, 2020
e874a7d
Add files via upload
mashfiqui-rabbi Jun 30, 2020
9f329e6
Update README.md
mashfiqui-rabbi Jun 30, 2020
6300d74
Update README.md
mashfiqui-rabbi Jun 30, 2020
705a789
Create README.md
mashfiqui-rabbi Jun 30, 2020
2418ce5
Update README.md
mashfiqui-rabbi Jun 30, 2020
7eacdcc
Update temp_survey.json
mashfiqui-rabbi Jul 7, 2020
18e0fad
List of changes:
mashfiqui-rabbi Jul 9, 2020
895bbc8
Update README.md
samurphy11 Jun 19, 2020
f59ab0d
Updating userProfile more frequently by calling saveToServer in aquar…
dan-chop-ris Jun 30, 2020
b6a55da
Disabled back button.
dan-chop-ris Jun 30, 2020
7b5c7de
Fixes for rightly showing the incentives in the tab page.
mashfiqui-rabbi Jul 17, 2020
257dcb5
Refactored dynamic survey. Only reinforcement of meme/altruism are le…
mashfiqui-rabbi Jul 17, 2020
ccdb20b
Date properly ordered for memes and altruistic messages.
mashfiqui-rabbi Jul 19, 2020
1c9813a
Fixed the sorting that wasn't working earlier.
mashfiqui-rabbi Jul 19, 2020
795259c
Update README.md
samurphy11 Jul 20, 2020
8d2786b
Created module/component for ARC apps (src/app/intervention/harvard-a…
mashfiqui-rabbi Jul 21, 2020
b7c5ffe
Merge pull request #149 from StatisticalReinforcementLearningLab/mash…
mashfiqui-rabbi Jul 21, 2020
3a90468
Harvard Survey rendered and extra question added
ChloeL19 Jul 22, 2020
b97a89f
question names updated
ChloeL19 Jul 24, 2020
201bf86
- Added a simple video tutorial page.
mashfiqui-rabbi Jul 26, 2020
fb1341b
- Added thumbnailed list.
mashfiqui-rabbi Jul 26, 2020
f1dd82b
Merge pull request #152 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Jul 29, 2020
ab77c54
Merge pull request #154 from StatisticalReinforcementLearningLab/mash…
mashfiqui-rabbi Jul 29, 2020
d4ea631
- sourcemap deactivated
mashfiqui-rabbi Jul 30, 2020
8af4312
Add files via upload
zhuf11 Aug 3, 2020
43d93cc
Added logos for 7 apps
zhuf11 Aug 3, 2020
aad6b79
Updated ARC apps list with logos + descriptions
zhuf11 Aug 4, 2020
6641120
Updated with more apps
zhuf11 Aug 4, 2020
f8a878a
Delete front_page.component.ts
zhuf11 Aug 4, 2020
eb06cd4
Merge pull request #160 from StatisticalReinforcementLearningLab/fran…
mashfiqui-rabbi Aug 4, 2020
495c167
I added the good day question
ChloeL19 Aug 5, 2020
247e8f9
fixed minor comma error
ChloeL19 Aug 5, 2020
1a302c8
buttons fixed
ChloeL19 Aug 8, 2020
cc7c00f
Merge pull request #162 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Aug 9, 2020
4377776
File name changes and range input is working.
mashfiqui-rabbi Aug 10, 2020
dc58c7d
Merge branch 'mash-issue-163' into harvard/dev
mashfiqui-rabbi Aug 10, 2020
b5432f4
numbers fixed
ChloeL19 Aug 13, 2020
6c7fdad
Merge pull request #166 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Aug 13, 2020
0ea9e70
Changed splash screen. Changed names to SARA. Added cheat button back.
mashfiqui-rabbi Sep 14, 2020
d34c588
Update README.md
euranofshin Sep 21, 2020
058f046
Instruction to download the aware app.
mashfiqui-rabbi Oct 11, 2020
6d8288e
Added images to download QR code.
mashfiqui-rabbi Oct 11, 2020
3b5953e
Merge pull request #181 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Oct 11, 2020
7dd6b77
Update aware.md
mashfiqui-rabbi Oct 11, 2020
20f2fc6
Update aware.md
mashfiqui-rabbi Oct 11, 2020
fea8b2c
Update aware.md
mashfiqui-rabbi Oct 11, 2020
c249fdc
Update aware.md
mashfiqui-rabbi Oct 11, 2020
b1e6402
Copy edits
mashfiqui-rabbi Oct 11, 2020
5a4742b
Folder name change. Missing data analysis script is added.
mashfiqui-rabbi Oct 11, 2020
4170762
Merge branch 'harvard/dev' into harvard/mash-issue-180
mashfiqui-rabbi Oct 11, 2020
2892772
Merge pull request #182 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Oct 11, 2020
e312bb5
Update aware.md
mashfiqui-rabbi Oct 11, 2020
c319b23
Update aware.md
mashfiqui-rabbi Oct 11, 2020
fdf2821
Changed CHOP logos to Harvard Logos/Authentication page. Disabled lif…
mashfiqui-rabbi Oct 16, 2020
301e326
user registration FLASK app with readme
euranofshin Oct 18, 2020
2e81ba2
Merge pull request #190 from StatisticalReinforcementLearningLab/mash…
mashfiqui-rabbi Oct 18, 2020
06596a2
removed sensitive files
euranofshin Oct 20, 2020
07d4e25
no message
mashfiqui-rabbi Oct 26, 2020
9273a83
Merge branch 'harvard/dev' into harvard/eura-issue-187
mashfiqui-rabbi Nov 15, 2020
41cdf52
Merge pull request #188 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Nov 15, 2020
36b8088
Added qmood.
mashfiqui-rabbi Nov 15, 2020
5f492cf
Add files via upload
sarahrathnam Nov 15, 2020
ee722a2
Update Sample Altair plots.ipynb
sarahrathnam Nov 16, 2020
c5f3736
Early pipeline. codes
mashfiqui-rabbi Nov 18, 2020
ca08653
Add files via upload
sarahrathnam Nov 18, 2020
cf7bcf9
Merge pull request #194 from StatisticalReinforcementLearningLab/sara…
mashfiqui-rabbi Nov 22, 2020
af8bfbd
Added mood survey with a factory method for visualization. Sample ipy…
mashfiqui-rabbi Nov 22, 2020
a799721
Merge pull request #195 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Nov 22, 2020
3b5a109
Merge branch 'harvard/mash-issue-191' into harvard/mash-issue-193
mashfiqui-rabbi Nov 25, 2020
4341541
Checking visualization scripts and fixing sleep data.
mashfiqui-rabbi Nov 30, 2020
7143c27
Added a sleep visualization as Visualization factory.
mashfiqui-rabbi Dec 2, 2020
2771b61
Merge pull request #197 from StatisticalReinforcementLearningLab/harv…
mashfiqui-rabbi Dec 2, 2020
b681482
life insight flask + packaged backend_pipeline
euranofshin Dec 6, 2020
edc952d
dockerized flask app
euranofshin Dec 7, 2020
6ea4261
added android bulid from capacitoy
euranofshin Apr 17, 2021
b89a6cb
enable ionic capacitor builds
euranofshin Apr 17, 2021
d087369
modify contents of sleep survey
sarahrathnam May 12, 2021
368fee2
new dogs survey
sarahrathnam May 12, 2021
c573653
change thank you images
sarahrathnam May 17, 2021
41dc062
use survey image from public bucket
sarahrathnam May 21, 2021
1e1d109
new user image and no quote icon
sarahrathnam Jun 28, 2021
2c55227
don't show money in app; lock survey after completed and overnight
sarahrathnam Jul 15, 2021
ce8cab0
Remove money from app
sarahrathnam Aug 3, 2021
4a947bb
revert from dogs survey to sleep survey
sarahrathnam Aug 25, 2021
e7aefcf
Added sleep monitoring as a tab. The app data is sent to server using…
mashfiqui-rabbi Sep 4, 2021
aefcc02
Only using user_id for now. In a future version will add sleep survey…
mashfiqui-rabbi Sep 6, 2021
30e6637
Saved sleep survey locally. This survey is used to generating sleep m…
mashfiqui-rabbi Sep 11, 2021
7c6bbaa
Pulling information from micro-service directly.
mashfiqui-rabbi Sep 12, 2021
e4030a5
Add explanatory comments on what the functions in sleep.monitoring.ts…
mashfiqui-rabbi Sep 14, 2021
1e4e3e3
Added and checked new server addresses. Environment file is updated a…
mashfiqui-rabbi Sep 19, 2021
3fa9a80
Merge pull request #229 from StatisticalReinforcementLearningLab/mash…
sarahrathnam Sep 20, 2021
c8f876e
Merge branch 'master' into SARA-template
mashfiqui-rabbi Jan 16, 2022
37b7247
Created folder for client and server side code.
mashfiqui-rabbi Jan 17, 2022
c8b5989
Moved readme file to main directory.
mashfiqui-rabbi Jan 17, 2022
1fb7ca2
Removed hidden firebase config files.
mashfiqui-rabbi Jan 17, 2022
4d43e40
Create LICENSE
mashfiqui-rabbi Jan 23, 2022
4b09f13
Update License to BSD-3
ms2749 Jan 23, 2022
76de753
- Moved server side file to server side.
ms2749 Jan 24, 2022
da1a575
12PM messages and reminder notification codes are added
mashfiqui-rabbi Jan 24, 2022
b5528aa
Before ionic update
ms2749 Jan 26, 2022
047c41a
Merge branch 'master' of github.com:StatisticalReinforcementLearningL…
ms2749 Jan 26, 2022
baa6444
clean up
ms2749 Jan 28, 2022
e9c922e
updated to angular 9
ms2749 Jan 28, 2022
cdb8fbf
Angular 9 and ionic 5 is finally working. The modal animation with gi…
ms2749 Jan 28, 2022
cd06e0a
Gifts after survey completion has been fixed. The animation is still …
ms2749 Jan 29, 2022
53bd4ae
Live reload isn't working on android devices. Fixing the problem.
ms2749 Jan 30, 2022
37941bb
android release done
ms2749 Feb 2, 2022
30226ad
Ignore angular cache
ms2749 Feb 4, 2022
9036601
Bump simple-get from 3.1.0 to 3.1.1 in /phone_code
dependabot[bot] Feb 4, 2022
7c813b4
Bump https-proxy-agent from 2.2.1 to 2.2.4
dependabot[bot] Feb 5, 2022
6084e37
Updated gitignore file for phone codes directory
ms2749 Feb 6, 2022
033439e
Merge pull request #234 from StatisticalReinforcementLearningLab/depe…
ms2749 Feb 6, 2022
135741f
Merge commit '7c813b48b73f003b9af15f8b83dccf9882a79c1f'
ms2749 Feb 6, 2022
af67301
Added server side codes inside the main branch
ms2749 Feb 6, 2022
c42a5c8
Onesignal authorization and app id is scrubbed from the code.
ms2749 Feb 7, 2022
5d4570d
Scrapped password from decrypt.js and onesignal. Update config with a…
ms2749 Feb 8, 2022
1335e3a
ignored vs code and server_side_code directories for now.
ms2749 Feb 8, 2022
ab9aafb
Removed unsorted server side scripts
ms2749 Feb 9, 2022
34898c5
removed AWS keys
ms2749 Feb 12, 2022
cd594f1
Bump follow-redirects from 1.14.7 to 1.14.8 in /phone_code
dependabot[bot] Feb 12, 2022
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
  •  
  •  
  •  
1,529 changes: 0 additions & 1,529 deletions .firebase/hosting.d3d3.cache

This file was deleted.

5 changes: 0 additions & 5 deletions .firebaserc

This file was deleted.

20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# phone code
node_modules/
platforms/
www/
Expand All @@ -7,3 +8,22 @@ src/environments/environment.prod.ts
www/
platforms/
copy_these_files/aws_scripts/aws_config.json
copy_these_files/adapts_scripts/adapts_flask/config.ini
*.pem
*.csv
aware-config.json
phone_code/.angular/cache


# server side code
aws_config.json
mysql_config.json
saraSqlConfig.json
*.pyc
*package.json
*package-lock.json
*.pem
config.ini

.vscode
./server_side_code
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2022, Statistical Reinforcement Learning group at Harvard University
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SARAv2
Substance Abuse Research Assistant V2
Substance Abuse Research Assistant V2

# Dropbox Folder
Associated documents: https://www.dropbox.com/sh/pnxm4ajpkag743a/AAArpb5AH0I-6UECaYVLc8zla?dl=0
Now moved to google doc folder: https://drive.google.com/drive/folders/1P9y5-P4gLJZPHvsxDyvy7hDSVuf9W6I0?usp=sharing


# Project Description
Expand All @@ -10,7 +14,7 @@ SARA version 2 is extending version 1 in a number of ways: (i) we are focusing o

The current contributors of this project are Harvard University, University of Michigan, and Children Hospital of Philadelphia.

For more details, please check out the paper linked below or contact mrabbi@fas.harvard.edu
For more details, please check out the paper linked below or contact mashfiqui.r.s@gmail.com

<p align="center">
<img src="https://raw.githubusercontent.com/StatisticalReinforcementLearningLab/SARA-Version1/master/app_code/9850-169539-1-SP.png" width="650"/>
Expand Down Expand Up @@ -72,6 +76,6 @@ Direct links to readme files for each of the modules are below:
Our code heavily uses modules, components and service architecture from Angular 2 or above. If you are new to this architecture, we found [this Udemy course](https://www.udemy.com/course/the-complete-angular-master-class/) to be very helpful.




# RL Algorithm Documentation
The documentation for the RL algorithm deployed on SARA version 2 can be found [here](https://hackmd.io/@NmVUyGhZTtGsYYlVWJx9uQ/BJangREBv).

47 changes: 0 additions & 47 deletions copy_these_files/README.md

This file was deleted.

141 changes: 0 additions & 141 deletions copy_these_files/android/NotificationExtenderOneSignal.java

This file was deleted.

Loading