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-T16-1] FinanceIt #48

Open
wants to merge 779 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
779 commits
Select commit Hold shift + click to select a range
b4c23ee
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Feudalord Nov 6, 2020
1cd7240
Merge branch 'master' of https://github.com/Feudalord/tp
Feudalord Nov 6, 2020
4716393
Add validation for day of month inputted.
Artemis-Hunt Nov 6, 2020
cfe1894
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Artemis-Hunt Nov 6, 2020
0d60d56
Fix checkstyle errors.
Artemis-Hunt Nov 6, 2020
88fab5f
Merge pull request #248 from Artemis-Hunt/master
Artemis-Hunt Nov 6, 2020
bf75a72
Update manual testing section of dev guide.
Artemis-Hunt Nov 6, 2020
8208e90
Merge pull request #249 from Artemis-Hunt/master
Artemis-Hunt Nov 6, 2020
0f1d531
Handle negative and alphabet inputs in FinanceTools
Nov 6, 2020
c70bb47
Merge pull request #250 from bqxy/finance-tools
qkbrandon Nov 6, 2020
6167888
Add Table of Content in UserGuide.md
Nov 6, 2020
e9a40a7
Edit Table of Contents in UserGuide.md
Nov 6, 2020
f157c30
Edit Table of Contents in UserGuide.md
Nov 6, 2020
2d0b71b
Merge pull request #251 from bqxy/finance-tools
qkbrandon Nov 6, 2020
16446a3
Edit UserGuide.md
Nov 6, 2020
242ccc6
Edit UserGuide.md
Nov 6, 2020
7dd559d
Edit UserGuide.md
Nov 6, 2020
488f8bf
Add Table of Contents for DeveloperGuide.md
Nov 6, 2020
294bdb1
Edit DeveloperGuide.md
Nov 6, 2020
54a9b29
Edit DeveloperGuide.md
Nov 6, 2020
6f1bcc7
Updated DG to fit new standards
Nov 6, 2020
afc3024
Edit DeveloperGuide.md
Nov 6, 2020
b4ab31f
Resize diagrams
Nov 6, 2020
cb4cddc
Edit DeveloperGuide.md
Nov 6, 2020
38dd20a
Merge pull request #252 from bqxy/finance-tools
qkbrandon Nov 6, 2020
e5eb42a
Edit AccountStorage.java
Nov 6, 2020
83bdcc9
Edit UserGuide.md
Nov 6, 2020
bf3bbaf
Merge pull request #253 from bqxy/finance-tools
qkbrandon Nov 6, 2020
3a07d8e
Update Screenshots in UserGuide.md for FinanceTools
Nov 6, 2020
4ec7ca0
Merge pull request #254 from bqxy/finance-tools
qkbrandon Nov 6, 2020
4d42c05
Update DeveloperGuide.md
Nov 6, 2020
af6a651
Resolved parser bugs and made ManualTracker more defensive to corner …
Nov 6, 2020
7f2535f
Edit DeveloperGuide.md
Nov 6, 2020
557a2e3
Merge pull request #255 from bqxy/finance-tools
qkbrandon Nov 6, 2020
4babc05
Update DeveloperGuide.md
Nov 6, 2020
93f19b2
Merge pull request #256 from bqxy/finance-tools
qkbrandon Nov 6, 2020
7bc7420
Resolved more parser bugs and made ManualTracker much more defensive …
Nov 6, 2020
d2f7f3c
Merge branch 'master' into master
kaiwen98 Nov 6, 2020
cd165b4
Merge pull request #257 from kaiwen98/master
kaiwen98 Nov 6, 2020
dec1a1e
Update DeveloperGuide.md
Nov 6, 2020
093de10
Merge pull request #258 from bqxy/finance-tools
qkbrandon Nov 6, 2020
bcfb623
remove print msgs
Nov 6, 2020
aaefc9d
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T16-1/tp
Nov 6, 2020
d8a18e3
Merge pull request #259 from kaiwen98/master
kaiwen98 Nov 6, 2020
92aef60
Update UserGuide.md
Nov 7, 2020
9e99465
Update DeveloperGuide.md
Nov 7, 2020
c61e2f5
RepoSense compatibility for FinanceTools
Nov 7, 2020
43344d7
Edit to pass checkstyleMain
Nov 7, 2020
bed0104
Update bqxy.md
Nov 7, 2020
05ab034
Did some slap for Goal Tracker. Add in future feature in UG and DG
dixoncwc Nov 7, 2020
9b1fe21
Merge pull request #260 from bqxy/finance-tools
qkbrandon Nov 7, 2020
8b5c7d3
Resolved CheckStyleMain
dixoncwc Nov 7, 2020
a358685
Merge pull request #261 from dixoncwc/GoalsTracker
dixoncwc Nov 7, 2020
196055b
Add files via upload
Feudalord Nov 8, 2020
facd9e3
Add files via upload
Feudalord Nov 8, 2020
e657352
Update DeveloperGuide.md
Feudalord Nov 8, 2020
f1d046b
Added in some details to DG
dixoncwc Nov 8, 2020
607e2a2
Update DeveloperGuide.md
Feudalord Nov 8, 2020
8fb3792
Update DeveloperGuide.md
Feudalord Nov 8, 2020
6bae931
Merge pull request #262 from dixoncwc/GoalsTracker
dixoncwc Nov 8, 2020
efa8189
Update DeveloperGuide.md
Feudalord Nov 8, 2020
57625f6
Update UserGuide.md
kaiwen98 Nov 8, 2020
899a43a
Update UserGuide.md
kaiwen98 Nov 8, 2020
a894b76
Add more JUnit tests for ParamChecker, RecurringTracker and ReminderG…
Artemis-Hunt Nov 8, 2020
1e34080
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Artemis-Hunt Nov 8, 2020
22d46b7
Update UserGuide.md
kaiwen98 Nov 8, 2020
21939f1
Update UserGuide.md
kaiwen98 Nov 8, 2020
47e57f2
Updated DG
Nov 8, 2020
aef9de3
Updated DG
Nov 8, 2020
14bdff7
Improve UML diagrams for Logic, data, handler
Artemis-Hunt Nov 8, 2020
b5fc3cb
Merge pull request #263 from Artemis-Hunt/master
Artemis-Hunt Nov 8, 2020
80e1407
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Feudalord Nov 8, 2020
0a50590
Updated DG
Nov 8, 2020
ecae00a
Added more comments to code
Nov 8, 2020
5778fde
AddedComments
Feudalord Nov 8, 2020
dd83970
checkstyle
Feudalord Nov 8, 2020
6edd61b
Merge pull request #265 from Feudalord/master
Feudalord Nov 8, 2020
2a61757
Fixed merge conflict
Nov 8, 2020
46673bc
UG updates
Nov 8, 2020
5e64c07
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
0ab778f
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
8cda731
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
cd081e9
Updated DG
Nov 8, 2020
17ad406
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
2574daa
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
0191210
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
068fd1d
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
042c689
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
91e486d
Update UserGuide.md & RepoSense Compatibility
Nov 8, 2020
271ec1b
Merge pull request #266 from bqxy/finance-tools
qkbrandon Nov 8, 2020
0a73bfd
Fix checkstyle errors.
Artemis-Hunt Nov 8, 2020
0232536
Fix checkstyle errors.
Artemis-Hunt Nov 8, 2020
ff9daa8
Merge branch 'master' into master
Artemis-Hunt Nov 8, 2020
fa6de99
Merge pull request #267 from Artemis-Hunt/master
Artemis-Hunt Nov 8, 2020
5d28be9
Updated Developer's guide
Nov 8, 2020
eaed877
Merge branch 'master' of https://github.com/kaiwen98/tp
Nov 8, 2020
9b1def5
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
65539e1
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
d996052
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
d070271
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
7d60e52
Update DG.
Artemis-Hunt Nov 8, 2020
4942a07
Merge branch 'master' of https://github.com/Artemis-Hunt/tp
Artemis-Hunt Nov 8, 2020
c2e9cbf
Merge pull request #268 from Artemis-Hunt/master
Artemis-Hunt Nov 8, 2020
bc2a62b
Updated DG
Nov 8, 2020
1e2f8f3
Updated DG
Nov 8, 2020
360bb6a
Updated DG
Nov 8, 2020
5d7cdb0
Contributions to DG
Nov 8, 2020
ad9b1ac
UG contributions
Nov 8, 2020
8965e40
Update UG and DG for RecurringTracker.
Artemis-Hunt Nov 8, 2020
46f2a55
Update kaiwen98.md
kaiwen98 Nov 8, 2020
bc7f9f3
Merge pull request #264 from kaiwen98/master
kaiwen98 Nov 8, 2020
cb79c23
Update kaiwen98.md
kaiwen98 Nov 8, 2020
20e44fc
Contributions to ug
Nov 8, 2020
801708a
Updated DG
Nov 8, 2020
6b30d84
Updated DG
Nov 8, 2020
100231c
Merge branch 'master' into master
kaiwen98 Nov 8, 2020
e0610ef
Update UserGuide.md
kaiwen98 Nov 8, 2020
4cd662a
Merge pull request #269 from kaiwen98/master
kaiwen98 Nov 8, 2020
64d51b3
Create README.md
kaiwen98 Nov 8, 2020
111e6b6
Update README.md
kaiwen98 Nov 8, 2020
87bb7f0
Create kaiwen98.md
kaiwen98 Nov 8, 2020
c3826d2
Create kaiwen98
kaiwen98 Nov 8, 2020
14c600c
Update README.md
kaiwen98 Nov 8, 2020
53ff9f8
Delete README.md
kaiwen98 Nov 8, 2020
3aa2c77
Set theme jekyll-theme-slate
kaiwen98 Nov 8, 2020
aa9fce1
Create kaiwen98.md
kaiwen98 Nov 8, 2020
e433bf4
Delete kaiwen98.md
kaiwen98 Nov 8, 2020
6c59fe6
Rename kaiwen98 to kaiwen98.md
kaiwen98 Nov 8, 2020
142848e
Set theme jekyll-theme-slate
kaiwen98 Nov 8, 2020
faaca0f
Update DeveloperGuide.md
kaiwen98 Nov 8, 2020
91c0871
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Artemis-Hunt Nov 9, 2020
01f690b
Update DG/UG
Artemis-Hunt Nov 9, 2020
1644a7c
Merge pull request #270 from Artemis-Hunt/master
Artemis-Hunt Nov 9, 2020
2eb9aa7
Implemented dynamic save. And loading by line
Feudalord Nov 9, 2020
3bbb8df
Fixed disruptive Exceptions for testing and make exceptions more useful
Feudalord Nov 9, 2020
08773fd
Improved Exception
Feudalord Nov 9, 2020
48d81c8
found the culprit for mess up test case
Feudalord Nov 9, 2020
113ffd3
Merge pull request #271 from Feudalord/master
Feudalord Nov 9, 2020
36f1ed7
Implemented tests for redundant edit commands
Nov 9, 2020
6f4bf74
Made code more defensive
Nov 9, 2020
1beba24
Made code more defensible
Nov 9, 2020
4e2a89f
no message
dixoncwc Nov 9, 2020
d255e91
Add in details for AboutUs
dixoncwc Nov 9, 2020
bf49a66
finalised code
Nov 9, 2020
5eab862
Merge pull request #272 from dixoncwc/GoalsTracker
dixoncwc Nov 9, 2020
14d66ff
Edited some details in AboutUs
dixoncwc Nov 9, 2020
bd32e88
Edited AboutUs
dixoncwc Nov 9, 2020
3b42dd7
finalised code
Nov 9, 2020
2d14425
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T16-1/tp…
dixoncwc Nov 9, 2020
0b84a31
Merge pull request #273 from kaiwen98/final
kaiwen98 Nov 9, 2020
b7e19e4
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T16-1/tp…
dixoncwc Nov 9, 2020
4561f75
Merge pull request #274 from dixoncwc/GoalsTracker
dixoncwc Nov 9, 2020
923d852
Edited my PPP
dixoncwc Nov 9, 2020
ca25581
Merge pull request #275 from dixoncwc/GoalsTracker
dixoncwc Nov 9, 2020
09afefd
updated dg image
Nov 9, 2020
8cfa893
Merge pull request #276 from kaiwen98/master
kaiwen98 Nov 9, 2020
2d72a38
Update UserGuide.md
kaiwen98 Nov 9, 2020
a0b939a
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
1a52b48
Update kaiwen98.md
kaiwen98 Nov 9, 2020
cd2519b
Update kaiwen98.md
kaiwen98 Nov 9, 2020
c9e6426
Update and rename johndoe.md to sly.md
Feudalord Nov 9, 2020
ee202f2
Update kaiwen98.md
kaiwen98 Nov 9, 2020
39f2212
Set theme jekyll-theme-slate
kaiwen98 Nov 9, 2020
34fee9c
Set theme jekyll-theme-cayman
kaiwen98 Nov 9, 2020
a2692b3
Update README.md
kaiwen98 Nov 9, 2020
d1b0ba2
Update AboutUs.md
kaiwen98 Nov 9, 2020
8b00b47
Update kaiwen98.md
kaiwen98 Nov 9, 2020
06ccef4
Update kaiwen98.md
kaiwen98 Nov 9, 2020
c16760a
Update AboutUs.md
kaiwen98 Nov 9, 2020
9e62bc7
Update AboutUs.md
kaiwen98 Nov 9, 2020
b179c22
Update DeveloperGuide.md
Feudalord Nov 9, 2020
a9d0798
updated ug
Nov 9, 2020
2a15c2c
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T16-1/tp…
Nov 9, 2020
c54b151
updated PPP
Nov 9, 2020
6abf85e
Updated ppp
Nov 9, 2020
e5db944
Merge pull request #277 from kaiwen98/final
kaiwen98 Nov 9, 2020
73bd473
Merge pull request #278 from Feudalord/master
Feudalord Nov 9, 2020
e251254
Update sly.md
Feudalord Nov 9, 2020
d7144a3
Update and rename Artemis-Hunt.md to artemis-hunt.md
Artemis-Hunt Nov 9, 2020
231f244
Fix checkstyle
Artemis-Hunt Nov 9, 2020
20cfc1f
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Artemis-Hunt Nov 9, 2020
7c348f5
Merge pull request #279 from Artemis-Hunt/master
Artemis-Hunt Nov 9, 2020
e561fb0
updated dg size
Nov 9, 2020
3093d8b
Adjusted img
Nov 9, 2020
00f1f31
Adjusted img
Nov 9, 2020
1f23770
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
1f751f3
Add files via upload
Artemis-Hunt Nov 9, 2020
4024cfb
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
9062daf
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
3579522
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
503d73d
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
c576f7c
Update AboutUs.md
Artemis-Hunt Nov 9, 2020
d234483
Updated img
Nov 9, 2020
40e88b9
Merge pull request #280 from kaiwen98/master
kaiwen98 Nov 9, 2020
f00ca87
Update sly.md
Feudalord Nov 9, 2020
0691cd5
Update sly.md
Feudalord Nov 9, 2020
3bb1a49
Update sly.md
Feudalord Nov 9, 2020
b58ac02
Set theme jekyll-theme-slate
kaiwen98 Nov 9, 2020
456e442
Set theme jekyll-theme-slate
kaiwen98 Nov 9, 2020
652ab6c
Update sly.md
Feudalord Nov 9, 2020
7bd4a90
Update artemis-hunt.md
Artemis-Hunt Nov 9, 2020
876ddec
Update sly.md
Feudalord Nov 9, 2020
78fa685
Update sly.md
Feudalord Nov 9, 2020
9b17c6e
Update AboutUs.md
Feudalord Nov 9, 2020
cc92a46
Update AboutUs.md
Feudalord Nov 9, 2020
3036aee
Update sly.md
Feudalord Nov 9, 2020
b0134cf
Update sly.md
Feudalord Nov 9, 2020
7a65526
Merge branch 'master' of https://github.com/AY2021S1-CS2113T-T16-1/tp…
Nov 9, 2020
cc1dd80
png
Nov 9, 2020
1b84139
png
Nov 9, 2020
092f34d
Merge pull request #281 from kaiwen98/final
kaiwen98 Nov 9, 2020
8043671
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
a25c8ff
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
8c06b4f
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
2e279a4
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
e8bd4fc
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
8c98ca2
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
40f3695
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
032332e
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
5bf1c0a
Update DeveloperGuide.md
Nov 9, 2020
fcdbe28
FIx bug in RecurringTrackerTest
Artemis-Hunt Nov 9, 2020
8eb5f05
Fix checkstyle
Artemis-Hunt Nov 9, 2020
a93059b
Merge pull request #283 from bqxy/finance-tools
qkbrandon Nov 9, 2020
4698731
Merge pull request #282 from Artemis-Hunt/master
Artemis-Hunt Nov 9, 2020
bcd3c16
Update UserGuide.md
Nov 9, 2020
22e5eee
Update UserGuide.md
Nov 9, 2020
4eeb234
Merge pull request #284 from bqxy/finance-tools
qkbrandon Nov 9, 2020
13c508b
Update UserGuide.md
kaiwen98 Nov 9, 2020
9a252da
Update UserGuide.md
kaiwen98 Nov 9, 2020
9c863e6
Update DeveloperGuide.md
Nov 9, 2020
64653e0
Merge pull request #285 from bqxy/finance-tools
qkbrandon Nov 9, 2020
5230e55
Image Resize
Feudalord Nov 9, 2020
7ae3144
Merge branch 'master' of https://github.com/Feudalord/tp
Feudalord Nov 9, 2020
981b928
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Feudalord Nov 9, 2020
c185279
Merge pull request #286 from Feudalord/master
Feudalord Nov 9, 2020
d7cbb1f
Resized images
Nov 9, 2020
1bcad78
Merge pull request #287 from kaiwen98/final
kaiwen98 Nov 9, 2020
d7e8bd4
Update DG
Artemis-Hunt Nov 9, 2020
76c0571
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-1/tp
Artemis-Hunt Nov 9, 2020
3ad7f2a
Update widths for images in DG/UG
Artemis-Hunt Nov 9, 2020
18d765a
Fix bug relating to RecurringTrackerTest
Artemis-Hunt Nov 9, 2020
94a5173
Merge pull request #288 from Artemis-Hunt/master
Artemis-Hunt Nov 9, 2020
36a3141
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
b0edcf2
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
e49a493
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
3eace4e
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
b704ea6
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
a40258c
Update DeveloperGuide.md
kaiwen98 Nov 9, 2020
549c822
Saver Manager: Users can no longer enter special Characters
Feudalord Nov 16, 2020
6ef0845
Merge pull request #289 from Feudalord/master
Feudalord Nov 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
- name: Build and check with Gradle
run: ./gradlew check

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

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

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
# - name: Perform IO redirection test (*NIX)
# if: runner.os == 'Linux'
# working-directory: ${{ github.workspace }}/text-ui-test
# run: ./runtest.sh
#
# - name: Perform IO redirection test (MacOS)
# if: always() && runner.os == 'macOS'
# working-directory: ${{ github.workspace }}/text-ui-test
# run: ./runtest.sh
#
# - name: Perform IO redirection test (Windows)
# if: always() && runner.os == 'Windows'
# working-directory: ${{ github.workspace }}/text-ui-test
# shell: cmd
# run: runtest.bat
Binary file added Commands_Logic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 146 additions & 0 deletions Commands_Logic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.financeit.Financeit"
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "financeit"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.23'
}

run{
run {
standardInput = System.in
enableAssertions = true
}
1 change: 1 addition & 0 deletions data/LastRunDateTime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2020-10-29T17:57:11.457197300
1 change: 1 addition & 0 deletions data/backup/die lah_at.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23;hahasdsd;-$43000.0;;Every month;Auto deduction;nothing
3 changes: 3 additions & 0 deletions data/backup/die lah_gt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expense;4500;JANUARY
Income;5500;JANUARY
Expense;6500;FEBRUARY
1 change: 1 addition & 0 deletions data/backup/die lah_mt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ledger;2020-05-05
3 changes: 3 additions & 0 deletions data/backup/names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

die lah
who are you
1 change: 1 addition & 0 deletions data/backup/who are you_at.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23;hahasdsd;-$43000.0;;Every month;Auto deduction;nothing
3 changes: 3 additions & 0 deletions data/backup/who are you_gt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expense;4500;JANUARY
Income;5500;JANUARY
Expense;6500;FEBRUARY
1 change: 1 addition & 0 deletions data/backup/who are you_mt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ledger;2020-05-05
6 changes: 6 additions & 0 deletions data/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Name: null
Interest: 0.0%
Cashback: 0.0%
Cashback Cap: $0.0
Notes: null

1 change: 1 addition & 0 deletions data/save.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ledger;2020-05-05
3 changes: 3 additions & 0 deletions data/save1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expense;4500;JANUARY
Income;5500;JANUARY
Expense;6500;FEBRUARY
5 changes: 5 additions & 0 deletions data/save2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1;Water and electricity bills asdasda bbHGHH KJlksjdlks ds KAJHKJHK dksjhkshfdk j;-$3409.0;;Every month;Manual payment;JKLHSKjhksdjhfk ksjhdfskjdhf kjsh fkjsdhfksd skjfdshfkj shfksdjh fksdjf
2;Tuition payment;;+$1500.0;Every month;Manual payment;No tuition for May
23;hahasdsd;-$43000.0;;Every month;Auto deduction;nothing
25;Spotify;-$25.0;;Every month;Auto deduction;Cancel if Infinite is no longer on Spotify
30;LKK34**(*)))&yhR$@~~!1`;-$230.56789;;Every month;Auto deduction;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Looi Kai Wen | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
Expand Down
604 changes: 601 additions & 3 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions docs/DraftDG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
### Feature 2: Recurring Tracker
####Overview
##### Recurring Tracker
Recurring Tracker handles the creation, deletion and editing of recurring entries.

Entries use the class ```RecurringEntry```, and are stored in the ```RecurringEntryList``` class.

`RecurringEntry` has the following attributes:
* `day` - The day which the transaction occurs
* `description`
* `entryType` - Can be `Constants.EntryType.INC` or `Constants.EntryType.INC`
depending on whether the entry is an income or expenditure respectively.
* `amount`
* `start` and `end` - Which months does the entry apply to. Set to 1 and 12 by
default (i.e. occurs every month)
* `isAuto` - Indicates whether the entry is automatically deducted/credited from/to account,
or manually deducted/credited from/to account
* `notes` - Any user-specified notes

`RecurringTrackerList` extends ItemList, and supports the following methods on top of inherited methods
* `addItem(Item)` - Override. Adds item and sorts according to the day in ascending order
* `getEntriesFromDayXtoY` - Returns an ArrayList of all entries that fall between day X and Y
(provided by developer in the code, not by user). Mainly used for reminders

##### Reminders
Upon launching the program, the system date and time is recorded in `RunHistory`.

The program then checks if there are any entries upcoming within 5 days from the current date, and prints the entries out
as reminders.

1. Main code calls `MenuPrinter#printReminders()`, which in turn calls
`ReminderListGenerator#generateListOfRemindersAsStrings()`.
1. `ReminderListGenerator` checks the current date, and calculates the day of month which is 5 days from current date.
This is stored in `dayToRemindUntil`.
1. `ReminderListGenerator` then checks if `dayToRemindUntil` is after the last day of the current month. If it is,
then the reminder timeframe will overflow to the next month.

For example:
* Current date is 29th October. There are 31 days in October. 5 days after today is 34th,
which is beyond last day of October.
* Reminder timeframe will overflow to next month, until 3rd of November

1. If it has overflown, set `isOverflowToNextMonth` to true. Subtract the last day of month from `dayToRemindUntil`.
The new value of `dayToRemindUntil` is the day of next month that the reminder timeframe extends to.

For example:
* Continuing from example earlier, `dayToRemindUntil = 34`.
* `dayToRemindUntil -= NUM_DAYS_IN_OCT`, i.e. 34 - 31
* `dayToRemindUntil = 3`, representing that the reminder timeframe extends to 3rd of November
1. `ReminderListGenerator` then grabs the entries within the reminder timeframe from the list of all recurring entries.
* If `isOverflowToNextMonth == true`, it will grab all entries from `currentDay` to `lastDayOfMonth`
and all entries from `1` (1st day of next month) to `dayToRemindUntil`
* Else, it will simply grab all entries from `currentDay` to `dayToRemindUntil`

1. Lastly, the list of entries will be converted to a formatted String to be displayed as reminders, and passed back
to `MenuPrinter`, who will pass it to `UiManager` to print.

The sequence diagram below shows how it works:

![](uml_images/recurringtracker/images/reminderSeqDiagram.png)

7 changes: 4 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Duke

{Give product intro here}
# FinanceIt
FinanceIt is an all-in-one desktop application that handles the finance tracking needs of university students who are
comfortable with a CLI interface. It includes 5 different finance tools, all of which take in typed commands from the
users to execute their respective functions.

Useful links:
* [User Guide](UserGuide.md)
Expand Down
Loading