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-T12-4] WellNUS++ #25

Open
wants to merge 1,256 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1256 commits
Select commit Hold shift + click to select a range
a3bceb3
Improve output clarity for attempting update/delete for empty habit list
YongbinWang Apr 8, 2023
8e5ebad
Update wenxin PPP content
wenxin-c Apr 8, 2023
19546aa
Fix typo in wenxin PPP
wenxin-c Apr 8, 2023
dc03203
Merge pull request #294 from YongbinWang/update-developerguide
wenxin-c Apr 8, 2023
5dd4f12
Simplify self reflection sequence diagram
wenxin-c Apr 8, 2023
a0a09c8
Merge branch 'master' into document-WenxinPPPUpdate
wenxin-c Apr 8, 2023
419fbf8
Implement printing for decrement as well to differe from increment pr…
YongbinWang Apr 8, 2023
db3a2a7
Update focusmanager description
nichyjt Apr 8, 2023
03f4a46
Update error message for clarity
nichyjt Apr 8, 2023
ab42a5e
Add UI-specific logic and break logical checks
nichyjt Apr 8, 2023
59cdff9
Use OS-agnostic line separator
nichyjt Apr 8, 2023
d2bd8dd
Merge branch 'master' into task-improveDgFormatting
haoyangw Apr 8, 2023
dd77440
Standardise section headers
haoyangw Apr 8, 2023
b6619af
Merge pull request #293 from haoyangw/task-improveDgFormatting
haoyangw Apr 8, 2023
35a1bbf
Merge branch 'master' into task-gamifDG
haoyangw Apr 8, 2023
47ea2b4
Resolve adding integer as habit name bug
YongbinWang Apr 8, 2023
5ab93e4
Fix formatting
nichyjt Apr 8, 2023
7059a46
Update text messages to be user-friendly
nichyjt Apr 8, 2023
0569d9b
Update user guide regressions
nichyjt Apr 8, 2023
6432dff
Merge branch 'master' into bugfix-FocusTimer-BugHunt
nichyjt Apr 8, 2023
49f7e42
Update DeveloperGuide Manager UML
haoyangw Apr 8, 2023
a95a619
Address Java CI and update atomichabit test, remove parseInt attempt
YongbinWang Apr 8, 2023
9ba3862
Merge branch 'master' into WellNusPE-atomichabit-bugfix
YongbinWang Apr 8, 2023
565dfa8
Update AtomicHabit sequence diagram for visual clarity and resolve de…
YongbinWang Apr 8, 2023
997688e
Update test regressions
nichyjt Apr 8, 2023
950503f
Generate updated png file for atomichabit sequence
YongbinWang Apr 8, 2023
cdb8f11
Merge remote-tracking branch 'origin/bugfix-FocusTimer-BugHunt' into …
nichyjt Apr 8, 2023
41e0757
Update test regressions and messages
nichyjt Apr 8, 2023
48ff2d8
Remove unused import
nichyjt Apr 8, 2023
a2f5ffa
Merge pull request #338 from YongbinWang/fix-sequencediagram-colour
wenxin-c Apr 8, 2023
bf1f7e1
Add quotation mark to questions
wenxin-c Apr 8, 2023
a89610a
Fix error message error
wenxin-c Apr 8, 2023
3c72af2
Fix help command and ft help indentation error
wenxin-c Apr 8, 2023
154c9b9
Fix feature help message format
wenxin-c Apr 8, 2023
1413950
Add UML Diagrams for Gamification
haoyangw Apr 9, 2023
51cf4a0
Add gamification section to DeveloperGuide
haoyangw Apr 9, 2023
c5c239c
Move GamificationTokenizer to correct package
haoyangw Apr 9, 2023
6c6317e
Change constructor access modifier
haoyangw Apr 9, 2023
06e588e
Fix unnecessary Exception thrown
haoyangw Apr 9, 2023
c0295e8
Fix diagram errors
nichyjt Apr 9, 2023
cf3cc7e
Update user guide command syntax explanation
nichyjt Apr 9, 2023
21b3769
Standardise error notes across WellNUS++
wenxin-c Apr 9, 2023
69b6142
Update diagram colors
nichyjt Apr 9, 2023
65532ac
Update content and fix TOC
nichyjt Apr 9, 2023
d79c5ea
Update PPP for brevity
nichyjt Apr 9, 2023
0905fa7
Merge branch 'master' into bugfix-FocusTimer-BugHunt
nichyjt Apr 9, 2023
f96d3cd
Merge branch 'master' into WellNusPE-atomichabit-bugfix
nichyjt Apr 9, 2023
fa4d00f
Merge pull request #336 from nichyjt/bugfix-FocusTimer-BugHunt
wenxin-c Apr 9, 2023
2c21d2b
Remove validateCommand throwing numberformatexception
YongbinWang Apr 9, 2023
f7e7212
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T12-4/tp …
YongbinWang Apr 9, 2023
4b9c956
Merge branch 'WellNusPE-atomichabit-bugfix' of https://github.com/Yon…
YongbinWang Apr 9, 2023
77b8fb9
Merge pull request #337 from YongbinWang/WellNusPE-atomichabit-bugfix
YongbinWang Apr 9, 2023
e1b98cb
Resolve merge conflicts
wenxin-c Apr 9, 2023
79e1193
Fix timer error message regression error
wenxin-c Apr 9, 2023
f192f71
Merge pull request #339 from wenxin-c/bug-ReflectBugFix
wenxin-c Apr 9, 2023
72dd618
Add strip logic to fix payload issue
nichyjt Apr 9, 2023
562ddab
Update gamification error message
haoyangw Apr 9, 2023
21f722c
Reorder MainManager execution order
haoyangw Apr 9, 2023
d7eabf5
Merge branch 'master' into bugfix-gamifTokenizer
haoyangw Apr 9, 2023
351238a
Add missing EOF newline
haoyangw Apr 9, 2023
f485f5c
Merge pull request #340 from haoyangw/task-gamifDG
haoyangw Apr 9, 2023
d9569d0
Merge pull request #342 from nichyjt/fix-CommandParserTrim
wenxin-c Apr 9, 2023
29dbca1
Remove unused import
haoyangw Apr 9, 2023
c45d35c
Merge pull request #335 from wenxin-c/document-WenxinPPPUpdate
haoyangw Apr 9, 2023
ee2b8c8
Resolve merge conflicts
nichyjt Apr 9, 2023
508da81
Merge branch 'master' into docs-UpdateDevGuide-PPP-Nicholas
nichyjt Apr 9, 2023
cde975a
Remove design considerations from focus timer
nichyjt Apr 9, 2023
680e455
Update TOC
nichyjt Apr 9, 2023
f412f6f
Merge pull request #341 from nichyjt/docs-UpdateDevGuide-PPP-Nicholas
nichyjt Apr 9, 2023
73c409d
Improve WellNusLogger file logic
haoyangw Apr 9, 2023
5a102f5
Close log file after quitting app
haoyangw Apr 9, 2023
b3cc261
Summarize wenxin PPP
wenxin-c Apr 9, 2023
d294f30
Update PPP for brevity
nichyjt Apr 9, 2023
3e330e9
Add pull request link
wenxin-c Apr 9, 2023
ba3a6e6
Fix ppp typo
wenxin-c Apr 9, 2023
004b542
Merge pull request #346 from wenxin-c/document-ShortenPPP
haoyangw Apr 9, 2023
dddd79e
Update community contributions section
nichyjt Apr 9, 2023
17db5c4
Update useguide to mention count initialised to 0 when added. Add Tes…
YongbinWang Apr 9, 2023
1a786fb
Add justification link for Enhancement
nichyjt Apr 9, 2023
5cfb0d6
Merge branch 'master' into Fix-atomic-documentation
YongbinWang Apr 9, 2023
8ab0f78
Add link reference to enhancement reason
nichyjt Apr 9, 2023
6a1e60a
Explain beep sound in UserGuide
haoyangw Apr 9, 2023
e91f15d
Explain Pomodoro Technique in UserGuide
haoyangw Apr 9, 2023
05b5b52
Improve gamification section of UserGuide
haoyangw Apr 9, 2023
6225822
Improve Quick Start of UserGuide
haoyangw Apr 9, 2023
1be5cee
Improve topmost help of UserGuide
haoyangw Apr 9, 2023
c88752c
Add checking for habit name and preserve habit order after tokenization
BernardLesley Apr 9, 2023
e379b30
Update documentation and diagrams
nichyjt Apr 9, 2023
7d93af7
Merge pull request #345 from nichyjt/docs-Nicholas-PPP-ReducePages
nichyjt Apr 9, 2023
75d004e
Merge branch 'master' into Fix-atomic-documentation
nichyjt Apr 9, 2023
9a0ea97
Merge branch 'master' into enhancement-cleanerLogging
nichyjt Apr 9, 2023
d9686f2
Standardize tokenizer error
BernardLesley Apr 9, 2023
b60825b
Merge pull request #347 from YongbinWang/Fix-atomic-documentation
YongbinWang Apr 9, 2023
855f64d
Merge branch 'master' into BugFix-HabitNameChecking&StandardizeError
BernardLesley Apr 9, 2023
ff33966
Expose class attribute for JUnit Test
haoyangw Apr 9, 2023
bcbb82b
Add GamificationDataTest.class
haoyangw Apr 9, 2023
25383ab
Truncate PPP further
nichyjt Apr 9, 2023
29b39a4
Fix grammar mistake
nichyjt Apr 9, 2023
4afbd33
Merge branch 'master' into docs-ShortenPPP-Nicholas
nichyjt Apr 9, 2023
59a1497
refactor ReflectionTokenizer and QuestionList for error handling
BernardLesley Apr 9, 2023
f5ba203
remove unused import
BernardLesley Apr 9, 2023
8ac8b78
Merge branch 'master' into bugfix-gamifTokenizer
nichyjt Apr 9, 2023
743bc4d
Fix wrong import order
haoyangw Apr 9, 2023
6ef4760
Define magic literals as constants
haoyangw Apr 9, 2023
d896df7
Merge branch 'enhancement-cleanerLogging' of https://github.com/haoya…
haoyangw Apr 9, 2023
78141bd
Merge pull request #344 from haoyangw/enhancement-cleanerLogging
nichyjt Apr 9, 2023
abd54b0
minor fix
BernardLesley Apr 9, 2023
9ffcedf
Redefine magic literals as class constants
haoyangw Apr 9, 2023
5ef9c6d
Merge branch 'bugfix-gamifTokenizer' of https://github.com/haoyangw/t…
haoyangw Apr 9, 2023
f2de8de
Merge pull request #351 from nichyjt/docs-ShortenPPP-Nicholas
wenxin-c Apr 9, 2023
31a6426
Merge pull request #343 from haoyangw/bugfix-gamifTokenizer
nichyjt Apr 9, 2023
45ac7da
Remove magic literal for UI test
wenxin-c Apr 9, 2023
187821e
erase unused variable
BernardLesley Apr 9, 2023
0dbc071
Merge pull request #352 from wenxin-c/task-RemoveUiTestMagicLiteral
wenxin-c Apr 9, 2023
2ea1db6
remove unused import
BernardLesley Apr 9, 2023
c7a3d49
Merge branch 'master' into enhancement-userGuideCleanup
haoyangw Apr 9, 2023
491c419
Merge pull request #348 from haoyangw/enhancement-userGuideCleanup
haoyangw Apr 9, 2023
ad41415
Merge pull request #349 from BernardLesley/BugFix-HabitNameChecking&S…
wenxin-c Apr 9, 2023
72c3bc1
Factor out magic literals
nichyjt Apr 9, 2023
6721b10
Factor out magic literals and add JavaDoc
nichyjt Apr 9, 2023
4d28b8e
Add data file cleaning method to gamif
haoyangw Apr 9, 2023
7048a32
Clean data file as needed
haoyangw Apr 9, 2023
7e55417
Update gamification Class Diagram
haoyangw Apr 9, 2023
b4312fc
Move magic literal to class constant
haoyangw Apr 9, 2023
c72f495
Merge branch 'master' into task-gamifTesting
haoyangw Apr 9, 2023
50ccfc3
Factor out magic literals and add JavaDoc
nichyjt Apr 9, 2023
dae52ff
Add JavaDoc and authorship
nichyjt Apr 9, 2023
6b3d1b8
Merge branch 'master' into fix-CodingViolations-nichyjt
nichyjt Apr 9, 2023
143719f
Add test javadoc for ui and reflect
wenxin-c Apr 9, 2023
d238a67
Merge pull request #353 from haoyangw/bugfix-gamifTokenizerCorruptData
wenxin-c Apr 9, 2023
01e2f5d
Fix tests
nichyjt Apr 9, 2023
da7f51c
Merge remote-tracking branch 'origin/fix-CodingViolations-nichyjt' in…
nichyjt Apr 9, 2023
8abe9ea
Add sequence diagram cross
wenxin-c Apr 9, 2023
123ddfe
Handle overlooked edge case
BernardLesley Apr 9, 2023
a3ce37c
revert unnecessary changes
BernardLesley Apr 9, 2023
4662664
Merge pull request #354 from nichyjt/fix-CodingViolations-nichyjt
wenxin-c Apr 10, 2023
242eed0
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T12-4/tp
wenxin-c Apr 10, 2023
db07959
Fix CI failing
BernardLesley Apr 10, 2023
b96c8c4
Merge branch 'master' into BufFix-ReflectTokenizerEdgeCase
BernardLesley Apr 10, 2023
999b3e6
Merge pull request #356 from BernardLesley/BufFix-ReflectTokenizerEdg…
wenxin-c Apr 10, 2023
a359ca4
Merge pull request #355 from wenxin-c/task-AddTestJavadoc
wenxin-c Apr 10, 2023
7766855
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T12-4/tp
wenxin-c Apr 10, 2023
ed06cca
Remove unused variables
wenxin-c Apr 10, 2023
1d8463d
Remove used method and duplicate catch
wenxin-c Apr 10, 2023
d1d3227
Update reflect sequence diagram
wenxin-c Apr 10, 2023
abf764b
Update TOC
nichyjt Apr 10, 2023
cc4d615
Update TOC and DG details
nichyjt Apr 10, 2023
98e3f9d
Update diagrams
nichyjt Apr 10, 2023
6630de1
Update authorship tags
nichyjt Apr 10, 2023
0aa8ab0
Update authorship tags
nichyjt Apr 10, 2023
6cf36a3
Update authorship tags
nichyjt Apr 10, 2023
bad4b80
Adjust page break for PPP
wenxin-c Apr 10, 2023
891558f
Merge pull request #358 from wenxin-c/bug-UpdateSequenceDiagram
wenxin-c Apr 10, 2023
dcfbede
Summarise wenxin's PPP
wenxin-c Apr 10, 2023
bc24e32
Add negative JUnit Tests
haoyangw Apr 10, 2023
577205a
Merge pull request #360 from wenxin-c/document-PPPFinalCut
nichyjt Apr 10, 2023
2a473f1
Merge branch 'master' into task-ReorderDG
nichyjt Apr 10, 2023
c6ae495
Merge pull request #359 from nichyjt/task-ReorderDG
wenxin-c Apr 10, 2023
fddf437
Fix diagram errors
nichyjt Apr 10, 2023
2f34ff4
Write JUnit tests for GamificationTokenizer
haoyangw Apr 10, 2023
be52e34
Add input validation
haoyangw Apr 10, 2023
5bbea6c
Add missing newline
haoyangw Apr 10, 2023
98005a1
Add JavaDoc for GamificationDataTest
haoyangw Apr 10, 2023
f19d671
Improve JUnit Test error messages
haoyangw Apr 10, 2023
b05fa1c
Merge branch 'master' into task-gamifTesting
haoyangw Apr 10, 2023
9f06f2e
Refactor tokenizer test
BernardLesley Apr 10, 2023
383594a
Fix wording to force page break
nichyjt Apr 10, 2023
e7cf26d
Add JavaDoc for GamificationTokenizerTest
haoyangw Apr 10, 2023
4c3c8b2
Add authorship tag for RepoSense
haoyangw Apr 10, 2023
fa4c29c
Expose private methods for JUnit Tests
haoyangw Apr 10, 2023
4a47a4e
Add MainManagerTest
haoyangw Apr 10, 2023
8df2da7
Improve tokenizer diagram
BernardLesley Apr 10, 2023
2c5625f
Remove TODO comments
haoyangw Apr 10, 2023
e3839ac
Remove bad list index from UG
haoyangw Apr 10, 2023
6889aa0
Merge pull request #350 from haoyangw/task-gamifTesting
haoyangw Apr 10, 2023
618e843
add new line
BernardLesley Apr 10, 2023
9e07e36
Move magic literals to class constants
haoyangw Apr 10, 2023
762dca1
Merge branch 'master' into Enhancement-TokenizerDiagram
nichyjt Apr 10, 2023
263831a
Merge pull request #364 from BernardLesley/Enhancement-TokenizerDiagram
nichyjt Apr 10, 2023
5412b81
Merge pull request #365 from haoyangw/bugfix-codeCleanup
nichyjt Apr 10, 2023
c2e240d
Adjust PPP page break
wenxin-c Apr 10, 2023
fd80301
Update tagged issues
nichyjt Apr 10, 2023
68793b4
Merge branch 'master' into task-ReadabilityPPP-Nicholas
nichyjt Apr 10, 2023
e9cdc19
Merge pull request #366 from wenxin-c/bug-WenxinPPPFinalFix
nichyjt Apr 10, 2023
6849061
Merge pull request #362 from nichyjt/task-ReadabilityPPP-Nicholas
nichyjt Apr 10, 2023
a0888f0
Update contributions in haoyangw's PPP
haoyangw Apr 10, 2023
192c604
Merge pull request #361 from BernardLesley/Enhancement-RefactorTokeni…
haoyangw Apr 10, 2023
608f0b9
Fix output regression inaccuracies
nichyjt Apr 10, 2023
e7b04ec
Update PPP to summarize contributions
YongbinWang Apr 10, 2023
59ae091
Merge branch 'master' into Fix-Shorten-PPP
YongbinWang Apr 10, 2023
c9ce3a7
Fix obscure data directory deletion bug
nichyjt Apr 10, 2023
aa38e4a
Merge pull request #369 from YongbinWang/Fix-Shorten-PPP
haoyangw Apr 10, 2023
ec4fc3e
Merge pull request #370 from nichyjt/fix-DataDirectoryDeleted
haoyangw Apr 10, 2023
7c99263
Merge pull request #367 from haoyangw/task-improveHaoyangwPpp
wenxin-c Apr 10, 2023
a856475
Fix minor regression issue
nichyjt Apr 10, 2023
33b3192
Merge pull request #363 from haoyangw/task-mainManagerTest
wenxin-c Apr 10, 2023
d4ae47f
Add more explanation to PPP
BernardLesley Apr 10, 2023
c6e5afe
Merge pull request #371 from BernardLesley/Enhancement-BernardPPP
wenxin-c Apr 10, 2023
55be442
Fix filename
nichyjt Apr 10, 2023
efda766
Merge pull request #368 from nichyjt/fix-UserGuide-Regressions
wenxin-c Apr 10, 2023
3a4fed8
Fix typo
haoyangw Apr 10, 2023
4992c75
Update PPP for formatting error
YongbinWang Apr 10, 2023
9fbe8ed
Link haoyangw/ped repo in haoyangw's PPP
haoyangw Apr 10, 2023
282f6ca
Merge pull request #372 from YongbinWang/Fix-PPP-formatting
YongbinWang Apr 10, 2023
63162c3
Fix typo
nichyjt Apr 10, 2023
d0473d6
Resolve merge conflicts
wenxin-c Apr 10, 2023
780c9b8
Merge pull request #373 from haoyangw/bugfix-haoyangwPPPTypo
wenxin-c Apr 10, 2023
d8757ea
Merge pull request #357 from wenxin-c/task-RemoveUnuseVariables
haoyangw Apr 10, 2023
2e24f4c
Fix typo
nichyjt Apr 10, 2023
0dfe417
Fix code typo
nichyjt Apr 10, 2023
9c0852c
Fix typo in DG
haoyangw Apr 10, 2023
267bf9c
Update DG release jar name and URL
haoyangw Apr 10, 2023
bda0b3d
Fix typo
nichyjt Apr 10, 2023
a9b850d
Update DG test cases' outputs
haoyangw Apr 10, 2023
18689f8
Remove extra space printed for MainManger when invalid command is given
YongbinWang Apr 10, 2023
7ee58f2
Merge branch 'master' into Fix-invalidCommand-PrintingError
YongbinWang Apr 10, 2023
c442744
Merge pull request #375 from haoyangw/task-dgTestCaseUpdates
wenxin-c Apr 10, 2023
7ce53f8
Update EXPECTED.TXT
YongbinWang Apr 10, 2023
6b5ed80
Merge pull request #376 from nichyjt/fix-ConfigCommandMessage
wenxin-c Apr 10, 2023
ffdbc2d
Merge branch 'master' into fix-DeveloperGuide-Typos-CommandParser
nichyjt Apr 10, 2023
812f6d2
Merge pull request #377 from YongbinWang/Fix-invalidCommand-PrintingE…
wenxin-c Apr 10, 2023
f64903f
Merge pull request #374 from nichyjt/fix-DeveloperGuide-Typos-Command…
wenxin-c Apr 10, 2023
8dfb803
Fix broken link
nichyjt Apr 10, 2023
de87248
Fix single-letter variable name
haoyangw Apr 10, 2023
f873dc3
Merge pull request #378 from nichyjt/fix-PPP-BrokenLinks-Nicholas
nichyjt Apr 10, 2023
d48de83
Merge pull request #379 from haoyangw/bugfix-codeStyle
wenxin-c Apr 10, 2023
0e720d3
Add DG user stories
wenxin-c Apr 10, 2023
678b31b
Merge branch 'master' into document-AddUserStoryDG
wenxin-c Apr 10, 2023
7c038b3
Fix typo
wenxin-c Apr 10, 2023
cf4f1aa
Merge pull request #380 from wenxin-c/document-AddUserStoryDG
wenxin-c Apr 10, 2023
ec81440
Provide more test cases in DG
haoyangw Apr 10, 2023
53dff84
Merge branch 'master' into task-dgTestCases
haoyangw Apr 10, 2023
5eb1aa5
Merge pull request #381 from haoyangw/task-dgTestCases
haoyangw Apr 10, 2023
f8fc3f3
Standardise capitalisation in DG
haoyangw Apr 10, 2023
720a29b
Update DG Table of Contents
haoyangw Apr 10, 2023
c593d1c
Update Acknowledgements in DG
haoyangw Apr 10, 2023
82af624
Merge pull request #382 from haoyangw/task-fixDgToC
haoyangw Apr 10, 2023
928a4ad
Update gradle output jar version
haoyangw Apr 10, 2023
020dc22
Make instructions clearer
haoyangw Apr 10, 2023
c1f5583
Fix typo
nichyjt Apr 10, 2023
68c68df
Fix list indices in DG
haoyangw Apr 10, 2023
a7dd8d1
Merge pull request #383 from nichyjt/fix-UG-Quickstart
wenxin-c Apr 10, 2023
107209f
Merge pull request #385 from haoyangw/bugfix-dgListIndex
wenxin-c Apr 10, 2023
524d997
Merge pull request #384 from haoyangw/task-gradlev2.1Update
wenxin-c Apr 10, 2023
a402a23
Fix broken link
nichyjt Apr 10, 2023
0850105
Merge pull request #386 from nichyjt/fix-BrokenUG-Link
wenxin-c Apr 10, 2023
e3500c1
Fix DG list indices
haoyangw Apr 10, 2023
79e4b3e
Merge pull request #387 from haoyangw/bugfix-dgIndices
wenxin-c Apr 10, 2023
0c2c763
Fix broken TOC
nichyjt Apr 10, 2023
2cd29b2
Merge pull request #388 from nichyjt/fix-WrongTOC-Name
wenxin-c Apr 10, 2023
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
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/administrative-matters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Administrative Matters
about: Add chores that must be done
title: "[Task] Your Chore Name"
labels: priority.Low, type.Task
assignees: ''

---

**Describe the Task**
A clear and concise description of what the Task/Chore is.
e.g. Move testing code to new folder

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

**Labels**
Remember to tag the priority using the labels function.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: File a bug report for WellNUS++
title: "[Bug] Your Bug Name"
labels: severity.Low, type.Bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

**Severity**
Remember to tag the severity of the bug and priority (if applicable) using the labels function.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Enhancement
about: Anything that improves on an existing feature/implementation
title: "[Enhancement] Your Enhancement"
labels: priority.Low, type.Enhancement
assignees: ''

---

**What is the current behaviour? Please describe any relevant features.**

**Why should this behaviour be changed/improved? Describe any relevant user stories/frustrations.**

**Describe your proposed enhancement.**

**Screenshots(if any) of the enhancement.**

**Any alternative implementations/enhancements that were considered?**
If any exist, explain why they were not chosen.

**Why should this enhancement be added? Explain its benefits/significance.**
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/user-story-features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: User Story Features
about: Anything related to adding features that involve user stories
title: "[User Story Feature] Your Feature"
labels: priority.Low, type.Story
assignees: ''

---

**User Story**
What is the user story this feature aims to achieve?
Describe it and label the issue accordingly.
- Is it a 'Epic' -> A big feature which can be broken down into smaller stories
- Is it a 'Story' -> A smaller feature

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered. Optional if it does not value-add to the issue.

**Additional context**
Add any other context or screenshots about the feature request here.

**Labels**
Remember to label the feature with the appropriate `priority` and `type`.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT

/data/

/log/
20 changes: 16 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,30 @@ test {
}

application {
mainClass = "seedu.duke.Duke"
mainClass = "wellnus.WellNus"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
archiveBaseName.set('WellNus')
archiveClassifier.set('')
archiveVersion.set('v2.1')
}

jar {
manifest {
attributes "Main-Class": "wellnus.WellNus"
}

from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

checkstyle {
toolVersion = '10.2'
}

run{
run {
standardInput = System.in
enableAssertions = true
}
154 changes: 148 additions & 6 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<!--
This configuration file enforces rules for the coding standard at
https://se-education.org/guides/conventions/java/basic.html
https://se-education.org/guides/conventions/java/intermediate.html
-->

<module name="Checker">
Expand Down Expand Up @@ -48,6 +48,21 @@
IMPORT CHECKS
-->

<!-- Checks the ordering of import statements follow the rules that the default Eclipse formatter uses.
The order rule "STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE" consists of:
1. STATIC: static imports
2. STANDARD_JAVA_PACKAGE: standard java/javax imports
3. SPECIAL_IMPORTS: defined as org imports
4. THIRD_PARTY_PACKAGE: defined as com imports
-->
<module name="CustomImportOrder">
<property name="customImportOrderRules"
value="STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE"/>
<property name="specialImportsRegExp" value="^org\."/>
<property name="thirdPartyPackageRegExp" value="^com\."/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
</module>

<!-- Checks for redundant import statements.
An import statement is redundant if:
* It is a duplicate of another import. This is, when a class is imported more than once.
Expand All @@ -68,6 +83,12 @@
NAMING CHECKS
-->

<!-- Validate abbreviations (consecutive capital letters) length in identifier name -->
<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="1"/>
</module>

<module name="PackageName">
<!-- Validates identifiers for package names against the supplied expression. -->
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]{1,})*$"/>
Expand Down Expand Up @@ -167,13 +188,10 @@
<module name="NeedBraces">
<!--
if (true) return 1; // Not allowed

if (true) { return 1; } // Not allowed

else if {
return 1; // else if should always be multi line
}

if (true)
return 1; // Not allowed
-->
Expand All @@ -200,6 +218,13 @@

<module name="MissingSwitchDefault"/>

<!-- Checks that Class variables should never be declared public. -->
<module name="VisibilityModifier">
<property name="protectedAllowed" value="true"/>
<property name="allowPublicFinalFields" value="true"/>
<property name="ignoreAnnotationCanonicalNames" value="RegisterExtension, TempDir"/>
</module>

<!--
ORDER CHECKS
-->
Expand Down Expand Up @@ -237,13 +262,120 @@
<!-- Checks that comments are indented relative to their position in the code -->
<module name="CommentsIndentation"/>

<module name="WhitespaceAround">
<!-- Checks that various tokens are surrounded by whitespace.
This includes most binary operators and keywords followed
by regular or curly braces.
-->
<property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR,
BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN,
EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS,
MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION,
RCURLY, SL, SLIST, SL_ASSIGN, SR_ASSIGN, STAR, STAR_ASSIGN"/>
<!-- Allow empty constructors e.g. MyClass() {} -->
<property name="allowEmptyConstructors" value="true" />
<!-- Allow empty methods e.g. void func() {} -->
<property name="allowEmptyMethods" value="true" />
<!-- Allow empty types e.g. class Foo {}, enum Foo {} -->
<property name="allowEmptyTypes" value="true" />
<!-- Allow empty loops e.g. for (int i = 1; i > 1; i++) {} -->
<property name="allowEmptyLoops" value="true" />
<!-- Allow empty lambdas e.g. () -> {} -->
<property name="allowEmptyLambdas" value="true" />
</module>

<module name="WhitespaceAfter">
<!-- Checks that commas, semicolons and typecasts are followed by whitespace. -->
<property name="tokens" value="COMMA, SEMI, TYPECAST"/>
</module>

<module name="NoWhitespaceAfter">
<!-- Checks that there is no whitespace after various unary operators. Linebreaks are allowed. -->
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS,
UNARY_PLUS"/>
<property name="allowLineBreaks" value="true"/>
</module>

<!-- No trailing whitespace -->
<module name="Regexp">
<property name="format" value="[ \t]+$"/>
<property name="illegalPattern" value="true"/>
<property name="message" value="Trailing whitespace"/>
</module>

<module name="OperatorWrap">
<!-- Checks that the non-assignment type operator is at the next line in a line wrap.
This includes "?", ":", "==", "!=", "/", "+", "-", "*", "%", ">>", ">>>",
">=", ">", "<<", "<=", "<", "^", "|", "||", "&", "&&", "instanceof",
"&" when used in a generic upper or lower bounds constraints,
e.g. <T extends Foo & Bar>
"::" when used as a reference to a method or constructor without arguments.
e.g. String::compareToIgnoreCase
-->
<property name="tokens" value="QUESTION, COLON, EQUAL, NOT_EQUAL, DIV, PLUS, MINUS, STAR, MOD, SR, BSR,
GE, GT, SL, LE, LT, BXOR, BOR, LOR, BAND, LAND, LITERAL_INSTANCEOF, TYPE_EXTENSION_AND, METHOD_REF"/>
<property name="option" value="nl"/>
</module>
<module name="OperatorWrap">
<!-- Checks that the assignment type operator is at the previous end of line in a line wrap.
This includes "=", "/=", "+=", "-=", "*=", "%=", ">>=", ">>>=", "<<=", "^=", "&=".
-->
<property name="tokens" value="ASSIGN, DIV_ASSIGN, PLUS_ASSIGN, MINUS_ASSIGN, STAR_ASSIGN, MOD_ASSIGN,
SR_ASSIGN, BSR_ASSIGN, SL_ASSIGN, BXOR_ASSIGN, BOR_ASSIGN, BAND_ASSIGN"/>
<property name="option" value="eol"/>
</module>

<module name="SeparatorWrap">
<!-- Checks that the ".", "@" is at the next line in a line wrap. -->
<property name="tokens" value="DOT, AT"/>
<property name="option" value="nl"/>
</module>
<module name="SeparatorWrap">
<!-- Checks that the ",", "]", "[", "...", ";", "(" is at the previous end of line in a line wrap. -->
<property name="tokens" value="COMMA, RBRACK, ARRAY_DECLARATOR, ELLIPSIS, SEMI, LPAREN"/>
<property name="option" value="eol"/>
</module>

<module name="Indentation">
<property name="caseIndent" value="0" />
<property name="throwsIndent" value="8" />
</module>

<module name="NoWhitespaceBefore">
<!-- Checks that there is no whitespace before various unary operators. Linebreaks are allowed. -->
<property name="tokens" value="SEMI, DOT, POST_DEC, POST_INC"/>
<property name="allowLineBreaks" value="true"/>
</module>

<module name="NoWhitespaceBeforeCaseDefaultColon"/>

<!-- Checks that there is no whitespace between method/constructor name and open parenthesis. -->
<module name="MethodParamPad"/>

<module name="ParenPad">
<!-- Checks that there is no whitespace before close parenthesis or after open parenthesis. -->
<property name="severity" value="warning"/>
</module>

<!-- Checks that non-whitespace characters are separated by no more than one whitespace character.
a = 1; // Allowed
a = 1; // Not allowed (more than one space before =)
-->
<module name="SingleSpaceSeparator">
<!-- Validate whitespace surrounding comments as well.
a = 1; // Allowed (single space before start of comment)
a = 1; /* Allowed (single space before start of comment) */
/* Allowed (single space after end of comment) */ a = 1;
a = 1; // Not allowed (more than one space before start of comment)
a = 1; /* Not allowed (more than one space before start of comment) */
/* Not allowed (more than one space after end of comment) */ a = 1;
This doesn't validate whitespace within comments so a comment /* like this */ is allowed.
-->
<property name="validateComments" value="true"/>
</module>

<!--
JAVADOC CHECKS
-->
Expand Down Expand Up @@ -271,7 +403,7 @@
<property name="allowMissingParamTags" value="true"/>
</module>

<!-- Checks the Javadoc's format for every method (excluding getters, setters and constructors). -->
<!-- Checks the Javadoc's format for every public method (excluding getters, setters and constructors). -->
<module name="JavadocMethod">
<property name="allowedAnnotations" value="Override, Test, BeforeAll, BeforeEach, AfterAll, AfterEach, Subscribe"/>
<property name="accessModifiers" value="public"/>
Expand All @@ -283,5 +415,15 @@

<module name="InvalidJavadocPosition"/>

<!-- Checks that every public method (excluding getters, setters and constructors) has a header comment. -->
<module name="MissingJavadocMethodCheck">
<property name="minLineCount" value="1"/>
<property name="allowMissingPropertyJavadoc" value="true"/>
<property name="ignoreMethodNamesRegex" value="(set.*|get.*)"/>
</module>

<!-- Checks that every public class, enumeration and interface has a header comment. -->
<module name="MissingJavadocType"/>

</module>
</module>
</module>
Loading