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

[F09-2] Restaurant Management System #162

Open
wants to merge 870 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
870 commits
Select commit Hold shift + click to select a range
4f4b488
update member tests
kangmingtay Nov 8, 2018
a3f45c7
fix checkstyle
kangmingtay Nov 8, 2018
2b55d72
fix more checkstyle
kangmingtay Nov 8, 2018
b2ed35d
fix comments in PR
kangmingtay Nov 8, 2018
2d827f2
Add equals() method to Attendance classes
px1099 Nov 8, 2018
bd0d6ca
Change the StorageFileTest
px1099 Nov 8, 2018
21f8e4c
add error messages for draftpoints command
kangmingtay Nov 8, 2018
9fca441
add override to hasPoints in Order class
kangmingtay Nov 8, 2018
86ed0ce
Update StorageFileTest.java
px1099 Nov 8, 2018
2e71547
add case to handle negative points to redeem
kangmingtay Nov 8, 2018
104d7bd
Merge pull request #192 from SalsabilTasnia/version3
px1099 Nov 8, 2018
3cdee54
Merge pull request #185 from kangmingtay/add-phone-and-total-points
px1099 Nov 8, 2018
19a0c16
Fix past 12 monthly revenue showing in wrong month
Nov 8, 2018
9eae481
Added recommendations command in developer and user guide
SalsabilTasnia Nov 8, 2018
824e808
Remove ab from TestDataHelper (part 1)
px1099 Nov 9, 2018
f75f85c
Remove AB from TestDataHelper (part 2)
px1099 Nov 9, 2018
0697029
Remove AB from LogicTest.java
px1099 Nov 9, 2018
148d3b9
Merge branch 'master' into remove-AB
px1099 Nov 9, 2018
32d08eb
Fix employee and attendance bugs
px1099 Nov 10, 2018
e92d5d5
Change Member hashing
px1099 Nov 10, 2018
6a42917
Remove AB from AdaptedRms.java
px1099 Nov 10, 2018
1f1d253
Remove AB from Rms.java
px1099 Nov 10, 2018
2c58bbc
Remove AdaptedPerson.java
px1099 Nov 10, 2018
38c73ed
Remove Person.java and UniquePersonList.java
px1099 Nov 10, 2018
1d0bd81
Remove AB from Command.java
px1099 Nov 10, 2018
e34be3d
Remove AB from CommandResult.java
px1099 Nov 10, 2018
fa14220
Remove AB from Logic.java
px1099 Nov 10, 2018
cee19d0
Remove AB from Formatter.java
px1099 Nov 10, 2018
a524842
Remove AB from MainWindow.java
px1099 Nov 10, 2018
4e67446
Remove Person data
px1099 Nov 10, 2018
3d1a798
Remove AB from codes, comments, strings
px1099 Nov 10, 2018
02ef2ff
Remove 2 testcases: clockin_success and clockout_success
px1099 Nov 10, 2018
6233433
Fix checkStyle
px1099 Nov 10, 2018
02e29b1
Improved the Portfolio
SalsabilTasnia Nov 10, 2018
a3e2110
change delete menu command format
kangmingtay Nov 10, 2018
2233870
change display of listmenu and invalid addmenu command help message
kangmingtay Nov 10, 2018
2d8933d
change command format of listmember
kangmingtay Nov 10, 2018
36869eb
change display of employee commands
kangmingtay Nov 10, 2018
7984d3b
change invalid addcommand message format
kangmingtay Nov 10, 2018
62c5380
update tests
kangmingtay Nov 10, 2018
35ec9dc
Merge pull request #196 from px1099/remove-AB
kangmingtay Nov 10, 2018
ebb001b
Merge branch 'master' into standardise-display-command-formats
kangmingtay Nov 10, 2018
1a0c667
Merge pull request #197 from kangmingtay/standardise-display-command-…
kianhong95 Nov 10, 2018
25f2e35
removed viewallmenu command
SalsabilTasnia Nov 10, 2018
4ca08f2
Merge branch 'master' into EditCommand
kianhong95 Nov 10, 2018
bcfc323
Changed EmployeeEditCommand to work with actual empty String instead …
kianhong95 Nov 10, 2018
9b34af7
Merge branch 'master' into JUnitTests
kianhong95 Nov 10, 2018
459199f
changed the price regex to restrict price to be less than $10,000 and…
SalsabilTasnia Nov 10, 2018
4f7097c
resolved merge conflict
SalsabilTasnia Nov 10, 2018
5661248
updated user guide for the price regex
SalsabilTasnia Nov 10, 2018
2f980e4
resolved check style error
SalsabilTasnia Nov 10, 2018
25d4883
removed all unused methods and commented methods
SalsabilTasnia Nov 11, 2018
52dcf67
Merge branch 'master' of https://github.com/CS2113-AY1819S1-F09-2/mai…
SalsabilTasnia Nov 11, 2018
890f101
change price regex to limit price input
kangmingtay Nov 11, 2018
9e27927
Merge pull request #198 from kianhong95/EditCommand
px1099 Nov 11, 2018
1df59c1
add limit to currentPoints and totalPoints
kangmingtay Nov 11, 2018
c401c7d
change message price constraints message
kangmingtay Nov 11, 2018
da8496a
change message phrasing
kangmingtay Nov 11, 2018
a032cde
increase cap limit for current and total points
kangmingtay Nov 11, 2018
34416c7
Merge pull request #200 from kangmingtay/add-parameters-for-price-input
px1099 Nov 11, 2018
87a5527
Merge branch 'master' into add-total-points-limit
kangmingtay Nov 11, 2018
2159f23
Merge branch 'add-total-points-limit' of https://github.com/kangmingt…
kangmingtay Nov 11, 2018
8834af0
Merge branch 'master' into topic-statsFunction
Nov 11, 2018
927b03f
commit
SalsabilTasnia Nov 11, 2018
9885bbe
Merge branch 'master' of https://github.com/CS2113-AY1819S1-F09-2/mai…
SalsabilTasnia Nov 11, 2018
e520652
Add test for utils
Nov 11, 2018
adfb36e
Merge branch 'master' into JUnitTests
kianhong95 Nov 11, 2018
dbb5f02
fix typo errors
kangmingtay Nov 11, 2018
b248174
reformat help command
kangmingtay Nov 11, 2018
ed0ceac
add link to reposense for PPP
kangmingtay Nov 11, 2018
2c2f764
Merge pull request #202 from SalsabilTasnia/version3
px1099 Nov 11, 2018
d9f7ff0
Separate few methods
Nov 11, 2018
f134c6e
fix checkstyle
kangmingtay Nov 11, 2018
6d65d0d
Move message to static final
Nov 11, 2018
1caedf1
Change validation regex of draftdish command to limit the quantity input
px1099 Nov 11, 2018
dc91eda
update Ui picture with latest Ui display
kangmingtay Nov 11, 2018
da49d4b
update PPP
kangmingtay Nov 11, 2018
ebd1703
Change test cases based on the new implementation
px1099 Nov 11, 2018
13ff91b
Minor message change
px1099 Nov 11, 2018
6744d70
Update UG
px1099 Nov 11, 2018
097b7c8
Tidy error message
Nov 11, 2018
fba9da2
Clean getAsText() in Member.java
px1099 Nov 11, 2018
aa89bf5
Add logic test for statistics command
Nov 11, 2018
a367882
Add method to generate statistics command
Nov 11, 2018
531eb5d
Add parser test for statistics help command
Nov 11, 2018
709b45e
Clean getAsText() in Menu.java
px1099 Nov 11, 2018
395447a
Merge pull request #205 from px1099/limit-quantity
AngWM Nov 11, 2018
da2d120
Fix checkstyle errors
Nov 11, 2018
d4d2be2
Fix wording in message usage
Nov 11, 2018
9a52c05
update PPP
kangmingtay Nov 11, 2018
79069b0
Reformat getAsText() in Order.java
px1099 Nov 11, 2018
f1dff85
Change confirmdraft success message
px1099 Nov 11, 2018
80e7c4d
Change the toString() method of Menu.java
px1099 Nov 11, 2018
58e9b1c
fix formating error
kangmingtay Nov 11, 2018
e987453
Merge branch 'master' into clean-show-as-text
px1099 Nov 11, 2018
149e2ba
update formatting
kangmingtay Nov 11, 2018
2850146
update formatting
kangmingtay Nov 11, 2018
9650350
update formatting of intro
kangmingtay Nov 11, 2018
f35866d
Merge branch 'master' into UGDG
kangmingtay Nov 11, 2018
b766e0c
Fixed tests for clockin and clockout command and changed timing displ…
kianhong95 Nov 11, 2018
7d6275a
Merge branch 'master' into JUnitTests
kianhong95 Nov 11, 2018
b9c5e74
Merge pull request #204 from kangmingtay/UGDG
px1099 Nov 11, 2018
15659a3
Fixed CheckStyle erro
kianhong95 Nov 11, 2018
31b1606
Update StatsMenuCommand.java
px1099 Nov 11, 2018
49fe29b
Merge pull request #203 from AngWM/topic-statsFunction
px1099 Nov 11, 2018
4256776
Show the entered command in the result
px1099 Nov 11, 2018
6c30a85
Merge pull request #207 from kianhong95/JUnitTests
px1099 Nov 11, 2018
2cbc52e
Make the Parser accept insensitive command word
px1099 Nov 11, 2018
d639b9a
Fix checkStyle
px1099 Nov 11, 2018
2079afb
Merge pull request #209 from px1099/command-case-insensitive
SalsabilTasnia Nov 11, 2018
b02a668
Merge pull request #208 from px1099/improvement
SalsabilTasnia Nov 11, 2018
33eb896
Merge branch 'master' into add-total-points-limit
kangmingtay Nov 11, 2018
02ab26e
Refactor the format of the confirmdraft message
px1099 Nov 11, 2018
1354cb1
Merge pull request #206 from px1099/clean-show-as-text
SalsabilTasnia Nov 11, 2018
ab551bf
add tests for draft points
kangmingtay Nov 11, 2018
1c85176
update member tests
kangmingtay Nov 11, 2018
1a1785e
update tests and remove redundant sections
kangmingtay Nov 11, 2018
204366f
Improve draftdish to change multiple dish quantity at the same time
px1099 Nov 11, 2018
5821062
New exception for duplicate index in draftdish command
px1099 Nov 11, 2018
d024d90
Remove old regex for draftdish
px1099 Nov 11, 2018
255c118
update test for update points
kangmingtay Nov 11, 2018
beb6e17
Update UG
px1099 Nov 11, 2018
b5d48e4
Add/edit test cases for draftdish
px1099 Nov 11, 2018
c15625b
commit
SalsabilTasnia Nov 11, 2018
f60a56b
resolved merge conflicts and updated the user guide and developer gui…
SalsabilTasnia Nov 11, 2018
4c607c0
Manual code cleaning
px1099 Nov 11, 2018
dd08939
Automatic code cleaning
px1099 Nov 11, 2018
a1bc9ea
updated the ppp and added author tags to the relevant classes and met…
SalsabilTasnia Nov 11, 2018
ec2599e
resolved checkstyle errors
SalsabilTasnia Nov 11, 2018
85f6743
Merge branch 'master' of https://github.com/CS2113-AY1819S1-F09-2/mai…
SalsabilTasnia Nov 11, 2018
05517a8
updated ppp
SalsabilTasnia Nov 11, 2018
a9abdf6
resolved merge conflicts
SalsabilTasnia Nov 12, 2018
b377d32
Code clean up based on warnings of IntelliJ
px1099 Nov 12, 2018
ca7d3a3
Change spliting regex
px1099 Nov 12, 2018
90a828d
Fixs failed tests
px1099 Nov 12, 2018
b7cf714
Fixs checkStyle
px1099 Nov 12, 2018
ff9e47d
Improve code quality based on Codacy advices (part 1)
px1099 Nov 12, 2018
8fba0f2
Resolve more error prone issues
px1099 Nov 12, 2018
35612c7
changed ug and ppp
SalsabilTasnia Nov 12, 2018
9e3790e
made changes to the UG
SalsabilTasnia Nov 12, 2018
1fda5b4
made changes to ppp and updated diagram for Data Component
SalsabilTasnia Nov 12, 2018
fe333eb
Merge pull request #210 from px1099/improve-draft-dish-command
kangmingtay Nov 12, 2018
af95866
Merge branch 'master' into improve-code-quality
px1099 Nov 12, 2018
70647ac
Merge pull request #201 from kangmingtay/add-total-points-limit
px1099 Nov 12, 2018
a0e5db9
Merge branch 'master' into improve-code-quality (again)
px1099 Nov 12, 2018
4626b70
commit
SalsabilTasnia Nov 12, 2018
6dcdff9
Merge branch 'master' of https://github.com/CS2113-AY1819S1-F09-2/mai…
SalsabilTasnia Nov 12, 2018
fc05f78
add introductory statement to PPP
kangmingtay Nov 12, 2018
eddd4fc
update ppp
SalsabilTasnia Nov 12, 2018
dde768f
change header from intro to about myself
kangmingtay Nov 12, 2018
2763632
commit
SalsabilTasnia Nov 12, 2018
a3df170
commit
SalsabilTasnia Nov 12, 2018
26260b9
merge resolve
SalsabilTasnia Nov 12, 2018
3c689fe
merge resolve
SalsabilTasnia Nov 12, 2018
605f43a
added naming constraints
SalsabilTasnia Nov 12, 2018
e0a54a2
Merge branch 'master' of https://github.com/CS2113-AY1819S1-F09-2/mai…
SalsabilTasnia Nov 12, 2018
f8e1c4c
commit
SalsabilTasnia Nov 12, 2018
57e61ce
resolved conflicts
SalsabilTasnia Nov 12, 2018
e6bf93b
update contributions
kangmingtay Nov 12, 2018
b1d15c1
fix some typo errors in UG
kangmingtay Nov 12, 2018
30777a0
Merge pull request #211 from px1099/improve-code-quality
kangmingtay Nov 12, 2018
ac58b91
remove exclaimation marks in intro
kangmingtay Nov 12, 2018
ea66c6e
Update portfolio
Nov 12, 2018
79db4e6
Update DG
Nov 12, 2018
2bf78d0
Add images
Nov 12, 2018
9cac994
tag authors in Command classes
px1099 Nov 12, 2018
c91652d
Add author tags to Common classes
px1099 Nov 12, 2018
cd3fce0
Added author tags
kianhong95 Nov 12, 2018
c545ed2
Edited author tags to the correct formatting
kianhong95 Nov 12, 2018
ce1b33a
Merge branch 'master' into ProjectPortfolio
kianhong95 Nov 12, 2018
4c93d5d
Merge pull request #214 from SalsabilTasnia/version3
kianhong95 Nov 12, 2018
3a0879b
Add tagging for employee data classes
px1099 Nov 12, 2018
2bc13ef
Remove merge conflict
px1099 Nov 12, 2018
ffe1bb8
Add intro
Nov 12, 2018
df3bf72
Merge pull request #212 from kangmingtay/UGDG
px1099 Nov 12, 2018
f2670be
Fix typo
Nov 12, 2018
35d29d4
Merge pull request #216 from px1099/fix-conflict
px1099 Nov 12, 2018
717187a
Merge pull request #215 from kianhong95/AuthorTags
px1099 Nov 12, 2018
b07ade2
Merge branch 'master' into tag-author
px1099 Nov 12, 2018
3d27bbe
Update code contributed link
Nov 12, 2018
8dd4b01
Edit command author tags
px1099 Nov 12, 2018
40efa2c
Employee authors tags
px1099 Nov 12, 2018
05a13f7
Merge branch 'master' into topic-addPortfolio
Nov 12, 2018
e932825
Tag authors Data classes
px1099 Nov 12, 2018
a2e47bc
Add author tags in Logic & Parser
px1099 Nov 12, 2018
cca6dbe
Merge branch 'master' into MiscEdits
kianhong95 Nov 12, 2018
3a65d8f
Add authors tags to adapted classes
px1099 Nov 12, 2018
186a08e
Add author tags to UI classes
px1099 Nov 12, 2018
607a30e
Change EmployeeEmail to extend from Email
kianhong95 Nov 12, 2018
e850bcf
Changed EmployeePhone to only accept 8-digit numbers
kianhong95 Nov 12, 2018
aa2faa9
Merge branch 'master' into UserGuide
kianhong95 Nov 12, 2018
fa3a389
Update author tags to testcases
px1099 Nov 12, 2018
1393b18
update DG
kangmingtay Nov 12, 2018
15e7280
Merge pull request #219 from SalsabilTasnia/version3
kangmingtay Nov 12, 2018
d36c4c7
Add implementation for statistics
Nov 12, 2018
c7023a6
Merge branch 'master' into topic-addPortfolio
Nov 12, 2018
7bb9492
Add space
Nov 12, 2018
c981212
Update portfolio
Nov 12, 2018
5230b55
Merge pull request #213 from AngWM/topic-addPortfolio
SalsabilTasnia Nov 12, 2018
28f1d52
Fix test cases
px1099 Nov 12, 2018
1935f94
Merge branch 'master' into tag-author
px1099 Nov 12, 2018
187ce05
change the data component diagram
kangmingtay Nov 12, 2018
9124988
add implementation of draft points command
kangmingtay Nov 12, 2018
60105cb
Add screenshots
Nov 12, 2018
1299cfe
Add more info
Nov 12, 2018
188f4a7
Updated PPP
kianhong95 Nov 12, 2018
bd3b3e7
resolve merge conflicts
kangmingtay Nov 12, 2018
1d1fed7
Merge pull request #222 from AngWM/topic-addPortfolio
kianhong95 Nov 12, 2018
5694612
Merge pull request #223 from kianhong95/ProjectPortfolio
AngWM Nov 12, 2018
5aaf026
Merge pull request #220 from kangmingtay/UGDG
SalsabilTasnia Nov 12, 2018
8491735
Merge pull request #218 from px1099/tag-author
kianhong95 Nov 12, 2018
7182903
Merge branch 'master' into MiscEdits
kianhong95 Nov 12, 2018
9376ed8
Merge branch 'master' into UserGuide
kianhong95 Nov 12, 2018
1042abd
Merge pull request #221 from SalsabilTasnia/version3
AngWM Nov 12, 2018
5da9c1c
uncommented some parts of the DG
kangmingtay Nov 12, 2018
fbfe243
remove headless mode from tests
kangmingtay Nov 12, 2018
05a2466
Update ppp
px1099 Nov 12, 2018
8323dae
change regex for name
kangmingtay Nov 12, 2018
fa5ca48
Update ppp
px1099 Nov 12, 2018
63598ec
change regex for Email
kangmingtay Nov 12, 2018
58e97b5
fix display
kangmingtay Nov 12, 2018
c532ac5
Merge pull request #217 from kianhong95/MiscEdits
kangmingtay Nov 12, 2018
f2c3d5b
Updated User Guide
kianhong95 Nov 12, 2018
3092db1
Merge pull request #224 from kangmingtay/devguide-changes
AngWM Nov 12, 2018
346a426
Merge pull request #225 from kianhong95/UserGuide
kangmingtay Nov 12, 2018
b1dd828
made some changes to member section
kangmingtay Nov 12, 2018
ceb2316
Update build.gradle and ascii doc template
px1099 Nov 12, 2018
23dccbe
Merge pull request #228 from px1099/update-ppp
px1099 Nov 12, 2018
eda349e
Merge branch 'master' into MiscEdits
kianhong95 Nov 12, 2018
4e8c40c
Merge pull request #227 from SalsabilTasnia/version3
AngWM Nov 12, 2018
8261c57
change typo on UG
kangmingtay Nov 12, 2018
dce5de4
Updated constraints for add employee command
kianhong95 Nov 12, 2018
d56adf3
Merge pull request #226 from kangmingtay/UGDG
AngWM Nov 12, 2018
66c0437
Update README and ContactUs
px1099 Nov 12, 2018
1cb2d5a
Merge pull request #230 from px1099/contact-us
px1099 Nov 12, 2018
74b904b
Update format
Nov 12, 2018
79c5045
fix inconsistencies in PR
kangmingtay Nov 12, 2018
1afbfba
Merge pull request #231 from kangmingtay/UGDG
kangmingtay Nov 12, 2018
7edeca3
Merge branch 'master' into topic-addPortfolio
Nov 12, 2018
9f42f23
Update link
Nov 12, 2018
8a5aec3
Merge pull request #229 from kianhong95/MiscEdits
AngWM Nov 12, 2018
825442a
Update ui.png and version number
px1099 Nov 12, 2018
550bcc9
Merge pull request #232 from AngWM/topic-addPortfolio
kianhong95 Nov 12, 2018
5ae5599
Merge pull request #233 from px1099/update-version
px1099 Nov 12, 2018
69c0af2
Minor edits to the PPP
kianhong95 Nov 12, 2018
521e3f5
Fix ContactUs
px1099 Nov 12, 2018
eb1ff13
Merge pull request #234 from kianhong95/MiscEdits
kianhong95 Nov 12, 2018
b9e3116
Update DeveloperGuide
px1099 Nov 12, 2018
53025da
Change Title color
px1099 Nov 12, 2018
d34e193
Merge pull request #235 from px1099/update-ascii-doc
px1099 Nov 12, 2018
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*.class

# Default data file
addressbook.txt
Rms.txt

# Package Files #
*.jar
Expand All @@ -22,3 +22,4 @@ publish.sh
.gradle/
build/

/config.json
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ matrix:
- jdk: oraclejdk9

script: >-
./gradlew test asciidoctor
./gradlew clean checkstyleMain checkstyleTest test coverage coveralls asciidoctor

deploy:
skip_cleanup: true
Expand Down
44 changes: 16 additions & 28 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,41 +1,29 @@
= AddressBook (Level 3)
ifdef::env-github,env-browser[:relfileprefix: docs/]
ifdef::env-github,env-browser[:imagesDir: docs/images]

https://travis-ci.org/se-edu/addressbook-level3[image:https://travis-ci.org/se-edu/addressbook-level3.svg?branch=master[Build Status]]
https://www.codacy.com/app/se-edu/addressbook-level3?utm_source=github.com&utm_medium=referral&utm_content=se-edu/addressbook-level3&utm_campaign=Badge_Grade[image:https://api.codacy.com/project/badge/Grade/d4a0954383444a8db8cb26e5f5b7302c[Codacy Badge]]
https://travis-ci.org/CS2113-AY1819S1-F09-2/main[image:https://travis-ci.org/CS2113-AY1819S1-F09-2/main.svg?branch=master[Build Status]]
https://app.codacy.com/project/CS2113-AY1819S1-F09-2/main/dashboard[image:https://api.codacy.com/project/badge/Grade/e4ce38384d584d61bc91c56dcdacbd70["Codacy code quality", link="https://www.codacy.com/app/CS2113-AY1819S1-F09-2/main?utm_source=github.com&utm_medium=referral&utm_content=CS2113-AY1819S1-F09-2/main&utm_campaign=Badge_Grade"]]
https://coveralls.io/github/CS2113-AY1819S1-F09-2/main?branch=master[image:https://coveralls.io/repos/github/CS2113-AY1819S1-F09-2/main/badge.svg?branch=master[Coverage Status]]

image::Ui.png[]

* This is a CLI (Command Line Interface) Address Book application *written in OOP fashion*. It has a very basic GUI.
* It is a Java sample application intended for students learning Software Engineering while using Java as
the main programming language.
* It provides a *reasonably well-written* code example that is *significantly bigger* than what students
usually write in data structure modules.

*What's different from level 2*
image::homepage.png[]

* A simple GUI added to replace the Text UI.
* A `Logic` class added together with a `LogicTest` class.
* Appendices added to <<DeveloperGuide#, Developer Guide>>
= https://cs2113-ay1819s1-f09-2.github.io/main/[Welcome to RMS Homepage]
Restaurant Management System (RMS) promises to increase the quality of your service and enhance your work experience. The Command Line Interface makes RMS highly efficient as it reduces the number of steps taken to perform a task to just one (or two). It is your one-stop solution that can be used for serving customers, updating menu as well as storing and tracking important data. In a nutshell, RMS guarantees to be a faster, safer and smarter choice of management for any restaurants and fast food chains.

*Useful Links*
image::Ui.png[]

* <<UserGuide#, User Guide>>
* <<DeveloperGuide#, Developer Guide>>
* <<LearningOutcomes#, Learning Outcomes>>
* This is a Desktop Application for Restaurant Management System. It is making use of Command Line Interface
* Our primary target audience for RMS are *Restaurants* and *Fast Food Chains*
* RMS contains support for Build Automation using Gradle and for Continuous Integration using Travis CI, with coverage checks using Coveralls.

== Contributors
== Who we are

The full list of contributors for se-edu can be found https://se-edu.github.io/Team.html[here].
* Restaurant Management System was developed by CS2113-AY1819S1-F09-2 team. We are a team based in the School of Computing, National University of Singapore. For further information, visit <<AboutUs#, ABOUT US>> page.

== Acknowledgements

Some parts of this sample application was inspired by the excellent
* Restaurant Management System was developed based on the souce code of an
https://github.com/se-edu/addressbook-level3[Address Book] created by
SE-EDU initiative.
* Some parts of this sample application was inspired by the excellent
http://code.makery.ch/library/javafx-8-tutorial/[Java FX tutorial] by Marco Jakob

== Contact Us

* *Bug reports, Suggestions* : Post in our https://github.com/se-edu/addressbook-level3/issues[issue tracker]
if you noticed bugs or have suggestions on how to improve.
* *Contributing* : We welcome pull requests. Follow the process described https://github.com/oss-generic/process[here]
30 changes: 30 additions & 0 deletions _reposense/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"authors":
[
{
"githubId": "AngWM",
"displayName": "ANG...ING",
"authorNames": ["AngWM", "Wei Ming"]
},
{
"githubId": "kianhong95",
"displayName": "LIM...ONG",
"authorNames": ["kianhong95", "Lim Kian Hong"]
},
{
"githubId": "px1099",
"displayName": "PHA...INH",
"authorNames": ["px1099", "Pham Quang Minh"]
},
{
"githubId": "SalsabilTasnia",
"displayName": "SAL... MD",
"authorNames": ["SalsabilTasnia"]
},
{
"githubId": "kangmingtay",
"displayName": "TAY...ING",
"authorNames": ["kangmingtay"]
}
]
}
58 changes: 54 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,36 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
id 'java'
id 'jacoco'
id 'checkstyle'
id 'com.github.kt3k.coveralls' version '2.4.0'
id 'org.asciidoctor.convert' version '1.5.6'
id 'com.github.johnrengelman.shadow' version '2.0.3'
id 'application'
}

// Specifies the entry point of the application
mainClassName = 'seedu.addressbook.Main'

sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9

repositories {
mavenCentral()
}

checkstyle {
toolVersion = '8.1'
}

jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
}

sourceSets {
main {
java {
Expand All @@ -41,10 +61,41 @@ dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
}

shadowJar {
archiveName = 'addressbook.jar'

destinationDir = file("${buildDir}/jar/")
}

task wrapper(type: Wrapper) {
gradleVersion = '4.8.1'
}

task coverage(type: JacocoReport) {
sourceDirectories = files(sourceSets.main.allSource.srcDirs)
classDirectories = files(sourceSets.main.output)
executionData = files(jacocoTestReport.executionData)
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it, exclude: ['**/*.jar'])
})
}
reports {
html.enabled = true
xml.enabled = true
}
}

coveralls {
sourceDirs = sourceSets.main.allSource.srcDirs.absolutePath
jacocoReportPath = "${buildDir}/reports/jacoco/coverage/coverage.xml"
}

tasks.coveralls {
dependsOn coverage
onlyIf { System.env.'CI' }
}

test {
testLogging {
events TestLogEvent.FAILED, TestLogEvent.SKIPPED
Expand Down Expand Up @@ -77,9 +128,8 @@ asciidoctor {
idprefix: '', // for compatibility with GitHub preview
idseparator: '-',
'site-root': "${sourceDir}", // must be the same as sourceDir, do not modify
'site-name': 'AddressBook-Level3',
'site-githuburl': 'https://github.com/se-edu/addressbook-level3',
'site-seedu': true, // delete this line if your project is not a fork (not a SE-EDU project)
'site-name': 'Restaurant Management System',
'site-githuburl': 'https://github.com/CS2113-AY1819S1-F09-2/main',
]

options['template_dirs'].each {
Expand All @@ -96,4 +146,4 @@ task copyStylesheets(type: Copy) {
}
asciidoctor.dependsOn copyStylesheets

defaultTasks 'clean', 'test', 'asciidoctor'
defaultTasks 'clean', 'test', 'coverage', 'asciidoctor'
Loading