Skip to content
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
753 commits
Select commit Hold shift + click to select a range
03e9dab
Merge branch 'master' into branch-AddLogging
ninggggx99 Nov 7, 2020
7be7bf7
Update user guide
Reinbowl Nov 7, 2020
e4bea1c
Updated Help file
Colin386 Nov 7, 2020
2130c77
Merge pull request #258 from ninggggx99/branch-AddLogging
Colin386 Nov 7, 2020
242f077
Merge branch 'master' into branch-helpfileupdate
Colin386 Nov 7, 2020
cfdd6a4
Merge pull request #260 from Colin386/branch-helpfileupdate
Colin386 Nov 7, 2020
56c09e1
Updated the user guide with latest commands
ninggggx99 Nov 7, 2020
024a901
Merge pull request #261 from ninggggx99/branch-AddingViewtoUG
ninggggx99 Nov 7, 2020
91f1e6b
Handling blank locations
Colin386 Nov 7, 2020
dd70d68
View command naming in table updated
ninggggx99 Nov 7, 2020
a22043f
update naming
ninggggx99 Nov 7, 2020
eb70a1a
Merge pull request #263 from ninggggx99/branch-AddingViewtoUG
ninggggx99 Nov 7, 2020
d6bd6af
Modify test case
Colin386 Nov 7, 2020
dd5f962
Merge branch 'master' into branch-saveTimetableFix
Colin386 Nov 7, 2020
b0f4d8a
Merge branch 'master' into userguide
Reinbowl Nov 7, 2020
5b2bb57
Merge pull request #264 from Reinbowl/userguide
Reinbowl Nov 7, 2020
37427ad
Merge pull request #266 from Reinbowl/developerguide
Reinbowl Nov 7, 2020
49546ed
Edit done, undone, delete commands to notify the user if input date d…
marcursor Nov 7, 2020
6b7ad04
Update delete command to set repeat task to non-repeat if it deletes …
marcursor Nov 7, 2020
e6cfbfb
Merge branch 'master' into branch-Junit
marcursor Nov 7, 2020
05cc8e4
Fix checkstyle length of lines
marcursor Nov 7, 2020
c14f181
Merge pull request #265 from Colin386/branch-saveTimetableFix
ninggggx99 Nov 8, 2020
d69b4aa
Fix logging
Colin386 Nov 8, 2020
4b43637
log added to repeat command
Colin386 Nov 8, 2020
0ced39f
Merge pull request #269 from Colin386/branch-loggingRepeat
ninggggx99 Nov 8, 2020
452f079
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp…
matthewgani Nov 8, 2020
f61a2e9
Updated UG to be more consistent with other parts
matthewgani Nov 8, 2020
af17424
Added javadoc for extract methods and ui methods
matthewgani Nov 8, 2020
94d6652
Merge pull request #267 from marcursor/branch-Junit
matthewgani Nov 8, 2020
9f72884
Edit check command to validate time period
marcursor Nov 8, 2020
447da2f
Fix Junit
marcursor Nov 8, 2020
2c35647
Fix Junit
marcursor Nov 8, 2020
f684e73
FIx userguide to be more specific for addcommand, started adding logg…
matthewgani Nov 8, 2020
6cf265d
Java doc for bye help repeat
Colin386 Nov 8, 2020
4857ffe
Update javadoc
Reinbowl Nov 8, 2020
49eadb1
Merge pull request #273 from Reinbowl/javadoc
marcursor Nov 8, 2020
95b1b64
Add logging for calendar, goal, list commands
Reinbowl Nov 8, 2020
5d81100
Merge pull request #272 from marcursor/branch-CheckCommandv2.1
marcursor Nov 8, 2020
80bd105
Added assertion and logging to add and extractcommands. Refactored a …
matthewgani Nov 8, 2020
4cb033a
Merge branch 'master' into branch-UpdateDevGuide
matthewgani Nov 8, 2020
c3ac5f4
Merge branch 'master' into branch-ColinJavaDoc
Colin386 Nov 8, 2020
ebbc7f7
Finished assertion and logging, passed checkstyle
matthewgani Nov 8, 2020
404c615
Update list junit testing
Reinbowl Nov 8, 2020
237cdfc
Merge pull request #274 from Reinbowl/logging
Reinbowl Nov 8, 2020
8a10adb
Javadoc for some UI and EventLogger
Colin386 Nov 8, 2020
d5459e0
Merge branch 'master' into branch-ColinJavaDoc
Colin386 Nov 8, 2020
15b4492
add ending period
Colin386 Nov 8, 2020
e7dd915
Updated DG
ninggggx99 Nov 8, 2020
7ca56d2
Merge pull request #276 from Reinbowl/junit
Reinbowl Nov 8, 2020
a3ff637
Merge branch 'master' into branch-ColinJavaDoc
Colin386 Nov 8, 2020
d8dd5ab
Merge branch 'master' into branch-DGupdate
ninggggx99 Nov 8, 2020
0ef73fd
Merge pull request #277 from Colin386/branch-ColinJavaDoc
Colin386 Nov 8, 2020
ec0b90a
Merge pull request #279 from ninggggx99/branch-DGupdate
ninggggx99 Nov 8, 2020
88a473d
Edited UG and DG for extract and add
matthewgani Nov 8, 2020
c1da977
Merge branch 'master' into branch-UpdateDevGuide
matthewgani Nov 8, 2020
d00482a
Add logging for check, done, undone, delete commands
marcursor Nov 8, 2020
0d3c5ec
Fixing tiny errors
ninggggx99 Nov 8, 2020
dc34f9d
Merge pull request #281 from ninggggx99/branch-DGupdate
ninggggx99 Nov 8, 2020
31b6b28
Merge pull request #275 from matthewgani/branch-UpdateDevGuide
marcursor Nov 8, 2020
65bf6f8
Merge branch 'master' into branch-Logging
marcursor Nov 8, 2020
4ddc715
Merge pull request #283 from marcursor/branch-Logging
marcursor Nov 8, 2020
45f9a5f
Fix load save bug
Colin386 Nov 8, 2020
30ff6fe
Merge branch 'master' into branch-saveFix
Colin386 Nov 8, 2020
f2b8b3d
change checkstylemain
Colin386 Nov 8, 2020
7a3dbc7
pass storage load test
Colin386 Nov 8, 2020
9cf8e2e
change expected txt file
Colin386 Nov 8, 2020
acdb6d4
- Fixed Deadline range
ninggggx99 Nov 8, 2020
d41a130
Merge branch 'master' into branch-DeadlineDate
ninggggx99 Nov 8, 2020
df1eb4c
Merge pull request #286 from ninggggx99/branch-DeadlineDate
ninggggx99 Nov 8, 2020
76b4671
Merge pull request #285 from Colin386/branch-saveFix
ninggggx99 Nov 8, 2020
499a4b9
Fixed logging and made addCommand cleaner
matthewgani Nov 8, 2020
04d6043
Removed Logging files
ninggggx99 Nov 8, 2020
2991555
Merge branch 'master' into branch-AddCommandFix
matthewgani Nov 8, 2020
acb5dc3
Merge pull request #288 from ninggggx99/branch-RemoveLogging
ninggggx99 Nov 8, 2020
4316489
Repeat command format message
Colin386 Nov 8, 2020
99b4b33
Merge branch 'master' into branch-helpWrapAndException
Colin386 Nov 8, 2020
2c91585
Fixed addCommand bug
matthewgani Nov 8, 2020
62c27a2
Merge branch 'master' into branch-AddCommandFix
matthewgani Nov 8, 2020
d676fbb
Add overflow exception
Colin386 Nov 8, 2020
004b8e8
Implemented error message with format
ninggggx99 Nov 8, 2020
613cba5
checkstylemain
Colin386 Nov 8, 2020
a83b9a1
Merge pull request #291 from ninggggx99/branch-ErrorMessage
ninggggx99 Nov 8, 2020
f742e3a
helpfile correction
Colin386 Nov 8, 2020
26fa4e5
Add format reminder to check, done, undone, delete command exception …
marcursor Nov 8, 2020
2328650
Add Java download link to UG
marcursor Nov 8, 2020
c7b7d76
Update user guide
Reinbowl Nov 9, 2020
1574f7a
Merge pull request #293 from Reinbowl/userguide
Reinbowl Nov 9, 2020
f0e79ba
Merge pull request #292 from Colin386/branch-helpWrapAndException
Colin386 Nov 9, 2020
593baef
Repeat command repairs
Colin386 Nov 9, 2020
7e2fa1c
Update PPP
Reinbowl Nov 9, 2020
0574771
Fixed some inconsistencies in extract
matthewgani Nov 9, 2020
fe971f2
Merge pull request #295 from Reinbowl/ppp
Reinbowl Nov 9, 2020
0fe3777
Solve saving inaccuracies
Colin386 Nov 9, 2020
f55e43d
Bug fixes for add and extract and DG
matthewgani Nov 9, 2020
58225fd
Add page break
Reinbowl Nov 9, 2020
647d320
Merge pull request #296 from Reinbowl/ppp
Reinbowl Nov 9, 2020
d12132f
Add page breaks in DG
Reinbowl Nov 9, 2020
4e69b5d
Merge pull request #297 from Reinbowl/developerguide
Reinbowl Nov 9, 2020
d89a9c6
Update user guide
Reinbowl Nov 9, 2020
69cc5b5
Add page breaks in UG
Reinbowl Nov 9, 2020
d2ca567
Update page break
Reinbowl Nov 9, 2020
0a9d61f
Merge pull request #299 from Reinbowl/developerguide
Reinbowl Nov 9, 2020
2641504
Merge pull request #298 from Reinbowl/userguide
Reinbowl Nov 9, 2020
26d36cc
Merge branch 'master' into branch-setRepeatStatus
Colin386 Nov 9, 2020
9fa5e4b
Update PPP
Reinbowl Nov 9, 2020
bc0cfa1
Add dev guide check, done, undone, delete argument tables
marcursor Nov 9, 2020
e420cb7
Merge pull request #301 from Reinbowl/ppp
Reinbowl Nov 9, 2020
a06f9c6
Merge branch 'master' into branch-DevGuide
marcursor Nov 9, 2020
7a78446
Merge pull request #300 from Colin386/branch-setRepeatStatus
marcursor Nov 9, 2020
962a335
Update page break in UG
Reinbowl Nov 9, 2020
39ae775
Merge pull request #303 from Reinbowl/userguide
Reinbowl Nov 9, 2020
3d533e5
Finished DG and fixed extractcommand bug
matthewgani Nov 9, 2020
e4933df
Merge branch 'master' into branch-AddCommandFix
matthewgani Nov 9, 2020
82d4763
Fixed checkstyle issues
matthewgani Nov 9, 2020
8d96cf7
update developer guide with
ninggggx99 Nov 9, 2020
9a1d308
Merge branch 'master' into branch-DGrefine
ninggggx99 Nov 9, 2020
b49f37e
Fixed spelling errors
ninggggx99 Nov 9, 2020
b11e346
Fix Typos
ninggggx99 Nov 9, 2020
d6181ad
Merge pull request #307 from ninggggx99/branch-DGrefine
matthewgani Nov 9, 2020
8e33449
Fixing the diagram
ninggggx99 Nov 9, 2020
df7214d
Fixing file extension
ninggggx99 Nov 9, 2020
c294faa
Merge pull request #305 from matthewgani/branch-AddCommandFix
ninggggx99 Nov 9, 2020
79c281f
add additonal object diagram
Colin386 Nov 9, 2020
4477859
Merge branch 'master' into branch-DGrefine
ninggggx99 Nov 9, 2020
10444d9
Merge pull request #309 from ninggggx99/branch-DGrefine
matthewgani Nov 9, 2020
457cb84
Added new features
ninggggx99 Nov 9, 2020
95499f3
Update with bye
ninggggx99 Nov 9, 2020
eb14dc3
Merge pull request #311 from ninggggx99/branch-PPPrefine
matthewgani Nov 9, 2020
b914063
Merge pull request #313 from ninggggx99/branch-DGBye
matthewgani Nov 9, 2020
706287a
Additional help files added
Colin386 Nov 9, 2020
181d874
Merge branch 'master' into branch-DeveloperGuideV1
Colin386 Nov 9, 2020
d090c02
- Developer guide intro added
ninggggx99 Nov 9, 2020
d694d53
Merge pull request #315 from ninggggx99/branch-DGintro
ninggggx99 Nov 9, 2020
2da640a
PPP update jar version
ninggggx99 Nov 9, 2020
1da1e4b
Update DG
marcursor Nov 9, 2020
4a0b306
Merge branch 'master' into branch-DevGuide
marcursor Nov 9, 2020
209de19
Merge pull request #302 from marcursor/branch-DevGuide
marcursor Nov 9, 2020
5a9bf4e
Update Junit with testing for invalid date range
ninggggx99 Nov 9, 2020
842adbb
Merge pull request #317 from ninggggx99/branch-PPPVersion
ninggggx99 Nov 9, 2020
bcd6cdd
Merge pull request #319 from ninggggx99/branch-DeadlineJunitUpdate
ninggggx99 Nov 9, 2020
9f8b945
Fixed PPP and 2 Sequence diagrams
matthewgani Nov 9, 2020
36672a7
Merge branch 'master' into branch-PPPFinal
matthewgani Nov 9, 2020
1cec967
Add dg changes
Colin386 Nov 9, 2020
52fe22b
test push
Colin386 Nov 9, 2020
2ab52a4
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
Colin386 Nov 9, 2020
62fd383
Merge branch 'master' into branch-DeveloperGuideV1
Colin386 Nov 9, 2020
9d7b266
grave accent symbol
Colin386 Nov 9, 2020
176d646
escape grave
Colin386 Nov 9, 2020
4e52179
Merge pull request #320 from Colin386/branch-DeveloperGuideV1
Colin386 Nov 9, 2020
ea6838f
Merge pull request #321 from matthewgani/branch-PPPFinal
matthewgani Nov 9, 2020
2186666
Conflict in pulling
ninggggx99 Nov 9, 2020
0754da0
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
ninggggx99 Nov 9, 2020
2b8651b
fixug
matthewgani Nov 9, 2020
41049e7
qna fix
matthewgani Nov 9, 2020
40763e9
QNA fix to use grave
matthewgani Nov 9, 2020
4351d32
Add diagrams to DG
marcursor Nov 9, 2020
6299e46
Merge branch 'master' into branch-DevGuide
marcursor Nov 9, 2020
7ad2023
Merge pull request #322 from matthewgani/branch-fixug
matthewgani Nov 9, 2020
7cf79ea
Merge branch 'master' into branch-DevGuide
marcursor Nov 9, 2020
45e11b9
Merge pull request #323 from marcursor/branch-DevGuide
marcursor Nov 9, 2020
eb11c7b
Escape character for scheduler--
matthewgani Nov 9, 2020
be15f00
Fix scheduler--
matthewgani Nov 9, 2020
11a824b
Merge pull request #324 from matthewgani/branch-fixug
matthewgani Nov 9, 2020
00f122b
Developer guide updates
Colin386 Nov 9, 2020
6a5965f
Merge pull request #325 from Colin386/branch-dgupdate
Colin386 Nov 9, 2020
17eb87e
Fix some UG code not seen properly
matthewgani Nov 9, 2020
928ba70
Update DG
Reinbowl Nov 9, 2020
f816c00
Add notes and warnings
marcursor Nov 9, 2020
db19e9a
Update DG
Reinbowl Nov 9, 2020
4cfe1cc
Update DG
Reinbowl Nov 9, 2020
ae164f5
Merge pull request #327 from Reinbowl/developerguide
marcursor Nov 9, 2020
febf6b7
Merge pull request #328 from marcursor/branch-UserGuide
marcursor Nov 9, 2020
0c9e17c
Warning for snippets not being exactly the same
matthewgani Nov 9, 2020
7aef2c2
Merge pull request #326 from matthewgani/branch-fixug
marcursor Nov 9, 2020
7b682ce
Remove unnecessary line from UG
matthewgani Nov 9, 2020
6490ee7
Correct typo
marcursor Nov 9, 2020
1a31bd3
Merge branch 'master' into branch-UserGuide
marcursor Nov 9, 2020
f2739ae
Merge pull request #329 from matthewgani/branch-fixug
matthewgani Nov 9, 2020
74e92ab
Merge pull request #330 from marcursor/branch-UserGuide
marcursor Nov 9, 2020
95d0ab7
last dg update
Colin386 Nov 9, 2020
8b73dc6
Merge pull request #331 from Colin386/branch-dgupdatelast
Colin386 Nov 9, 2020
22476a2
Update PPP
marcursor Nov 9, 2020
da1755d
Set theme jekyll-theme-cayman
marcursor Nov 9, 2020
c062ecc
Delete _config.yml
marcursor Nov 9, 2020
dd393d5
no message
marcursor Nov 9, 2020
ad5d4f8
Merge branch 'master' of https://github.com/marcursor/tp
marcursor Nov 9, 2020
29c4fd2
Fix PPP links
marcursor Nov 10, 2020
c53deec
Merge pull request #332 from marcursor/branch-PPPfix
marcursor Nov 10, 2020
fa66b91
Updated UG for CS2101, for add and extract commands.
matthewgani Nov 11, 2020
bface07
Merge pull request #333 from matthewgani/branch-2101UG
matthewgani Nov 11, 2020
c67aa24
repeat user guide change
Colin386 Nov 11, 2020
af57a88
Merge branch 'master' into branch-UserGuideV3
Colin386 Nov 11, 2020
1bc0c6c
Merge pull request #334 from Colin386/branch-UserGuideV3
Colin386 Nov 11, 2020
c5d1bca
Update command summary table format and convert to an image
marcursor Nov 11, 2020
3464ed6
Merge commit 'ad5d4f8fd18ed95e0f3adc84fd46ed302c13e5d9'
marcursor Nov 11, 2020
1812f85
no message
marcursor Nov 11, 2020
d56ad3f
Merge pull request #335 from marcursor/branch-UG
marcursor Nov 11, 2020
14a9578
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
marcursor Nov 11, 2020
60caf58
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
ninggggx99 Nov 11, 2020
186e013
Updating ug with scenarios
ninggggx99 Nov 11, 2020
bd3a568
Merge pull request #336 from ninggggx99/branch-updateug
ninggggx99 Nov 12, 2020
423766c
updating help
ninggggx99 Nov 12, 2020
a40fa8d
view
ninggggx99 Nov 12, 2020
08e429b
Update UG
Reinbowl Nov 12, 2020
41aeaff
removing extra a
ninggggx99 Nov 12, 2020
2f74eac
Fixed some full stops and small formatting issues, as well as 1.4
matthewgani Nov 12, 2020
ca03c86
Merge pull request #337 from ninggggx99/branch-updateug
matthewgani Nov 12, 2020
b17a3b7
Merge pull request #338 from Reinbowl/userguide
matthewgani Nov 12, 2020
7d1e9ee
Merge pull request #339 from matthewgani/branch-CS2101UG
matthewgani Nov 12, 2020
4680e2c
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
marcursor Nov 12, 2020
60cc88f
Edited extract
matthewgani Nov 12, 2020
fe73b3f
Update UG to use example usage format
marcursor Nov 12, 2020
ef2a6fc
Correct config inconsistency in branch
marcursor Nov 12, 2020
f0cba66
Merge pull request #340 from marcursor/branch-UGv2
marcursor Nov 12, 2020
61d6cd5
some ug changes
Colin386 Nov 13, 2020
94a45e7
Merge branch 'master' into branch-CS2101UG
matthewgani Nov 13, 2020
6984ec2
Merge pull request #341 from matthewgani/branch-CS2101UG
matthewgani Nov 13, 2020
480ed04
more user guide changes
Colin386 Nov 13, 2020
3ab1871
Merge branch 'master' into branch-UserGuideV4
Colin386 Nov 13, 2020
ed5a7f3
Merge pull request #342 from Colin386/branch-UserGuideV4
Colin386 Nov 13, 2020
61e1648
deleted extra stuff
ninggggx99 Nov 13, 2020
553ed82
Merge pull request #343 from ninggggx99/branch-ugfinal
ninggggx99 Nov 13, 2020
b923c88
Update UG
Reinbowl Nov 13, 2020
af575da
Merge pull request #344 from Reinbowl/userguide
Reinbowl Nov 13, 2020
d152e7c
Update user guide
marcursor Nov 13, 2020
a5f3c50
Add hyperlink
marcursor Nov 13, 2020
5b1a2f5
Add example usage intro sentence
marcursor Nov 13, 2020
ea5883d
Merge pull request #345 from marcursor/branch-UGv2
marcursor Nov 13, 2020
f933a60
Fix command summary table border
marcursor Nov 13, 2020
c95e521
Merge branch 'master' into branch-UGv2
marcursor Nov 13, 2020
dae318b
Fixed overall consistency in UG
matthewgani Nov 13, 2020
2eacc61
Merge branch 'master' into branch-CS2101UG
matthewgani Nov 13, 2020
2c71d9e
Merge pull request #346 from marcursor/branch-UGv2
marcursor Nov 13, 2020
f465efe
Merge branch 'master' into branch-CS2101UG
matthewgani Nov 13, 2020
69ce24d
Merge pull request #347 from matthewgani/branch-CS2101UG
matthewgani Nov 13, 2020
a8694f7
Fixed some typos
matthewgani Nov 13, 2020
7a459d0
FIxed extract command scenario
matthewgani Nov 13, 2020
9160426
add scenario for reminder
ninggggx99 Nov 13, 2020
2d3d093
changes to save and bye
Colin386 Nov 13, 2020
88176ae
Update scenario for done
marcursor Nov 13, 2020
05db56e
Merge pull request #348 from ninggggx99/branch-ugfinal
Colin386 Nov 13, 2020
b96e2f4
Fixed formatting
matthewgani Nov 13, 2020
77b1604
Merge branch 'master' into branch-UserGuideV5
Colin386 Nov 13, 2020
6872699
Merge branch 'master' into branch-CS2101UG
matthewgani Nov 13, 2020
da58fa9
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T12-4/tp
marcursor Nov 13, 2020
4675188
Merge pull request #349 from Colin386/branch-UserGuideV5
matthewgani Nov 13, 2020
549ac68
Merge pull request #350 from matthewgani/branch-CS2101UG
matthewgani Nov 13, 2020
4861143
Merge pull request #351 from marcursor/branch-UGv2
marcursor Nov 13, 2020
6a95a80
bullet points added
Colin386 Nov 13, 2020
b850fef
Merge pull request #352 from Colin386/branch-UserGuideV6
Colin386 Nov 13, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ src/main/resources/docs/
*.iml
bin/

src/main/java/META-INF
data

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}
1 change: 1 addition & 0 deletions data/goal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello there
12 changes: 7 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

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) | Colin Ng | [Github](https://github.com/Colin386) | [Portfolio](docs/team/colinNg.md)
![](https://via.placeholder.com/100.png?text=Photo) | Marcus Tan | [Github](https://github.com/marcursor) | [Portfolio](docs/team/marcustan.md)
![](https://via.placeholder.com/100.png?text=Photo) | Matthew Gani | [Github](https://github.com/matthewgani) | [Portfolio](docs/team/matthewgani.md)
![](https://via.placeholder.com/100.png?text=Photo) | Low Qing Ning | [Github](https://github.com/ninggggx99) | [Portfolio](docs/team/lowqingning.md)
![](https://via.placeholder.com/100.png?text=Photo) | Marcus Ng | [Github](https://github.com/reinbowl) | [Portfolio](team/marcusng.md)


602 changes: 589 additions & 13 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

751 changes: 732 additions & 19 deletions docs/UserGuide.md

Large diffs are not rendered by default.

Binary file added docs/diagrams/Architecture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/CheckCommand_seq_diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/Command.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/DeadlineScenario.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/DeadlineSequenceDiagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/GoalExecuteSequenceDiagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/GoalParseSequenceDiagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/ListParseSequenceDiagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/Parser_diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/RepeatScenario.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/UserData_diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/addCommand.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/classDiagramStorage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/getDate_seq_diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/repeatstep7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/diagrams/storageOverall.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/team/colinNg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Colin Ng - Project Portfolio Page

## Overview


### Summary of Contributions
Changed about us file
6 changes: 6 additions & 0 deletions docs/team/lowqingning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Low Qing Ning - Project Portfolio Page

## Overview


### Summary of Contributions
6 changes: 6 additions & 0 deletions docs/team/marcusng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Marcus Ng - Project Portfolio Page

## Overview


### Summary of Contributions
6 changes: 6 additions & 0 deletions docs/team/marcustan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Marcus Tan - Project Portfolio Page

## Overview


### Summary of Contributions
File renamed without changes.
1 change: 1 addition & 0 deletions goalStoreTest/goal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Float like a bumblebee
88 changes: 84 additions & 4 deletions src/main/java/seedu/duke/Duke.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,89 @@
package seedu.duke;

import seedu.duke.command.Command;
import seedu.duke.command.ReminderCommand;
import seedu.duke.data.UserData;
import seedu.duke.event.EventList;
import seedu.duke.exception.DukeException;
import seedu.duke.parser.Parser;
import seedu.duke.storage.Storage;
import seedu.duke.storage.StorageParser;
import seedu.duke.ui.Ui;

import java.nio.file.Path;
import java.util.Scanner;

public class Duke {

private Storage storage;
private UserData data;
private Ui ui;
private Command com;
private Parser currentParse;

//Location refers to the "data" directory stored in the folder of this application
private static final String FILELOCATION = "data";


/**
* Constructor for the Schedule components.
*
* @param filePath is a string containing the location of where the data text files are to be stored
*/
public Duke(String filePath) {
ui = new Ui();

storage = new Storage(filePath, ui);

data = new UserData();

currentParse = new Parser();

}

/**
* Main entry-point for the java.duke.Duke application.
* Main run function. Loops until the bye command is entered.
*/
public static void main(String[] args) {
String logo = " ____ _ \n"
public void run() {

ui.printWelcomeMessage();
storage.loadAll(data);
ui.printDividerLine();
try {
Command reminder = currentParse.parse("reminder");
reminder.execute(data, ui, storage);
} catch (DukeException e) {
ui.printErrorMessage(e.getMessage());
}

boolean isExit = false;
while (!isExit) {
try {

ui.printDividerLine();
String userInput = ui.receiveCommand();
ui.printDividerLine();
Command c = currentParse.parse(userInput);
isExit = c.isExit();

c.execute(data, ui, storage);

} catch (DukeException e) {
ui.printErrorMessage(e.getMessage());
}
}
storage.saveAll(data);
ui.printByeMessage();

}

/**
* Main function where the program starts.
*
* @param args No arguments entered so far
*/
public static void main(String[] args) throws Exception {
/*String logo = " ____ _ \n"
+ "| _ \\ _ _| | _____ \n"
+ "| | | | | | | |/ / _ \\\n"
+ "| |_| | |_| | < __/\n"
Expand All @@ -16,6 +92,10 @@ public static void main(String[] args) {
System.out.println("What is your name?");

Scanner in = new Scanner(System.in);
System.out.println("Hello " + in.nextLine());
System.out.println("Hello " + in.nextLine());*/
Duke duke = new Duke(FILELOCATION);
duke.run();
}


}
217 changes: 217 additions & 0 deletions src/main/java/seedu/duke/command/AddCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
package seedu.duke.command;

import seedu.duke.data.UserData;
import seedu.duke.event.Personal;
import seedu.duke.event.Timetable;
import seedu.duke.event.Zoom;
import seedu.duke.exception.DukeException;
import seedu.duke.exception.DateErrorException;
import seedu.duke.exception.TimeErrorException;
import seedu.duke.exception.WrongNumberOfArgumentsException;
import seedu.duke.exception.EventAddErrorException;
import seedu.duke.parser.DateTimeParser;
import seedu.duke.storage.Storage;
import seedu.duke.ui.Ui;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Arrays;


/**
* Command to add events.
*/
public class AddCommand extends Command {
private String eventType;
private String argument;
private Boolean isInvalidEventType = false;

/**
* Constructor for adding events seedu.duke
*
* @param command from user input
*/
public AddCommand(String command) {
this.isExit = false;
if (command == null || command.equals("") || command.equals(" ")) {
isInvalidEventType = true;
} else {
String[] commandWords = command.split(" ");
String tempEventType = commandWords[0].toLowerCase();
switch (tempEventType) {
case "zoom":
eventType = "Zoom";
break;
case "personal":
eventType = "Personal";
break;
case "timetable":
eventType = "Timetable";
break;
default:
isInvalidEventType = true;
break;
}
String[] argumentWords = Arrays.copyOfRange(commandWords, 1, commandWords.length);
argument = String.join(" ", argumentWords);
}
}

/**
* Adds an event to individual eventLists.
*
* @param data object of UserData class containing user's data.
* @param ui containing the responses to print.
* @param storage with the save file path to write to.
*/
@Override
public void execute(UserData data, Ui ui, Storage storage) throws DukeException {
if (argument == null) {
throw new EventAddErrorException("Wrong format for the add command!");
}
if (isInvalidEventType) {
throw new EventAddErrorException("Invalid event type to be added!");
}
if (argument.equals("")) {
throw new EventAddErrorException("Empty description for the event!");
}

try {
String[] argumentWords = argument.split(";");
switch (eventType) {
case "Personal":
addPersonal(data, ui, argumentWords);
ui.printEventAddedMessage(data.getEventList(eventType).getNewestEvent());
storage.saveFile(storage.getFileLocation(eventType), data, eventType);
break;
case "Zoom":
addZoom(data, ui, argumentWords);
ui.printEventAddedMessage(data.getEventList(eventType).getNewestEvent());
storage.saveFile(storage.getFileLocation(eventType), data, eventType);
break;
case "Timetable":
addTimetable(data, ui, argumentWords);
ui.printEventAddedMessage(data.getEventList(eventType).getNewestEvent());
storage.saveFile(storage.getFileLocation(eventType), data, eventType);
break;
default:
throw new EventAddErrorException("Invalid event type to be added!");
}
} catch (DukeException e) {
e.printErrorMessage();
}
}

/**
* Adds a Timetable event.
*
* @param data object of UserData class containing user's data.
* @param ui containing the responses to print.
* @param argumentWords String array containing user input arguments
* @return Boolean that confirms if the event was added
*/
private void addTimetable(UserData data, Ui ui, String[] argumentWords) throws DukeException {
if (argumentWords.length == 3 || argumentWords.length == 4) {
// 2 cases: description & date & time , description & location & date & time
if (argumentWords.length == 3) {
try {
LocalDate localDate = DateTimeParser.dateParser(argumentWords[1].trim());
assert localDate != null : "date is not detected after parsing";
LocalTime localTime = DateTimeParser.timeParser(argumentWords[2].trim());
assert localTime != null : "time is not detected after parsing";
data.addToEventList("Timetable", new Timetable(argumentWords[0].trim(), localDate, localTime));
} catch (DateErrorException e) {
throw new DateErrorException("Something is wrong with the date!");
} catch (TimeErrorException e) {
throw new TimeErrorException("Something is wrong with the time!");
}
} else {
try {
LocalDate localDate = DateTimeParser.dateParser(argumentWords[2].trim());
assert localDate != null : "date is not detected after parsing";
LocalTime localTime = DateTimeParser.timeParser(argumentWords[3].trim());
assert localTime != null : "time is not detected after parsing";
data.addToEventList("Timetable", new Timetable(argumentWords[0].trim(),
argumentWords[1].trim(), localDate, localTime));
} catch (DateErrorException e) {
throw new DateErrorException("Something is wrong with the date!");
} catch (TimeErrorException e) {
throw new TimeErrorException("Something is wrong with the time!");
}
}
} else {
throw new WrongNumberOfArgumentsException("Incorrect number of parameters for Timetable event!");
}
}

/**
* Adds a Personal event.
*
* @param data object of UserData class containing user's data.
* @param ui containing the responses to print.
* @param argumentWords String array containing user input arguments
* @return Boolean that confirms if the event was added
*/
private void addPersonal(UserData data, Ui ui, String[] argumentWords) throws DukeException {
if (argumentWords.length >= 1 && argumentWords.length <= 3) {
// 3 cases: only description, description and date, description and date and time
if (argumentWords.length == 1) {
data.addToEventList("Personal", new Personal(argumentWords[0].trim()));
} else if (argumentWords.length == 2) {
try {
LocalDate localDate = DateTimeParser.dateParser(argumentWords[1].trim());
assert localDate != null : "date is not detected after parsing";
data.addToEventList("Personal", new Personal(argumentWords[0].trim(), localDate));
} catch (DateErrorException e) {
throw new DateErrorException("Something is wrong with the date!");
}
} else {
try {
LocalDate localDate = DateTimeParser.dateParser(argumentWords[1].trim());
assert localDate != null : "date is not detected after parsing";
LocalTime localTime = DateTimeParser.timeParser(argumentWords[2].trim());
assert localTime != null : "time is not detected after parsing";
data.addToEventList("Personal", new Personal(argumentWords[0].trim(), localDate, localTime));
} catch (DateErrorException e) {
throw new DateErrorException("Something is wrong with the date!");
} catch (TimeErrorException e) {
throw new TimeErrorException("Something is wrong with the time!");
}
}
} else {
throw new WrongNumberOfArgumentsException("Incorrect number of parameters for Personal event!");
}
}

/**
* Adds a Zoom event.
*
* @param data object of UserData class containing user's data.
* @param ui containing the responses to print.
* @param argumentWords String array containing user input arguments
* @return Boolean that confirms if the event was added
*/
private void addZoom(UserData data, Ui ui, String[] argumentWords) throws DukeException {
if (argumentWords.length == 2 || argumentWords.length == 4) {
// 2 cases: only have description & zoomlink , have description,zoomlink, date,time
if (argumentWords.length == 2) {
data.addToEventList("Zoom", new Zoom(argumentWords[0].trim(), argumentWords[1].trim()));
} else {
try {
LocalDate localDate = DateTimeParser.dateParser(argumentWords[2].trim());
assert localDate != null : "date is not detected after parsing";
LocalTime localTime = DateTimeParser.timeParser(argumentWords[3].trim());
assert localTime != null : "time is not detected after parsing";
data.addToEventList("Zoom", new Zoom(argumentWords[0].trim(),
argumentWords[1].trim(), localDate, localTime));
} catch (DateErrorException e) {
throw new DateErrorException("Something is wrong with the date!");
} catch (TimeErrorException e) {
throw new TimeErrorException("Something is wrong with the time!");
}
}
} else {
throw new WrongNumberOfArgumentsException("Incorrect number of parameters for Zoom event!");
}
}
}
Loading