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

[CS2113-T13-3] WhereGotTime #36

Open
wants to merge 525 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
1300749
Updated UG - included design for delete, clear, list and find functions
tammykoh Oct 29, 2020
9778bde
Updated DG - included sequence diagrams for delete, clear, list and f…
tammykoh Oct 29, 2020
0969d04
Merge branch 'tammy-developer-guide'
tammykoh Oct 29, 2020
7483ae0
updated DG
yeapcl Oct 29, 2020
8c493e6
Updated UG - renamed heading
tammykoh Oct 29, 2020
fc45902
updated DG
yeapcl Oct 29, 2020
f738291
Merge branch 'master' into brach-yeapcl-Documentation
yeapcl Oct 29, 2020
5cb3593
Merge pull request #110 from yeapcl/brach-yeapcl-Documentation
yeapcl Oct 29, 2020
bc77070
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
tammykoh Oct 29, 2020
03fcb0d
Merge branch 'master' of https://github.com/tammykoh/tp
tammykoh Oct 29, 2020
db0e688
Deleted unused line in ClearCommand
tammykoh Oct 29, 2020
28a31eb
Merge pull request #112 from tammykoh/master
yeapcl Oct 29, 2020
cf2b387
updated UG
yeapcl Oct 30, 2020
ae2978f
Merge pull request #119 from yeapcl/brach-yeapcl-Documentation
yeapcl Oct 30, 2020
7637598
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Oct 30, 2020
283b162
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Oct 30, 2020
5daa8b8
Fixed the crash in login when username/password is inputted. now thro…
manuelmanuntag96 Nov 1, 2020
165b567
Fixed the error where users can input just whitespaces. Now throws an…
manuelmanuntag96 Nov 1, 2020
90fa15d
Merge pull request #164 from manuelmanuntag96/Manuel-LogInErrorFix
yeapcl Nov 1, 2020
2f70377
Merge pull request #165 from manuelmanuntag96/Manuel-EmptyStringFix
yeapcl Nov 1, 2020
b757361
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 1, 2020
52a91b4
Fixed the error messages that show inaccurate messages. Now made clea…
manuelmanuntag96 Nov 1, 2020
c2c0b41
Fixed the bug where special characters are not sanitised and would br…
manuelmanuntag96 Nov 1, 2020
561e84e
Merge pull request #168 from manuelmanuntag96/Manuel-BugFixes
yeapcl Nov 1, 2020
98757b8
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 1, 2020
858ed67
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 1, 2020
ca19e43
Deep-rename to replace 'duke' with 'WhereGotTime'
yeapcl Nov 1, 2020
ffbe5da
updated build.gradle for renaming duke to WhereGotTime
yeapcl Nov 1, 2020
534232f
Merge pull request #169 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
yellow-fellow Nov 1, 2020
78a6530
Updated documentation bugs
yellow-fellow Nov 1, 2020
40b5f42
Update UserGuide.md
yellow-fellow Nov 1, 2020
4aa9207
Merge branch 'master' into master
yellow-fellow Nov 1, 2020
1ee674a
Merge pull request #170 from yellow-fellow/master
yellow-fellow Nov 1, 2020
296c4d6
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 1, 2020
c77dd24
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 1, 2020
803219d
Merge branch 'master' into branch-yeapcl-Documentation
yeapcl Nov 1, 2020
4728705
Bug Fix for V2.0
Nov 2, 2020
4eaa3d0
Merge pull request #171 from weisiong24/BugFixes
yellow-fellow Nov 2, 2020
1c54405
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 2, 2020
5826c8e
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 2, 2020
a1a6321
changed exception naming to WhereGotTimeException
yeapcl Nov 2, 2020
5c2419a
1. Command is no longer case sensitive
yeapcl Nov 2, 2020
5f5d157
Edit command no longer accepts input if user does not log in to Where…
yeapcl Nov 2, 2020
1ec2e12
fixed checkstyleMain
yeapcl Nov 2, 2020
01f8230
Merge pull request #174 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
tammykoh Nov 2, 2020
9196717
replaced all duke occurrences to WhereGotTime
yeapcl Nov 2, 2020
6680063
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 2, 2020
0a3b4d3
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 2, 2020
606a5e3
Minor Bug fixes
Nov 3, 2020
0a37ea4
Merge pull request #175 from weisiong24/BugFixes
yeapcl Nov 3, 2020
2f79645
Edited the format for the login command
manuelmanuntag96 Nov 3, 2020
1335e69
corrected the runtest.bat expected outputs
manuelmanuntag96 Nov 3, 2020
9729156
Corrected the parse_loginCommand_parsedCorrectly()
manuelmanuntag96 Nov 3, 2020
2e9552d
Merge pull request #178 from manuelmanuntag96/Manuel-NewLoginFormat
yeapcl Nov 3, 2020
c82367f
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 3, 2020
c32aa66
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 3, 2020
e824793
1. Fixed bugs in EditCommand where the program accepts invalid timing…
yeapcl Nov 4, 2020
aee81ed
Merge pull request #180 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 4, 2020
1291d7a
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 4, 2020
95f7498
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 4, 2020
a200327
Bug Fixes for v2.1
Nov 4, 2020
2eec44c
1. Bug fix for EditCommand
yeapcl Nov 4, 2020
5d9ab4b
fixed checkstyle error
yeapcl Nov 4, 2020
3dd0f1b
Merge pull request #182 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 4, 2020
42b7996
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 4, 2020
cd922ee
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 4, 2020
e3baad8
Merge pull request #181 from weisiong24/BugFixes
yeapcl Nov 4, 2020
c241c76
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 4, 2020
bf3c239
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 4, 2020
dcddb47
bug fix where user is allowed to perform edit and compare commands wi…
yeapcl Nov 4, 2020
06ca3cf
Merge pull request #183 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
yeapcl Nov 4, 2020
4a7332e
improved EditCommand where if new timings and original timings are id…
yeapcl Nov 4, 2020
e143f04
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 4, 2020
c8825f3
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 4, 2020
fbdb1c6
Merge pull request #184 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 5, 2020
f201471
Updated Expected outputs for Edit,list,login,find,delete,clear,exit C…
Nov 5, 2020
5e4ae1b
Updates to Userguid expected outputs and command formats corrections
Nov 5, 2020
7264e33
Merge pull request #186 from weisiong24/BugFixes
yeapcl Nov 5, 2020
7a1139b
Implemented the Remove Feature
manuelmanuntag96 Nov 5, 2020
a3e9dda
Merge pull request #187 from manuelmanuntag96/Manuel-RemoveFunction
yeapcl Nov 5, 2020
08629fd
Updates to UserGuide
Nov 6, 2020
3ecef96
Merge pull request #188 from weisiong24/BugFixes
weisiong24 Nov 6, 2020
7f38589
Update to UserGuide command summary
Nov 6, 2020
ff43337
Merge pull request #189 from weisiong24/BugFixes
weisiong24 Nov 6, 2020
3be4e27
Updates to Developer Guide
Nov 6, 2020
69e6e55
Merge pull request #190 from weisiong24/BugFixes
weisiong24 Nov 6, 2020
9534dcb
Update UserGuide.md
weisiong24 Nov 6, 2020
f44cea8
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 6, 2020
1a7df37
Updates the About Us and the table of content for User Guide
Nov 6, 2020
4ea94e9
Merge pull request #191 from weisiong24/BugFixes
weisiong24 Nov 6, 2020
168b3fb
Added more test cases for UserListTest.java
manuelmanuntag96 Nov 6, 2020
d597d42
Updated Userguide and add more Junit testing
Nov 6, 2020
b706959
Updates to User Guide and added more Junit test
Nov 6, 2020
3739eea
Merge pull request #193 from weisiong24/BugFixes
weisiong24 Nov 6, 2020
52c09b0
Added more test cases for parse login and remove validity in ParserTe…
manuelmanuntag96 Nov 6, 2020
4b8f344
Added even more test cases for parse login and remove validity in Par…
manuelmanuntag96 Nov 6, 2020
eba5fc8
Added more test cases for LogInCommand in LogInCommandTest.java
manuelmanuntag96 Nov 6, 2020
0b43bbf
Edited Remove User Command to new format: remove /username /password
manuelmanuntag96 Nov 6, 2020
bf09077
Edited to comply with gradlew checkstyle
manuelmanuntag96 Nov 6, 2020
4e00b9a
removed printl for debugging
manuelmanuntag96 Nov 6, 2020
8b1bac9
Updated Compare Command overall UX
yellow-fellow Nov 6, 2020
9135965
Removed case-sensitivity for day
tammykoh Nov 6, 2020
0b1af38
Updated error handling exception
yellow-fellow Nov 6, 2020
2b1ac78
Clarified error message for wrong day
tammykoh Nov 6, 2020
c6d97cc
Merge pull request #196 from yellow-fellow/master
yeapcl Nov 6, 2020
591e19e
Merge pull request #195 from manuelmanuntag96/Manuel-RemoveWithPassword
yeapcl Nov 6, 2020
98e2db6
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 6, 2020
695c91a
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 6, 2020
0066693
Improved CompareCommand such the current user's name would not appear…
yeapcl Nov 6, 2020
c6d5018
Further improved user-friendliness of UI with more concise instructions
yeapcl Nov 6, 2020
68e787d
fixed checkstyle and updated expected.txt for new UI messages
yeapcl Nov 6, 2020
becb5c3
Merge pull request #198 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 7, 2020
610f132
Merge remote-tracking branch 'upstream/master' into tammy-fixing-bugs
tammykoh Nov 7, 2020
47cb0c2
Merge branch 'tammy-fixing-bugs'
tammykoh Nov 7, 2020
54ccd62
Fixed checkstyle error
tammykoh Nov 7, 2020
37ff559
Merge pull request #199 from tammykoh/master
yeapcl Nov 7, 2020
85faea6
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 7, 2020
19d5c7e
Editted the basics of Manuel's PPP
manuelmanuntag96 Nov 7, 2020
324d8cc
Edited Manuel's PPP
manuelmanuntag96 Nov 7, 2020
4a59754
Merge pull request #200 from manuelmanuntag96/Manuel-PPP
manuelmanuntag96 Nov 7, 2020
5b29597
Revamped EditCommand UI to improve user-friendliness
yeapcl Nov 7, 2020
b48ee64
Merge pull request #202 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 7, 2020
5b735c7
Updated Add Command checks
Nov 7, 2020
3d83fd4
Updates to add command checks
Nov 7, 2020
f6b86b7
Merge pull request #203 from weisiong24/BugFixes
yeapcl Nov 7, 2020
fcb8b76
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 7, 2020
eecf9ec
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 7, 2020
3d0ae2f
edited timings are now restricted to 1-hour block
yeapcl Nov 7, 2020
090f55f
Updated the error messages for the add commands
Nov 7, 2020
4cf4788
Merge pull request #204 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
weisiong24 Nov 7, 2020
9cef4a2
Merge pull request #205 from weisiong24/BugFixes
yeapcl Nov 7, 2020
c3d8e69
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
yeapcl Nov 7, 2020
49400fb
Merge branch 'master' into branch-yeapcl-enhanceProgramUsability
yeapcl Nov 7, 2020
98e702f
Updated UserGuide,Developer Guide for updated edit command and Added …
Nov 7, 2020
5f92acd
Merge pull request #206 from weisiong24/BugFixes
weisiong24 Nov 7, 2020
4d25f52
Updated ppp
Nov 7, 2020
c7519e1
Merge pull request #207 from weisiong24/BugFixes
weisiong24 Nov 7, 2020
5b46506
Update ppp
Nov 7, 2020
c50136b
Merge pull request #208 from weisiong24/BugFixes
weisiong24 Nov 7, 2020
284287e
Updates ppp
Nov 7, 2020
20e0415
Merge pull request #209 from weisiong24/BugFixes
weisiong24 Nov 7, 2020
3ba815b
Added more exception types
yeapcl Nov 7, 2020
5be1b7b
edited outputstream for windows CI test
yeapcl Nov 7, 2020
9dd99d3
minor fix for checkstyle
yeapcl Nov 7, 2020
4b560e8
modified text formatting for windows gradle junit test
yeapcl Nov 7, 2020
5d4dcc2
edited expected runtest results
yeapcl Nov 7, 2020
6b39532
fix outputstream for windows
yeapcl Nov 7, 2020
39a1de6
Updates profie pic
Nov 8, 2020
a519411
Merge pull request #211 from weisiong24/BugFixes
weisiong24 Nov 8, 2020
073ccf6
Updates ppp
Nov 8, 2020
e33b28e
Merge pull request #212 from weisiong24/BugFixes
weisiong24 Nov 8, 2020
b62e122
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 8, 2020
510248f
Merge pull request #210 from yeapcl/branch-yeapcl-JUnitTest
tammykoh Nov 8, 2020
15195ff
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 8, 2020
72e4a2b
Added more to Manuel's PPP
manuelmanuntag96 Nov 8, 2020
5c31061
Merge pull request #213 from manuelmanuntag96/Manuel-PPP2
manuelmanuntag96 Nov 8, 2020
a0cb6e7
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 8, 2020
34f187b
Update manuelmanuntag96.md
manuelmanuntag96 Nov 8, 2020
b35e708
Update manuelmanuntag96.md
manuelmanuntag96 Nov 8, 2020
7ee8352
Update manuelmanuntag96.md
manuelmanuntag96 Nov 8, 2020
51f100c
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 8, 2020
b0202ce
Update manuelmanuntag96.md
manuelmanuntag96 Nov 8, 2020
42c2a1b
Updated PPP
yellow-fellow Nov 8, 2020
956d53b
Updated PPP
yellow-fellow Nov 8, 2020
e611798
Merge branch 'master' into tammy-fixing-bugs
tammykoh Nov 8, 2020
1b77694
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 8, 2020
9c86357
Created 'clear /all' function
tammykoh Nov 8, 2020
4ceef92
Editted comments for clear command
tammykoh Nov 8, 2020
ef33ae6
bug fix
yeapcl Nov 8, 2020
9958b16
Added 'clear /all' into UG
tammykoh Nov 8, 2020
210ca08
Merge branch 'master' into tammy-developer-guide
tammykoh Nov 8, 2020
68f621c
bug fix
yeapcl Nov 8, 2020
506b0ca
Added activation bar for UI in find, list, delete, clear sequence dia…
tammykoh Nov 8, 2020
6147894
Merge branch 'tammy-fixing-bugs'
tammykoh Nov 8, 2020
b284b19
Merge branch 'tammy-developer-guide'
tammykoh Nov 8, 2020
25b4217
bug fix
yeapcl Nov 8, 2020
224126b
bug fix
yeapcl Nov 8, 2020
b45d36e
bug fix
yeapcl Nov 8, 2020
2ced37e
format fix attempt
yeapcl Nov 8, 2020
3dda531
format fix attempt
yeapcl Nov 8, 2020
8075136
finally found the elusive bug
yeapcl Nov 8, 2020
b6f9a11
Added PPP
tammykoh Nov 8, 2020
1e55864
Merge branch 'tammy-ppp'
tammykoh Nov 8, 2020
81e82f8
Merge branch 'master' into tammy-testing
tammykoh Nov 8, 2020
c7108dd
junit test for EditCommand 100% line coverage and successful on gradl…
yeapcl Nov 8, 2020
9aea675
JUnit for EditCommand
yeapcl Nov 8, 2020
d796ecd
Added more test for ClearCommand
tammykoh Nov 8, 2020
d7b8510
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 8, 2020
b7ca1f8
code clean up
yeapcl Nov 8, 2020
c5e8f32
format fix
yeapcl Nov 8, 2020
eefe435
Merge pull request #215 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
yeapcl Nov 8, 2020
79fb149
further code clean up.
yeapcl Nov 8, 2020
0279a5d
slightly improved storage initialisation messages
yeapcl Nov 8, 2020
0b6350f
Merge pull request #216 from yeapcl/branch-yeapcl-enhanceProgramUsabi…
yeapcl Nov 8, 2020
e737e6b
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 8, 2020
0a17c40
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
tammykoh Nov 9, 2020
b9e5429
Merge branch 'master' into tammy-testing
tammykoh Nov 9, 2020
3167aee
Included more test for ClearCommand to increase test coverage
tammykoh Nov 9, 2020
68d52ab
Added tests for DeleteCommand
tammykoh Nov 9, 2020
1b05634
Added test for FindCommand
tammykoh Nov 9, 2020
10a95ff
Added test for ListCommand
tammykoh Nov 9, 2020
7e92388
Added test to Parser for list, find, clear and delete commands
tammykoh Nov 9, 2020
b8664ad
Merge branch 'tammy-testing'
tammykoh Nov 9, 2020
a22cd6d
Fixed checkstyle error
tammykoh Nov 9, 2020
3441f95
Updated expected output
tammykoh Nov 9, 2020
420eb3a
Merge pull request #217 from tammykoh/master
yeapcl Nov 9, 2020
38caab1
updated PPP and UG
yeapcl Nov 9, 2020
519318d
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 9, 2020
0b0c2e9
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 9, 2020
b617394
Added Remove Feature Details in UG
manuelmanuntag96 Nov 9, 2020
6ffcb4e
Merge pull request #218 from manuelmanuntag96/Manuel-RemoveUserUG
manuelmanuntag96 Nov 9, 2020
bd1a4ef
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
manuelmanuntag96 Nov 9, 2020
c3812c1
Edited Manuel's PPP part 3
manuelmanuntag96 Nov 9, 2020
a07ee12
Merge pull request #219 from manuelmanuntag96/Manuel-PPP3
manuelmanuntag96 Nov 9, 2020
c782ced
further update to PPP
yeapcl Nov 9, 2020
1229ea0
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 9, 2020
1b3bb89
Merge pull request #220 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
2df1048
Update manuelmanuntag96.md
manuelmanuntag96 Nov 9, 2020
65aca4b
further update to UG and PPP
yeapcl Nov 9, 2020
609069f
Merge pull request #221 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
e310362
Update UserGuide.md
manuelmanuntag96 Nov 9, 2020
23cd0d6
updated test cases and UG
yeapcl Nov 9, 2020
7dba860
Added logging for list, clear, find and delete functions
tammykoh Nov 9, 2020
444762d
Merge branch 'master' into tammy-logging
tammykoh Nov 9, 2020
d34c5c3
Merge branch 'tammy-logging'
tammykoh Nov 9, 2020
d3e5f7c
Merge branch 'master' into tammy-testing
tammykoh Nov 9, 2020
dd61a00
added more javadoc and improved UG
yeapcl Nov 9, 2020
4986d4d
minor formatting fix
yeapcl Nov 9, 2020
d13bbb2
formatting fix
yeapcl Nov 9, 2020
809ec9c
Merge pull request #222 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
59697ce
Added test for compare command
tammykoh Nov 9, 2020
52718a0
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
tammykoh Nov 9, 2020
bfc412c
Merge branch 'master' into tammy-testing
tammykoh Nov 9, 2020
36d2352
Merge branch 'tammy-testing'
tammykoh Nov 9, 2020
a233d54
Fixed checkstyle
tammykoh Nov 9, 2020
4d74922
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp
tammykoh Nov 9, 2020
7ad5154
Merge pull request #223 from tammykoh/master
tammykoh Nov 9, 2020
af6aec0
Deleted temporary storage folder
tammykoh Nov 9, 2020
524d26c
further documentation update
yeapcl Nov 9, 2020
16873ee
update DG
yeapcl Nov 9, 2020
e8bfb1e
further update DG
yeapcl Nov 9, 2020
7c9c91e
Merge pull request #225 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
36d4012
Merge pull request #224 from tammykoh/master
yeapcl Nov 9, 2020
932bfde
updated JAR link to 2.1
yeapcl Nov 9, 2020
c5c339c
Merge pull request #226 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
d9f7cf3
Updated JAR link
tammykoh Nov 9, 2020
4da7466
Merge pull request #227 from tammykoh/master
yeapcl Nov 9, 2020
f21ab36
format fix
yeapcl Nov 9, 2020
5bc0a07
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp …
yeapcl Nov 9, 2020
d8497a5
Merge pull request #228 from yeapcl/branch-yeapcl-Documentation
yeapcl Nov 9, 2020
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
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ src/main/resources/docs/
bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
AddCommand.log
AddCommand.log.1
AddCommand.log.2
LogInCommand.log.1
LogInCommand.log
LogInCommand.log.lck
AddCommand.log.3
data/duke.txt
AddCommand.log.lck
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.duke.WhereGotTime"
}

shadowJar {
Expand All @@ -43,4 +43,5 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}
10 changes: 5 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Yeap Chun Lik | [Github](https://github.com/yeapcl) | [Portfolio](docs/team/yeapcl.md)
![](https://via.placeholder.com/100.png?text=Photo) | wei siong| [Github](https://github.com/weisiong24) | [Portfolio](docs/team/weisiong.md)
![](https://via.placeholder.com/100.png?text=Photo) | Tammy Koh | [Github](https://github.com/tammykoh) | [Portfolio](docs/team/tammykoh.md)
![](https://via.placeholder.com/100.png?text=Photo) | Manuntag Manuel II Papa | [Github](https://github.com/manuelmanuntag96) | [Portfolio](docs/team/manuelmanuntag.md)
![](https://via.placeholder.com/100.png?text=Photo) | Huang Shaohang | [Github](https://github.com/yellow-fellow) | [Portfolio](docs/team/yellow-fellow.md)
304 changes: 296 additions & 8 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,290 @@
# Developer Guide

## Design & implementation
## Table of content
**1. Setting Up**\
**2. Design**\
**3. Implementation**

{Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.}
## 1. Setting Up

**Prerequisites:**
* JDK 11
* IntelliJ IDE

Refer to the guide [_Setting Up_](SettingUp.md).

## 2. Design

### 2.1 Architecture
The **Architecture Diagram** below shows a high-level design of WhereGotTime. The design is based
on multi-tier architecture where the processing, UI, logic and data management are separated. The upper
tiers make use of services provided by lower tiers.

![](images/Overall Architecture.png)

<div markdown="span" class="alert alert-primary">

**Tip:** The `.puml` files used to create diagrams in this document can be found in the [diagrams](https://github.com/se-edu/addressbook-level3/tree/master/docs/diagrams/) folder. Refer to the [_PlantUML Tutorial_](https://se-education.org/guides/tutorials/plantUml.html) to learn to create and edit diagrams.

</div>

Here is a quick overview of the main components of WhereGotTime:
1. `WhereGotTime` - initializes the components in the app
1. `UI` - the user interface of the app
1. `Parser` - analyzes and interprets user input
1. `Command` - executes the action required by user
1. `Storage` - reads and writes data to file
1. `Common` - collection of classes used by multiple components
* `Users` - the users who have logged into WhereGotTime
* `Timetable` - the timetable of each of the users
* `Event` - an object representing a lesson in the timetable

**How architecture components interact**

The following Sequence Diagram displays how components interact when the user inputs `clear /fri`

![Architecture Sequence Diagram](images/ArchitectureSequenceDiagram.png)
Copy link
Member

Choose a reason for hiding this comment

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

This image is not loading for me. Perhaps the ".png" is supposed to be ".PNG" instead?


## 3. Design & Implementation
This section describes how features/functions are implemented.

### Add Function

#### System Architecture of the Add Function<br/>

![](images/Architect-digram.PNG)

The Architecture Diagram given above explains the high-level design of the add command.<br/>

Below we will discuss a quick overview of each component.

* UI: The User Interface of the app<br/>
* Add Command: The main logic command of the add function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>

#### Design of the Add Function<br/>

UML Class Diagram of the Add function:
![](images/uml.PNG)<br/>
Copy link
Member

Choose a reason for hiding this comment

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

Is the bracket of the execute function supposed to be beside "execute" instead of "void"?


1) The Add function gets the inputs from the User and places it to the event class so that
it can parser to string.<br/>
2) It will then pass the event data onto UI class to display and inform user of the event added
to the timetable.<br/>
3) Next,the add function will pass all the parameters (event name,day,time
and location) to the timetable class into its arraylist divided by the day of the week<br/>

#### Sequence Design of Add Function<br/>
![](images/seqdiagram.jpg)<br/>

Choose a reason for hiding this comment

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

Perhaps this sequence diagram should be done using an online application instead of hand drawn?

Copy link
Member

Choose a reason for hiding this comment

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

Would it be better to use a software to draw the sequence diagram instead of hand drawing it?

Choose a reason for hiding this comment

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

There should be a return arrow from the activation bar under the Timetable class to the activation bar of execute().


#### Improvements to be made to Version 2.0<br/>
* To ensure that the users do not enter duplicate event that has the same timing or in between the time
that is entered.
* A verification check is added to the add command of the version 2.0 of WhereGotTime.

Choose a reason for hiding this comment

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

You could perhaps add a segment to explain the above sequence diagram?

E.g.
* add /CS2113 Lec /Mon /1200-1400 /LT21<br/>
* add /CS2113 Lec /Mon /1300-1400 /LT22<br/>
* add /CS2040C Tut /Mon /1300-1500 /LT32<br/>

The above would result in the first line being add,
while the other two will result in the app giving an error message
prompting the user to re-enter again.<br/>

### Edit Function<br/>

Choose a reason for hiding this comment

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

This segment seems incomplete? Minimally some description of what these functions are instead of simply listing would be helpful to the reader.


#### Class Diagram <br/>

![](images/ClassDiagram_EditCommand.png)<br/>

### Delete Function

#### System Architecture of the Delete Function<br/>

![](images/DeleteCommand_ArchitectureDiagram.png)

The Architecture Diagram given above explains the high-level design of the delete command.<br/>
* UI: The User Interface of the app<br/>
* DeleteCommand: The main logic command of the delete function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>
* WhereGotTime: The main logic component of the app<br/>

#### Design of the Delete Function<br/>

![](images/DeleteCommand_umlDiagram.png)
Copy link
Member

Choose a reason for hiding this comment

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

Is there a better way to show 3 arrows pointing to Ui? Perhaps a slightly larger diagram would help?


1. `DeleteCommand` gets the input from the User and gets the relevant timetable from `Timetable`
1. `DeleteCommand` then proceeds to delete the event in the timetable based on the index in the user input
1. `DeleteCommand` passes the day, deleted event and size of timetable to the `UI`
1. `UI` updates the user of the successful deletion of the event

#### Sequence Design of Delete Function<br/>
![](images/DeleteCommand_SequenceDiagram.png)<br/>

### Clear Function

#### System Architecture of the Clear Function<br/>
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps the system architecture of the delete and clear functions could be consolidated, since they are similar in nature?


![](images/ClearCommand_ArchitectureDiagram.png)

The Architecture Diagram given above explains the high-level design of the clear command.<br/>
* UI: The User Interface of the app<br/>
* ClearCommand: The main logic command of the clear function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>
* WhereGotTime: The main logic component of the app<br/>

#### Design of the Clear Function<br/>

![](images/ClearCommand_umlDiagram.png)

1. `ClearCommand` gets the input from the User and gets the relevant timetable from `Timetable`
1. `ClearCommand` then proceeds to clear all events from the timetable
1. `ClearCommand` passes the day and cleared lesson to the `UI`
1. `UI` updates the user of the successful clearing of events

#### Sequence Design of Clear Function<br/>
![](images/ClearCommand_SequenceDiagram.png)<br/>

### List Function

#### System Architecture of the List Function<br/>

![](images/ListCommand_ArchitectureDiagram.png)

The Architecture Diagram given above explains the high-level design of the list command.<br/>
* UI: The User Interface of the app<br/>
* ListCommand: The main logic command of the list function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>
* WhereGotTime: The main logic component of the app<br/>

#### Design of the List Function<br/>

![](images/ListCommand_umlDiagram.png)
Comment on lines +157 to +167
Copy link

Choose a reason for hiding this comment

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

Screenshot 2020-10-29 at 4 36 24 PM

The images show arrows pointing in different directions between ListCommand and Timetable, does this matter?

Comment on lines +166 to +167
Copy link

Choose a reason for hiding this comment

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

Screenshot 2020-10-29 at 4 39 28 PM

class diagram is a little confusing in the relationships, does LIstCommand "users" or "uses" UI?


1. `ListCommand` gets the input from the User and gets the relevant user's timetable(s) from `Timetable`
1. `ListCommand` then passes the user's timetable(s) to the `UI`
1. `UI` prints all the classes in the timetable

#### Sequence Design of List Function<br/>
![](images/ListCommand_SequenceDiagram.png)<br/>
Comment on lines +173 to +174
Copy link

Choose a reason for hiding this comment

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

Screenshot 2020-10-29 at 4 41 08 PM

Does it matter if the first arrow pointing to ListCommand is a variable or method call?

Comment on lines +173 to +174
Copy link

@yuxinwu99 yuxinwu99 Oct 30, 2020

Choose a reason for hiding this comment

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

Might be better to add an activation bar under the Ui class when printList is called. After calling the printList method, arrows can then be used to indicate returning from Ui to ListCommand and also from execute() to the ListCommand class itself


### Find Function

#### System Architecture of the Find Function<br/>

![](images/FindCommand_ArchitectureDiagram.png)

The Architecture Diagram given above explains the high-level design of the find command.<br/>
* UI: The User Interface of the app<br/>
* FindCommand: The main logic command of the find function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>
* WhereGotTime: The main logic component of the app<br/>

#### Design of the Find Function<br/>

![](images/FindCommand_umlDiagram.png)

1. `FindCommand` gets the input from the User and gets the timetable from `Timetable`
1. `FindCommand` then searches through the timetable to find event that match the keyword entered by User
1. `FindCommand` passes the matching events to `UI`
1. `UI` prints the matching events

#### Sequence Design of Find Function<br/>
![](images/FindCommand_SequenceDiagram.png)<br/>
Comment on lines +197 to +198
Copy link

Choose a reason for hiding this comment

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

Screenshot 2020-10-29 at 4 43 37 PM

Does it matter if a variable was passed to FindCommand or should it be a method call with the variable inside?


### Compare Function<br/>
#### System Architecture of the Compare Function<br/>
![](images/CompareCommand_ClassDiagram.jpg) <br/>
The System Architecture given above explains the high-level design of the <b>COMPARE</b> command.<br/>

Listed below are some features we will be highlighting:<br/>

* Ui: The User Interface of the app<br/>
* CompareCommand: The main logic command of the <b>COMPARE</b> function<br/>
* Timetable: The arraylist where events that are added are stored accordingly<br/>
* User: User(s) of the program<br/>
* UserList: An arraylist of User<br/>

#### Design of the Compare Function<br/>
![](images/CompareCommand_UML_Diagram.jpg)<br/>
Copy link
Member

Choose a reason for hiding this comment

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

Is there a missing bracket in the getTimetable function?


1) The <b>COMPARE</b> function gets the inputs from the User and retrieves the User's / Target User's<br/>
timetables based on a specific day. It will then compare the timetables and return an arraylist
of common timeslots.<br/>
2) It will then pass the arraylist onto Ui class to display the range of common <br/>
timeslots the User and Target User have on a specific day of the week.<br/>


#### Sequence Design of Compare Function<br/>
![](images/CompareCommand_SequenceDesign.jpg) <br/>
Comment on lines +223 to +224
Copy link

@yuxinwu99 yuxinwu99 Oct 30, 2020

Choose a reason for hiding this comment

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

You can improve this by maybe making the arrow that indicate returning from the Ui class from the end of the activation bar, it should reach the activation bar of the execute() in CompareCommand class. Also, try to use puml for diagrams as it would be neater compared to drawing it by hand.


#### Improvements to be made to Version 2.0<br/>
* Display a range of timings instead of individual hours<br/>
* Remove edge cases<br/>

E.g.<br/>
* compare /Alex /Mon<br/>
* compare /Tammy /Mon<br/>

These cases above would no longer output "0000HR, 0100HR" etc but
instead "0000HR - 1000HR"

### Login Function
#### System Architecture of the Login Function<br/>
![](images/LogInCommand_Architecture_Diagram_v001.png)
* UI: The User Interface of the app<br/>
* LogInCommand: The main logic command of the Login function<br/>
* Parser: The main logic that takes input data and builds the command.
* User: The Class where username, password, etc are stored
* UserList: The Class that creates an ArrayList where the User objects will be stored

#### Class Diagram
![](images/LogInCommand_Class_Diagram_v002.png)

Choose a reason for hiding this comment

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

Perhaps some methods like getters should be omitted from the class diagram to simplify and increase readability of the class diagram? 😄

1.) The LogInCommand checks the UserList to check if the inputted user already exists.
<br/>
2.) In the case that the User is a first time user, the LogInCommand will create a new User object then add it into
the UserList.

#### Sequence Diagram
![](images/LogInCommand_Sequence_v002.png)

Choose a reason for hiding this comment

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

Missing colons for all objects
image

Choose a reason for hiding this comment

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

Opt should be used instead of alt here as there are no alternatives provided.

1.) When the user inputs a Login Command, a LogInCommand Object is created with the input member Username and Password.
<br/>
2.) The Login Command is then executed by sending the users UserList, ui Ui and the User nowUser to the method where
it search the users to check if the input Username already exists with the correct password.
<br/>
3.) If the User already exists, it will return the User back to the method as currentUser. Otherwise, it will create a
User with the input Username and Password.
<br/>

#### Improvements to be made to Version 2.0<br/>
* In order to protect the User's privacy, the User's Passwords have been encrypted on the save file.
* A Cryptography Class with encipherPassword and decipherPassword has been implemented as part of the version 2.0 of
WhereGotTime.

## Product scope
### Target user profile

{Describe the target user profile}
Our Application, WhereGotTime is developed for University students.

### Value proposition

{Describe the value proposition: what problem does it solve?}
It was developed to solve the inconvenience students face when accessing timetables and lecture venues and
to keep track of their timetable.
It is also developed to assist in finding common available time slots for students to study with their peers.

## User Stories

|Version| As a ... | I want to ... | So that I can ...|
|--------|----------|---------------|------------------|
|v1.0|new user|see usage instructions|refer to them when I forget how to use the application|
|v2.0|user|find a to-do item by name|locate a to-do without having to go through the entire list|
|v1.0|new user|login to my own timetable|be sure that it is my own timetable that is shown there|
|v1.0|new user|add events into my timetable for the day|refer to the timetable to remind me of the event|
|v1.0|new user|edit events that I have entered into my timetable for the day|easily change the details as I need it|
|v1.0|new user|delete events in my timetable for the day|remove an event in the timetable that I do not wish to keep|
|v1.0|new user|clear my timetable for the day|so that I can remove all the entries I have entered wrongly|
|v1.0|new user|compare my timetable with my friends|schedule a common time for revision together|
|v2.0|user|have my password encrypted|only I can access my own timetables|
|v2.0|user|be assured that my inputs are correctly added|my input are correctly convey into the timetable|
|v2.0|user|access my saved timetables|I do not have to manually enter the timetables again|

## Non-Functional Requirements

Choose a reason for hiding this comment

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

This part was left empty.
image


Expand All @@ -31,4 +296,27 @@

## Instructions for manual testing
Copy link

Choose a reason for hiding this comment

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

Is it better to follow the format given in here?


{Give instructions on how to do a manual product testing e.g., how to load sample data to be used for testing}
login Alex /123123<br/>
add /CS2113 Lec /mon /1200-1300 /LT21<br/>
add /CS3243 Lec /mon /1400-1500 /LT22<br/>
add /CS2040C Tut /mon /0800-1000 /COM1-2<br/>
add /CG2028 Tut /Thu /0900-1100 /E4-4-1<br/>
add /CG2023 Lec /Fri /1700-1800 /E7-3-10<br/>
list /all<br/>
list /mon<br/>
edit /mon /3 /1300-1400<br/>
edit /fri /1 /0900-1100<br/>
list /all<br/>
list /mon<br/>
login Tammy /321321<br/>
add /CS2113 Lec /mon /1200-1300 /LT21<br/>
add /CS2040C Tut /mon /0800-1000 /COM1-2<br/>
add /CG2028 Tut /Thu /0900-1100 /E4-4-1<br/>
compare /Alex /mon<br/>
list /mon<br/>
edit /mon /2 /1000-1200<br/>
compare /Alex /mon<br/>
login Alex /123123<br/>
delete /mon /2<br/>
clear /fri<br/>
bye<br/>
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Duke
# WhereGotTime

{Give product intro here}
An useful timetable app where you can enter events and compare timetable to find common timeslot between you and your peers.

Useful links:
* [User Guide](UserGuide.md)
Expand Down
Loading