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-2] Grocery in Time #33

Open
wants to merge 527 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
527 commits
Select commit Hold shift + click to select a range
c9fe1df
Fix more PED bugs
wallywallywally Apr 10, 2024
15f3841
Fix checkstyle issue
wallywallywally Apr 10, 2024
2bde7e6
Update NoSuchObject exceptions thrown with more information
wallywallywally Apr 10, 2024
f2ed673
Fix fatal del bug related to storage locations
wallywallywally Apr 10, 2024
e877ef9
Prevent duplicate groceries from being added
wallywallywally Apr 10, 2024
e55af58
Update tests to match new exceptions
wallywallywally Apr 10, 2024
49f85fd
Merge pull request #153 from wallywallywally/branch-Willson
LuoYu-uwu Apr 10, 2024
5643e96
Merge pull request #154 from wallywallywally/branch-more-PEDs
LuoYu-uwu Apr 10, 2024
5a122c1
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 11, 2024
9c9e94a
Trimmed Recipe output
SharlynLui Apr 11, 2024
5a82d2a
Amend my PPP
LuoYu-uwu Apr 11, 2024
6bfb05d
Merge pull request #155 from LuoYu-uwu/Branch-doc
wallywallywally Apr 11, 2024
3dbcf39
extracted RecipeUi from Ui
SharlynLui Apr 11, 2024
a7d3181
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 11, 2024
8800c7c
Shorten my PPP
wallywallywally Apr 11, 2024
cb79132
Add new features and documentation for Grocery in Time project
64-1 Apr 11, 2024
bcb3a7c
Merge pull request #157 from 64-1/v1-final
64-1 Apr 11, 2024
3caeb74
Added saveFile method for groceries, loadFile work in progress
luozihui2003 Apr 11, 2024
4248f24
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
luozihui2003 Apr 11, 2024
f9286f6
Add sequence diagram for calories and profile management
LuoYu-uwu Apr 11, 2024
8ed2025
Create luozihui2003.md
luozihui2003 Apr 11, 2024
ac55803
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
luozihui2003 Apr 11, 2024
e74febf
Add sequence diagram for executeCommand in parser
LuoYu-uwu Apr 11, 2024
1039cdf
Update user stories
LuoYu-uwu Apr 11, 2024
2d69dd1
Extracted profile, calories Ui from Ui.
SharlynLui Apr 11, 2024
2bd316e
Updated calories to be integer
SharlynLui Apr 11, 2024
207b56f
Merge pull request #159 from LuoYu-uwu/Branch-doc
64-1 Apr 11, 2024
5e4e5a5
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
SharlynLui Apr 11, 2024
e169257
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 11, 2024
9e25724
Edit checks
SharlynLui Apr 11, 2024
4d175f7
Gradle check
SharlynLui Apr 11, 2024
d4befa7
Gradle Check
SharlynLui Apr 11, 2024
55d3988
Merge pull request #160 from SharlynLui/master
64-1 Apr 11, 2024
b0eb5dd
Add grocery command sequence diagram
LuoYu-uwu Apr 11, 2024
2dba80d
Merge pull request #161 from LuoYu-uwu/Branch-doc
SharlynLui Apr 11, 2024
59dd34c
Add save and load file function for grocery mode
luozihui2003 Apr 11, 2024
de48ac7
Merge branch 'master' into master
SharlynLui Apr 11, 2024
fe249a0
Merge pull request #156 from wallywallywally/branch-Willson
64-1 Apr 11, 2024
8152c18
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
luozihui2003 Apr 11, 2024
e586b4a
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
luozihui2003 Apr 11, 2024
2f6560e
Merge remote-tracking branch 'origin/master'
luozihui2003 Apr 11, 2024
a1b3de5
gradle checks
luozihui2003 Apr 11, 2024
7db2696
gradle check: static final change to final static
luozihui2003 Apr 11, 2024
6c89239
gradle check: move FILE_PATH in front
luozihui2003 Apr 11, 2024
a93c1ea
gradle: change FILE_PATH to the path
luozihui2003 Apr 11, 2024
07806ed
gradle: changed expected.txt and removed print no saved groceries
luozihui2003 Apr 11, 2024
5a76900
gradle: changed expected.txt and removed print no saved groceries
luozihui2003 Apr 11, 2024
1d37809
Merge pull request #162 from luozihui2003/master
64-1 Apr 11, 2024
173cc6d
Add ADDMULTI command to GroceryCommand enum and implement promptAddMu…
64-1 Apr 11, 2024
31d27a8
Refactor GroceryList sortByExpiration method to handle groceries with…
64-1 Apr 11, 2024
68c94ca
Refactor GroceryList sortByExpiration method to handle groceries with…
64-1 Apr 11, 2024
bf5d8b9
Merge pull request #163 from 64-1/v1-final
64-1 Apr 11, 2024
b62341a
Include grocerymanagement sequence diagram in developer guide
LuoYu-uwu Apr 11, 2024
79a368b
Update code such that only "exit" will terminate program
LuoYu-uwu Apr 11, 2024
d501db7
Update code to print nothing when no food was consumed
LuoYu-uwu Apr 11, 2024
0be47be
Add sequence diagrams
LuoYu-uwu Apr 11, 2024
9baa8f3
Add class diagrams
LuoYu-uwu Apr 11, 2024
18cbce1
Update the old sequence diagram
LuoYu-uwu Apr 11, 2024
1631780
Merge pull request #164 from LuoYu-uwu/Branch-diagram
64-1 Apr 11, 2024
55bb7bf
Update UserInfo class diagram
LuoYu-uwu Apr 11, 2024
04d86d3
Merge pull request #165 from LuoYu-uwu/Branch-diagram
64-1 Apr 11, 2024
95697c0
Add save and load file for recipe
luozihui2003 Apr 11, 2024
5c401a4
gradle: style checks
luozihui2003 Apr 11, 2024
772b4f1
gradle: removed print
luozihui2003 Apr 11, 2024
30acf9a
Merge pull request #166 from luozihui2003/saveRecipe
64-1 Apr 11, 2024
2beef51
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 11, 2024
8100a45
PPP
SharlynLui Apr 11, 2024
de28661
Merge pull request #167 from SharlynLui/master
luozihui2003 Apr 11, 2024
d45c167
Updated PPP
SharlynLui Apr 11, 2024
a8218ed
Merge pull request #168 from SharlynLui/master
wallywallywally Apr 12, 2024
bea0894
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 12, 2024
6fe68bc
Fixed Ratings accepting 0 and Added View Grocery feature
SharlynLui Apr 12, 2024
b1450ca
Updated test cases
SharlynLui Apr 12, 2024
b4c6b0c
Fix Location bugs and update User Guide
wallywallywally Apr 12, 2024
d29a511
Merge pull request #169 from SharlynLui/master
SharlynLui Apr 12, 2024
565431f
Fix checkstyle issues
wallywallywally Apr 12, 2024
1374e9b
Resolve merge conflict related to store data
wallywallywally Apr 12, 2024
234b296
Add save UserInfo
luozihui2003 Apr 12, 2024
d4e81bf
Add save UserInfo
luozihui2003 Apr 12, 2024
835aa14
Add save to delete recipe
luozihui2003 Apr 12, 2024
b293cc1
Enable remark to be edtied.
SharlynLui Apr 12, 2024
4375da0
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
SharlynLui Apr 12, 2024
8068f4b
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 12, 2024
79e3eb1
Gradle Check
SharlynLui Apr 12, 2024
fb47747
no message
SharlynLui Apr 12, 2024
bb5c971
Merge pull request #170 from wallywallywally/branch-Willson
SharlynLui Apr 12, 2024
21d6128
Merge pull request #171 from luozihui2003/saveProfile
SharlynLui Apr 12, 2024
b4b7042
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 12, 2024
ded4336
Gradle checks
SharlynLui Apr 12, 2024
12c3ed4
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 12, 2024
e7bedbb
gradle check
SharlynLui Apr 12, 2024
7858e0b
gradle checks
SharlynLui Apr 12, 2024
ee1ec7b
gradle check
SharlynLui Apr 12, 2024
d2f12ab
no changes... trying to pull
luozihui2003 Apr 12, 2024
23ec462
Fix exiring command and add email notification
64-1 Apr 12, 2024
57737af
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp …
64-1 Apr 12, 2024
849e87a
Merge pull request #173 from SharlynLui/master
wallywallywally Apr 12, 2024
ad94616
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp …
64-1 Apr 12, 2024
5408403
Merge pull request #174 from 64-1/v1-final
64-1 Apr 12, 2024
79eeca1
Remove some developer comments in Ui
wallywallywally Apr 12, 2024
6efc320
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 13, 2024
84f8aa6
Updated User Guide, help list. Organised User Guide commands for Groc…
SharlynLui Apr 13, 2024
6bfe1c1
Reorganise UG and updated UG
SharlynLui Apr 13, 2024
64658f6
Add more test code
64-1 Apr 13, 2024
647ff19
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp …
64-1 Apr 13, 2024
9a23360
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 13, 2024
b886879
Delete grocery
SharlynLui Apr 13, 2024
9bc047f
Merge pull request #175 from SharlynLui/master
wallywallywally Apr 13, 2024
2e62e34
Merge pull request #176 from 64-1/v1-final
wallywallywally Apr 13, 2024
30928a4
Merge branch 'master' into branch-Willson
wallywallywally Apr 13, 2024
76d9ad4
Update DG and UG
64-1 Apr 13, 2024
62c2233
Update jline library version to 3.20.0
64-1 Apr 13, 2024
3f23dcd
Update jline library version to 3.20.0
64-1 Apr 13, 2024
e85947f
Merge pull request #177 from 64-1/v1-final
64-1 Apr 13, 2024
0fd3c42
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 13, 2024
a540b5a
Update User Guide and clean up printGrocery
wallywallywally Apr 13, 2024
e5246f7
Merge branch 'master' into branch-Willson
wallywallywally Apr 13, 2024
d838331
Fix tests
wallywallywally Apr 13, 2024
fdaf42d
Merge pull request #178 from wallywallywally/branch-Willson
wallywallywally Apr 13, 2024
7f8d099
Delete data directory
wallywallywally Apr 13, 2024
8778db2
Add find recipe
SharlynLui Apr 13, 2024
769737e
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 13, 2024
70ea802
Disallow duplicates to be added recipe
SharlynLui Apr 13, 2024
5f0d79b
Edit Recipe
SharlynLui Apr 13, 2024
01adbfb
Gradle Check
SharlynLui Apr 13, 2024
ec06d46
Merge pull request #179 from SharlynLui/master
SharlynLui Apr 13, 2024
7bf5f58
Update README.md with new features and installation instructions
64-1 Apr 13, 2024
bc3e0cf
Update README.md with new features, build automation using Gradle, te…
64-1 Apr 13, 2024
2fd101a
Merge pull request #180 from 64-1/v1-final
wallywallywally Apr 13, 2024
9bd3ad8
Update User Guide and fix minor bugs
wallywallywally Apr 13, 2024
430e3f9
Update docs/README
wallywallywally Apr 13, 2024
e4fb583
Hide unfinished addmulti in User Guide
wallywallywally Apr 13, 2024
7b61506
Fix issues for multiple grocery names in promptAddMultipleMenu method
64-1 Apr 13, 2024
abea7b2
Merge pull request #182 from 64-1/v1-final
LuoYu-uwu Apr 13, 2024
91555a4
Add displayWelcomeMessage method to Ui class
64-1 Apr 13, 2024
b0ce1ba
Update README.md with new features, build automation using Gradle, te…
64-1 Apr 13, 2024
04b8ae8
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
wallywallywally Apr 13, 2024
41ccce9
Fix mistakes
64-1 Apr 13, 2024
03c2b41
Update welcome message in EXPECTED.TXT
64-1 Apr 13, 2024
75d2d1f
Restore addmulti in User Guide
wallywallywally Apr 13, 2024
555e67e
Fix checkstyle issues
wallywallywally Apr 13, 2024
c4f8cc7
Merge pull request #183 from 64-1/v1-final
wallywallywally Apr 13, 2024
c930aba
Merge pull request #181 from wallywallywally/master
wallywallywally Apr 13, 2024
14ae938
Fix issues for multiple grocery names in promptAddMultipleMenu method
64-1 Apr 13, 2024
64ec3b9
Update PPP
wallywallywally Apr 13, 2024
629b936
Merge pull request #184 from 64-1/v1-final
wallywallywally Apr 13, 2024
01cf507
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
wallywallywally Apr 13, 2024
89ff41d
Add sequence diagram for editCost and editThreshold
LuoYu-uwu Apr 13, 2024
64f6c5f
Edit error
LuoYu-uwu Apr 13, 2024
1fee5a6
Merge pull request #185 from LuoYu-uwu/Branch-DG3.0
LuoYu-uwu Apr 13, 2024
322a118
Load storage locations
wallywallywally Apr 13, 2024
ac56caf
Fix checkstyle issues
wallywallywally Apr 13, 2024
b1a7a4f
Fix checkstyle issues
wallywallywally Apr 13, 2024
7e3dc7e
Merge pull request #186 from wallywallywally/master
64-1 Apr 13, 2024
1a5cd0c
Wipes saved file if corrupted
luozihui2003 Apr 13, 2024
919df84
Resolve merge conflict between location edits and corrupt file
luozihui2003 Apr 13, 2024
b4fcded
Merge branch 'master' into saveProfile
luozihui2003 Apr 13, 2024
87b21ad
Add more testing
wallywallywally Apr 13, 2024
a8f99b7
Import user.UserInfo in Git.java
luozihui2003 Apr 13, 2024
34ae7b5
FIx User Guide formatting
wallywallywally Apr 13, 2024
47ee28d
gradle: stylecheck storage.java
luozihui2003 Apr 13, 2024
241a869
gradle: stylecheck storage again...
luozihui2003 Apr 13, 2024
b9cf987
Merge pull request #188 from wallywallywally/master
LuoYu-uwu Apr 14, 2024
e2b9a2e
Fix error in calculation of calories
LuoYu-uwu Apr 14, 2024
20afdde
Add some unit test and update sequence diagram
LuoYu-uwu Apr 14, 2024
20893f2
Add test to food
LuoYu-uwu Apr 14, 2024
7ac453a
Add test for userInfo
LuoYu-uwu Apr 14, 2024
f3dffc4
Fix checkstyle error
LuoYu-uwu Apr 14, 2024
7576010
Update user guide
LuoYu-uwu Apr 14, 2024
b80342e
Update PPP
LuoYu-uwu Apr 14, 2024
a7d8f9b
Update PPP
LuoYu-uwu Apr 14, 2024
8cd6496
Update PPP
LuoYu-uwu Apr 14, 2024
8fcb731
Merge branch 'master' into saveProfile
wallywallywally Apr 14, 2024
6d0bd17
Merge pull request #189 from luozihui2003/saveProfile
wallywallywally Apr 14, 2024
dfe6665
Merge pull request #190 from LuoYu-uwu/Branch-test
wallywallywally Apr 14, 2024
96768b9
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 14, 2024
48be00e
Add recipe tests
SharlynLui Apr 14, 2024
d8cadce
Gradle checks
SharlynLui Apr 14, 2024
16aab81
Merge pull request #191 from SharlynLui/master
wallywallywally Apr 14, 2024
df01ea9
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
wallywallywally Apr 14, 2024
719d557
Update exception handing for cost, list commands
wallywallywally Apr 14, 2024
59c2f83
Fix data loading issues and clean up loaded data
wallywallywally Apr 14, 2024
ae0efeb
Clean up checkstyle
wallywallywally Apr 14, 2024
d544799
Add test cases related to Storage functionalities
wallywallywally Apr 14, 2024
0751d8a
Fix checkstyle issues
wallywallywally Apr 14, 2024
5ac5683
Merge pull request #192 from wallywallywally/master
wallywallywally Apr 14, 2024
9ed2cb6
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 14, 2024
879b948
Add new test cases
SharlynLui Apr 14, 2024
56d82a3
Edit test case
SharlynLui Apr 14, 2024
d147cd2
Gradle Check
SharlynLui Apr 14, 2024
175289a
Update Dev Guide and add sample data for testers
wallywallywally Apr 14, 2024
532fa9a
Updated PPP (left DG and Repolink to be added)
SharlynLui Apr 14, 2024
0a97f0e
Update Dev Guide
wallywallywally Apr 14, 2024
612443e
Update Dev Guide and my PPP
wallywallywally Apr 14, 2024
44b8558
Update Dev Guide with editLocation
wallywallywally Apr 15, 2024
729c844
Update tests
wallywallywally Apr 15, 2024
04c961c
Merge pull request #193 from SharlynLui/master
wallywallywally Apr 15, 2024
e49e8f7
Resolve merge conflicts in User Guide
wallywallywally Apr 15, 2024
22afac6
Merge pull request #194 from wallywallywally/master
64-1 Apr 15, 2024
9019023
Use constants for category
luozihui2003 Apr 15, 2024
4c10a6a
Make return statement for promptforAmount more obvious, set limit to …
luozihui2003 Apr 15, 2024
0cdbe3d
gradle: move public static
luozihui2003 Apr 15, 2024
d9d4974
edit category
luozihui2003 Apr 15, 2024
844b26a
gradle: remove grams from tests
luozihui2003 Apr 15, 2024
58437a8
Modify readme.md and add sequence diagram
64-1 Apr 15, 2024
9dd042e
Add new features and improvements to Grocery in Time application
64-1 Apr 15, 2024
af9e7c6
Merge pull request #195 from luozihui2003/saveProfile
64-1 Apr 15, 2024
e6081c7
edit PPP
luozihui2003 Apr 15, 2024
6676d54
add imporvement to ppp
luozihui2003 Apr 15, 2024
7a5ff3c
Merge pull request #196 from 64-1/v1-final
64-1 Apr 15, 2024
d4805e8
Merge pull request #197 from luozihui2003/saveProfile
64-1 Apr 15, 2024
e2051c9
Update README
wallywallywally Apr 15, 2024
a8b0813
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
wallywallywally Apr 15, 2024
d082cea
Merge pull request #198 from wallywallywally/master
wallywallywally Apr 15, 2024
2ccefa7
Fix issue in AboutUs
wallywallywally Apr 15, 2024
a136367
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T12-2/tp
wallywallywally Apr 15, 2024
90f36f1
Merge pull request #199 from wallywallywally/master
wallywallywally Apr 15, 2024
1a40b79
Add validation for input number in GroceryUi.java
64-1 Apr 15, 2024
e1fcbcd
Merge pull request #200 from 64-1/v1-final
64-1 Apr 15, 2024
b6d0f1a
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 15, 2024
818da9e
Add License.md
64-1 Apr 15, 2024
fd7c4cf
PPP and DG
SharlynLui Apr 15, 2024
728120b
Minor edit
SharlynLui Apr 15, 2024
3ae8988
Add CONTRICUTING.md
64-1 Apr 15, 2024
72e2d91
Merge pull request #202 from SharlynLui/master
64-1 Apr 15, 2024
5b25698
Update README.md with link to CONTRIBUTING.md
64-1 Apr 15, 2024
58e3b83
Merge pull request #201 from 64-1/v1-final
64-1 Apr 15, 2024
9d5b73c
Edited Reposense Link
SharlynLui Apr 15, 2024
9c365c5
add to ppp
luozihui2003 Apr 15, 2024
8b2af63
Merge pull request #203 from SharlynLui/master
luozihui2003 Apr 15, 2024
9b59ff4
Update review/mentoring contributions in team/64-1.md
64-1 Apr 15, 2024
5830980
Merge pull request #204 from luozihui2003/saveProfile
SharlynLui Apr 15, 2024
386e51e
edit ppp again
luozihui2003 Apr 15, 2024
e045f10
PPP
SharlynLui Apr 15, 2024
32f4652
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
SharlynLui Apr 15, 2024
6b08faa
PPP
SharlynLui Apr 15, 2024
2ca2e97
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 15, 2024
e1ccdf6
PPP
SharlynLui Apr 15, 2024
bdf6e45
Update 64-1.md
64-1 Apr 15, 2024
2eeae89
Merge pull request #206 from luozihui2003/saveProfile
SharlynLui Apr 15, 2024
be24e2b
Merge pull request #207 from SharlynLui/master
luozihui2003 Apr 15, 2024
8822ebd
Merge pull request #205 from 64-1/v1-final
64-1 Apr 15, 2024
3e72dd8
One full stop.
SharlynLui Apr 15, 2024
bf36428
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
SharlynLui Apr 15, 2024
d932b66
Merge pull request #208 from SharlynLui/master
luozihui2003 Apr 15, 2024
eb728aa
UG
SharlynLui Apr 15, 2024
ed5201a
Merge branch 'master' of https://github.com/SharlynLui/tp
SharlynLui Apr 15, 2024
fbbcadd
Merge branch 'AY2324S2-CS2113-T12-2:master' into master
SharlynLui Apr 15, 2024
5edeab7
Merge pull request #209 from SharlynLui/master
64-1 Apr 15, 2024
2cdab08
Update .gitignore
wallywallywally Apr 15, 2024
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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ bin/

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

GroceryList.log
GroceryList.log.lck

/data

/.vscode
/META-INF
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"markis.code-coverage"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
64 changes: 64 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Contributing to Grocery in Time

First off, thank you for considering contributing to Grocery in Time. It’s people like you that make Grocery in Time such a great tool.

## Where do I go from here?

If you've noticed a bug or have a question, [search the issue tracker](https://github.com/AY2324S2-CS2113-T12-2/tp/issues) to see if someone else in the community has already created a ticket. If not, go ahead and make one!

## Contributing Code

If you'd like to contribute code with a new feature or a fix, please make sure to check out [our issues](https://github.com/AY2324S2-CS2113-T12-2/tp/issues). It's a good start to see what has been reported or suggested before diving in.

### Getting Started

* Make sure you have a [GitHub account](https://github.com/signup/free)
* Submit a ticket for your issue, assuming one does not already exist.
* Fork the repository on GitHub.

### Making Changes

* Create a topic branch from where you want to base your work.
* Make commits of logical units.
* Make sure your commit messages are in the proper format (see below).
* Push your changes to a topic branch in your fork of the repository.

### Commit Messages

Please follow these guidelines for commit messages:

- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally after the first line.


### Submitting Changes

* Push your changes to a topic branch in your fork of the repository.
* Submit a pull request to [the repository](https://github.com/AY2324S2-CS2113-T12-2/tp) in the organization.
* After feedback has been given, we expect responses within two weeks. After two weeks, we may close the pull request if it isn't showing any activity.

## Coding conventions

Start reading our code and you'll get the hang of it. We optimize for readability:

* We indent using four spaces (tabs)
* We ALWAYS put spaces after list items and method parameters (`[1, 2, 3]`, not `[1,2,3]`), and around operators (`x += 1`, not `x+=1`).
* This project is built with Java, so refer to our `.editorconfig` file and Checkstyle rules for more conventions.
* Write tests for new features or fixes. We are using JUnit for unit tests.

## Reporting a bug

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/AY2324S2-CS2113-T12-2/tp/issues).
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/AY2324S2-CS2113-T12-2/tp/issues). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.

## Pull Request Process

1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
2. Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations, and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. The Pull Request will be merged in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.


Thank you for contributing!
144 changes: 144 additions & 0 deletions GroceryList.log.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2024-04-12T08:14:04.754275Z</date>
<millis>1712909644754</millis>
<nanos>275000</nanos>
<sequence>0</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added tomato (fruit), amount: 0, expiration date not set, cost: $0.00, location: null, remark not set</message>
</record>
<record>
<date>2024-04-12T08:14:04.783381200Z</date>
<millis>1712909644783</millis>
<nanos>381200</nanos>
<sequence>1</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added banana (fruit), amount: 4 pieces, expiration: 2024-04-30, cost: $2.00, location: pantry, remark not set</message>
</record>
<record>
<date>2024-04-12T08:14:04.785381500Z</date>
<millis>1712909644785</millis>
<nanos>381500</nanos>
<sequence>2</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added milk (beverage), amount: 300 ml, expiration date not set, cost: $0.00, location: fridge, remark not set</message>
</record>
<record>
<date>2024-04-12T08:14:04.787382100Z</date>
<millis>1712909644787</millis>
<nanos>382100</nanos>
<sequence>3</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added ma (as), amount: 0, expiration date not set, cost: $0.00, location: null, remark not set</message>
</record>
</log>
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2024-04-15T07:28:00.146164Z</date>
<millis>1713166080146</millis>
<nanos>164000</nanos>
<sequence>0</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added milk (BEVERAGE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.162164300Z</date>
<millis>1713166080162</millis>
<nanos>164300</nanos>
<sequence>1</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added milk tea (BEVERAGE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.163166800Z</date>
<millis>1713166080163</millis>
<nanos>166800</nanos>
<sequence>2</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added tomato (VEGETABLE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.164165600Z</date>
<millis>1713166080164</millis>
<nanos>165600</nanos>
<sequence>3</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added banana (FRUIT) </message>
</record>
<record>
<date>2024-04-15T07:28:00.165166300Z</date>
<millis>1713166080165</millis>
<nanos>166300</nanos>
<sequence>4</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added eepy (NOT SLEEPY) </message>
</record>
</log>
88 changes: 88 additions & 0 deletions GroceryList.log.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2024-04-15T07:28:00.571022100Z</date>
<millis>1713166080571</millis>
<nanos>22100</nanos>
<sequence>0</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added milk (BEVERAGE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.582021200Z</date>
<millis>1713166080582</millis>
<nanos>21200</nanos>
<sequence>1</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added milk tea (BEVERAGE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.591018600Z</date>
<millis>1713166080591</millis>
<nanos>18600</nanos>
<sequence>2</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added tomato (VEGETABLE) </message>
</record>
<record>
<date>2024-04-15T07:28:00.592019200Z</date>
<millis>1713166080592</millis>
<nanos>19200</nanos>
<sequence>3</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added banana (FRUIT) </message>
</record>
<record>
<date>2024-04-15T07:28:00.593020400Z</date>
<millis>1713166080593</millis>
<nanos>20400</nanos>
<sequence>4</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added eepy (NOT SLEEPY) </message>
</record>
<record>
<date>2024-04-15T07:29:00.741576500Z</date>
<millis>1713166140741</millis>
<nanos>576500</nanos>
<sequence>5</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added beans, amount: 0</message>
</record>
<record>
<date>2024-04-15T07:29:39.987825200Z</date>
<millis>1713166179987</millis>
<nanos>825200</nanos>
<sequence>6</sequence>
<logger>grocery.GroceryList</logger>
<level>INFO</level>
<class>grocery.GroceryList</class>
<method>addGrocery</method>
<thread>1</thread>
<message>Added egg, amount: 5</message>
</record>
</log>
21 changes: 21 additions & 0 deletions License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) [2024] [CS2113-T12-02]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: git.Git

Loading
Loading