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

[CS2113T-T10-3] Mod Happy #9

Open
wants to merge 586 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
586 commits
Select commit Hold shift + click to select a range
b290e03
Update confirmation to use TextUi instead of Scanner
ngys117 Mar 29, 2022
7d94630
Update the Regex for OptionParser
Ch40gRv1-Mu Mar 29, 2022
311cd2c
Update Class Diagram for DeleteCommand
ngys117 Mar 29, 2022
38cab52
Update Command Diagram Note
ngys117 Mar 29, 2022
ddf59d2
Update UG phrasing and formatting
chooyikai Mar 29, 2022
a68f995
Fix Coding standards
Ch40gRv1-Mu Mar 29, 2022
36750db
added javadoc
Yzkkk Mar 29, 2022
2330582
Merge pull request #114 from Yzkkk/master
heekit73098 Mar 29, 2022
f037650
Update OptionCommand regex and refactor configuration values
heekit73098 Mar 30, 2022
04b484a
Edit UG based on peer review feedback
chooyikai Mar 30, 2022
d07a47e
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
ngys117 Mar 30, 2022
c767879
Change TextUi Methods
ngys117 Mar 30, 2022
44910c3
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Mar 30, 2022
fb40b04
Fixed regex for Help Command
heekit73098 Mar 30, 2022
fc133fe
Update code quality
heekit73098 Mar 30, 2022
5a134bc
Update DG to show abstract and interfaces explicitly
ngys117 Mar 30, 2022
11ad550
Fixed JUnit Tests
heekit73098 Mar 30, 2022
d590850
Merge pull request #115 from ngys117/branch-PR-CleanUp
heekit73098 Mar 30, 2022
eae5bcc
Added Content page to DG
heekit73098 Mar 30, 2022
34ff0f1
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp
ngys117 Mar 30, 2022
843fd8d
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Mar 30, 2022
d6f7b93
Fixed regex for tag
heekit73098 Mar 30, 2022
32c8286
minor edit
Yzkkk Mar 30, 2022
2808796
Merge branch 'master' into minor-edits
chooyikai Mar 30, 2022
1b45f9e
Added Grade and Edit feature, User stories and front matters
heekit73098 Mar 30, 2022
a577470
Fix class diagrams (hopefully)
chooyikai Mar 30, 2022
79d007a
Add TaskDuration class and corresponding JUnit
Ch40gRv1-Mu Mar 30, 2022
bff52e4
Fix ModHappyParser
Ch40gRv1-Mu Mar 30, 2022
11def20
Fix coding standard
Ch40gRv1-Mu Mar 30, 2022
cdcdff6
Update TaskDuration
Ch40gRv1-Mu Mar 30, 2022
e9b3a24
Update TextUiTest
Ch40gRv1-Mu Mar 30, 2022
35610e7
Merge branch 'master' into branch-update-ugdg
Ch40gRv1-Mu Mar 30, 2022
d9f5d75
Update UG for duration
Ch40gRv1-Mu Mar 30, 2022
e1e05de
Merge branch 'branch-update-ugdg' of https://github.com/Ch40gRv1-Mu/t…
Ch40gRv1-Mu Mar 30, 2022
6fba17e
Update StringConstants
Ch40gRv1-Mu Mar 30, 2022
82ca730
Update TaskDuration
Ch40gRv1-Mu Mar 30, 2022
2faf4f8
Merge pull request #124 from Ch40gRv1-Mu/branch-refactor-duration
heekit73098 Mar 30, 2022
b3c776f
Update DG
Ch40gRv1-Mu Mar 30, 2022
11f4400
Merge pull request #118 from Ch40gRv1-Mu/branch-update-ugdg
heekit73098 Mar 30, 2022
02f6f20
Merge branch 'master' into minor-edits
chooyikai Mar 30, 2022
70f5e66
Update DG
heekit73098 Mar 30, 2022
3c165c8
Fix #125, update some JUnit tests
chooyikai Mar 30, 2022
d6d4d2e
Fix bug and limit the available MCs
heekit73098 Mar 30, 2022
5535496
Update UG, fix some bugs
chooyikai Mar 30, 2022
4a0504f
Merge pull request #116 from chooyikai/minor-edits
heekit73098 Mar 30, 2022
06b4fb2
Added Seq Diagrams
heekit73098 Mar 30, 2022
f684ba6
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Mar 30, 2022
5c96be8
Update Code Quality
heekit73098 Mar 30, 2022
d2a9710
Fix Code Quality
heekit73098 Mar 30, 2022
996585b
Fixed Code Quality
heekit73098 Mar 30, 2022
f5777ac
Merge pull request #121 from heekit73098/branch-expandExceptions
chooyikai Mar 30, 2022
59387bb
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Mar 30, 2022
d48a6e8
Removed image
heekit73098 Mar 30, 2022
0dd31fd
Remove Debug
heekit73098 Mar 30, 2022
d570cbc
Removed debug statement
heekit73098 Mar 30, 2022
6b4e1b6
Merge pull request #126 from heekit73098/branch-expandExceptions
chooyikai Mar 30, 2022
76b4b97
Update contents in UG
heekit73098 Mar 30, 2022
15a7dfa
Merge pull request #127 from heekit73098/branch-updateDG
Ch40gRv1-Mu Mar 30, 2022
39bd014
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp
ngys117 Mar 31, 2022
36d8103
minor edits
Yzkkk Mar 31, 2022
47f4018
resolved merge conflicts
Yzkkk Mar 31, 2022
a75baab
made some error messages more informative
Yzkkk Apr 2, 2022
f8c8075
made changes on documentation
Yzkkk Apr 2, 2022
a26d262
minor edits
Yzkkk Apr 2, 2022
697c3ef
minor edits
Yzkkk Apr 2, 2022
7a684a6
commented some of the test cases
Yzkkk Apr 2, 2022
1fbbb85
commented junit test case
Yzkkk Apr 2, 2022
3e7902f
added exception to account for spaces added as parameters
Yzkkk Apr 2, 2022
c8fba54
minor edits
Yzkkk Apr 2, 2022
4cd906f
minor edits
Yzkkk Apr 2, 2022
c7bdac3
minor edits
Yzkkk Apr 2, 2022
8f92607
minor edits
Yzkkk Apr 2, 2022
41a61b0
Fix unhandled null exception when deleting a module that does
ngys117 Apr 3, 2022
a51e674
Refactor code to reduce arrowhead
ngys117 Apr 3, 2022
884047f
made error messages and exceptions more descriptive
Yzkkk Apr 3, 2022
37689f0
minor edits
Yzkkk Apr 3, 2022
0d33ed7
commented out some test cases
Yzkkk Apr 3, 2022
aa9152c
Fix Typos
ngys117 Apr 3, 2022
c512ff9
Remove number of tasks message
ngys117 Apr 3, 2022
282df85
Add JUnit test
ngys117 Apr 3, 2022
86a2924
Update UG
Ch40gRv1-Mu Apr 4, 2022
b4c56c8
Fix editing a non-existent module throwing a null exception
ngys117 Apr 4, 2022
f87fcf8
Updates user guide
Ch40gRv1-Mu Apr 4, 2022
95f6f8a
Add comment to DeleteCommand
ngys117 Apr 4, 2022
c6001d6
Update Developer guide
Ch40gRv1-Mu Apr 4, 2022
95d65fc
Merge pull request #171 from ngys117/branch-PR-BugFixes
Ch40gRv1-Mu Apr 4, 2022
d6b375d
Merge branch 'master' into branch-update-ug-dg-fix-bugs
Ch40gRv1-Mu Apr 4, 2022
48908bd
Refactor Code for Issue #172
ngys117 Apr 4, 2022
6ea147e
Update User guide
Ch40gRv1-Mu Apr 4, 2022
cb19dd6
Merge branch 'branch-update-ug-dg-fix-bugs' of https://github.com/Ch4…
Ch40gRv1-Mu Apr 4, 2022
9a04af2
Upgrade UG
Ch40gRv1-Mu Apr 4, 2022
552c7d0
Update UG
Ch40gRv1-Mu Apr 4, 2022
e730e3a
Merge pull request #173 from Ch40gRv1-Mu/branch-update-ug-dg-fix-bugs
heekit73098 Apr 4, 2022
4775b20
documented regex
Yzkkk Apr 4, 2022
95423fa
minor edits
Yzkkk Apr 4, 2022
3240da2
Code cleanup as per TA feedback
chooyikai Apr 5, 2022
5b2043b
Fix #136 and #140
chooyikai Apr 5, 2022
a8a20bd
fixed bugs
Yzkkk Apr 5, 2022
f6b005a
Merge branch 'master' into master
Yzkkk Apr 5, 2022
3f15a99
minor edits
Yzkkk Apr 5, 2022
2ea2877
resolved merge conflict
Yzkkk Apr 5, 2022
f852dba
minor edits
Yzkkk Apr 5, 2022
0fb6530
Merge branch 'master' of https://github.com/Yzkkk/tp
Yzkkk Apr 5, 2022
0945884
Attempt to fix UG formatting
chooyikai Apr 6, 2022
f58705f
Fix some inconsistencies
chooyikai Apr 6, 2022
df0097c
Update user input prompt to match UG
chooyikai Apr 6, 2022
360d836
Add PPP draft
chooyikai Apr 6, 2022
f1454f2
updated code quality
Yzkkk Apr 6, 2022
b551a1d
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp
ngys117 Apr 6, 2022
17eedef
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
ngys117 Apr 6, 2022
e00d2c8
Merge pull request #123 from Yzkkk/master
heekit73098 Apr 6, 2022
54d8664
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
ngys117 Apr 6, 2022
16404ee
Add Product Portfolio Page
ngys117 Apr 6, 2022
2757d55
Merge branch 'master' into bugfix
chooyikai Apr 6, 2022
ab75334
Update tag op exception
ngys117 Apr 6, 2022
601eb9b
Add InvalidFlagException to Junit
ngys117 Apr 6, 2022
c3c36f7
Update ModuleList method according to suggestion
ngys117 Apr 6, 2022
2c8e0d6
Update Junit
ngys117 Apr 6, 2022
dc48f7a
Fix PPP headings
ngys117 Apr 6, 2022
ab07581
Update AboutUs.md
ngys117 Apr 6, 2022
1789b64
Update AboutUs.md
ngys117 Apr 6, 2022
fdcf1a8
Fix hyperlink error in about us
chooyikai Apr 6, 2022
62a6437
Merge pull request #174 from ngys117/branch-PR-BugFixes
chooyikai Apr 6, 2022
ead01ef
Merge branch 'master' into bugfix
chooyikai Apr 6, 2022
b714227
Merge pull request #175 from chooyikai/bugfix
ngys117 Apr 6, 2022
46db8ef
Added more descriptive error messages
heekit73098 Apr 6, 2022
3f6c215
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Apr 6, 2022
99c45f6
Update TagException
heekit73098 Apr 6, 2022
fbced7f
Update code quality
heekit73098 Apr 6, 2022
86bd02f
Add PPP of Mu Changrui
Ch40gRv1-Mu Apr 7, 2022
5e86af2
update PPP
heekit73098 Apr 7, 2022
7f055ae
Update code based on comments
heekit73098 Apr 7, 2022
ae145af
update code quality
heekit73098 Apr 7, 2022
5ca6c2d
Merge pull request #176 from heekit73098/branch-bugfix
Yzkkk Apr 7, 2022
7c6cc05
Merge pull request #178 from heekit73098/branch-PPP
heekit73098 Apr 7, 2022
e1494a8
Merge pull request #1 from Ch40gRv1-Mu/master
Ch40gRv1-Mu Apr 7, 2022
8aea8d6
Update Task
Ch40gRv1-Mu Apr 7, 2022
868686e
Update Main, Add ModHappyStorageManager
Ch40gRv1-Mu Apr 7, 2022
ea106fc
Update the ModHappyStorageManager
Ch40gRv1-Mu Apr 7, 2022
f5badfc
Update the TaskDuration
Ch40gRv1-Mu Apr 7, 2022
eeec022
Update the ModHappyParserTest
Ch40gRv1-Mu Apr 7, 2022
fecab06
Edited task duration format and added PPP
Yzkkk Apr 7, 2022
de19c97
Update Userguid
Ch40gRv1-Mu Apr 7, 2022
f81bbf7
updated UG
Yzkkk Apr 7, 2022
ad7232c
updated PPP
Yzkkk Apr 7, 2022
0d6da5d
Modify name of PPP
Ch40gRv1-Mu Apr 7, 2022
d6fa91c
Add Changrui's PPP
Ch40gRv1-Mu Apr 7, 2022
ee3845f
Merge pull request #181 from Ch40gRv1-Mu/branch-A-PPP
heekit73098 Apr 7, 2022
a64c611
updated PPP
Yzkkk Apr 7, 2022
6315c64
Merge branch 'master' into master
Yzkkk Apr 7, 2022
e4b6474
updated PPP
Yzkkk Apr 7, 2022
1382049
Merge branch 'master' of https://github.com/Yzkkk/tp
Yzkkk Apr 7, 2022
a11a524
Merge pull request #179 from Yzkkk/master
Ch40gRv1-Mu Apr 7, 2022
0bbc0be
Update DG
heekit73098 Apr 7, 2022
099d79e
Update formatting
heekit73098 Apr 7, 2022
644398d
fixed bug
Yzkkk Apr 7, 2022
a20f053
updated code quality
Yzkkk Apr 7, 2022
a7f3421
Update PPP
Ch40gRv1-Mu Apr 7, 2022
eef4447
Update PPP and ModHappyStorageManager
Ch40gRv1-Mu Apr 8, 2022
56aaded
Fix coding standard
Ch40gRv1-Mu Apr 8, 2022
27494cc
Merge branch 'master' into branch-add-ppp-fix-bug-refactoring-storage
Ch40gRv1-Mu Apr 8, 2022
18e96e5
Update ModHappyStorageManager
Ch40gRv1-Mu Apr 8, 2022
9b5a794
Attempt to fix github pages formatting errors
chooyikai Apr 8, 2022
38c71a7
Merge pull request #184 from chooyikai/ug-bugfix-attempt
chooyikai Apr 8, 2022
e5f3d31
Attempt to fix github pages formatting issues... again
chooyikai Apr 8, 2022
88de173
Merge pull request #185 from chooyikai/ug-bugfix-attempt
chooyikai Apr 8, 2022
bdb2e4d
Merge branch 'master' into branch-add-ppp-fix-bug-refactoring-storage
Ch40gRv1-Mu Apr 8, 2022
66bc6a2
Update Userguide
Ch40gRv1-Mu Apr 8, 2022
5191545
Update Userguide
Ch40gRv1-Mu Apr 8, 2022
135d2f8
Update Userguide.md
Ch40gRv1-Mu Apr 8, 2022
b6296de
Merge pull request #180 from Ch40gRv1-Mu/branch-add-ppp-fix-bug-refac…
chooyikai Apr 8, 2022
20045a6
Update based on comments and bug fixes
heekit73098 Apr 8, 2022
5165ae8
update code quality
heekit73098 Apr 8, 2022
c656cb2
Added javadoc and more parser bug fix
heekit73098 Apr 8, 2022
6525396
Merge pull request #182 from heekit73098/branch-PPP
chooyikai Apr 9, 2022
ded1a84
Update UG and puml
Ch40gRv1-Mu Apr 9, 2022
69262ac
Update PPP
Ch40gRv1-Mu Apr 9, 2022
635f30d
Update DG
Ch40gRv1-Mu Apr 9, 2022
b60b98a
Update the exception catch and deleted unremoved system out
Ch40gRv1-Mu Apr 9, 2022
2a699fb
Remove unused import
Ch40gRv1-Mu Apr 9, 2022
6672a7c
Improve code quality
Ch40gRv1-Mu Apr 9, 2022
0285f8b
Updates Storage.puml
Ch40gRv1-Mu Apr 9, 2022
e729d4f
Basic refactoring for parsers for code quality
heekit73098 Apr 9, 2022
33de955
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Apr 9, 2022
caf9f8e
update ppp
heekit73098 Apr 9, 2022
14a79aa
Merge pull request #186 from Ch40gRv1-Mu/branch-update-dg
chooyikai Apr 9, 2022
bd1b775
Merge pull request #187 from heekit73098/branch-PPP
Ch40gRv1-Mu Apr 9, 2022
2783867
Improve Coding Quality
Ch40gRv1-Mu Apr 9, 2022
22559c7
Merge pull request #188 from Ch40gRv1-Mu/branch-improve-coding-quality
chooyikai Apr 9, 2022
9fd5e4f
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp
ngys117 Apr 9, 2022
348cbcd
Added authorship
heekit73098 Apr 9, 2022
a934ccd
Merge pull request #190 from heekit73098/branch-authorship
ngys117 Apr 9, 2022
9936d2b
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp
ngys117 Apr 9, 2022
1374847
Add author tags
ngys117 Apr 9, 2022
ab42bd6
Merge pull request #191 from ngys117/master
Ch40gRv1-Mu Apr 9, 2022
2ecc3b3
Declare Authorship and fix #189
Ch40gRv1-Mu Apr 9, 2022
f79c427
Fix coding standard
Ch40gRv1-Mu Apr 9, 2022
5e40f56
Refactoring the authorship tag
Ch40gRv1-Mu Apr 9, 2022
4c23b80
Update contribution for Ui
Ch40gRv1-Mu Apr 9, 2022
20320b7
Merge pull request #192 from Ch40gRv1-Mu/branch-authorship-fix-bug
chooyikai Apr 9, 2022
bb93231
Add reposense authorship tags
chooyikai Apr 9, 2022
2bfcd62
Improve wording of some error messages
chooyikai Apr 9, 2022
e86a8c0
Merge pull request #193 from chooyikai/reposense
ngys117 Apr 9, 2022
11bff4d
Update code quality and minor bug fixes
heekit73098 Apr 9, 2022
a27be68
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Apr 9, 2022
7ea209e
Add data verification for config file
chooyikai Apr 9, 2022
a76184c
Add more checks for task and module loading
chooyikai Apr 9, 2022
061747e
Fix for null grade
chooyikai Apr 9, 2022
26bab0d
Add reposense tags to new files
chooyikai Apr 9, 2022
8ff7cee
Update DG with details on data-load error handling
chooyikai Apr 9, 2022
101058b
Added Javadoc, bugfix, and allowed "" for editing a task
heekit73098 Apr 9, 2022
1fd476b
Update code quality
heekit73098 Apr 9, 2022
7a96362
update pr based on comments
heekit73098 Apr 10, 2022
5d3a532
Update PPP
heekit73098 Apr 10, 2022
e95b519
Improve code quality
chooyikai Apr 10, 2022
e7ea440
Merge pull request #196 from heekit73098/branch-authorship
Ch40gRv1-Mu Apr 10, 2022
e2cbc69
Merge branch 'master' into config-bugfix
chooyikai Apr 10, 2022
e4f380b
Fix error when removing task description
chooyikai Apr 10, 2022
8e626ae
resolved merge conflict
Yzkkk Apr 10, 2022
3e5a802
Update UG to explain removing parameters
chooyikai Apr 10, 2022
fb00f69
Fix typo in DG
chooyikai Apr 10, 2022
5d6deec
resolved merge conflict, added authorship
Yzkkk Apr 10, 2022
0e7f0da
Merge pull request #194 from chooyikai/config-bugfix
heekit73098 Apr 10, 2022
ecb77c0
minor edits
Yzkkk Apr 10, 2022
17a1081
minor edits
Yzkkk Apr 10, 2022
ae861fb
minor edits
Yzkkk Apr 10, 2022
ea68761
no message
Yzkkk Apr 10, 2022
2ccdf61
Added support for module grade removal
heekit73098 Apr 10, 2022
916430e
Update PPP
heekit73098 Apr 10, 2022
335a614
fixed code quality
heekit73098 Apr 10, 2022
27f9c4a
Fix code quality
heekit73098 Apr 10, 2022
db57bc3
Merge pull request #183 from Yzkkk/master
heekit73098 Apr 10, 2022
5f2786a
Merge branch 'master' of https://github.com/AY2122S2-CS2113T-T10-3/tp…
heekit73098 Apr 10, 2022
5931420
Merge pull request #197 from heekit73098/branch-authorship
chooyikai Apr 10, 2022
387a81d
minor fixing ad added javadoc for exceptions
Yzkkk Apr 10, 2022
83dffd6
updated PPP
Yzkkk Apr 10, 2022
b6425d7
minor fixing
Yzkkk Apr 10, 2022
1638940
Fix UG/DG typos and consistency issues
chooyikai Apr 10, 2022
d18a951
Merge pull request #198 from Yzkkk/master
chooyikai Apr 10, 2022
12b2260
Merge branch 'master' into ugdg-typos
chooyikai Apr 10, 2022
f1b52a2
Fix merge issues
chooyikai Apr 10, 2022
25a7e50
Update UG and PPP, fix bug in config loading
chooyikai Apr 11, 2022
d2e710d
Merge pull request #199 from chooyikai/ugdg-typos
heekit73098 Apr 11, 2022
937b7a6
Fix broken table for the nth time
chooyikai Apr 11, 2022
9c92802
Minor fix to DG
chooyikai Apr 11, 2022
abf75d4
Update DG testing instructions
chooyikai Apr 11, 2022
9c7cac6
Merge pull request #200 from chooyikai/table-fix
heekit73098 Apr 11, 2022
190c130
Update ch40grv1-mu.md
Ch40gRv1-Mu Apr 11, 2022
c9cfa76
Updated ch40grv1-mu.md
Ch40gRv1-Mu Apr 11, 2022
e8e02ae
Merge pull request #201 from Ch40gRv1-Mu/branch-update-PPP
ngys117 Apr 11, 2022
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
16 changes: 0 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,3 @@ jobs:

- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ src/main/resources/docs/
*.iml
bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
text-ui-test/ACTUAL.txt
data/*
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Duke project template
# Duke project template.
test

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.

Expand All @@ -9,7 +10,7 @@ Prerequisites: JDK 11 (use the exact version), update Intellij to the most recen
1. **Ensure Intellij JDK 11 is defined as an SDK**, as described [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk) -- this step is not needed if you have used JDK 11 in a previous Intellij project.
* In the same dialog, you _may have to set the Project language level_ field to the SDK default option.
2. **Import the project _as a Gradle project_**, as described [here](https://se-education.org/guides/tutorials/intellijImportGradleProject.html).
3. **Verify the set up**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
3. **Verify the setup**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
```
> Task :compileJava
> Task :processResources NO-SOURCE
Expand All @@ -36,7 +37,7 @@ Prerequisites: JDK 11 (use the exact version), update Intellij to the most recen

### I/O redirection tests

* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-ui-test` and run the `runtest(.bat/.sh)` script.
* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-seedu.duke.ui-test` and run the `runtest(.bat/.sh)` script.

### JUnit tests

Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repositories {
dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
implementation 'com.google.code.gson:gson:2.8.5'
}

test {
Expand All @@ -29,7 +30,7 @@ test {
}

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

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

run{
standardInput = System.in
enableAssertions = true
}
14 changes: 7 additions & 7 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# About us

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)
| Display | Name | Github Profile | Portfolio |
|-----------------------------------------------------|:-------------:|:-----------------------------------------:|:--------------------------------:|
| ![](https://via.placeholder.com/100.png?text=Photo) | Mu Changrui | [Github](https://github.com/Ch40gRv1-Mu) | [Portfolio](team/ch40grv1-mu.md) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Yang Zikun | [Github](https://github.com/Yzkkk) | [Portfolio](team/yzkkk.md) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Ng Yong Sheng | [Github](https://github.com/ngys117) | [Portfolio](team/ngys117.md) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Choo Yi Kai | [Github](https://github.com/chooyikai/) | [Portfolio](team/chooyikai.md) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Bang Hee Kit | [Github](https://github.com/heekit73098/) | [Portfolio](team/heekit73098.md) |
66 changes: 66 additions & 0 deletions docs/ClassDiagrams/CommandClassDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@startuml
'https://plantuml.com/class-diagram

!define ABSTRACT {abstract}

skinparam classAttributeIconSize 0
skinparam shadowing false
skinparam classFontSize 12
skinparam classAttributeFontSize 12
hide circle

package command {
class "ABSTRACT\nCommand" as Command
class DeleteCommand
class TextUi
class ExitCommand

Command <|-- DeleteCommand
Command <|-- ExitCommand
DeleteCommand ..> CommandResult :creates >
ExitCommand ..> CommandResult :creates >

DeleteCommand ..> TextUi :uses >

class Command {
+execute(): CommandResult ABSTRACT
}

class DeleteCommand {
-moduleCode: String
-taskModule: String
-taskIndex: int
+DeleteCommand(moduleCode: String)
+DeleteCommand(taskModule: String, index: int)
+execute(): CommandResult
+getUserConfirmation(): String {static}
}

class TextUi {
+getUserCommand(): String {static}
+showMessage(): void {static}
}

class ExitCommand {
+execute(): CommandResult
}

class CommandResult {
+CommandResult(result: String)
+toString(): String
}
}

note top of command
Note:
This class diagram only illustrates two
example command types for simplicity.
end note

note left of DeleteCommand
Note:
Dependency on TextUi is
unique to DeleteCommand.
end note

@enduml
Comment on lines +13 to +66

Choose a reason for hiding this comment

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

The use of diagrams is appropriate and they are very clear and easy to follow.

13 changes: 13 additions & 0 deletions docs/ClassDiagrams/Components.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@startuml

actor user
user --> [Ui]
[Ui] --> [Main]
[Main] --> [Parser]
[Parser] --> [Command]: produces >
[Main] --> [Command]: executes >
[Command] --> [Main]: returns feedback to >
[Command] --> [Storage]: writes to >
[Command] --> [Data]: manipulates >
[Main] --> [Storage]: reads from >
@enduml
87 changes: 87 additions & 0 deletions docs/ClassDiagrams/Data.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
@startuml

!define ABSTRACT &#123;abstract&#125;

skinparam classAttributeIconSize 0
skinparam shadowing false
skinparam classFontSize 12
skinparam classAttributeFontSize 12
hide circle

package data {
class ModuleList {
--
+ addModule(m: Module): Module
+ removeModule(moduleCode: String): Module
+ getModule(moduleCode: String): Module
}

class Module {
- moduleCode: String
- moduleDescription: String
- isGeneralTask: boolean
- modularCredit: int
--
+ addTask(task: Task): void
}

class TaskList {
--
+ addTask(task: Task): Task
+ removeTask(index: int): Task
+ addTag(tagDescription: String, index: int): Task
+ deleteTag(tagDescription: String, index: int): Task
}

class Task {
- taskName: String
- taskDescription: String
- isTaskDone: boolean
- workingTime: String
- tags: ArrayList<String>
--
+ getTaskParameterStatus(): TaskParameters
+ toString(): String
}

enum "<<enumeration>>\nTaskParameters" as TaskParameters {
DESCRIPTION_AND_WORKING_TIME
DESCRIPTION_ONLY
WORKING_TIME_ONLY
NO_DESCRIPTION_OR_WORKING_TIME
}
}

note top of data
Note:
Some methods have been
omitted from this class diagram.
end note

ModuleList --> "1..*" Module

Module -r> "1" TaskList
TaskList -r> "*" Task
Task --u> "1" TaskParameters

class Main
hide Main attributes
hide Main methods

Main --> "1" ModuleList

class Command
hide Command attributes
hide Command methods

Command ..> ModuleList

class Storage
hide Storage attributes
hide Storage methods

Storage ..> ModuleList

hide TaskParameters methods

@enduml
16 changes: 16 additions & 0 deletions docs/ClassDiagrams/DataAlternative.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@startuml

skinparam classAttributeIconSize 0
skinparam shadowing false
skinparam classFontSize 12
skinparam classAttributeFontSize 12
hide circle
hide attributes
hide methods

ModuleList --> "*" Module
ModuleList --> "1" TaskList
Module -l> "1" TaskList
TaskList -l> "*" Task

@enduml
60 changes: 60 additions & 0 deletions docs/ClassDiagrams/Parser.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
@startuml

!define ABSTRACT &#123;abstract&#125;

skinparam classAttributeIconSize 0
skinparam shadowing false
skinparam classFontSize 12
skinparam classAttributeFontSize 12
hide circle

package parsers {
class "ABSTRACT\nParser" as Parser {
commandFormat: String
groupNames: HashSet<String>
parsedCommand: HashMap<String, String>
--
+ parseString(str: String): HashMap<String, String>
}

class XYZParser {
+ parseCommand(userInput: String): Command
}

class ModHappyParser {
- getCommandParser(commandWord: String): Parser
+ parseCommand(userInput: String): Command
}
}

note top of XYZParser
XYZParser is any command-specific
parser (e.g. AddParser, TagParser)
end note

Parser <|-u- ModHappyParser
XYZParser <. ModHappyParser: uses <
ModHappyParser <-u- Main

hide Main methods
hide Main attributes

Parser <|-- XYZParser

class "ABSTRACT\nCommand" as Command {
}
hide Command methods
hide Command attributes

XYZCommand <.u. ModHappyParser: returns <
Command <|-- XYZCommand

hide XYZCommand methods
hide XYZCommand attributes

note bottom of XYZCommand
XYZCommand is any command
(e.g. AddCommand, TagCommand)
end note

@enduml
Loading