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

wrong commit #94

Open
wants to merge 506 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
506 commits
Select commit Hold shift + click to select a range
94963b6
Update CommandDiv.java
Nov 4, 2019
fedc7c8
Update CommandMul.java
Nov 4, 2019
7008ab4
Update CommandSub.java
Nov 4, 2019
971e533
trying to make setbalance a one time implementation
priyan-coder Nov 4, 2019
390d770
Made changes after reviewing comments
AjeyAshok Nov 5, 2019
e4ea9c9
Merge pull request #4 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 5, 2019
617c178
now setbalance can only be executed once
priyan-coder Nov 5, 2019
980ed96
Merge pull request #212 from priyan-coder/add-exceptions-currencyconv…
priyan-coder Nov 5, 2019
085265d
refactored Date to LocalDate in Task Class and Command Reminder
priyan-coder Nov 5, 2019
d09ad55
Added expendday & checkstyle done
AjeyAshok Nov 5, 2019
80974a7
refactoring commandschedule
priyan-coder Nov 5, 2019
c117f34
refactored command schedule
priyan-coder Nov 5, 2019
e8eb5b8
refactored command schedule and command reminder but now deadline sho…
priyan-coder Nov 5, 2019
71a5598
refactored deadline
priyan-coder Nov 5, 2019
3b7f6fc
refactored todo
priyan-coder Nov 5, 2019
2df26d0
Added function to help to find explanation for specific commands by u…
AjeyAshok Nov 5, 2019
2b447b7
refactored reminder, schedule, todo, deadline to make the date and ti…
priyan-coder Nov 5, 2019
e162e86
Merge pull request #217 from AjeyAshok/exception-for-expenditure
AjeyAshok Nov 5, 2019
c006bf8
Commiting new help
AjeyAshok Nov 5, 2019
0f5ffaf
Merge branch 'master' into AjeyAshok-change-help-formatting
AjeyAshok Nov 5, 2019
9f4b234
Merge pull request #225 from AjeyAshok/AjeyAshok-change-help-formatting
AjeyAshok Nov 5, 2019
b8307e7
Merge pull request #218 from Araavinds/b-calculator
AjeyAshok Nov 5, 2019
037d462
Merge branch 'master' into reminder-fix
priyan-coder Nov 5, 2019
e30f1fb
Merge branch 'master' into bug-fix-setbalance
AjeyAshok Nov 5, 2019
5018429
Merge pull request #226 from AjeyAshok/expend-day
AjeyAshok Nov 5, 2019
7f49a24
Handled exceptions for taglist and datelist commands
Nov 5, 2019
1ad8bdd
Merge pull request #224 from priyan-coder/reminder-fix
Mudaafi Nov 5, 2019
1a126bb
Did some exception handling for calculator functions
Nov 5, 2019
18b534e
Provides the current date for expendedday
AjeyAshok Nov 5, 2019
0511a30
Merge pull request #229 from AjeyAshok/changess
AjeyAshok Nov 5, 2019
03b41c6
Successfully revamped the Architecture.
Mudaafi Nov 5, 2019
c1c2937
- Revamped Tests to match
Mudaafi Nov 5, 2019
28b4267
Merged with upstream.
Mudaafi Nov 5, 2019
8d51c94
Merge branch 'master' into b-exceptionsCal
Nov 6, 2019
498e3de
Merge pull request #228 from Araavinds/b-exceptionsCal
Nov 6, 2019
9ffbdee
Merge branch 'master' into b-exceptionsDateAndTag
Nov 6, 2019
a3fa5c5
Merge pull request #227 from Araavinds/b-exceptionsDateAndTag
Nov 6, 2019
1784919
Merge pull request #221 from priyan-coder/bug-fix-setbalance
priyan-coder Nov 6, 2019
493056b
Merge branch 'master' into architecture-update
Mudaafi Nov 6, 2019
6eebfac
Merge pull request #230 from Mudaafi/architecture-update
priyan-coder Nov 6, 2019
ba417b0
fixed bugs after merging the changes
priyan-coder Nov 6, 2019
0ea8f69
finished checkstyle errors
priyan-coder Nov 6, 2019
0c257a8
Merge pull request #232 from priyan-coder/bug-fixes
priyan-coder Nov 6, 2019
c9ddaff
Merge pull request #5 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 6, 2019
b9874cc
added jUnit and resolved checkstyle issues
priyan-coder Nov 6, 2019
7aedf8f
new command to delete receipts
Nov 6, 2019
46b2e04
refactored the spacing issues with CommandWeather
priyan-coder Nov 6, 2019
848ff21
added description for weather and also tests pass
priyan-coder Nov 6, 2019
8cd3511
Tried fixing issue of receipt being created when there is no cash input
sallysohyun Nov 6, 2019
dc672e7
no message
sallysohyun Nov 6, 2019
9c0bb6e
fixed the jUnit tests and also finished checkstyle errors
priyan-coder Nov 6, 2019
fb15a12
Merge pull request #237 from priyan-coder/weather-jUnit
priyan-coder Nov 6, 2019
4507a11
Merge pull request #233 from priyan-coder/reminder-jUnit
priyan-coder Nov 6, 2019
9034778
Fixed bug where CommandConvert will exit the programme when incorrect…
Mudaafi Nov 7, 2019
1521720
Merge pull request #239 from Mudaafi/bugfix-convert
priyan-coder Nov 7, 2019
595c52f
Merge pull request #234 from Araavinds/b-deleteReceipts
Nov 7, 2019
ebcb4a0
Added jUnit testing for datelist,taglist and calculator commands
Nov 7, 2019
f0e2623
Checkstyle test done
Nov 7, 2019
4f31dbd
Did some additional testing
Nov 7, 2019
a719e86
GUI For Duke$$$ (#223)
Mudaafi Nov 7, 2019
281435c
Merge pull request #240 from Araavinds/b-Junit
AjeyAshok Nov 7, 2019
46cb034
Junit-testing done for Month and Year
AjeyAshok Nov 7, 2019
a65c18c
Merge pull request #242 from AjeyAshok/junit-testing
Nov 7, 2019
13c16c6
Merge pull request #6 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 7, 2019
4920f55
Fixed JUnit test for CommandDateListTest.
Mudaafi Nov 7, 2019
1a8401e
Merge pull request #243 from Mudaafi/junit-fix-commanddatelisttag
Mudaafi Nov 7, 2019
8ac0c24
Enhanced Toast Pop-up so it gives more time for the user to read the …
Mudaafi Nov 7, 2019
eaff194
Added new feature to see percentage of expenses on a tag
Nov 7, 2019
ecc95a9
Fixed checkstyle issues with test files
AjeyAshok Nov 7, 2019
a1ebf5a
Merge pull request #248 from AjeyAshok/master
AjeyAshok Nov 7, 2019
1006c22
Merge pull request #245 from Mudaafi/enhance-toast-time
Nov 7, 2019
b28f93e
Made some changes in the command percent class
Nov 7, 2019
6e1f832
Merge branch 'master' into b-percent
Nov 7, 2019
94a390e
Merge pull request #247 from Araavinds/b-percent
Nov 7, 2019
3da4a45
added testing for CommandConvert
priyan-coder Nov 7, 2019
17c5011
Merge pull request #249 from priyan-coder/testing-currency
priyan-coder Nov 7, 2019
58e7e67
Merge pull request #7 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 7, 2019
0113b99
Fixed Gui bug
Mudaafi Nov 7, 2019
cedd8d9
Merge pull request #251 from Mudaafi/bugfix-gui-home-display
Mudaafi Nov 7, 2019
5892f64
initial set up of budget is done
priyan-coder Nov 7, 2019
4890e20
budget feature implemented successfully
priyan-coder Nov 7, 2019
5bcd9a3
adding percentage features to budget command
priyan-coder Nov 7, 2019
93dd168
added the budget feature
priyan-coder Nov 7, 2019
64dea8e
feature works
priyan-coder Nov 7, 2019
6c4e10d
Merge pull request #255 from priyan-coder/create-budget
priyan-coder Nov 7, 2019
3bb9491
Added Tracking Functionality via the Breakdown Chart.
Mudaafi Nov 7, 2019
f38cbcb
Feature to get Expenditure for week + checkstyle testing done
AjeyAshok Nov 7, 2019
374c171
fixed the bug
priyan-coder Nov 7, 2019
51750dd
Handled exceptions and added jUnit testing for command receiptdelete
Nov 7, 2019
f6ac3f6
minor changes
Nov 7, 2019
5ba4f7e
Merge pull request #257 from Araavinds/b-additionalTest
Nov 7, 2019
78aeb6b
fixed checstyle issues
priyan-coder Nov 7, 2019
da00e4f
Merge pull request #258 from priyan-coder/fix-bug-in-setbalance
priyan-coder Nov 7, 2019
ff1a23a
Merge branch 'master' into week-expend
AjeyAshok Nov 8, 2019
34d36d1
Merge pull request #256 from AjeyAshok/week-expend
AjeyAshok Nov 8, 2019
22c5e59
Updated
Mudaafi Nov 8, 2019
7c282d5
Merge branch 'master' into new-command-track
Mudaafi Nov 8, 2019
25ba598
Compeleted Junit testing for spending by week
AjeyAshok Nov 8, 2019
05d83bd
adding ability to export csv form of either task or wallet
priyan-coder Nov 8, 2019
6f68efc
adding the export csv
priyan-coder Nov 8, 2019
f7494c4
now data.csv is being created but buggy
priyan-coder Nov 8, 2019
57dbb79
kind of works with better capability but abit buggy
priyan-coder Nov 8, 2019
cb678aa
reformatted
priyan-coder Nov 8, 2019
3729afc
Fixed bugs for deletereceipt, datelist and percent commands
Nov 8, 2019
7814be9
feature works
priyan-coder Nov 8, 2019
866313c
Update CommandDelete.java
Nov 8, 2019
bb80605
Merge pull request #267 from Araavinds/b-fixbugs
Nov 8, 2019
4aeaf7e
Merge branch 'master' into week-Junit
Nov 8, 2019
afba1c4
Merge pull request #264 from AjeyAshok/week-Junit
Nov 8, 2019
f6334cc
Fixed bug for command delete
Nov 8, 2019
78bf074
minor change
Nov 8, 2019
8c538b8
New feature that shows major expenses
Nov 8, 2019
d6cbc5b
updated the feature to show expenditures above/equal to $100 upon maj…
Nov 9, 2019
0f1e42c
removed the data.csv
priyan-coder Nov 9, 2019
dc498ce
Merge branch 'master' into implement-export-csv
priyan-coder Nov 9, 2019
3be9a24
Merge pull request #270 from priyan-coder/implement-export-csv
priyan-coder Nov 9, 2019
8b3e0cd
able to generate csv but it looks kind of weird
priyan-coder Nov 9, 2019
ea1d797
refactor works succesfully
priyan-coder Nov 9, 2019
a9e1390
some help needed for the string parsing as its abit buggy
priyan-coder Nov 9, 2019
30d0167
Merge branch 'master' into b-fixDelete
Nov 9, 2019
32a57ad
Merge pull request #268 from Araavinds/b-fixDelete
Nov 9, 2019
3a08c83
Added more jUnit testing for commands
Nov 9, 2019
bcd50d9
Merge pull request #272 from Araavinds/b-addTest
Nov 9, 2019
d0f3246
managed to fix the bugs and now works fine
priyan-coder Nov 9, 2019
d57e755
fixed some more bugs with export command
priyan-coder Nov 9, 2019
6209c22
done with checkstyle and feature is successful
priyan-coder Nov 9, 2019
1bcd78c
Merge branch 'master' into refactor-export
priyan-coder Nov 9, 2019
6204ec6
Merge pull request #273 from priyan-coder/refactor-export
priyan-coder Nov 9, 2019
0c6ef4d
Optimised CommandHelp function and added Junit testing
AjeyAshok Nov 9, 2019
9f29e1c
Merge branch 'master' into bug-fix
AjeyAshok Nov 9, 2019
610ab21
some minor changes
Nov 9, 2019
ae70871
Merge branch 'master' into b-majorExpense
Nov 9, 2019
65764d5
Merge pull request #269 from Araavinds/b-majorExpense
Nov 9, 2019
78dec07
Implemented CommandTrack and Untrack
Mudaafi Nov 9, 2019
be0f7ad
Resolved Merge Conflicts
Mudaafi Nov 9, 2019
1530e7f
Added Storage Support
Mudaafi Nov 9, 2019
854ff9d
Merge pull request #261 from Mudaafi/new-command-track
Mudaafi Nov 9, 2019
fd3f28b
fixed the bug
priyan-coder Nov 9, 2019
be4e6ae
txt
Nov 9, 2019
d612d4d
t
Nov 9, 2019
1e525ab
Merge branch 'master' into bug-fix
AjeyAshok Nov 9, 2019
c19ba6f
Added new feature that shows statistics for a tag
Nov 9, 2019
d53f4ac
some changes
Nov 9, 2019
b1fe491
Tested command Delete
Nov 9, 2019
8da6f4b
Merge pull request #276 from Araavinds/b-deleteTest
Nov 9, 2019
7739643
Merge pull request #274 from AjeyAshok/bug-fix
AjeyAshok Nov 9, 2019
ae31a02
New feature CommandEdit added with Junit testing
AjeyAshok Nov 9, 2019
eec54ae
Added documentation for funcitons in CommandHelp
AjeyAshok Nov 9, 2019
3605b61
fixed and styled
priyan-coder Nov 10, 2019
75892fa
Merge pull request #278 from priyan-coder/fixbug-budget
priyan-coder Nov 10, 2019
63b952e
done with test and redid a failed weather test
priyan-coder Nov 10, 2019
18f4a40
Merge pull request #279 from priyan-coder/setbalance-junit
priyan-coder Nov 10, 2019
f02f924
done with export test
priyan-coder Nov 10, 2019
244315e
Adds clearCli Command which clears the text currently displayed on th…
Mudaafi Nov 10, 2019
bfe21f9
Added singular JUnit test and amended any checkstyle violations.
Mudaafi Nov 10, 2019
f50b3ba
Merge pull request #282 from priyan-coder/test-exportCommand
priyan-coder Nov 10, 2019
e2a88cb
added testing for budget
priyan-coder Nov 10, 2019
4d7cc96
Merge pull request #283 from priyan-coder/test-budget
priyan-coder Nov 10, 2019
d17d8a5
Merge pull request #275 from Araavinds/b-stats
Nov 10, 2019
9b10c15
added mock data in savedWallet
priyan-coder Nov 10, 2019
68d7abc
Merge pull request #284 from priyan-coder/add-mock-data
priyan-coder Nov 10, 2019
cabaa1a
Merge pull request #280 from Mudaafi/new-command-clear
Mudaafi Nov 10, 2019
3cb57aa
Merge branch 'master' into CommandEdit
AjeyAshok Nov 10, 2019
aa6ca59
Updated Command percent,taglist and statistics to work for expenditur…
Nov 10, 2019
0bbbdda
Merge pull request #285 from Araavinds/b-updatePercent
Nov 10, 2019
d42399e
removed setbalance and refactored
priyan-coder Nov 10, 2019
a25e97e
Adds tester support via CommandEnableTest which loads tester data int…
Mudaafi Nov 10, 2019
0b82a18
Merge branch 'master' into remove-setbalance
priyan-coder Nov 10, 2019
b719665
Fixed Merge Conflicts.
Mudaafi Nov 10, 2019
eba7124
Merge pull request #288 from Mudaafi/tester-aid
Mudaafi Nov 10, 2019
e900a23
Merge pull request #287 from priyan-coder/remove-setbalance
Mudaafi Nov 10, 2019
e22873b
Fixes errors arising from the refactoring of Receipts to Income and E…
Mudaafi Nov 10, 2019
9e8af85
Merge pull request #293 from Mudaafi/bugfix-balance-refactor
Mudaafi Nov 10, 2019
1979e63
Additional Bug found where some methods in ReceiptTracker which retur…
Mudaafi Nov 10, 2019
6d9fdab
Additional Bug found where some methods in ReceiptTracker which retur…
Mudaafi Nov 10, 2019
ae048e0
Merge pull request #294 from Mudaafi/bugfix-balance-refactor
Mudaafi Nov 10, 2019
8605521
CommandEdit feature optimised.
AjeyAshok Nov 10, 2019
e14e434
CommandEdit feature optimised.
AjeyAshok Nov 10, 2019
5b59252
CommandEdit feature optimised.
AjeyAshok Nov 10, 2019
3ff23ab
new adds
AjeyAshok Nov 10, 2019
3378ae7
fixed reminder and viewschedule bugs
priyan-coder Nov 10, 2019
e68031b
added back wallet datta
priyan-coder Nov 10, 2019
17fbd74
fixed checkstyle
priyan-coder Nov 10, 2019
df742fc
Optimized command majorexpense to no longer print empty list for inpu…
Nov 10, 2019
f70a307
Merge pull request #298 from Araavinds/b-optimize
Nov 10, 2019
b7b13b6
removed command percent
Nov 10, 2019
385b3ad
Merge pull request #299 from Araavinds/b-remove
Nov 10, 2019
dfc4dea
CommandExpendedByDay rectified
AjeyAshok Nov 10, 2019
26c8fd1
added testing for command stats and majorexpense
Nov 10, 2019
4ef3079
Merge pull request #300 from Araavinds/b-optstats
Nov 10, 2019
13d2f2d
Junit testing added to CommandSpendingByDay
AjeyAshok Nov 10, 2019
c7d3afd
tried optimizing taglists
Nov 10, 2019
e51a0b5
CommandHelp, CommandEdit, CommandExpended optimised
AjeyAshok Nov 10, 2019
f42cc82
Merge branch 'master' into fix-reminder_bugsss
priyan-coder Nov 11, 2019
4a58a0c
Merge pull request #297 from priyan-coder/fix-reminder_bugsss
priyan-coder Nov 11, 2019
fd62159
updated wallet data which was missing
priyan-coder Nov 11, 2019
a0ce55b
Merge pull request #302 from priyan-coder/update-data
priyan-coder Nov 11, 2019
1be9fb9
made command budget testing more detailed
priyan-coder Nov 11, 2019
602f800
added back the signs
priyan-coder Nov 11, 2019
b57598e
Merge pull request #305 from priyan-coder/add-more-testing
priyan-coder Nov 11, 2019
cd84dd7
Merge branch 'master' into master
Mudaafi Nov 11, 2019
0815bce
Merge pull request #250 from sallysohyun/master
Mudaafi Nov 11, 2019
ac2f7f7
Removed random println.
Mudaafi Nov 11, 2019
40a93a9
Merge branch 'master' into tester-aid
Mudaafi Nov 11, 2019
0a98b39
Fixed bug that did not allow Deadline to load from storage. Bug arose…
Mudaafi Nov 11, 2019
34b5c19
Merge pull request #306 from Mudaafi/tester-aid
Mudaafi Nov 11, 2019
d763d58
Fixed bug that did not allow Help command to properly show descriptio…
Mudaafi Nov 11, 2019
3361b59
Removed leftover code that prints help to CLI as well.
Mudaafi Nov 11, 2019
dfdc32f
Merge pull request #307 from Mudaafi/bugfix-help-tasks
Mudaafi Nov 11, 2019
af11469
Optimized commands taglist,datelist and stats
Nov 11, 2019
4069526
removed unnecessary duke exceptions from receiptTracker test
Nov 11, 2019
81a400f
Merge branch 'master' into b-optTag
Nov 11, 2019
b2ddc37
Merge pull request #308 from Araavinds/b-optTag
Nov 11, 2019
0ea9661
testtingggg
priyan-coder Nov 11, 2019
447f3db
Added more extensive testing to Command Stats
Nov 11, 2019
15996b0
Merge pull request #310 from Araavinds/b-moreStats-Test
Nov 11, 2019
b68d75e
need help with testing export
priyan-coder Nov 11, 2019
8ab59b4
Rectified issue on multipple flag in commandEdit
AjeyAshok Nov 11, 2019
95cf9f3
done but cant seem to get the exporter to detect
priyan-coder Nov 11, 2019
a099e02
data
priyan-coder Nov 11, 2019
34067d9
Update testWalletDataSave.txt
priyan-coder Nov 11, 2019
3096230
Update savedWallet.txt
priyan-coder Nov 11, 2019
893899d
Merge pull request #311 from priyan-coder/tester-exporter
priyan-coder Nov 11, 2019
fd46310
Removed taglist
Nov 11, 2019
ea4ca0b
Added more extensive testing to Command Stats
Nov 11, 2019
b29f09c
Merge pull request #313 from Araavinds/b-RemoveTag
Nov 11, 2019
3e6640c
Merge branch 'master' into CommandEdit
Mudaafi Nov 11, 2019
adb45c3
Final changes
AjeyAshok Nov 11, 2019
411eac4
Merge branch 'CommandEdit' of https://github.com/AjeyAshok/main into …
AjeyAshok Nov 11, 2019
3fbf638
All test cases rechecked
AjeyAshok Nov 11, 2019
c9aece6
Merge pull request #277 from AjeyAshok/CommandEdit
Mudaafi Nov 11, 2019
3d847b5
Made some minor bugfixes. (#314)
Mudaafi Nov 11, 2019
518bec4
Moves Java Classes to the layers they're supposed to be in (#315)
Mudaafi Nov 11, 2019
ae9e91f
Moved Stats Window up (#316)
Mudaafi Nov 11, 2019
64a511b
Merge pull request #8 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 11, 2019
998e08a
Update README.adoc
Mudaafi Nov 11, 2019
21e799e
Update README.adoc
Mudaafi Nov 11, 2019
4351219
Delete README.md
Mudaafi Nov 11, 2019
7355b9c
Update AboutUs.adoc
Mudaafi Nov 11, 2019
136314c
Update AboutUs.adoc
Mudaafi Nov 11, 2019
1b915f1
code optimised and added some testing
Nov 11, 2019
deb95f3
Merge pull request #317 from Araavinds/optimise
Nov 11, 2019
baf0f2a
done
priyan-coder Nov 11, 2019
a37ac7e
Merge branch 'master' into refactor-again-export
priyan-coder Nov 11, 2019
d925546
Merge pull request #318 from priyan-coder/refactor-again-export
priyan-coder Nov 11, 2019
217c261
Last branch (#319)
Mudaafi Nov 11, 2019
25fc3d4
User inputs not corresponding to a particular CommandType/TaskType wi…
Mudaafi Nov 11, 2019
cedc941
Added User Guide and Developer Guide
Mudaafi Nov 11, 2019
568cf15
Updated Docs
Mudaafi Nov 12, 2019
4596d9a
Merge pull request #9 from AY1920S1-CS2113T-F09-1/master
sallysohyun Nov 14, 2019
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ src/main/resources/docs/
.DS_Store
*.iml
bin/

# Customized
savedData.txt
savedWallet.txt
savedTask.txt
39 changes: 39 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Duke$$$

image::docs/images/Ui.png[width="600"]

* A desktop Financial Tracker application for Exchange Students.
* Personalized for users who love typing over clicking.
* Written primarily in Java with the Object Oriented Programming (OOP) paradigm.

# System Requirements

Ensure you have Java 11 or above installed in your Computer.

# Setting Up

1. Download the latest Duke$$$.jar file.
2. Copy the file to the folder you want to use as the home folder for your finance tracking.
3. Double-click the file to start the app. The CLI should appear in a few seconds.
4. Type "help" to see the list of commands

Some example commands you can try:

[status]: Shows the current balance in the account
[out] $5.00 /date 2019-10-31 /tags food adds an entry of food of value 5 to the memory
[delete] 3: deletes the 3rd entry on the current day’s list
[bye]: exits the app

For more details on the Commands available, please refer to our User Guide, Section 4.

# Features

* Aesthetic Graphical Display
* Forgiving Input Interpreter
* Statistical Analysis of Expenses
* Currency Conversion
* Weather Updates

# Requests

* If you have any new features you would like us to implement, drop us an email at [email protected]!
39 changes: 0 additions & 39 deletions README.md

This file was deleted.

50 changes: 50 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'org.openjfx.javafxplugin' version '0.0.7'
}

group 'seedu.duke'
version '0.1.0'

repositories {
mavenCentral()
}

javafx {
version = "11.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
implementation 'com.google.code.gson:gson:2.8.6'
compile group: 'com.opencsv', name: 'opencsv', version: '4.1'
}

application {
// Change this to your main class.
mainClassName = "main.Duke"
}

run {
standardInput = System.in
}

checkstyle {
toolVersion = '8.23'
}

shadowJar {
archiveBaseName = "duke"
archiveVersion = "0.1.3"
archiveClassifier = null
archiveAppendix = null
}

test {
useJUnitPlatform()
}

257 changes: 257 additions & 0 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html
Checkstyle is very configurable. Be sure to read the documentation at
http://checkstyle.sf.net (or in your downloaded distribution).
To completely disable a check, just comment it out or delete it from the file.
Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
-->

<module name = "Checker">
<property name="charset" value="UTF-8"/>

<property name="severity" value="error"/>

<property name="fileExtensions" value="java, properties, xml"/>
<!-- Excludes all 'module-info.java' files -->
<!-- See https://checkstyle.org/config_filefilters.html -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
</module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>

<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format"
value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="AvoidStarImport"/>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>
<module name="EmptyBlock">
<property name="option" value="TEXT"/>
<property name="tokens"
value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="NeedBraces"/>
<module name="LeftCurly"/>
<module name="RightCurly">
<property name="id" value="RightCurlySame"/>
<property name="tokens"
value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE,
LITERAL_DO"/>
</module>
<module name="RightCurly">
<property name="id" value="RightCurlyAlone"/>
<property name="option" value="alone"/>
<property name="tokens"
value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT,
INSTANCE_INIT"/>
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyLambdas" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<message key="ws.notFollowed"
value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
<message key="ws.notPreceded"
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="OneStatementPerLine"/>
<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>
<module name="MissingSwitchDefault"/>
<module name="FallThrough"/>
<module name="UpperEll"/>
<module name="ModifierOrder"/>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapDot"/>
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapComma"/>
<property name="tokens" value="COMMA"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<!-- ELLIPSIS is EOL until https://github.com/google/styleguide/issues/258 -->
<property name="id" value="SeparatorWrapEllipsis"/>
<property name="tokens" value="ELLIPSIS"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<!-- ARRAY_DECLARATOR is EOL until https://github.com/google/styleguide/issues/259 -->
<property name="id" value="SeparatorWrapArrayDeclarator"/>
<property name="tokens" value="ARRAY_DECLARATOR"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapMethodRef"/>
<property name="tokens" value="METHOD_REF"/>
<property name="option" value="nl"/>
</module>
<module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="TypeName">
<message key="name.invalidPattern"
value="Type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MemberName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LambdaParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="CatchParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LocalVariableName">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ClassTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Class type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MethodTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Method type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="InterfaceTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Interface type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="NoFinalizer"/>
<module name="GenericWhitespace">
<message key="ws.followed"
value="GenericWhitespace ''{0}'' is followed by whitespace."/>
<message key="ws.preceded"
value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
<message key="ws.illegalFollow"
value="GenericWhitespace ''{0}'' should followed by whitespace."/>
<message key="ws.notPreceded"
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module>
<module name="Indentation">
<property name="basicOffset" value="4"/>
<property name="braceAdjustment" value="0"/>
<property name="caseIndent" value="0"/>
<property name="throwsIndent" value="4"/>
<property name="lineWrappingIndentation" value="4"/>
<property name="arrayInitIndent" value="4"/>
</module>
<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="1"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="VariableDeclarationUsageDistance"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceBefore">
<property name="tokens"
value="COMMA, SEMI, POST_INC, POST_DEC, DOT, ELLIPSIS, METHOD_REF"/>
<property name="allowLineBreaks" value="true"/>
</module>
<module name="ParenPad"/>
<module name="OperatorWrap">
<property name="option" value="NL"/>
<property name="tokens"
value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR,
LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF "/>
</module>
<module name="AnnotationLocation">
<property name="id" value="AnnotationLocationMostCases"/>
<property name="tokens"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
</module>
<module name="AnnotationLocation">
<property name="id" value="AnnotationLocationVariables"/>
<property name="tokens" value="VARIABLE_DEF"/>
<property name="allowSamelineMultipleAnnotations" value="true"/>
</module>
<module name="NonEmptyAtclauseDescription"/>
<module name="JavadocTagContinuationIndentation"/>
<module name="SummaryJavadoc">
<property name="forbiddenSummaryFragments"
value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
</module>
<module name="JavadocParagraph"/>
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
</module>
<module name="MissingJavadocMethod">
<property name="scope" value="public"/>
<property name="minLineCount" value="2"/>
<property name="allowedAnnotations" value="Override, Test"/>
</module>
<module name="MethodName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
<message key="name.invalidPattern"
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="SingleLineJavadoc">
<property name="ignoreInlineTags" value="false"/>
</module>
<module name="EmptyCatchBlock">
<property name="exceptionVariableName" value="expected"/>
</module>
<module name="CommentsIndentation"/>
</module>
</module>
Loading