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

[AY1920S1-CS2113-F10-3] AlphaNUS #78

Open
wants to merge 476 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
476 commits
Select commit Hold shift + click to select a range
ceee8d4
Merge pull request #115 from E0373902/master
E0373902 Oct 24, 2019
47b979c
Modify UG & DG
karansarat Oct 24, 2019
f2b494f
Modify UG & DG
karansarat Oct 24, 2019
2291203
Modify UG & DG
karansarat Oct 24, 2019
96924db
Merge pull request #116 from karansarat/master
karansarat Oct 24, 2019
57ff7bb
formatting changes to dg
Oct 24, 2019
feec517
solve merge conflicts
Oct 24, 2019
f3063ca
History feature DG
Oct 24, 2019
660c23b
Merge pull request #117 from E0373902/master
E0373902 Oct 24, 2019
1659aed
added sequence diagram for history
Oct 24, 2019
3deccde
Merge pull request #118 from E0373902/master
E0373902 Oct 24, 2019
2cddbd5
update UG
Oct 24, 2019
cacafc3
Merge pull request #119 from lijiayu980606/master
lijiayu980606 Oct 24, 2019
b924d8c
no message
leowyh Oct 25, 2019
3172dc3
Updated edit function and DG
karansarat Oct 26, 2019
5dbe2b3
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
karansarat Oct 26, 2019
80689eb
Added listProjects functionality, changed Hashmap of projects to Link…
leowyh Oct 27, 2019
4a79f13
Added exception handling for add/delete/goto project
leowyh Oct 27, 2019
e57b92c
Merge pull request #20 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Oct 28, 2019
abbb555
fixed some bugs
Oct 28, 2019
f7ab326
Merge branch 'master' of https://github.com/lijiayu980606/main
Oct 28, 2019
97fee40
implemented assign budget feature
Oct 28, 2019
8387de3
Changed ProjectManager to have the attributes currentProject projectm…
leowyh Oct 29, 2019
0047133
Merge pull request #121 from lijiayu980606/master
lijiayu980606 Oct 29, 2019
0d1b5f5
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Oct 30, 2019
c99d27e
data/duke.txt minor update
Oct 30, 2019
bbb51e4
Resolve conflicts in data/duke.txt
Oct 30, 2019
f157a42
Added javadoc
leowyh Oct 30, 2019
84fd401
Merge pull request #120 from leowyh/master
leowyh Oct 30, 2019
648bbdf
Updated UG and added base for own PPP
leowyh Oct 30, 2019
7e259b0
Merge pull request #21 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Oct 30, 2019
eff5298
view history for a certain time period
Oct 30, 2019
a34d902
resolve merge conflicts
Oct 30, 2019
94ff33c
Merge pull request #122 from E0373902/master
E0373902 Oct 30, 2019
fb90965
Added PPP
leowyh Oct 30, 2019
9cbe032
Merge pull request #123 from leowyh/master
leowyh Oct 30, 2019
d1f5348
Updated developer guide
Oct 31, 2019
e95e868
Updated developer guide, user guide. Changed format of data/duke.txt.
Oct 31, 2019
33a99de
Merge pull request #124 from E0373902/master
E0373902 Oct 31, 2019
9fec44f
Added screenshots to user guide
Oct 31, 2019
c256bf6
Merge pull request #125 from E0373902/master
E0373902 Oct 31, 2019
0987ae7
updated assign fund feature
Oct 31, 2019
14726c0
Merge branch 'master' into master
lijiayu980606 Oct 31, 2019
0c12014
Edited PPP
leowyh Oct 31, 2019
a76ed41
Added Command Format Class to contain formats for all commands
leowyh Oct 31, 2019
52c0e6c
Moved commandformat to common package
leowyh Oct 31, 2019
9b3eb54
Merge pull request #127 from leowyh/master
leowyh Oct 31, 2019
1940b7e
Added Help message
leowyh Oct 31, 2019
65ed521
Merge pull request #126 from lijiayu980606/master
leowyh Oct 31, 2019
da56858
Changed Ui output of payments and payee to say the project they are in.
leowyh Oct 31, 2019
fcdd8c4
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Oct 31, 2019
5fc6ffd
Merge pull request #128 from leowyh/master
leowyh Oct 31, 2019
00f2a08
Merge pull request #22 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Oct 31, 2019
767ad5d
updated ug and help
Oct 31, 2019
098c1ae
Merge pull request #129 from lijiayu980606/master
lijiayu980606 Oct 31, 2019
b013eaf
Fixed edit function
karansarat Oct 31, 2019
c78f540
Fix merge conflicts
karansarat Oct 31, 2019
ef57f39
Fix merge conflicts
karansarat Oct 31, 2019
0789980
Delete history feature(not completed)
Oct 31, 2019
7b98143
Merge pull request #130 from karansarat/master
karansarat Oct 31, 2019
75ee839
Moved duke.txt into command package for storage in jar file
leowyh Oct 31, 2019
0456808
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Oct 31, 2019
bf708d0
Resolving more conflict
leowyh Oct 31, 2019
3415668
Merge pull request #131 from leowyh/master
leowyh Oct 31, 2019
e7323fb
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Oct 31, 2019
67654da
Merge pull request #133 from E0373902/master
E0373902 Oct 31, 2019
2cf38f3
no message
Oct 31, 2019
709eb89
Updated printEditMessage function
karansarat Oct 31, 2019
6a07f8b
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
karansarat Oct 31, 2019
5be732a
Merge pull request #134 from karansarat/master
karansarat Oct 31, 2019
93e8536
Fixed all checkstyle errors, build successful
karansarat Oct 31, 2019
0699669
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 1, 2019
7b13aa7
Updated UI and User Guide
leowyh Nov 1, 2019
8590c16
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 1, 2019
e0714c2
Updated Storage function to save projectmap, TODO clean up code and i…
leowyh Nov 1, 2019
78df7f0
Merge pull request #135 from karansarat/master
karansarat Nov 2, 2019
44e45b9
Prepared new project storage functionality to be incorporated into ot…
leowyh Nov 2, 2019
df5f778
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 2, 2019
e23a8f5
Passed checkstyle
leowyh Nov 3, 2019
7fc25ed
Merge pull request #181 from leowyh/master
leowyh Nov 3, 2019
9fdea67
Add Project able to include funds for the project
leowyh Nov 3, 2019
58905b6
no message
Nov 4, 2019
610eb51
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 4, 2019
3ea100a
Storage for commandList
Nov 4, 2019
a89bbd2
Added Storage functionality for Fund object
leowyh Nov 4, 2019
fade9f6
passed checkstyle
leowyh Nov 4, 2019
ebd699c
Undo/redo for add and delete project
Nov 6, 2019
777452e
Added JavaDoc
Nov 6, 2019
d90aca7
Undo redo for add/delete project, payee, payment
Nov 6, 2019
38619d3
Merge pull request #23 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 6, 2019
b10879c
Merge pull request #182 from E0373902/master
E0373902 Nov 7, 2019
a73b19c
Limit the fund to be +ve and no more than 500,000 dollars. Add in res…
Nov 7, 2019
ecefb12
Merge branch 'master' into master
lijiayu980606 Nov 7, 2019
88dbb53
Minor ui change for assign fund
leowyh Nov 7, 2019
2c42274
Set Projects.json to be ignored
leowyh Nov 7, 2019
52903d5
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 7, 2019
d620bd5
Fixed bug where files dont exist when user first starts program
leowyh Nov 7, 2019
8f54bf4
pass checkstyle
leowyh Nov 7, 2019
a9396b5
Merge pull request #183 from leowyh/master
leowyh Nov 7, 2019
5795105
JUnit test for Project
leowyh Nov 7, 2019
fb094bc
Fixed list, edit and other minor tweaks
karansarat Nov 7, 2019
e945659
Fix merge conflicts
karansarat Nov 7, 2019
05a0550
Merge pull request #24 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 7, 2019
87e1430
fixed checkstyle bugs
Nov 7, 2019
64483ea
fix checkstyle
Nov 7, 2019
451bf9b
fixed check style
Nov 7, 2019
875e416
Merge pull request #184 from lijiayu980606/master
lijiayu980606 Nov 7, 2019
c25994c
Merge pull request #185 from karansarat/master
E0373902 Nov 7, 2019
a7ba36d
add in reminder function
Nov 7, 2019
1b564f0
Merge branch 'master' into master
lijiayu980606 Nov 7, 2019
50cf843
add in command format
Nov 7, 2019
dd187c3
Merge branch 'master' of https://github.com/lijiayu980606/main
Nov 7, 2019
486b8b0
Enable to show the name of the project that the payment belongs for r…
Nov 7, 2019
8f1c932
add in reminder function
lijiayu980606 Nov 7, 2019
cc3a8d0
settled the bugs raised in the testing last week
Nov 7, 2019
7050ed6
Merge pull request #187 from lijiayu980606/master
lijiayu980606 Nov 7, 2019
400587a
Added functionality to store currentproject worked on after leaving t…
leowyh Nov 7, 2019
f2951ea
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 7, 2019
b125d90
Merge pull request #189 from leowyh/master
leowyh Nov 7, 2019
9214362
no message
Nov 7, 2019
916f7a3
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 7, 2019
2fd0595
Merge pull request #25 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 8, 2019
7be7da4
add support for calculating remaining funds
Nov 8, 2019
ba9903a
Merge branch 'master' of https://github.com/lijiayu980606/main
Nov 8, 2019
1e474a9
fixed bugs, add in total cost function which calculates the total cos…
Nov 8, 2019
cc887e1
Merge pull request #190 from lijiayu980606/master
lijiayu980606 Nov 8, 2019
7b73d30
no message
Nov 8, 2019
24282e1
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 8, 2019
53831c8
Merge pull request #26 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 8, 2019
33f8941
Added Load function to load backup fund,history and projects for PE t…
leowyh Nov 8, 2019
f627b1a
Full load functionality for PE testing
leowyh Nov 8, 2019
59445ec
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 8, 2019
4cd9050
Fixed bug where localdata was not created when storing files after ex…
leowyh Nov 9, 2019
55d9809
Added list payees and suggestions
karansarat Nov 9, 2019
03f7c81
Added Suggest Class
karansarat Nov 9, 2019
bd00c09
add in reduce budget function. handled exceptions and some fatal errors.
Nov 9, 2019
59da405
Added find payee, debugging bug that deletes data in Projects.json
karansarat Nov 9, 2019
01296cb
Resolve merge conflicts
karansarat Nov 9, 2019
4629431
fixed checkstyles
Nov 10, 2019
6a02d29
fix check style error
Nov 10, 2019
5a22251
Fixed loss of data bug
karansarat Nov 10, 2019
ad1da6c
fixed check style
Nov 10, 2019
cf807c3
fixed checkstyle
Nov 10, 2019
deb4f13
Cleaning up Javadocs
karansarat Nov 10, 2019
44641ce
add in manage task features
Nov 10, 2019
7a8ad15
update help page
Nov 10, 2019
28dfddd
fixed checkstyle errors
Nov 10, 2019
57bbc35
fix check style error
Nov 10, 2019
242e347
Merge pull request #192 from lijiayu980606/master
lijiayu980606 Nov 10, 2019
8a50aad
Functional build
karansarat Nov 10, 2019
b36c31b
Cleaning up and moving classes
leowyh Nov 10, 2019
b5e173a
Junit for Project and Project Manager, editing storage test
leowyh Nov 10, 2019
7042aea
Fixed merge conflicts
karansarat Nov 10, 2019
fabbd58
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 10, 2019
8e4efb4
Merge pull request #194 from karansarat/master
leowyh Nov 10, 2019
03cbff3
Unit testing for Storage and ProjectManager
leowyh Nov 10, 2019
f404b39
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 10, 2019
6c29155
Passed checkstyle
leowyh Nov 10, 2019
7e40982
Merge pull request #191 from leowyh/master
leowyh Nov 10, 2019
6d177b6
Add in a few test cases
Nov 10, 2019
a24ee06
add tests to addfund and setfund
Nov 10, 2019
fa325bb
Merge branch 'master' into master
lijiayu980606 Nov 10, 2019
6bb2750
Merge pull request #27 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 10, 2019
7b443d7
Renamed Ui.PNG to Ui.png
leowyh Nov 10, 2019
bb9fa0c
Updated Deleteproject ui and adding Instructions for Manual Testing i…
leowyh Nov 10, 2019
a4cc465
Instructions for manual testing
leowyh Nov 10, 2019
760ecae
Merge pull request #195 from leowyh/master
leowyh Nov 10, 2019
b941599
Merge pull request #28 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 11, 2019
c8715a1
added some tests
Nov 11, 2019
a26e114
Merge branch 'master' of https://github.com/lijiayu980606/main
Nov 11, 2019
f59d465
add in some testings
Nov 11, 2019
cea9f10
check style
Nov 11, 2019
c73f8e5
pass testing
Nov 11, 2019
b7daa57
-
Nov 11, 2019
d1d0b99
Merge pull request #196 from lijiayu980606/master
lijiayu980606 Nov 11, 2019
a06719c
added @author
Nov 11, 2019
e3c4996
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
e6919b6
Updated Goto command to print list of projects for exception messages
leowyh Nov 11, 2019
9cd1a72
Added new exception handling
karansarat Nov 11, 2019
0f2c947
Fixed merge conflicts
karansarat Nov 11, 2019
f7c4ecd
Renamed dataformat to dateformat
leowyh Nov 11, 2019
b5b984f
resolve errors due to merge conflict
Nov 11, 2019
e068a4f
Merge pull request #198 from E0373902/master
E0373902 Nov 11, 2019
826cacd
Fixing message bugs
karansarat Nov 11, 2019
67c22dd
add in storage for tasklist
Nov 11, 2019
f5c8868
Fixed checkstyle
karansarat Nov 11, 2019
31e692e
Merge branch 'master' into master
lijiayu980606 Nov 11, 2019
c4f6565
Merge pull request #200 from karansarat/master
karansarat Nov 11, 2019
4b836f2
Updating dev guide
leowyh Nov 11, 2019
4a3e843
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 11, 2019
516b6f1
Merge pull request #197 from leowyh/master
leowyh Nov 11, 2019
24d5625
Merge branch 'master' into master
lijiayu980606 Nov 11, 2019
95f5e52
Merge branch 'master' into master
lijiayu980606 Nov 11, 2019
ea2c39b
fixed check style
Nov 11, 2019
d80ff7c
update UG
Nov 11, 2019
8823797
Merge pull request #199 from lijiayu980606/master
lijiayu980606 Nov 11, 2019
9dfc4c2
removed redundant method in projectmanager, changed filepath for undo…
leowyh Nov 11, 2019
5327dd8
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 11, 2019
edbb085
updated ug and readme.md (with new Ui.png)
Nov 11, 2019
024f379
update UG (added in names)
Nov 11, 2019
f7d6485
moved tasklist into task dolder
Nov 11, 2019
4e71270
Merge pull request #201 from lijiayu980606/master
lijiayu980606 Nov 11, 2019
b0baf76
Junit tests and refactored project messages
leowyh Nov 11, 2019
acc4754
Added exception message for undo and redo commands
Nov 11, 2019
69fb405
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
leowyh Nov 11, 2019
1a2e29f
no message
Nov 11, 2019
95dfbb9
passed checkstyle
leowyh Nov 11, 2019
5507182
Merge pull request #202 from leowyh/master
leowyh Nov 11, 2019
520bc04
Merge pull request #29 from AY1920S1-CS2113T-F10-3/master
lijiayu980606 Nov 11, 2019
18ffc64
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
c8c1eaa
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
420bef4
Added more robust exepction handling, updated UG/DG
karansarat Nov 11, 2019
eb9c461
Merge pull request #203 from E0373902/master
E0373902 Nov 11, 2019
6d704ff
no message
Nov 11, 2019
a89c593
Fixed merge conflicts
karansarat Nov 11, 2019
b248695
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
karansarat Nov 11, 2019
832461e
Fixed merge bugs
karansarat Nov 11, 2019
3f8469f
Fixed checkstyle, 5 unit tests fail
karansarat Nov 11, 2019
3a2b79c
Merge pull request #204 from karansarat/master
karansarat Nov 11, 2019
a7d27fe
Removed debugging line
karansarat Nov 11, 2019
6e2b521
Merge pull request #205 from karansarat/master
karansarat Nov 11, 2019
c2dc9c0
Removed debugging line
karansarat Nov 11, 2019
ae0f9dd
Merge pull request #206 from karansarat/master
karansarat Nov 11, 2019
47243c2
Fixed UG merge conflicts
karansarat Nov 11, 2019
f95bb7f
Merge pull request #207 from karansarat/master
karansarat Nov 11, 2019
d6e76e3
Modifying Dev Guide
leowyh Nov 11, 2019
7964734
Updated User Guide
leowyh Nov 11, 2019
109bff1
Updated ug
Nov 11, 2019
ef0ad9a
updated ug
Nov 11, 2019
6fe6067
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
9d779dd
Merge pull request #208 from E0373902/master
E0373902 Nov 11, 2019
d3252a2
Update Dev Guide
leowyh Nov 11, 2019
8e83e8d
Merge pull request #209 from leowyh/master
leowyh Nov 11, 2019
c80d820
Updated PPP, Unit Tests
karansarat Nov 11, 2019
f03200d
no message
Nov 11, 2019
d3f02ee
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
b5c11b4
Completed PPP
karansarat Nov 11, 2019
f8cf917
update dg
Nov 11, 2019
02d79fd
Merge pull request #210 from lijiayu980606/master
lijiayu980606 Nov 11, 2019
5187672
no message
Nov 11, 2019
f72236d
Updated command formats
karansarat Nov 11, 2019
3d8609b
Merge pull request #211 from karansarat/master
leowyh Nov 11, 2019
fcbbf4a
Updated Unit Tests
karansarat Nov 11, 2019
6033c71
Updated DG
Nov 11, 2019
d77cdd9
Merge branch 'master' of https://github.com/AY1920S1-CS2113T-F10-3/main
Nov 11, 2019
71bbba6
Merge pull request #213 from karansarat/master
karansarat Nov 11, 2019
cac2b7c
Merge pull request #214 from E0373902/master
E0373902 Nov 11, 2019
b04a48d
no message
Nov 11, 2019
4c33d49
Merge pull request #212 from lijiayu980606/master
lijiayu980606 Nov 11, 2019
5f54e09
Update Process.java
karansarat Nov 13, 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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ src/main/resources/docs/
.DS_Store
*.iml
bin/

# Data Directory
data/*

# Local storage
localdata/*
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: java
jdk: oraclejdk11

before_install:
- chmod +x gradlew
49 changes: 14 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,18 @@
# Setting up
# AlphaNUS

**Prerequisites**
### OverView
* AlphaNUS is an app intended for the treasurers of NUS clubs. The user interactions will occur using the CLI.
* The purpose of the app is to categorize the deadline of the payment forms, expenses of events and history of tasks completed. This allows the treasurer to be organized and efficiently keep track of their tasks.
* AlphaNUS is written in OOP fashion.
###User Interface
![Image_of_Ui](docs/images/Ui.png)

* JDK 11
* Recommended: IntelliJ IDE
* Fork this repo to your GitHub account and clone the fork to your computer
###Setting up
* JDK11 is required to run our product.
* Download the jar file from [here](https://github.com/AY1920S1-CS2113T-F10-3/main/re;ease)

**Importing the project into IntelliJ**
###Site Map
* [User Guide](https://github.com/AY1920S1-CS2113T-F10-3/main/blob/master/docs/UserGuide.adoc)
* [Developer Guide](https://github.com/AY1920S1-CS2113T-F10-3/main/blob/master/docs/DeveloperGuide.adoc)
* [AboutUs](https://github.com/AY1920S1-CS2113T-F10-3/main/blob/master/docs/AboutUs.adoc)

1. Open IntelliJ (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project dialog first).
1. Set up the correct JDK version.
* Click `Configure` > `Structure for new Projects` (in older versions of Intellij:`Configure` > `Project Defaults` > `Project Structure`).
* If JDK 11 is listed in the drop down, select it. If it is not, click `New...` and select the directory where you installed JDK 11.
* Click `OK`.
1. Click `Import Project`.
1. Locate the project directory and click `OK`.
1. Select `Create project from existing sources` and click `Next`.
1. Rename the project if you want. Click `Next`.
1. Ensure that your src folder is checked. Keep clicking `Next`.
1. Click `Finish`.

# Tutorials

Duke Increment | Tutorial
---------------|---------------
`A-Gradle` | [Gradle Tutorial](tutorials/gradleTutorial.md)
`A-TextUiTesting` | [Text UI Testing Tutorial](tutorials/textUiTestingTutorial.md)
`Level-10` | JavaFX tutorials:<br>→ [Part 1: Introduction to JavaFX][fx1]<br>→ [Part 2: Creating a GUI for Duke][fx2]<br>→ [Part 3: Interacting with the user][fx3]<br>→ [Part 4: Introduction to FXML][fx4]

[fx1]: <tutorials/javaFxTutorialPart1.md>
[fx2]: <tutorials/javaFxTutorialPart2.md>
[fx3]: <tutorials/javaFxTutorialPart3.md>
[fx4]: <tutorials/javaFxTutorialPart4.md>

# Feedback, Bug Reports

* If you have feedback or bug reports, please post in [se-edu/duke issue tracker](https://github.com/se-edu/duke/issues).
* We welcome pull requests too.
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'org.openjfx.javafxplugin' version '0.0.7'
}

checkstyle {
toolVersion = '8.23'
}

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


group 'seedu.duke'
version '0.1.0'

repositories {
mavenCentral()
}

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

run {
standardInput = System.in
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
implementation 'com.google.code.gson:gson:2.8.6'
}

test {
useJUnitPlatform()
}

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

sourceSets {
main {
resources {
srcDirs = ['src/main/java/']
}
}
}
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="4"/>
</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>
Empty file added data/AlphaNUS.txt
Empty file.
1 change: 1 addition & 0 deletions data/duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading