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

[CS2103T-T09-2] ExerHealth #65

Open
wants to merge 148 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
e337b66
Update README.adoc
t-cheepeng Sep 10, 2019
3115284
Update README.adoc
t-cheepeng Sep 10, 2019
8af053e
Set up repo for local development
garylyp Sep 19, 2019
1542b8e
Update contact us doc to match ExerHealth
t-cheepeng Sep 26, 2019
85570f8
Merge pull request #12 from t-cheepeng/add-contact-us-docs
t-cheepeng Sep 27, 2019
56d944c
Merge branch 'master' of https://github.com/AY1920S1-CS2103T-T09-2/main
garylyp Sep 27, 2019
42ddbbd
Refactor code base for ExerHealth
weihaw08 Sep 27, 2019
7aa91db
Make minor change to MainWindow
weihaw08 Sep 27, 2019
91172c7
Make changes to test cases
weihaw08 Sep 27, 2019
d185ea9
Make minor changes to test cases
weihaw08 Sep 27, 2019
dbb2116
Update AboutUs
weihaw08 Sep 27, 2019
74249fe
Edit files in JsonUserPrefsStorageTest
weihaw08 Sep 27, 2019
0c00bd0
Merge pull request #13 from weihaw08/UiModification
t-cheepeng Sep 28, 2019
d7ec258
Merge pull request #14 from weihaw08/UpdateAboutUs
t-cheepeng Sep 28, 2019
6b557af
Merge branch 'master' of https://github.com/AY1920S1-CS2103T-T09-2/main
garylyp Sep 28, 2019
5eab3cf
Update Appendices A to E of Developer Guide
garylyp Sep 28, 2019
419a564
Update README.adoc
kwekke Sep 28, 2019
dcaff93
Change AddressBook Level 3 to ExerHealth in title of Developer Guide
garylyp Sep 29, 2019
5cfbd1b
Merge pull request #15 from garylyp/UpdateDeveloperGuide
t-cheepeng Sep 29, 2019
c3a07b1
Merge pull request #17 from kwekke/UpdateREADME
t-cheepeng Sep 29, 2019
39f2e28
Update relevant portions of user guide
t-cheepeng Oct 1, 2019
af21325
Add netlify badge for static deployment of pages
t-cheepeng Oct 1, 2019
148cb21
Update User Guide
jietung Oct 1, 2019
66d35d6
Merge pull request #75 from t-cheepeng/add-netlify
t-cheepeng Oct 2, 2019
ce74deb
Merge pull request #74 from t-cheepeng/update-user-guide
t-cheepeng Oct 2, 2019
4bf757c
Resolve merge conflict for user guide
t-cheepeng Oct 2, 2019
f2c9d35
Merge branch 'weihaw08-UpdateUserGuide'
t-cheepeng Oct 2, 2019
4296863
Merge branch 'UserGuide' of https://github.com/jietung/main into jiet…
t-cheepeng Oct 2, 2019
d75db3c
Merge branch 'jietung-UserGuide'
t-cheepeng Oct 2, 2019
35bb266
Add new features and their command into user guide
garylyp Oct 2, 2019
cb32696
Merge pull request #78 from garylyp/update-user-guide
t-cheepeng Oct 2, 2019
a04bdcc
Update user guide
kwekke Oct 2, 2019
839989b
Merge pull request #79 from kwekke/update-user-guide
t-cheepeng Oct 2, 2019
cbf9c3b
Refactor code
jietung Oct 3, 2019
30eff2d
Refactor code in tests
jietung Oct 3, 2019
9d95a2f
Refactor code to pass checkstyle
jietung Oct 3, 2019
1c6be6a
Add unit and refactor code
jietung Oct 4, 2019
1491768
Add tests for unit
jietung Oct 4, 2019
37107ff
Refactor code in main and tests
jietung Oct 7, 2019
8622527
Add tests for unit
jietung Oct 7, 2019
a6225fc
Merge pull request #81 from jietung/Morph
t-cheepeng Oct 8, 2019
b1034eb
Add view tab to display resolve window. (#16)
t-cheepeng Oct 9, 2019
b8cb901
Fix bug#83
kwekke Oct 11, 2019
aee0060
Merge pull request #89 from kwekke/Fix-bug#83
t-cheepeng Oct 11, 2019
b44a7ed
Crud regime (#90)
jietung Oct 12, 2019
947152a
Custom property (#92)
weihaw08 Oct 13, 2019
43dd78d
Add suggest command (#93)
kwekke Oct 14, 2019
3d065e7
Implement undo and redo feature for add and delete commands (#86)
garylyp Oct 14, 2019
dead4ba
Add Undo Feature for Edit and Clear (#95)
garylyp Oct 15, 2019
dd90a29
Add Schedule command (#88)
t-cheepeng Oct 15, 2019
7fc5255
Release trial
t-cheepeng Oct 15, 2019
f10cb0b
Refactor code base (#98)
weihaw08 Oct 19, 2019
c3a6400
Add developer documentation for schedule/resolve command (#100)
t-cheepeng Oct 22, 2019
843acd8
Update developer guide (#106)
jietung Oct 22, 2019
f7baeb7
Update storage portion of DG (#107)
t-cheepeng Oct 23, 2019
87b5595
Update Model and Ui portions of DG (#109)
kwekke Oct 23, 2019
686891c
Feature undo for regime (#102)
garylyp Oct 23, 2019
1f6ce0d
Update DG undo feature (#110)
garylyp Oct 23, 2019
8d5bd26
Update DG (#108)
weihaw08 Oct 23, 2019
656a318
Update developer guide suggest feature (#111)
kwekke Oct 23, 2019
4421007
Add feature resolve conflict (#101)
t-cheepeng Oct 24, 2019
ac13b6a
Add test custom property (#96)
kwekke Oct 24, 2019
9659e64
Update developer uml (#116)
t-cheepeng Oct 24, 2019
3b8b245
Add suggest possible command (#103)
kwekke Oct 25, 2019
01be62e
Remove find command (#117)
garylyp Oct 25, 2019
ff18877
Custom delete feature (#115)
weihaw08 Oct 26, 2019
780bbaa
Implements stats feature (#114)
jietung Oct 26, 2019
1d5a060
Fix bug: no error message shown when deleting exercise in regime with…
jietung Oct 28, 2019
6dc46b6
Add test for logic package (#120)
t-cheepeng Oct 28, 2019
d926c30
Add test commons package (#119)
t-cheepeng Oct 28, 2019
8009a42
Make changes to UI
weihaw08 Oct 28, 2019
03a9abd
Merge remote-tracking branch 'upstream/master' into update-ui
weihaw08 Oct 29, 2019
6ffc4a4
Update ui (#121)
kwekke Oct 29, 2019
91fc0f6
Merge remote-tracking branch 'upstream/master' into update-ui
weihaw08 Oct 29, 2019
62850a8
Make minor changes to GUI
weihaw08 Oct 29, 2019
2c35df5
Add tests for undo-redo commands and events package (#124)
garylyp Oct 29, 2019
e08d44b
Add tests for statistic (#125)
jietung Oct 29, 2019
01d018d
Add tests for regime (#127)
jietung Oct 29, 2019
a797b7e
Add test model package (#126)
t-cheepeng Oct 29, 2019
da62ef7
Edit custom theme (#128)
kwekke Oct 29, 2019
ebfb116
Make more changes to UI
weihaw08 Oct 29, 2019
2adeea6
Merge remote-tracking branch 'upstream/master' into update-ui
weihaw08 Oct 29, 2019
c0dfe8a
Remove unnecessary code
weihaw08 Oct 29, 2019
9d6ba74
Revert "Make more changes to UI"
weihaw08 Oct 29, 2019
1d4ce21
Revert "Remove unnecessary code"
weihaw08 Oct 29, 2019
b2140d5
Update ui parts (#129)
weihaw08 Oct 29, 2019
93fc1b2
Update resolve window theme (#130)
t-cheepeng Oct 29, 2019
52b8a4e
Minor changes to GUI colours (#133)
weihaw08 Oct 29, 2019
2b27417
Update ug dg v1.3 (#134)
garylyp Oct 29, 2019
96b287c
Update statistic ui (#132)
jietung Oct 29, 2019
2644491
Update schedule command (#131)
t-cheepeng Oct 30, 2019
90ed95a
Update suggest feature (#122)
kwekke Oct 30, 2019
cc89838
Add tests to Storage component (#137)
kwekke Oct 30, 2019
876151b
Feature update list and edit command (#138)
garylyp Oct 30, 2019
3eee83b
Update UG (#139)
kwekke Oct 30, 2019
3bdf789
Update tests (#140)
weihaw08 Oct 30, 2019
5b3cf70
Add resource info panel (#136)
t-cheepeng Oct 30, 2019
6f5dfc9
Update statistic (#142)
jietung Oct 31, 2019
7aafac8
Fix resolve window bug (#143)
t-cheepeng Nov 2, 2019
777699a
Fix suggest possible command to allow operational type to be optional…
kwekke Nov 2, 2019
ae79b82
Update ppp (#144)
t-cheepeng Nov 2, 2019
735692c
Feature undo schedule and resolve (#186)
garylyp Nov 2, 2019
1574d2d
Fix ped bugs for stats (#191)
jietung Nov 3, 2019
68d12ad
Add testfx (#192)
t-cheepeng Nov 3, 2019
01cea67
Custom Property feature updates and tests (#194)
weihaw08 Nov 3, 2019
f9970df
Fix bug ped (#189)
t-cheepeng Nov 3, 2019
a5d7517
Add PPP (#196)
kwekke Nov 4, 2019
4eb2c46
Add rationale section to resolve DG (#195)
t-cheepeng Nov 4, 2019
66e7041
Attempt to fix sorted list bug but it is now no longer a catastrophe …
t-cheepeng Nov 4, 2019
97da87b
Fix gradle files (#199)
t-cheepeng Nov 4, 2019
f0a40ce
Fix InfoDisplayPanel after list command is executed (#197)
kwekke Nov 5, 2019
f9e6bd2
PPP updates and Select command (#200)
weihaw08 Nov 5, 2019
27b8526
Fix bug for list command and select (#201)
t-cheepeng Nov 5, 2019
3bc31f4
Resize chart panel (#202)
jietung Nov 6, 2019
9a6f9ea
Update ug (#211)
t-cheepeng Nov 6, 2019
6f65c70
Add code link to RepoSense (#198)
kwekke Nov 7, 2019
f9a447d
Fix bugs (#228)
kwekke Nov 7, 2019
27ccb59
Update UG, DG, PPP and fix issues (#230)
jietung Nov 7, 2019
0887b54
Add reposense authorship (#229)
t-cheepeng Nov 7, 2019
39eea07
Fix command messages (#215)
t-cheepeng Nov 7, 2019
7c7cd32
Fix Ui bugs and Update docs (#231)
garylyp Nov 8, 2019
e855776
Update UG DG PPP (#218)
weihaw08 Nov 9, 2019
ee5020f
Add logging (#232)
t-cheepeng Nov 9, 2019
c8f9d62
Add credits for solution's inspiration (#233)
weihaw08 Nov 9, 2019
a2438f8
Update UG DG PPP (#235)
kwekke Nov 9, 2019
c134591
Fix Coding Quality (#237)
kwekke Nov 10, 2019
f6e1276
Add DG Manual Testing for Suggest (#239)
kwekke Nov 10, 2019
3b4c1a9
Add instructions for manual testing for schedule and resolve (#238)
t-cheepeng Nov 10, 2019
623f903
Add manual testing in DG (#240)
jietung Nov 10, 2019
56201e7
Add manual testing (#241)
weihaw08 Nov 10, 2019
85625ae
Add gui test (#234)
t-cheepeng Nov 10, 2019
f996980
Fix formatting for DG
t-cheepeng Nov 10, 2019
e797f36
Fix table in user stories for DG
t-cheepeng Nov 10, 2019
c5a0c97
Delete DG pdf
t-cheepeng Nov 10, 2019
66b5d29
Fix PNG to png (#242)
kwekke Nov 10, 2019
40049f3
Make minor changes to mistakes in UG and DG (#243)
weihaw08 Nov 10, 2019
bbdb34c
Update diagrams in dg (#246)
jietung Nov 10, 2019
7586479
Fix blurriness for suggest diagrams in DG (#245)
kwekke Nov 10, 2019
ee185f7
Final edits (#244)
garylyp Nov 10, 2019
f8b625e
Update UG DG (#247)
weihaw08 Nov 10, 2019
e9b98b6
Fix tab spacing in list command (#248)
weihaw08 Nov 10, 2019
992cb6f
Edit DG (#249)
kwekke Nov 10, 2019
07a6ddc
Edit UG (#251)
kwekke Nov 11, 2019
ca5c741
Resize image (#250)
weihaw08 Nov 11, 2019
7123123
Add base URL for release link
t-cheepeng Nov 11, 2019
b545931
Update PPP
t-cheepeng Nov 11, 2019
54add0f
Update UserGuide.adoc
weihaw08 Nov 11, 2019
5a8b16a
Update README.adoc
t-cheepeng Nov 11, 2019
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
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ src/main/resources/docs/
/*.iml

# Storage/log files
/data/
/data/exercisebook.json
/data/propertybook.json
/data/regimebook.json
/data/schedulebook.json

/config.json
/preferences.json
/*.log.*
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
language: java

matrix:
include:
- jdk: openjdk11

services:
- xvfb

before_script:
- export DISPLAY=:99.0

script: >-
./config/travis/run-checks.sh &&
./gradlew clean checkstyleMain checkstyleTest test coverage coveralls asciidoctor
Expand All @@ -17,8 +24,11 @@ deploy:
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2
24 changes: 12 additions & 12 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
= Address Book (Level 3)
= ExerHealth
ifdef::env-github,env-browser[:relfileprefix: docs/]

https://travis-ci.org/se-edu/addressbook-level3[image:https://travis-ci.org/se-edu/addressbook-level3.svg?branch=master[Build Status]]
https://ci.appveyor.com/project/damithc/addressbook-level3[image:https://ci.appveyor.com/api/projects/status/3boko2x2vr5cc3w2?svg=true[Build status]]
https://coveralls.io/github/se-edu/addressbook-level3?branch=master[image:https://coveralls.io/repos/github/se-edu/addressbook-level3/badge.svg?branch=master[Coverage Status]]
https://www.codacy.com/app/damith/addressbook-level3?utm_source=github.com&utm_medium=referral&utm_content=se-edu/addressbook-level3&utm_campaign=Badge_Grade[image:https://api.codacy.com/project/badge/Grade/fc0b7775cf7f4fdeaf08776f3d8e364a[Codacy Badge]]
https://gitter.im/se-edu/Lobby[image:https://badges.gitter.im/se-edu/Lobby.svg[Gitter chat]]
https://travis-ci.org/AY1920S1-CS2103T-T09-2/main[image:https://travis-ci.org/AY1920S1-CS2103T-T09-2/main.svg?branch=master[Build Status]]
https://coveralls.io/github/AY1920S1-CS2103T-T09-2/main?branch=master[image:https://coveralls.io/repos/github/AY1920S1-CS2103T-T09-2/main/badge.svg?branch=master[Coverage]]
https://app.netlify.com/sites/exerhealth/deploys[image:https://api.netlify.com/api/v1/badges/8b51ce83-a6ec-4994-8014-1c4b30aa3cd6/deploy-status[Netlify Status]]

ifdef::env-github[]
image::docs/images/Ui.png[width="600"]
image::docs/images/Ui.png[width="800]
endif::[]

ifndef::env-github[]
image::images/Ui.png[width="600"]
image::images/Ui.png[width="800"]
endif::[]

* This is a desktop Address Book application. It has a GUI but most of the user interactions happen using a CLI (Command Line Interface).
* It is a Java sample application intended for students learning Software Engineering while using Java as the main programming language.
* It is *written in OOP fashion*. It provides a *reasonably well-written* code example that is *significantly bigger* (around 6 KLoC)than what students usually write in beginner-level SE modules.
* ExerHealth is a one-stop platform for students who wish to embark on a journey of health and fitness.
* This application has a GUI but is optimised for students who prefer to work with a Command Line Interface(CLI).
* If you can type fast and wish to maintain a healthy lifestyle, Exerhealth is that one app for you!

== Site Map

Expand All @@ -28,9 +26,11 @@ endif::[]
* <<ContactUs#, Contact Us>>

== Acknowledgements
* Original source code, AddressBook-Level3, was created by https://se-education.org[SE-EDU initiative].

* Some parts of this sample application were inspired by the excellent http://code.makery.ch/library/javafx-8-tutorial/[Java FX tutorial] by
_Marco Jakob_.
* Libraries used: https://openjfx.io/[JavaFX], https://github.com/FasterXML/jackson[Jackson], https://github.com/junit-team/junit5[JUnit5]
* Libraries used: https://openjfx.io/[JavaFX], https://github.com/FasterXML/jackson[Jackson], https://github.com/junit-team/junit5[JUnit5], https://github.com/TestFX/TestFX[TestFX], https://github.com/TestFX/Monocle[Monocle]
* Icons made by https://www.flaticon.com/authors/freepik[Freepik] from https://www.flaticon.com[Flaticon]

== Licence : link:LICENSE[MIT]
13 changes: 10 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
}

// Specifies the entry point of the application
mainClassName = 'seedu.address.Main'
mainClassName = 'seedu.exercise.Main'

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
Expand All @@ -42,7 +42,8 @@ test {
}

dependencies {
String jUnitVersion = '5.4.0'
String testFxVersion = '4.0.16-alpha'
String jUnitVersion = '5.5.1'
String javaFxVersion = '11'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
Expand All @@ -61,13 +62,19 @@ dependencies {
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.0'
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.7.4'

testCompile group: 'org.assertj', name: 'assertj-core', version: '3.13.2'
testCompile "org.testfx:testfx-junit5:4.0.16-alpha"

testImplementation group: 'org.testfx', name: 'testfx-core', version: testFxVersion
testRuntimeOnly group: 'org.testfx', name: 'openjfx-monocle', version: 'jdk-11+26'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: jUnitVersion

testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: jUnitVersion

}

shadowJar {
archiveName = 'addressbook.jar'
archiveName = 'ExerHealth.jar'

destinationDir = file("${buildDir}/jar/")
}
Expand Down
49 changes: 25 additions & 24 deletions docs/AboutUs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,54 @@
:imagesDir: images
:stylesDir: stylesheets

AddressBook - Level 3 was developed by the https://se-edu.github.io/docs/Team.html[se-edu] team. +
_{The dummy content given below serves as a placeholder to be used by future forks of the project.}_ +
{empty} +
ExerHealth was developed by the https://github.com/AY1920S1-CS2103T-T09-2[ExerHealth] team based on
the AddressBook code base done by the https://se-edu.github.io/docs/Team.html[se-edu] team.

We are a team based in the http://www.comp.nus.edu.sg[School of Computing, National University of Singapore].

== Project Team

=== John Doe
image::damithc.jpg[width="150", align="left"]
{empty}[http://www.comp.nus.edu.sg/~damithch[homepage]] [https://github.com/damithc[github]] [<<johndoe#, portfolio>>]
=== Gary Lim Yan Peng
image::garylyp.png[width="150", align="left"]
{empty}[https://github.com/garylyp[github]] [<<garylyp#, portfolio>>]

Role: Project Advisor
Role: Team Lead +
Responsibilities: Overall project coordination

'''

=== John Roe
image::lejolly.jpg[width="150", align="left"]
{empty}[http://github.com/lejolly[github]] [<<johndoe#, portfolio>>]
=== Kwek Kee En
image::kwekke.png[width="150", align="left"]
{empty}[https://github.com/kwekke[github]] [<<kwekke#, portfolio>>]

Role: Team Lead +
Responsibilities: UI
Role: Developer +
Responsibilities: Testing

'''

=== Johnny Doe
image::yijinl.jpg[width="150", align="left"]
{empty}[http://github.com/yijinl[github]] [<<johndoe#, portfolio>>]
=== Tan Chee Peng
image::t-cheepeng.png[width="150", align="left"]
{empty}[https://github.com/t-cheepeng[github]] [<<t-cheepeng#, portfolio>>]

Role: Developer +
Responsibilities: Data
Responsibilities: Integration of project items

'''

=== Johnny Roe
image::m133225.jpg[width="150", align="left"]
{empty}[http://github.com/m133225[github]] [<<johndoe#, portfolio>>]
=== Chai Jie Tung
image::jietung.png[width="150", align="left"]
{empty}[https://github.com/jietung[github]] [<<jietung#, portfolio>>]

Role: Developer +
Responsibilities: Dev Ops + Threading
Responsibilities: Code quality, deliverable and deadlines

'''

=== Benson Meier
image::yl_coder.jpg[width="150", align="left"]
{empty}[http://github.com/yl-coder[github]] [<<johndoe#, portfolio>>]
=== Ho Wei Haw
image::weihaw08.png[width="150", align="left"]
{empty}[https://github.com/weihaw08[github]] [<<weihaw08#, portfolio>>]

Role: Developer +
Responsibilities: UI
Responsibilities: Quality of various project documents

'''
4 changes: 2 additions & 2 deletions docs/ContactUs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
:site-section: ContactUs
:stylesDir: stylesheets

* *Bug reports, Suggestions* : Post in our https://github.com/se-edu/addressbook-level3/issues[issue tracker] if you noticed bugs or have suggestions on how to improve.
* *Bug reports, Suggestions* : Post in our https://github.com/AY1920S1-CS2103T-T09-2/main/issues[issue tracker] if you noticed bugs or have suggestions on how to improve.
* *Contributing* : We welcome pull requests. Follow the process described https://github.com/oss-generic/process[here]
* *Email us* : You can also reach us at `damith [at] comp.nus.edu.sg`
* *Email us* : You can also reach us at `e0310551 [at] u.nus.edu`
2 changes: 1 addition & 1 deletion docs/DevOps.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= AddressBook Level 3 - Dev Ops
= ExerHealth - Dev Ops
:site-section: DeveloperGuide
:toc:
:toc-title:
Expand Down
Loading