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

[v1.5][F12-B2] Personal Trainer Pro #72

Open
wants to merge 398 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
398 commits
Select commit Hold shift + click to select a range
5fcba6e
Merge pull request #8 from CS2103JAN2018-F12-B2/master
hypertun Apr 3, 2018
85ffd57
Add the first edition of calories calculator and its tests
hypertun Apr 3, 2018
4fe5591
checkstyle errors
hypertun Apr 3, 2018
f250dcc
Checkstyle errors 2
hypertun Apr 3, 2018
9a06429
checkstyle errors 3
hypertun Apr 3, 2018
4707756
Merge pull request #47 from hypertun/CaloriesCalculator
hypertun Apr 3, 2018
4118586
Merge pull request #5 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 4, 2018
e563e27
Updated user guide
hypertun Apr 5, 2018
71ee36d
Merge pull request #49 from hypertun/UserGuide1.4
hypertun Apr 5, 2018
a789203
CApture.png didnt work
hypertun Apr 5, 2018
a2fe358
Merge pull request #51 from hypertun/UserGuide1.4
hypertun Apr 5, 2018
a2b3de2
Merge pull request #6 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 5, 2018
f30c83b
Implemented internal attribute to store BodyMassIndexClassification i…
wenhaoch Apr 5, 2018
80f2d64
Implemented getter function and Person attributes to store BodyMassIn…
wenhaoch Apr 5, 2018
47e284e
Added ClassificationParser and edited AddressBookParser to include cl…
wenhaoch Apr 5, 2018
1c8296f
Updated implementation of ClassificationCommand
wenhaoch Apr 5, 2018
4258f05
Added test for Classification Command
wenhaoch Apr 5, 2018
571390b
Updated TypicalPersons to ensure all possible test cases found
wenhaoch Apr 5, 2018
3228acb
Updated linestyle in ClassificationCommandParser and NameContainsClas…
wenhaoch Apr 5, 2018
6d5f4af
Updated UserGuide to include Classification Command
wenhaoch Apr 5, 2018
9940c8f
Checkstyle errors
wenhaoch Apr 5, 2018
fdd6c69
Fixed checkstyle errors
wenhaoch Apr 5, 2018
fb075d0
Updated TypicalPersonsAddressBook to match ClassificationCommand test
wenhaoch Apr 5, 2018
624b3c1
Merge pull request #53 from wenhao53/master
wenhaoch Apr 5, 2018
f2b8309
Updated UserGuide to fix display inconsistencies
wenhaoch Apr 6, 2018
58a12ab
Merge pull request #54 from wenhao53/master
wenhaoch Apr 6, 2018
e808071
To allow use of Google Calendar API
wayneong95 Apr 6, 2018
9665be1
Creates a Calendar Event to be added to the Google Calendar.
wayneong95 Apr 6, 2018
c4bc970
no message
wayneong95 Apr 6, 2018
4a754b9
Added AddEvent Command and parser method
wayneong95 Apr 6, 2018
884c690
Solve log in not loading issue
wayneong95 Apr 6, 2018
501c9e4
Fix null pointer exception from previous enhancement
wayneong95 Apr 6, 2018
a4ca2f4
Prompt access rights when user calls 'calendar' command
wayneong95 Apr 6, 2018
f432478
Updated user and developer guide
wayneong95 Apr 6, 2018
052b45f
Merge pull request #22 from wayneong95/V1.4
wayneong95 Apr 6, 2018
9170f7f
Merge branch 'master' into master
wayneong95 Apr 6, 2018
dd2ae3a
Updated User Interface and README.adoc
wenhaoch Apr 6, 2018
d27f1ee
Merge pull request #57 from wenhao53/master
wenhaoch Apr 6, 2018
dd76190
Updated version number in MainApp
wenhaoch Apr 6, 2018
cf1786a
Merge pull request #58 from wenhao53/master
wenhaoch Apr 6, 2018
373818b
Merge pull request #7 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 6, 2018
11d2c94
Merge pull request #9 from CS2103JAN2018-F12-B2/master
hypertun Apr 6, 2018
db8f815
no message
wayneong95 Apr 7, 2018
c64f24e
Added calendar event tests
wayneong95 Apr 7, 2018
0217139
Added method to test for end date earlier than start date
wayneong95 Apr 7, 2018
7246aa0
Added event builder to help with tests
wayneong95 Apr 7, 2018
3093ae2
Added tests for add event command and add event command parser
wayneong95 Apr 7, 2018
b0b22ea
Merge pull request #23 from wayneong95/V1.4
wayneong95 Apr 7, 2018
ca5a636
Fixed checkstyle errors
wayneong95 Apr 7, 2018
aba9722
Checkstyle error
wayneong95 Apr 7, 2018
e141e92
Merge pull request #24 from wayneong95/V1.4
wayneong95 Apr 7, 2018
42d7ec0
Checkstyle error
wayneong95 Apr 7, 2018
1ad4a1d
Checkstyle error
wayneong95 Apr 7, 2018
c36d63e
Merge pull request #25 from wayneong95/V1.4
wayneong95 Apr 7, 2018
103d1ac
Checkstyle errors
wayneong95 Apr 7, 2018
34b6cf9
Merge pull request #26 from wayneong95/V1.4
wayneong95 Apr 7, 2018
23abfff
Removed Addeventcommand test as it only works locally
wayneong95 Apr 8, 2018
e1b5861
Merge pull request #27 from wayneong95/V1.4
wayneong95 Apr 8, 2018
7c91ee4
Removed unused imports
wayneong95 Apr 8, 2018
e9a3ba0
Merge pull request #28 from wayneong95/V1.4
wayneong95 Apr 8, 2018
77c1979
Moved authentication to addEvent command if not calendarcommandtest r…
wayneong95 Apr 8, 2018
1ff8be3
Merge pull request #29 from wayneong95/V1.4
wayneong95 Apr 8, 2018
02fb1fd
Removed unused imports
wayneong95 Apr 8, 2018
e9940ff
Merge pull request #30 from wayneong95/V1.4
wayneong95 Apr 8, 2018
d1bd413
Removed test to avoid conflict with main repo (to be edited)
wayneong95 Apr 8, 2018
79a856a
Merge pull request #31 from wayneong95/V1.4
wayneong95 Apr 8, 2018
7182311
Removed unused imports
wayneong95 Apr 8, 2018
9b7838c
Merge pull request #32 from wayneong95/V1.4
wayneong95 Apr 8, 2018
ff4da17
Merge pull request #56 from wayneong95/master
wayneong95 Apr 8, 2018
2189e8a
Merge pull request #8 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 8, 2018
2d87c5e
Updated UserGuide and DeveloperGuide to be consistent with implementa…
wenhaoch Apr 8, 2018
de0aac4
Updated application app name to Personal Trainer Pro instead of Addre…
wenhaoch Apr 8, 2018
749faa8
Merge branch 'master' of https://github.com/wenhao53/main
wenhaoch Apr 8, 2018
4e7d5a0
Updated team name and team repo link
wenhaoch Apr 8, 2018
734d855
Updated application title to Personal Trainer Pro
wenhaoch Apr 8, 2018
8f44d20
Updated Classification Command to show keywords upon invalid input
wenhaoch Apr 8, 2018
5dfaa3c
Updated ClassificationCommandParser to check validity of keywords for…
wenhaoch Apr 8, 2018
ed7029f
Refined implementation of BodyMassIndex attribute to reduce redundanc…
wenhaoch Apr 8, 2018
1b97a74
Restricted Height input to a specified range to reduce errors
wenhaoch Apr 8, 2018
e42c52c
Updated Weight attribute implementation to check the validity of the …
wenhaoch Apr 8, 2018
5541b08
Updated application name
wenhaoch Apr 8, 2018
5743e5b
Included more tests for ClassificationCommand
wenhaoch Apr 8, 2018
4bdceb1
Included more Height value tests to check for out-of-bound values
wenhaoch Apr 8, 2018
ef39691
Updated checkstyle errors in ClassificationCommandParser
wenhaoch Apr 9, 2018
c3f48ae
Merge pull request #33 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 9, 2018
f54b9b7
Merge pull request #10 from CS2103JAN2018-F12-B2/master
hypertun Apr 9, 2018
0e26707
Collated and calories changes v1.5
hypertun Apr 9, 2018
aaaa60d
Merge pull request #87 from hypertun/NewCollateandcalorieschanges
hypertun Apr 9, 2018
585da33
Changed all to lowercase
hypertun Apr 9, 2018
e07a6cf
Merge pull request #88 from hypertun/ImprovedCaloriesCommand
hypertun Apr 9, 2018
ee07090
Added tests
wayneong95 Apr 9, 2018
a459c4b
Merge pull request #34 from wayneong95/V1.5rc
wayneong95 Apr 9, 2018
4a31d05
Fixed checkstyle errors
wayneong95 Apr 9, 2018
25358ff
Merge pull request #35 from wayneong95/V1.5rc
wayneong95 Apr 9, 2018
c279681
Merge pull request #90 from wayneong95/master
wayneong95 Apr 9, 2018
4af1d21
Merge pull request #36 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 9, 2018
59e2d70
Collation of code
wayneong95 Apr 9, 2018
464b306
Merge pull request #37 from wayneong95/Collate
wayneong95 Apr 9, 2018
109df25
Merge pull request #91 from wayneong95/master
wayneong95 Apr 9, 2018
93b242e
Merge pull request #38 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 9, 2018
4994538
Updated comments on ClassificationCommandParser.java
wenhaoch Apr 10, 2018
e274764
Merge pull request #9 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 10, 2018
b4f9b79
Updated application name in Config files
wenhaoch Apr 10, 2018
42233ff
Added a date restriction method to prevent addition of invalid end date
wayneong95 Apr 10, 2018
2b8b324
Changed to lowercase
wayneong95 Apr 10, 2018
5f1ce22
Merge pull request #92 from wayneong95/V1.5
wayneong95 Apr 10, 2018
1324e3b
Revert "Added a timeRestriction method to prevent addition of invalid…
wayneong95 Apr 10, 2018
6e6746a
Merge pull request #93 from CS2103JAN2018-F12-B2/revert-92-V1.5
wayneong95 Apr 10, 2018
4a84d47
Merge pull request #39 from wayneong95/V1.5
wayneong95 Apr 10, 2018
b08fa84
Updated ClassificationCommandTest
wenhaoch Apr 10, 2018
25ead32
Merge pull request #96 from wayneong95/master
wayneong95 Apr 10, 2018
a1e0326
Merge pull request #40 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 10, 2018
38bf4b3
Added timeRestriction method
wayneong95 Apr 10, 2018
39710e2
Merge pull request #41 from wayneong95/V1.5.1
wayneong95 Apr 10, 2018
0484509
Added test for invalid end time
wayneong95 Apr 10, 2018
16d6d9c
Merge pull request #42 from wayneong95/V1.5.1
wayneong95 Apr 10, 2018
ebf340c
Merge pull request #97 from wayneong95/master
wayneong95 Apr 10, 2018
b934113
Merge pull request #43 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 10, 2018
91f465e
Updated user guide
wayneong95 Apr 10, 2018
d591447
Added activity level attribute
hypertun Apr 10, 2018
cadeb78
additional test plus checkstyle
hypertun Apr 10, 2018
654d6f3
checkstyle
hypertun Apr 10, 2018
dda1cdf
checkstyle 2
hypertun Apr 10, 2018
5a10576
checkstyle 3
hypertun Apr 10, 2018
59f37a5
fixed tests
hypertun Apr 10, 2018
b4c43a7
Merge pull request #98 from hypertun/ActivityLevelAttribute
hypertun Apr 10, 2018
fddceba
Updated developer guide
wayneong95 Apr 10, 2018
e68f1f8
Merge pull request #44 from wayneong95/V1.5.2
wayneong95 Apr 10, 2018
2fa3998
Merge pull request #100 from wayneong95/master
wayneong95 Apr 10, 2018
f2080e3
Merge pull request #45 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 10, 2018
a76fdda
Merge pull request #10 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 11, 2018
4c9e060
Fixed Issue
hypertun Apr 11, 2018
8b48705
error resolved
hypertun Apr 11, 2018
e3a09ba
Merge pull request #101 from hypertun/FixedIssueRegardingSwitchingScr…
hypertun Apr 11, 2018
a716112
Minor issues
hypertun Apr 11, 2018
2d0623c
Merge pull request #11 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 11, 2018
893bf6d
Written missing ClassificationCommandParserTest to improve coverage
wenhaoch Apr 11, 2018
3a731a9
Corrected checkstyle
wenhaoch Apr 11, 2018
cedebd5
Merge pull request #86 from wenhao53/master
wenhaoch Apr 11, 2018
1b45cc0
Error solved
hypertun Apr 11, 2018
5a09a01
Merge branch 'master' into FixedSomeMinorIssues1.5
hypertun Apr 11, 2018
6dc0921
Merge pull request #102 from hypertun/FixedSomeMinorIssues1.5
hypertun Apr 11, 2018
67a7dc3
Merge pull request #11 from CS2103JAN2018-F12-B2/master
hypertun Apr 11, 2018
57f8a1a
Implementation of PersonCard background colour according to BMI Class…
wenhaoch Apr 11, 2018
f65364a
Updated display of gender for PersonCard
wenhaoch Apr 11, 2018
3663ab5
Removed redundant newline
wenhaoch Apr 11, 2018
431624f
Edited GuiTestAssert to check gender format in PersonCard in the same…
wenhaoch Apr 11, 2018
31d174c
Merge pull request #103 from wenhao53/master
wenhaoch Apr 11, 2018
0c85ff8
Updated Developer Guide and User Guide
wenhaoch Apr 11, 2018
c4f45c8
Merge pull request #104 from wenhao53/master
wenhaoch Apr 11, 2018
b24be2a
Merge pull request #12 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 11, 2018
6640c37
Updated error messages in Classification Command
wenhaoch Apr 11, 2018
ce32045
Revert "Updated Developer Guide and User Guide"
wenhaoch Apr 11, 2018
d79cbb9
Merge pull request #105 from CS2103JAN2018-F12-B2/revert-104-master
wenhaoch Apr 11, 2018
8d02bc8
Merge pull request #13 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 11, 2018
e1df6e3
Merge branch 'master' of https://github.com/wenhao53/main
wenhaoch Apr 11, 2018
a3c4e24
Updated UserGuide and DeveloperGuide
wenhaoch Apr 11, 2018
85efa6a
Merge pull request #106 from wenhao53/master
wenhaoch Apr 11, 2018
f239b05
Collation
wayneong95 Apr 11, 2018
203a4f1
Changed theme of application to light theme
wayneong95 Apr 11, 2018
8416d08
Merge pull request #46 from wayneong95/V1.5.3
wayneong95 Apr 11, 2018
f7301a3
Merge pull request #107 from wayneong95/master
wayneong95 Apr 11, 2018
a20c280
Merge pull request #12 from CS2103JAN2018-F12-B2/master
hypertun Apr 11, 2018
b17e9f8
Collated everyone till now
hypertun Apr 11, 2018
8e4c6d9
Merge pull request #108 from hypertun/Collatedeveryonev1.5
hypertun Apr 11, 2018
5fbdcfa
Personal Portfolio page
wayneong95 Apr 11, 2018
c37c13c
Merge pull request #47 from wayneong95/V1.5.4
wayneong95 Apr 11, 2018
073619f
Merge pull request #110 from wayneong95/master
wayneong95 Apr 11, 2018
3b12649
Merge pull request #48 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 11, 2018
6a69114
Update PPP with collated files
wayneong95 Apr 11, 2018
a46fb2b
Merge pull request #49 from wayneong95/PPP
wayneong95 Apr 11, 2018
b2a23f3
Merge pull request #111 from wayneong95/master
wayneong95 Apr 11, 2018
6c41844
Merge pull request #14 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 12, 2018
fc7d1b9
Updated display of PersonCard for Light Theme
wenhaoch Apr 12, 2018
32dab43
Merge pull request #112 from wenhao53/master
wenhaoch Apr 12, 2018
05d5a39
Changed naming conventions, added PPP updated reused codes changed th…
hypertun Apr 12, 2018
939e524
checkstyle fix
hypertun Apr 12, 2018
cfaad7a
checkstyle3
hypertun Apr 12, 2018
5244df0
checkstyle
hypertun Apr 12, 2018
fab922f
finsihed the edit
hypertun Apr 12, 2018
dc9611f
gitignore
hypertun Apr 12, 2018
7a2c1a9
gitignore 2
hypertun Apr 12, 2018
a7c8aa2
Everything done
hypertun Apr 12, 2018
f7ae30c
seriously config
hypertun Apr 12, 2018
72ad094
Merge pull request #113 from hypertun/BranchOfEverything1.5
hypertun Apr 12, 2018
22d513d
Merge pull request #15 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 12, 2018
65a18a9
Updated PPP and UGDG
wenhaoch Apr 12, 2018
aec3c43
Fixed collated code link
wenhaoch Apr 12, 2018
2488b44
Merge pull request #115 from wenhao53/Enhancements
wenhaoch Apr 12, 2018
1c73f23
Added unused code from WeightLog implementation
wenhaoch Apr 13, 2018
2c05fc9
Merge pull request #116 from wenhao53/Enhancements
wenhaoch Apr 13, 2018
24f3b07
Merge pull request #16 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 13, 2018
f56f9a8
Merge pull request #50 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 13, 2018
fa0f18e
Updated Ui.png
wenhaoch Apr 13, 2018
a33be34
Merge pull request #117 from wenhao53/Enhancements
wenhaoch Apr 13, 2018
5d2626b
Merge pull request #51 from CS2103JAN2018-F12-B2/master
wayneong95 Apr 14, 2018
7029510
Updated user guide and PPP
wayneong95 Apr 14, 2018
b572d75
Merge pull request #52 from wayneong95/v1.5Final1
wayneong95 Apr 14, 2018
4413d89
Merge pull request #118 from wayneong95/master
wayneong95 Apr 14, 2018
e73e02c
Update user guide
wayneong95 Apr 14, 2018
0b1c8b9
Merge pull request #53 from wayneong95/V1.5final2
wayneong95 Apr 14, 2018
83860ac
Merge pull request #119 from wayneong95/master
wayneong95 Apr 14, 2018
82e53a8
Added UNUSED code from WeightLog implementation and collation
wenhaoch Apr 14, 2018
69335b7
Merge pull request #18 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 14, 2018
cda0105
Update developer guide for manual testing and PPP
wayneong95 Apr 14, 2018
da88d43
Merge pull request #54 from wayneong95/V1.5final3
wayneong95 Apr 14, 2018
08ce2d5
Merge pull request #120 from wayneong95/master
wayneong95 Apr 14, 2018
44be8b4
Updated UGDG, PPP, LightTheme
wenhaoch Apr 14, 2018
7061d00
Merge branch 'Enhancements' of https://github.com/wenhao53/main into …
wenhaoch Apr 14, 2018
7b70def
Instruction Manual
hypertun Apr 14, 2018
4f247e9
Merge branch 'master' into UpdatedManydocumentsv1.5
hypertun Apr 14, 2018
920afb3
Merge pull request #121 from wenhao53/Enhancements
wenhaoch Apr 14, 2018
830f301
Update config.json
hypertun Apr 14, 2018
3987f80
Merge pull request #122 from hypertun/UpdatedManydocumentsv1.5
hypertun Apr 14, 2018
812f483
Updated PPP
wayneong95 Apr 14, 2018
fe58d03
Merge pull request #55 from wayneong95/V1.5final4
wayneong95 Apr 14, 2018
80068c3
Merge pull request #123 from wayneong95/master
wayneong95 Apr 14, 2018
aca671d
Update Yeo Chong Han.adoc
hypertun Apr 14, 2018
79f88fe
Update UserGuide.adoc
hypertun Apr 14, 2018
b3d31e9
Update DeveloperGuide.adoc
hypertun Apr 14, 2018
f0214a4
Update Yeo Chong Han.adoc
hypertun Apr 14, 2018
4eca2bb
Update DeveloperGuide.adoc
hypertun Apr 14, 2018
7b57e6b
Updated documentation
wenhaoch Apr 15, 2018
f03e02a
Merge branch 'master' into Enhancements
wenhaoch Apr 15, 2018
bdf265c
Merge pull request #124 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
aa3d572
Merge pull request #19 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 15, 2018
0c9c1d6
Updated DG
wenhaoch Apr 15, 2018
913686d
Merge branch 'Enhancements' of https://github.com/wenhao53/main into …
wenhaoch Apr 15, 2018
48051fa
Updated version number in MainApp
wenhaoch Apr 15, 2018
200109f
Updated AboutUs to include portfolio links
wenhaoch Apr 15, 2018
c7fd5f7
Added newlines at portfolio pages EOF
wenhaoch Apr 15, 2018
f1ee05a
Merge pull request #125 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
25f3ac8
Merge pull request #20 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 15, 2018
849efcb
Updates SampleDataUtil
wenhaoch Apr 15, 2018
777aab8
Merge branch 'Enhancements' of https://github.com/wenhao53/main into …
wenhaoch Apr 15, 2018
762e0e7
Fixed tags
wenhaoch Apr 15, 2018
eeea76c
Updated sample persons
wenhaoch Apr 15, 2018
8b60258
Merge pull request #126 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
4bfe92e
Updated portfolio links to adoc instead of HTML
wenhaoch Apr 15, 2018
a6657a3
Merge pull request #127 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
a7cd7f5
Revert "Updated portfolio links to adoc instead of HTML"
wenhaoch Apr 15, 2018
0f2dfe4
Merge pull request #128 from CS2103JAN2018-F12-B2/revert-127-Enhancem…
wenhaoch Apr 15, 2018
4d9af82
Updated Ivan's name
wenhaoch Apr 15, 2018
2a92f27
Merge pull request #129 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
9d1509c
Merge pull request #21 from CS2103JAN2018-F12-B2/master
wenhaoch Apr 15, 2018
1efec19
Updated display of app title in UGDG
wenhaoch Apr 15, 2018
f0eb737
Merge branch 'Enhancements' of https://github.com/wenhao53/main into …
wenhaoch Apr 15, 2018
d2edc89
Updated adoc portfolio links
wenhaoch Apr 15, 2018
ade264e
Updated portfolio to be consistent
wenhaoch Apr 15, 2018
faf894a
Merge pull request #130 from wenhao53/Enhancements
wenhaoch Apr 15, 2018
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
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
= Address Book (Level 4)
ifdef::env-github,env-browser[:relfileprefix: docs/]

https://travis-ci.org/se-edu/addressbook-level4[image:https://travis-ci.org/se-edu/addressbook-level4.svg?branch=master[Build Status]]
https://ci.appveyor.com/project/damithc/addressbook-level4[image:https://ci.appveyor.com/api/projects/status/3boko2x2vr5cc3w2?svg=true[Build status]]
https://coveralls.io/github/se-edu/addressbook-level4?branch=master[image:https://coveralls.io/repos/github/se-edu/addressbook-level4/badge.svg?branch=master[Coverage Status]]
https://travis-ci.org/CS2103JAN2018-F12-B2/main[image:https://travis-ci.org/CS2103JAN2018-F12-B2/main.svg?branch=master[Build Status]]
https://ci.appveyor.com/project/hypertun/main/branch/master[image:https://ci.appveyor.com/api/projects/status/690sw2r4l3lxa1fr/branch/master?svg=true[Build status]]
https://coveralls.io/github/CS2103JAN2018-F12-B2/main?branch=master[image:https://coveralls.io/repos/github/CS2103JAN2018-F12-B2/main/badge.svg?branch=master[Coverage Status]]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work updating the badge.

https://www.codacy.com/app/damith/addressbook-level4?utm_source=github.com&utm_medium=referral&utm_content=se-edu/addressbook-level4&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]]

Expand Down
29 changes: 28 additions & 1 deletion docs/DeveloperGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
endif::[]
:repoURL: https://github.com/se-edu/addressbook-level4/tree/master
:repoURL: https://github.com/CS2103JAN2018-F12-B2/main/tree/master

By: `Team SE-EDU`      Since: `Jun 2016`      Licence: `MIT`

Expand Down Expand Up @@ -864,6 +864,33 @@ Windows, Linux, Unix, OS-X
[[private-contact-detail]] Private contact detail::
A contact detail that is not meant to be shared with others

[[personal-trainer]] Personal trainer::

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to be more specific in defining target user profile. Who are they? What they do? What are their problems? What are their current solutions? What your value proposition that might be better than these current solutions?

Target audience

[[trainer]] Trainer::
Same as above

[[client]] Client::
Indirect target audience, due the the fact the employer-employee relationship between them and trainers

[[track]] Track::
Understanding the fitness(e.g. weight loss/gain, calories, protein) progress of the clients

[[meal-plans]] Meal plan::
A combination of dietary information that should be followed

[[training]] Training::
A period of time when client is working out

[[session]] Session::
Same as above

[[appointment]] Appointment::
Same as above

[[goals]] Goals::
A combination of desirable attributes that clients want to achieve

[appendix]
== Product Survey

Expand Down
1 change: 1 addition & 0 deletions src/main/java/seedu/address/logic/commands/AddCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
public class AddCommand extends UndoableCommand {

public static final String COMMAND_WORD = "add";
public static final String COMMAND_ALIAS = "a";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work with the command alias but remember to also update the user guide to match new behavior.


public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a person to the address book. "
+ "Parameters: "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
public class ClearCommand extends UndoableCommand {

public static final String COMMAND_WORD = "clear";
public static final String COMMAND_ALIAS = "c";
public static final String MESSAGE_SUCCESS = "Address book has been cleared!";


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
public class DeleteCommand extends UndoableCommand {

public static final String COMMAND_WORD = "delete";
public static final String COMMAND_ALIAS = "d";

public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Deletes the person identified by the index number used in the last person listing.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
public class EditCommand extends UndoableCommand {

public static final String COMMAND_WORD = "edit";
public static final String COMMAND_ALIAS = "e";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the person identified "
+ "by the index number used in the last person listing. "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
public class FindCommand extends Command {

public static final String COMMAND_WORD = "find";
public static final String COMMAND_ALIAS = "f";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all persons whose names contain any of "
+ "the specified keywords (case-sensitive) and displays them as a list with index numbers.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
public class ListCommand extends Command {

public static final String COMMAND_WORD = "list";
public static final String COMMAND_ALIAS = "l";

public static final String MESSAGE_SUCCESS = "Listed all persons";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
public class SelectCommand extends Command {

public static final String COMMAND_WORD = "select";
public static final String COMMAND_ALIAS = "s";

public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Selects the person identified by the index number used in the last person listing.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,31 @@ public Command parseCommand(String userInput) throws ParseException {
switch (commandWord) {

case AddCommand.COMMAND_WORD:
case AddCommand.COMMAND_ALIAS:
return new AddCommandParser().parse(arguments);

case EditCommand.COMMAND_WORD:
case EditCommand.COMMAND_ALIAS:
return new EditCommandParser().parse(arguments);

case SelectCommand.COMMAND_WORD:
case SelectCommand.COMMAND_ALIAS:
return new SelectCommandParser().parse(arguments);

case DeleteCommand.COMMAND_WORD:
case DeleteCommand.COMMAND_ALIAS:
return new DeleteCommandParser().parse(arguments);

case ClearCommand.COMMAND_WORD:
case ClearCommand.COMMAND_ALIAS:
return new ClearCommand();

case FindCommand.COMMAND_WORD:
case FindCommand.COMMAND_ALIAS:
return new FindCommandParser().parse(arguments);

case ListCommand.COMMAND_WORD:
case ListCommand.COMMAND_ALIAS:
return new ListCommand();

case HistoryCommand.COMMAND_WORD:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,40 @@ public void parseCommand_add() throws Exception {
assertEquals(new AddCommand(person), command);
}

@Test
public void parseCommand_addAlias() throws Exception {
Person person = new PersonBuilder().build();
AddCommand command = (AddCommand) parser.parseCommand(AddCommand.COMMAND_ALIAS + " "
+ PersonUtil.getPersonDetails(person));
assertEquals(new AddCommand(person), command);
}

@Test
public void parseCommand_clear() throws Exception {
assertTrue(parser.parseCommand(ClearCommand.COMMAND_WORD) instanceof ClearCommand);
assertTrue(parser.parseCommand(ClearCommand.COMMAND_WORD + " 3") instanceof ClearCommand);
}

@Test
public void parseCommand_clearAlias() throws Exception {
assertTrue(parser.parseCommand(ClearCommand.COMMAND_ALIAS) instanceof ClearCommand);
assertTrue(parser.parseCommand(ClearCommand.COMMAND_ALIAS + " 3") instanceof ClearCommand);
}

@Test
public void parseCommand_delete() throws Exception {
DeleteCommand command = (DeleteCommand) parser.parseCommand(
DeleteCommand.COMMAND_WORD + " " + INDEX_FIRST_PERSON.getOneBased());
assertEquals(new DeleteCommand(INDEX_FIRST_PERSON), command);
}

@Test
public void parseCommand_deleteAlias() throws Exception {
DeleteCommand command = (DeleteCommand) parser.parseCommand(
DeleteCommand.COMMAND_ALIAS + " " + INDEX_FIRST_PERSON.getOneBased());
assertEquals(new DeleteCommand(INDEX_FIRST_PERSON), command);
}

@Test
public void parseCommand_edit() throws Exception {
Person person = new PersonBuilder().build();
Expand All @@ -70,6 +91,15 @@ public void parseCommand_edit() throws Exception {
assertEquals(new EditCommand(INDEX_FIRST_PERSON, descriptor), command);
}

@Test
public void parseCommand_editAlias() throws Exception {
Person person = new PersonBuilder().build();
EditPersonDescriptor descriptor = new EditPersonDescriptorBuilder(person).build();
EditCommand command = (EditCommand) parser.parseCommand(EditCommand.COMMAND_ALIAS + " "
+ INDEX_FIRST_PERSON.getOneBased() + " " + PersonUtil.getPersonDetails(person));
assertEquals(new EditCommand(INDEX_FIRST_PERSON, descriptor), command);
}

@Test
public void parseCommand_exit() throws Exception {
assertTrue(parser.parseCommand(ExitCommand.COMMAND_WORD) instanceof ExitCommand);
Expand All @@ -84,6 +114,14 @@ public void parseCommand_find() throws Exception {
assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command);
}

@Test
public void parseCommand_findAlias() throws Exception {
List<String> keywords = Arrays.asList("foo", "bar", "baz");
FindCommand command = (FindCommand) parser.parseCommand(
FindCommand.COMMAND_ALIAS + " " + keywords.stream().collect(Collectors.joining(" ")));
assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command);
}

@Test
public void parseCommand_help() throws Exception {
assertTrue(parser.parseCommand(HelpCommand.COMMAND_WORD) instanceof HelpCommand);
Expand All @@ -109,13 +147,26 @@ public void parseCommand_list() throws Exception {
assertTrue(parser.parseCommand(ListCommand.COMMAND_WORD + " 3") instanceof ListCommand);
}

@Test
public void parseCommand_listAlias() throws Exception {
assertTrue(parser.parseCommand(ListCommand.COMMAND_ALIAS) instanceof ListCommand);
assertTrue(parser.parseCommand(ListCommand.COMMAND_ALIAS + " 3") instanceof ListCommand);
}

@Test
public void parseCommand_select() throws Exception {
SelectCommand command = (SelectCommand) parser.parseCommand(
SelectCommand.COMMAND_WORD + " " + INDEX_FIRST_PERSON.getOneBased());
assertEquals(new SelectCommand(INDEX_FIRST_PERSON), command);
}

@Test
public void parseCommand_selectAlias() throws Exception {
SelectCommand command = (SelectCommand) parser.parseCommand(
SelectCommand.COMMAND_ALIAS + " " + INDEX_FIRST_PERSON.getOneBased());
assertEquals(new SelectCommand(INDEX_FIRST_PERSON), command);
}

@Test
public void parseCommand_redoCommandWord_returnsRedoCommand() throws Exception {
assertTrue(parser.parseCommand(RedoCommand.COMMAND_WORD) instanceof RedoCommand);
Expand Down