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-W12-3] FinText #7

Open
wants to merge 512 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 248 commits
Commits
Show all changes
512 commits
Select commit Hold shift + click to select a range
a96e82d
Change storage data location
sRanay Nov 4, 2023
5bb1083
Remove magic literal for file path
sRanay Nov 4, 2023
89c1c8d
Add recurrence column for export command
sRanay Nov 4, 2023
1941030
Fix test cases
sRanay Nov 4, 2023
6d233e8
Change to LF
sRanay Nov 4, 2023
982d390
Change test
sRanay Nov 4, 2023
aed4982
Change EXPECTED.TXT to match current output
sRanay Nov 4, 2023
0abcbac
Allow empty goal/category
Nov 4, 2023
b482b59
Add bye command in help list
sRanay Nov 4, 2023
ce21fe6
Allow listing of goals/categories and shows their status
Nov 5, 2023
8c4b5b8
Revert changes for empty column
sRanay Nov 5, 2023
1e27678
Revert test cases for linux and macOS
sRanay Nov 5, 2023
f6df5bd
Merge remote-tracking branch 'JH/ListCommand-Update' into Jason-fix-s…
sRanay Nov 5, 2023
43762c9
Fix double parsing for non-numerical (+Infinity, -Infinity) and negat…
Jonoans Nov 5, 2023
f157d42
Merge remote-tracking branch 'upstream/master' into Jason-fix-storage…
sRanay Nov 5, 2023
33bb635
Fix storage issue with nullpointerexception
sRanay Nov 5, 2023
5828e08
Merge pull request #128 from sRanay/master
Jonoans Nov 5, 2023
97fc167
Use streams to process recurrent transactions
Jonoans Nov 5, 2023
cc2f8d2
Merge pull request #130 from Jonoans/feat-recurrent-transactions-streams
sRanay Nov 5, 2023
5299cbf
Merge pull request #129 from Jonoans/fix-double-parsing
sRanay Nov 5, 2023
e29f7c9
Merge pull request #92 from Jonoans/fix-diagrams
sRanay Nov 5, 2023
4f06283
Merge remote-tracking branch 'upstream/master' into Jason-fix-storage…
sRanay Nov 5, 2023
2ae241e
Update UG to clarify valid parameter values
Jonoans Nov 5, 2023
f3b7f3e
Merge remote-tracking branch 'upstream/master' into feat-recurrent-tr…
Jonoans Nov 5, 2023
2a7e307
Update diagrams and clarify parameter values for amount for in / out …
Jonoans Nov 5, 2023
25e6795
Fix typo in error message for transactions
Jonoans Nov 5, 2023
afb8a5d
Remove extract spaces
Jonoans Nov 5, 2023
4845f87
Update test
Jonoans Nov 5, 2023
e978549
Force recurrence transaction generation to be sequential
Jonoans Nov 5, 2023
5a51283
Fixed error handling for ListCommand
Nov 5, 2023
c5c08e2
Merge pull request #131 from Jonoans/feat-recurrent-transactions-streams
sRanay Nov 6, 2023
d0a3c55
Merge remote-tracking branch 'upstream/master' into Jason-fix-storage…
sRanay Nov 6, 2023
01a7099
Changed error handling behaviour for categorycommand
Nov 6, 2023
54ae85d
Fix test cases
sRanay Nov 6, 2023
4b92578
Changed error handling behaviour for goal and category
Nov 6, 2023
0710448
Add details to UG
sRanay Nov 6, 2023
2da581a
Modify Parser to detect duplicate arguments
ChoonSiang Nov 6, 2023
0f3b1ef
Add throws DukeException to Command tests
ChoonSiang Nov 6, 2023
a1e4080
Modify ListCommandTest to use current date for test
ChoonSiang Nov 6, 2023
1429bb4
Add Parser tests for duplicate arguments
ChoonSiang Nov 6, 2023
4bc694f
Modify UG for clarity in duplicate arguments
ChoonSiang Nov 6, 2023
103bd7f
Add summary command to view total income/expense
ChoonSiang Nov 6, 2023
652b859
Add test cases for SummaryCommand
ChoonSiang Nov 6, 2023
337f5aa
Modify UG to include Summary Command
ChoonSiang Nov 6, 2023
dbbae6e
Merge pull request #134 from ChoonSiang/parser-multi-args-fix
Jonoans Nov 6, 2023
ff14c6e
Merge branch 'master' into summary-command
ChoonSiang Nov 6, 2023
02a86c9
Merge branch 'ListCommand-Update' of https://github.com/hooami/tp int…
hooami Nov 7, 2023
c86796e
Fixed Tests for ListCommand output
hooami Nov 7, 2023
21d14d4
Merge branch 'BugFix-ErrorHandling' of https://github.com/hooami/tp i…
hooami Nov 7, 2023
b4aa8e9
Fixed tests to allow for /goal and /category to not be specified
hooami Nov 7, 2023
821bb29
Fixed error handling for Goal and Category commands
hooami Nov 7, 2023
6c071cd
Removed unused imports
hooami Nov 7, 2023
7ee7a36
Removed unused imports
hooami Nov 7, 2023
742a7b8
Merge pull request #132 from hooami/ListCommand-Update
ChoonSiang Nov 7, 2023
8794b84
Merge branch 'master' into Jason-fix-storage-bugs
sRanay Nov 7, 2023
fc361c5
Merge pull request #133 from sRanay/Jason-fix-storage-bugs
ChoonSiang Nov 7, 2023
f3b4044
Removed check for empty description
hooami Nov 7, 2023
711dcf7
Add implementation of export command
sRanay Nov 7, 2023
86f5bd1
Add comments for export command
sRanay Nov 7, 2023
eb6692e
Change word from three to four
sRanay Nov 7, 2023
469af19
Merge pull request #136 from hooami/BugFix-ErrorHandling
ChoonSiang Nov 7, 2023
d66cf8d
Merge remote-tracking branch 'upstream/master' into Jason-update-guide-2
sRanay Nov 7, 2023
ce3cb05
Add PPP
sRanay Nov 7, 2023
86b89d9
Change phrasing for export feature
sRanay Nov 7, 2023
31ea6d0
Merge pull request #137 from sRanay/Jason-update-guide-2
ChoonSiang Nov 7, 2023
0ed67c1
Merge pull request #135 from ChoonSiang/summary-command
sRanay Nov 7, 2023
7a637b2
Add PPP
Jonoans Nov 7, 2023
8a159e0
Create itayrefaely.md
itayrefaely Nov 7, 2023
81b98e1
Add team-based contribution section
Jonoans Nov 7, 2023
4b524b6
Added PPP
hooami Nov 7, 2023
343ee79
Add PPP for ChoonSiang
ChoonSiang Nov 7, 2023
710edba
Merge pull request #138 from AY2324S1-CS2113-W12-3/itayrefaely-patch-1
ChoonSiang Nov 7, 2023
3ca2383
Merge pull request #139 from Jonoans/jon-ppp
ChoonSiang Nov 7, 2023
771b795
Merge pull request #140 from hooami/ppp-update
ChoonSiang Nov 7, 2023
76de11f
Merge pull request #141 from ChoonSiang/cs-ppp
hooami Nov 7, 2023
d129607
Modify the program to safely exit when ctrl-c or ctrl-d is input by t…
ChoonSiang Nov 7, 2023
2d665e1
Modify UG to include details on the usage of Ctrl-d and Ctrl-d to end…
ChoonSiang Nov 7, 2023
4f88c3a
Update text-ui-test
ChoonSiang Nov 7, 2023
4b324f0
Update EXPECTED.TXT
ChoonSiang Nov 7, 2023
0f36058
Abstracted input validation for Goal and Category into Classification…
hooami Nov 7, 2023
7275820
Resolve exception for progress bar when amount exceeds target goal am…
hooami Nov 7, 2023
8d11ed7
Changed behaviour of Category and Goal command to replace transaction…
hooami Nov 7, 2023
18ce6e0
Reformat lines
hooami Nov 7, 2023
95e24d7
Fixed checkstyle error
hooami Nov 7, 2023
0aa11b9
Add edit feature
itayrefaely Nov 7, 2023
02d215a
Use default layout in theme
Jonoans Nov 7, 2023
0f9a1df
Update PPP
hooami Nov 7, 2023
8ef34f6
Update links in AboutUs page
Jonoans Nov 7, 2023
08e3083
Merge pull request #145 from hooami/ppp-update
Jonoans Nov 7, 2023
2fd2eb7
Merge pull request #146 from Jonoans/jon-ppp
hooami Nov 7, 2023
64faf1d
Update PPP
itayrefaely Nov 7, 2023
6b8641a
Update UserGuide.md edit transaction command
itayrefaely Nov 7, 2023
069aad4
Update DeveloperGuide.md Edit Transaction Command
itayrefaely Nov 7, 2023
503e41c
Addressed comment in PR
itayrefaely Nov 8, 2023
31d9f9b
Merge pull request #150 from itayrefaely/itayrefaely-patch-3
itayrefaely Nov 8, 2023
591447d
Fix test cases
sRanay Nov 8, 2023
e4e4ff8
Merge pull request #148 from AY2324S1-CS2113-W12-3/itayrefaely-patch-3
Jonoans Nov 8, 2023
7fc2bda
Shift test case for expense command
sRanay Nov 8, 2023
c3441bc
Merge pull request #147 from AY2324S1-CS2113-W12-3/itayrefaely-patch-2
Jonoans Nov 8, 2023
01bf697
Merge pull request #149 from AY2324S1-CS2113-W12-3/itayrefaely-patch-4
Jonoans Nov 8, 2023
4c68365
Merge pull request #151 from sRanay/master
Jonoans Nov 8, 2023
d1ff0d4
Merge pull request #142 from ChoonSiang/catch-interrupt
Jonoans Nov 8, 2023
f41d6b7
Addressed comments on pull request
itayrefaely Nov 8, 2023
676e2e3
Merge pull request #144 from itayrefaely/Add-edit-transaction-command
Jonoans Nov 8, 2023
97cde6c
Update UserGuide.md
itayrefaely Nov 8, 2023
3aad542
Merge pull request #1 from itayrefaely/UG-update
itayrefaely Nov 8, 2023
0e70f9f
Cosmetic changes
itayrefaely Nov 8, 2023
e989482
Merge pull request #152 from itayrefaely/master
Jonoans Nov 8, 2023
58baba7
Merge pull request #153 from itayrefaely/Add-edit-transaction-command
Jonoans Nov 8, 2023
1d0296b
Update goal and category options to denote as optional
Jonoans Nov 8, 2023
4fbc948
Merge branch 'master' into ped-issues
Nov 9, 2023
61de298
Deleted data folder that was inadvertently added
Nov 9, 2023
b4efd4d
Fix ListCommand message grammatical issue
Nov 9, 2023
ded7655
Add DG sections for StateManager and transaction addition
Jonoans Nov 9, 2023
6f314ea
Update PPP
Jonoans Nov 9, 2023
1f84278
Add some NFRs of program
Jonoans Nov 9, 2023
edda38e
Changed sorting behaviour of program to sort on addition/import inste…
Nov 9, 2023
77d65b1
Fixed tests to compensate for changed behaviour of the list command a…
Nov 9, 2023
2155505
Fix recurrence typo and corrected output for test for MacOS and Linux
Nov 9, 2023
dd16178
Fix checkstyle issue
Nov 9, 2023
baf57e1
Fix typo
Nov 9, 2023
6f27c38
Merge pull request #154 from Jonoans/update-ug-goal-category
sRanay Nov 9, 2023
8e961dc
Change test case for AddIncomeCommandTest
Nov 9, 2023
e8a56ef
Merge pull request #155 from hooami/sorting-changes
Jonoans Nov 9, 2023
1f46c44
Fix error handling for GoalCommand
Nov 9, 2023
869ac29
Add edit and summary to help list
sRanay Nov 9, 2023
c1a5655
Update PPP
sRanay Nov 9, 2023
4e976a8
Fix error handling behaviour
Nov 9, 2023
8c13ce7
Merge branch 'master' of https://github.com/hooami/tp into ped-issues
Nov 9, 2023
c9eb6ac
Fix sentence for in and out command
sRanay Nov 9, 2023
435e757
Fix failing tests
Nov 9, 2023
3b4308f
Merge pull request #156 from sRanay/Jason-update-help-command
Jonoans Nov 9, 2023
ed9eac5
Change category behaviour
Nov 10, 2023
1e82b25
Improve error handling for list command and change sorting behaviour …
Nov 10, 2023
8fffef7
Fix export transaction file bugs
sRanay Nov 10, 2023
9f0d9e6
Modify test files for Linux and MacOS
sRanay Nov 10, 2023
c725947
Merge pull request #143 from hooami/ped-issues
Jonoans Nov 10, 2023
3cc7d37
Merge branch 'master' into Jason-fix-export-bugs
sRanay Nov 10, 2023
05f5926
Add manual test instructions to DG
ChoonSiang Nov 10, 2023
b7914c2
Refactor code to attain uncategorised category name from single source
Jonoans Nov 10, 2023
01dedbc
Minor cleanup on Storage class
Jonoans Nov 10, 2023
a08d4f9
Ensure loaded categories are valid
Jonoans Nov 10, 2023
b045098
Ensure description for classifications conform to expected input stan…
Jonoans Nov 10, 2023
f5d367b
Fix crash relating to invalid recurrence value in loaded store
Jonoans Nov 10, 2023
632278e
Add javadocs
ChoonSiang Nov 10, 2023
73c3144
Remove redundant checks & ensure loaded state conforms to input expec…
Jonoans Nov 10, 2023
1bf5b1c
Fix Index OOB error
Jonoans Nov 10, 2023
72b71e5
Ensure loaded goal and cateogry descriptions properly validated
Jonoans Nov 10, 2023
341d0b4
Validate row length of loaded expense
Jonoans Nov 10, 2023
f13355e
Merge pull request #160 from Jonoans/fix-storage-crashes
ChoonSiang Nov 10, 2023
d4b199a
Update UserGuide.md
Nov 11, 2023
51d2dc9
Merge pull request #157 from sRanay/Jason-fix-export-bugs
hooami Nov 11, 2023
6804525
Add various command implementation in DG
ChoonSiang Nov 11, 2023
c8523f9
Remove header for help feature implemenation
ChoonSiang Nov 11, 2023
def9762
Merge pull request #162 from ChoonSiang/`DG-implementation`
Jonoans Nov 11, 2023
5a8dfdf
Update DG to conform format to other sections
Jonoans Nov 11, 2023
a73c1f7
Remove redundant header
Jonoans Nov 11, 2023
994653c
Merge pull request #159 from ChoonSiang/cs-javadocs
hooami Nov 11, 2023
abbc4c0
Move progress bar to new column
Nov 11, 2023
133e5f9
Change example output for list goal
Nov 11, 2023
c212df7
Fix failing test
Nov 11, 2023
7913a05
Modify list transactions section
Nov 11, 2023
e7f563f
Merge pull request #158 from ChoonSiang/manual-test-dg
hooami Nov 11, 2023
c1987d4
Modify code to use one function instead
sRanay Nov 11, 2023
9242b79
Add usage for list command
sRanay Nov 11, 2023
28240f5
Add List feature explanation
Nov 11, 2023
43c04be
Merge pull request #161 from hooami/update-UG
sRanay Nov 12, 2023
7ce8362
Merge pull request #164 from Jonoans/dg-update
sRanay Nov 12, 2023
c367f59
Update PPP
sRanay Nov 12, 2023
8fd7678
Modify code to not allow duplicates
sRanay Nov 12, 2023
3db552a
Modify test case for Linux and Mac
sRanay Nov 12, 2023
9f3606b
Modify EditTransactionCommand to allow multiple arguments changes
ChoonSiang Nov 12, 2023
5616669
Modify Edit Transaction description in UG
ChoonSiang Nov 12, 2023
0bb3171
Add Edit Transaction implementation to DG
ChoonSiang Nov 12, 2023
16b8879
Add javadocs for some tests
sRanay Nov 13, 2023
602b982
Modify code for export command
sRanay Nov 13, 2023
5649efd
Add javadocs to Command tests
ChoonSiang Nov 13, 2023
575d0a2
Merge pull request #168 from ChoonSiang/edittransaction-DG-UG
Jonoans Nov 13, 2023
76a76d3
Add javadocs for export command
sRanay Nov 13, 2023
39ed2cd
Modify the /type value to be case-insensitive
ChoonSiang Nov 13, 2023
c923062
Merge pull request #165 from sRanay/Jason-update-help-command-2
Jonoans Nov 13, 2023
3c4e924
Add javadocs for help command
sRanay Nov 13, 2023
c1f5022
Update UG to include argument name and value case sensitivity
ChoonSiang Nov 13, 2023
183401a
Update javadocs
Nov 13, 2023
80331c1
Add javadocs for storage
sRanay Nov 13, 2023
5320a65
Added sequence diagrams for DG
Jonoans Nov 13, 2023
263b7e0
Correct description in reference frames
Jonoans Nov 13, 2023
61e3508
Correct parser in goal sequence diagram
Jonoans Nov 13, 2023
42e6dee
Remove name from entity
Jonoans Nov 13, 2023
072516a
Crop out bottom entity blocks of sequence diagram
Jonoans Nov 13, 2023
f6cfece
Merge remote-tracking branch 'upstream/master' into dg-update
Jonoans Nov 13, 2023
f991264
Add sequence diagram in docs
Jonoans Nov 13, 2023
bee2c23
Merge pull request #173 from Jonoans/dg-update
ChoonSiang Nov 13, 2023
169312f
Merge pull request #163 from hooami/fix-ListCommand
ChoonSiang Nov 13, 2023
d5305d8
Merge pull request #172 from sRanay/Jason-update-help-command-2
ChoonSiang Nov 13, 2023
0441af3
Merge pull request #167 from ChoonSiang/editcommand-multiple
sRanay Nov 13, 2023
9e298e8
Merge pull request #169 from ChoonSiang/test-javadocs
sRanay Nov 13, 2023
2b2c09c
Merge pull request #170 from ChoonSiang/standardise-type
sRanay Nov 13, 2023
6510d4c
Merge branch 'master' into javadocs-update
hooami Nov 13, 2023
69760b0
Update PPP
Jonoans Nov 13, 2023
d40a6af
Update PPP
sRanay Nov 13, 2023
31620dd
Update DevelopGuide and add sequence diagram for ListCommand
Nov 13, 2023
cd7e176
Merge branch 'master' of https://github.com/hooami/tp into DG
Nov 13, 2023
c8f69cc
Add link to all PRs reviewed
Jonoans Nov 13, 2023
c360b2e
Add non-trivial PR review
Jonoans Nov 13, 2023
3399438
Fix case of list /type in /goal uncategorised not filtering and chang…
Nov 13, 2023
ee1fd6b
Fix edge case for edit with uncategorised classifications
Jonoans Nov 13, 2023
2af2842
Merge pull request #177 from Jonoans/edit-uncategorised
ChoonSiang Nov 13, 2023
9c2f7ce
Merge pull request #176 from hooami/bugfix
ChoonSiang Nov 13, 2023
e053b79
Merge pull request #174 from Jonoans/dg-update
sRanay Nov 13, 2023
f0c646e
Update choonsiang PPP
ChoonSiang Nov 13, 2023
be7f755
Update PPP
sRanay Nov 13, 2023
e21b685
Merge pull request #175 from sRanay/master
hooami Nov 13, 2023
eb8e0c8
Edit message for SummaryCommand
Nov 13, 2023
0381eb1
Merge pull request #178 from ChoonSiang/cs-updated-PPP
sRanay Nov 13, 2023
7a0d74d
Tweak double parsing behaviour for non-negative double
Jonoans Nov 13, 2023
cbb3a15
Add javadoc for date parse
Jonoans Nov 13, 2023
05d2815
Update PPP
Jonoans Nov 13, 2023
5c9312d
Fix failing tests
Nov 13, 2023
fbb04b9
Update UG
Jonoans Nov 13, 2023
6b3a459
Include constraint statement in edit command
Jonoans Nov 13, 2023
8e47f11
Simplify regex
Jonoans Nov 13, 2023
11eefc8
Merge pull request #180 from Jonoans/jon-last-changes
ChoonSiang Nov 13, 2023
acf976c
Merge pull request #179 from hooami/bugfix
ChoonSiang Nov 13, 2023
b12d63f
Add PR
Jonoans Nov 13, 2023
1f887b8
Merge pull request #166 from hooami/DG
Jonoans Nov 13, 2023
f1de84a
Merge branch 'master' into javadocs-update
Jonoans Nov 13, 2023
28f90dd
Merge pull request #181 from Jonoans/jon-last-changes
hooami Nov 13, 2023
4bf31a7
Merge pull request #171 from hooami/javadocs-update
ChoonSiang Nov 13, 2023
0fa80a9
Update PPP
Nov 13, 2023
bd7d25f
Merge pull request #182 from hooami/ppp-update
ChoonSiang Nov 13, 2023
a6e2d37
Add JavaDocs for test directory
itayrefaely Nov 13, 2023
a7d4e12
Merge branch 'master' into Add-JavaDoc-test-dir
itayrefaely Nov 13, 2023
a9d2a3a
Checkstyle fix
itayrefaely Nov 13, 2023
5ed7bc7
Update UserGuide and edit message for GoalCommand
hooami Nov 14, 2023
4228409
Update PPP
hooami Nov 14, 2023
10f1e06
Update UserGuide
hooami Nov 14, 2023
0b6b08c
Update DG on user stories
ChoonSiang Nov 14, 2023
5e6f34d
Update UserGuide
hooami Nov 14, 2023
5d3674f
Update UserGuide
hooami Nov 14, 2023
6899226
Merge pull request #184 from hooami/bugfix
ChoonSiang Nov 14, 2023
91f9168
Merge pull request #183 from itayrefaely/Add-JavaDoc-test-dir
ChoonSiang Nov 14, 2023
216ef43
Merge pull request #185 from ChoonSiang/update-dg
ChoonSiang Nov 14, 2023
aa0edef
Update UserGuide
hooami Nov 14, 2023
72b503a
Update PPP
hooami Nov 14, 2023
f64a0b7
Merge pull request #186 from hooami/bugfix
ChoonSiang Nov 14, 2023
755c029
Update edit transaction
ChoonSiang Nov 14, 2023
f662f5b
Merge pull request #187 from ChoonSiang/update-edit
sRanay Nov 14, 2023
63761b9
Revert "Update edit transaction"
Jonoans Nov 14, 2023
65579ee
Merge pull request #188 from AY2324S1-CS2113-W12-3/revert-187-update-…
sRanay Nov 14, 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
5 changes: 5 additions & 0 deletions TestCSV/Linux/empty/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name
food

transport
toy
10 changes: 10 additions & 0 deletions TestCSV/Linux/empty/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
,20,29/10/2023,transport,none,FALSE
grab,,29/10/2023,transport,none,FALSE
grab,20,,transport,none,FALSE
grab,20,29/10/2023,,none,FALSE
grab,20,29/10/2023,transport,,FALSE
grab,20,29/10/2023,transport,none,
grab,20,29/10/2023,transport,none,FALSE
5 changes: 5 additions & 0 deletions TestCSV/Linux/empty/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Description,Amount
car,1000
,1000
ps5,
ps5,1000
10 changes: 10 additions & 0 deletions TestCSV/Linux/empty/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
,50,29/10/2023,ps5,none,FALSE
sell stuff,,29/10/2023,ps5,none,FALSE
sell stuff,50,,ps5,none,FALSE
sell stuff,50,29/10/2023,,none,FALSE
sell stuff,50,29/10/2023,ps5,,FALSE
sell stuff,50,29/10/2023,ps5,none,
sell stuff,50,29/10/2023,ps5,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/Linux/error/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
8 changes: 8 additions & 0 deletions TestCSV/Linux/error/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
grab,-100,29/10/2023,transport,none,FALSE
grab,20,asdas,transport,none,FALSE
grab,asdasd,29/10/2023,transport,none,FALSE
grab,20,29/10/2023,transport,none,asdasds
grab,20,29/10/2023,transport,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/Linux/error/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Description,Amount
car,1000
ps5,-1203123
ps5,1000
8 changes: 8 additions & 0 deletions TestCSV/Linux/error/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
sell stuff,-1,29/10/2023,ps5,none,FALSE
sell stuff,50,asdasd,ps5,none,FALSE
sell stuff,asdasd,29/10/2023,ps5,none,FALSE
sell stuff,50,29/10/2023,ps5,none,asdasdasd
sell stuff,50,29/10/2023,ps5,none,FALSE
7 changes: 7 additions & 0 deletions TestCSV/Linux/valid/Transactions-all.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/Linux/valid/Transactions-in.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
4 changes: 4 additions & 0 deletions TestCSV/Linux/valid/Transactions-out.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/Linux/valid/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
4 changes: 4 additions & 0 deletions TestCSV/Linux/valid/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Category","Recurrence","Has Next Reccurence"
"buy dinner","15.0","29/10/2023","food","monthly","false"
"popmart","12.0","29/10/2023","toy","none","false"
"grab","20.0","29/10/2023","transport","none","false"
3 changes: 3 additions & 0 deletions TestCSV/Linux/valid/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Description","Amount"
"car","1000.0"
"ps5","1000.0"
4 changes: 4 additions & 0 deletions TestCSV/Linux/valid/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Goal","Recurrence","Has Next Recurrence"
"part-time job","1000.0","29/10/2023","car","none","false"
"allowance","500.0","29/10/2023","car","monthly","false"
"sell stuff","50.0","29/10/2023","ps5","none","false"
5 changes: 5 additions & 0 deletions TestCSV/MacOS/empty/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name
food

transport
toy
10 changes: 10 additions & 0 deletions TestCSV/MacOS/empty/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
,20,29/10/2023,transport,none,FALSE
grab,,29/10/2023,transport,none,FALSE
grab,20,,transport,none,FALSE
grab,20,29/10/2023,,none,FALSE
grab,20,29/10/2023,transport,,FALSE
grab,20,29/10/2023,transport,none,
grab,20,29/10/2023,transport,none,FALSE
5 changes: 5 additions & 0 deletions TestCSV/MacOS/empty/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Description,Amount
car,1000
,1000
ps5,
ps5,1000
10 changes: 10 additions & 0 deletions TestCSV/MacOS/empty/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
,50,29/10/2023,ps5,none,FALSE
sell stuff,,29/10/2023,ps5,none,FALSE
sell stuff,50,,ps5,none,FALSE
sell stuff,50,29/10/2023,,none,FALSE
sell stuff,50,29/10/2023,ps5,,FALSE
sell stuff,50,29/10/2023,ps5,none,
sell stuff,50,29/10/2023,ps5,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/MacOS/error/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
8 changes: 8 additions & 0 deletions TestCSV/MacOS/error/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
grab,-100,29/10/2023,transport,none,FALSE
grab,20,asdas,transport,none,FALSE
grab,asdasd,29/10/2023,transport,none,FALSE
grab,20,29/10/2023,transport,none,asdasds
grab,20,29/10/2023,transport,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/MacOS/error/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Description,Amount
car,1000
ps5,-1203123
ps5,1000
8 changes: 8 additions & 0 deletions TestCSV/MacOS/error/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
sell stuff,-1,29/10/2023,ps5,none,FALSE
sell stuff,50,asdasd,ps5,none,FALSE
sell stuff,asdasd,29/10/2023,ps5,none,FALSE
sell stuff,50,29/10/2023,ps5,none,asdasdasd
sell stuff,50,29/10/2023,ps5,none,FALSE
7 changes: 7 additions & 0 deletions TestCSV/MacOS/valid/Transactions-all.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/MacOS/valid/Transactions-in.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
4 changes: 4 additions & 0 deletions TestCSV/MacOS/valid/Transactions-out.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/MacOS/valid/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
4 changes: 4 additions & 0 deletions TestCSV/MacOS/valid/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Category","Recurrence","Has Next Reccurence"
"buy dinner","15.0","29/10/2023","food","monthly","false"
"popmart","12.0","29/10/2023","toy","none","false"
"grab","20.0","29/10/2023","transport","none","false"
3 changes: 3 additions & 0 deletions TestCSV/MacOS/valid/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Description","Amount"
"car","1000.0"
"ps5","1000.0"
4 changes: 4 additions & 0 deletions TestCSV/MacOS/valid/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Goal","Recurrence","Has Next Recurrence"
"part-time job","1000.0","29/10/2023","car","none","false"
"allowance","500.0","29/10/2023","car","monthly","false"
"sell stuff","50.0","29/10/2023","ps5","none","false"
5 changes: 5 additions & 0 deletions TestCSV/Windows/empty/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name
food

transport
toy
10 changes: 10 additions & 0 deletions TestCSV/Windows/empty/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
,20,29/10/2023,transport,none,FALSE
grab,,29/10/2023,transport,none,FALSE
grab,20,,transport,none,FALSE
grab,20,29/10/2023,,none,FALSE
grab,20,29/10/2023,transport,,FALSE
grab,20,29/10/2023,transport,none,
grab,20,29/10/2023,transport,none,FALSE
5 changes: 5 additions & 0 deletions TestCSV/Windows/empty/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Description,Amount
car,1000
,1000
ps5,
ps5,1000
10 changes: 10 additions & 0 deletions TestCSV/Windows/empty/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
,50,29/10/2023,ps5,none,FALSE
sell stuff,,29/10/2023,ps5,none,FALSE
sell stuff,50,,ps5,none,FALSE
sell stuff,50,29/10/2023,,none,FALSE
sell stuff,50,29/10/2023,ps5,,FALSE
sell stuff,50,29/10/2023,ps5,none,
sell stuff,50,29/10/2023,ps5,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/Windows/error/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
8 changes: 8 additions & 0 deletions TestCSV/Windows/error/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Category,Recurrence,Has Next Reccurence
buy dinner,15,29/10/2023,food,daily,FALSE
popmart,12,29/10/2023,toy,none,FALSE
grab,-100,29/10/2023,transport,none,FALSE
grab,20,asdas,transport,none,FALSE
grab,asdasd,29/10/2023,transport,none,FALSE
grab,20,29/10/2023,transport,none,asdasds
grab,20,29/10/2023,transport,none,FALSE
4 changes: 4 additions & 0 deletions TestCSV/Windows/error/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Description,Amount
car,1000
ps5,-1203123
ps5,1000
8 changes: 8 additions & 0 deletions TestCSV/Windows/error/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Description,Amount,Date,Goal,Recurrence,Has Next Recurrence
part-time job,1000,29/10/2023,car,none,FALSE
allowance,500,29/10/2023,car,monthly,FALSE
sell stuff,-1,29/10/2023,ps5,none,FALSE
sell stuff,50,asdasd,ps5,none,FALSE
sell stuff,asdasd,29/10/2023,ps5,none,FALSE
sell stuff,50,29/10/2023,ps5,none,asdasdasd
sell stuff,50,29/10/2023,ps5,none,FALSE
7 changes: 7 additions & 0 deletions TestCSV/Windows/valid/Transactions-all.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/Windows/valid/Transactions-in.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"part-time job","2023-10-29","1000.00","car",
"allowance","2023-10-29","500.00","car",
"sell stuff","2023-10-29","50.00","ps5",
4 changes: 4 additions & 0 deletions TestCSV/Windows/valid/Transactions-out.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Date","Amount","Goal","Category"
"buy dinner","2023-10-29","15.00",,"food"
"popmart","2023-10-29","12.00",,"toy"
"grab","2023-10-29","20.00",,"transport"
4 changes: 4 additions & 0 deletions TestCSV/Windows/valid/category-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Name"
"food"
"toy"
"transport"
4 changes: 4 additions & 0 deletions TestCSV/Windows/valid/expense-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Category","Recurrence","Has Next Reccurence"
"buy dinner","15.0","29/10/2023","food","monthly","false"
"popmart","12.0","29/10/2023","toy","none","false"
"grab","20.0","29/10/2023","transport","none","false"
3 changes: 3 additions & 0 deletions TestCSV/Windows/valid/goal-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Description","Amount"
"car","1000.0"
"ps5","1000.0"
4 changes: 4 additions & 0 deletions TestCSV/Windows/valid/income-store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Description","Amount","Date","Goal","Recurrence","Has Next Recurrence"
"part-time job","1000.0","29/10/2023","car","none","false"
"allowance","500.0","29/10/2023","car","monthly","false"
"sell stuff","50.0","29/10/2023","ps5","none","false"
95 changes: 49 additions & 46 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,46 +1,49 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClass.set("seedu.duke.Duke")
}

shadowJar {
archiveBaseName.set("duke")
archiveClassifier.set("")
}

checkstyle {
toolVersion = '10.2'
}

run{
standardInput = System.in
}
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
implementation group: 'com.opencsv', name: 'opencsv', version: '5.8'
implementation group: 'commons-io', name: 'commons-io', version: '2.15.0'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClass.set("seedu.duke.Duke")
}

shadowJar {
archiveBaseName.set("duke")
archiveClassifier.set("")
}

checkstyle {
toolVersion = '10.2'
}

run{
standardInput = System.in
enableAssertions = true;
}
Loading
Loading