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

[v1.5][F14-B2] Medeina #69

Open
wants to merge 903 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
903 commits
Select commit Hold shift + click to select a range
d846c85
Merge pull request #203 from Aquarinte/v1.5
wynonaK Apr 11, 2018
b31ad7a
Add 2 methods to StringUtil
Aquarinte Apr 11, 2018
a6c95da
Add descriptions for options and prefixes
Aquarinte Apr 11, 2018
381124d
Update Exception
Robert-Peng Apr 11, 2018
e0393bf
Fix checkstyle error
Aquarinte Apr 11, 2018
4214e1f
Merge pull request #11 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 11, 2018
6fa9bff
Remove newline in StringUtil
Aquarinte Apr 11, 2018
ba29f54
Update Autocomplete.java and CommandBox.java to support descriptions …
Aquarinte Apr 11, 2018
f9045b2
Update and add JUnit tests for autocomplete
Aquarinte Apr 11, 2018
491ba13
Fix time interval to 30
Robert-Peng Apr 11, 2018
727d3bd
Set hour height even bigger
Robert-Peng Apr 11, 2018
de3e8d6
Help Wynona to update her collate for sampleDataUtil
Aquarinte Apr 11, 2018
8d77bbc
Merge pull request #197 from Robert-Peng/DisableButtons
wynonaK Apr 11, 2018
c099cc0
Merge pull request #205 from Aquarinte/v1.5
wynonaK Apr 11, 2018
5c9884b
Merge pull request #206 from Robert-Peng/IntervalBug
Aquarinte Apr 11, 2018
4400592
Merge pull request #25 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 11, 2018
94fe56a
Remove codacy badge and glitter badge
Aquarinte Apr 11, 2018
dcc0e79
Add circleci config file
Aquarinte Apr 11, 2018
8aedcd0
Create project portfolio docs
Aquarinte Apr 11, 2018
df1c702
Add new line at EOF
Aquarinte Apr 11, 2018
2bc57a3
Merge pull request #207 from Aquarinte/updateDocs
Robert-Peng Apr 11, 2018
8dcbb7f
Update error messages for add command
Aquarinte Apr 11, 2018
24fcc0a
Modify string formatting for Person class toString() method
Aquarinte Apr 11, 2018
578c629
Update Nric constraints message
Aquarinte Apr 11, 2018
d60dd17
Modify string formatting for Appointment class toString() method
Aquarinte Apr 11, 2018
b2253ca
Correct error message in add command parser
Aquarinte Apr 11, 2018
d1d53c5
Update and add new JUnit tests
Aquarinte Apr 11, 2018
80b318b
Removed unused imports and add collate
Aquarinte Apr 11, 2018
c68b42e
Fix checkstyle error
Aquarinte Apr 11, 2018
3e92bfd
Updated ParserUtil
chialejing Apr 11, 2018
23695f3
Updated constraint messages for NRIC and Tag
chialejing Apr 11, 2018
228102e
Fixed regression for JUnit tests
chialejing Apr 11, 2018
e9507ad
Added tests for ParserUtil
chialejing Apr 11, 2018
d211b6c
minor change
Robert-Peng Apr 12, 2018
98c630d
Update Tab pane and text colour
Robert-Peng Apr 12, 2018
0703b85
ID
Robert-Peng Apr 12, 2018
3bebc1f
Update UI color bug
Robert-Peng Apr 12, 2018
56a6c1a
Code improve for parserutil
Aquarinte Apr 12, 2018
2e6bc6b
Fix checkstyle error
Aquarinte Apr 12, 2018
54af85c
Update and add new JUnit tests for add command
Aquarinte Apr 12, 2018
0fcae65
Fix 2 parse methods
Aquarinte Apr 12, 2018
af391ad
Merge pull request #213 from Aquarinte/v1.5
wynonaK Apr 12, 2018
6d9688a
changes of tab color
Robert-Peng Apr 12, 2018
579e95e
Update UG format and made some amendments
Aquarinte Apr 12, 2018
62204ec
Merge pull request #212 from Robert-Peng/ListView
Aquarinte Apr 12, 2018
d8b5459
Merge pull request #214 from Aquarinte/updateDocs
Robert-Peng Apr 12, 2018
77f106f
Merge pull request #196 from Robert-Peng/ShowTab
Aquarinte Apr 12, 2018
534c531
Merge pull request #26 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 12, 2018
cb55fe6
Merge pull request #12 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 12, 2018
5263f61
Add badge for CircleCi
Aquarinte Apr 12, 2018
db7c115
Rename labels for panels to "Contacts" and "Pet Patients"
Aquarinte Apr 12, 2018
d32e1b1
Update light theme css for commandbox area
Aquarinte Apr 12, 2018
963ecbf
Merge branch 'master' into updateParserUtil
chialejing Apr 12, 2018
1ee6f6e
Update Nric.java
chialejing Apr 12, 2018
bff8c78
Merge pull request #21 from CS2103JAN2018-F14-B2/master
wynonaK Apr 12, 2018
f940cbc
Resolved conflicts with AddCommandSystemTest
chialejing Apr 12, 2018
27e6955
Code refactoring for Autocomplete
Aquarinte Apr 12, 2018
e8abd66
Merge pull request #211 from CS2103JAN2018-F14-B2/updateParserUtil
Aquarinte Apr 12, 2018
df2f6de
Add key to toggle autocomplete on/off
Aquarinte Apr 12, 2018
0ca5295
added some minor tests.
wynonaK Apr 12, 2018
6559b38
Added some small tests.
wynonaK Apr 12, 2018
3f15e22
Update Ui.png, autocomplete.png and UG
Aquarinte Apr 12, 2018
37b45e2
Update portfolio
Robert-Peng Apr 12, 2018
b75c2b3
Update autocomplete.png
Aquarinte Apr 12, 2018
00caff9
Merge pull request #215 from Aquarinte/v1.5
chialejing Apr 12, 2018
bfc77b6
Merge pull request #216 from Aquarinte/updateUI
chialejing Apr 12, 2018
e61c5b4
Added JUnit Tests for EditCommandParserTest
chialejing Apr 12, 2018
444b1ca
Removed trailing whitespaces
chialejing Apr 12, 2018
a0dc10b
refactored the find command.
wynonaK Apr 12, 2018
2da1f52
Removed unused imports.
wynonaK Apr 12, 2018
3666c6e
Add tags for UG and updated dark theme image
Aquarinte Apr 12, 2018
c3a9a1c
Update DG
Aquarinte Apr 12, 2018
3b52aa5
Update project portfolio
Aquarinte Apr 12, 2018
820238a
Fix checkstyle error
Aquarinte Apr 12, 2018
e653ba0
Fix PPP
Aquarinte Apr 12, 2018
1483fa3
Update PPP
Aquarinte Apr 12, 2018
e3064c3
Update tags
Aquarinte Apr 12, 2018
1d8f7ca
Added tests for find command
wynonaK Apr 12, 2018
7f4f1ba
Fixed errors, added more tests.
wynonaK Apr 12, 2018
e55f139
Update Project Portfolio
chialejing Apr 12, 2018
3faec3c
Minor Edits to PP
chialejing Apr 12, 2018
929b7e1
Merge pull request #217 from Robert-Peng/Portfolio
chialejing Apr 12, 2018
3d9858c
Merge pull request #219 from wynonaK/findRefactorNewTests
chialejing Apr 12, 2018
cd7c301
Merge pull request #27 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 13, 2018
ca46fd1
Merge pull request #218 from CS2103JAN2018-F14-B2/EditCommandTests
wynonaK Apr 13, 2018
b246b66
Merge pull request #13 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 13, 2018
4cdde9b
Update autocomplete to not show suggestions for commands that do not …
Aquarinte Apr 13, 2018
268317f
Add JUnit tests
Aquarinte Apr 13, 2018
12fab80
Fix checkstyle error
Aquarinte Apr 13, 2018
78c75d5
Update Portfolio details
Robert-Peng Apr 13, 2018
bbb2f6d
Add tests to cover all relevant lines
Aquarinte Apr 13, 2018
6cbb29c
Merge pull request #223 from Aquarinte/v1.5
chialejing Apr 13, 2018
98ef6f1
Merge pull request #222 from Robert-Peng/UpdatePortfolio
chialejing Apr 13, 2018
61f0539
Merge branch 'master' into updateDocs
Aquarinte Apr 13, 2018
6f4c46d
Merge pull request #221 from CS2103JAN2018-F14-B2/updateDocs
Aquarinte Apr 13, 2018
36576c5
new tests.
wynonaK Apr 13, 2018
bb37b3a
Merge pull request #220 from Aquarinte/updateDocs
chialejing Apr 13, 2018
b954552
Merge pull request #14 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 13, 2018
9194c7f
Remove collate author in LightTheme css
Aquarinte Apr 13, 2018
9f26d4f
Update collate files
Aquarinte Apr 13, 2018
7c4399b
Merge pull request #224 from Aquarinte/v1.5
chialejing Apr 13, 2018
c6dd25c
Minor Edits
chialejing Apr 13, 2018
c522b1b
ug changes
wynonaK Apr 13, 2018
a265d83
Merge pull request #225 from CS2103JAN2018-F14-B2/release1.5rc
Aquarinte Apr 13, 2018
d32a6b9
added tags for listappt
wynonaK Apr 13, 2018
26884a1
updated links for team
wynonaK Apr 13, 2018
3830c20
Merge pull request #226 from wynonaK/ugwk12
Aquarinte Apr 13, 2018
ed856bf
Merge pull request #28 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 13, 2018
65da42f
Change PastDateAppointment Exception into AddCommandParser.
Robert-Peng Apr 13, 2018
6f1eee7
update Ui diagram, document calendarFx issue, document user warning a…
Robert-Peng Apr 13, 2018
6c2fe7b
Update image
Robert-Peng Apr 13, 2018
5e0dc9f
Implemented Checks for Edit Command
chialejing Apr 13, 2018
f7856cf
Removed Whitespace
chialejing Apr 13, 2018
2492237
added new sample data
wynonaK Apr 13, 2018
766c8ce
Merge pull request #228 from CS2103JAN2018-F14-B2/updateEditCommand
Aquarinte Apr 13, 2018
ca98d93
Set light theme as default theme
Aquarinte Apr 13, 2018
1901874
Merge pull request #227 from Robert-Peng/ExceptionUpdate
wynonaK Apr 13, 2018
e880551
Add formatting for pet patient card
Aquarinte Apr 13, 2018
f9bf400
fixed indentation errors.
wynonaK Apr 13, 2018
8d62bda
Document calendarFX bug in UG, update Manual testing for list command
Robert-Peng Apr 13, 2018
6728e0c
fixed checkstyle errors
wynonaK Apr 13, 2018
578e5db
commit
Robert-Peng Apr 13, 2018
8c238ff
Merge pull request #229 from wynonaK/tests
Aquarinte Apr 13, 2018
a2d38a9
Further updates in Exception
Robert-Peng Apr 13, 2018
42045f3
minor change
Robert-Peng Apr 13, 2018
ded4e4c
Checkstyle error
Robert-Peng Apr 13, 2018
865544f
Formatting for person card
Aquarinte Apr 13, 2018
326ac41
Merge pull request #230 from Robert-Peng/ExceptionUpdate
chialejing Apr 13, 2018
b693341
Fix JUnit
Aquarinte Apr 13, 2018
9fd41f2
Fix JUnit tests
Aquarinte Apr 13, 2018
aa9732d
Merge pull request #231 from Aquarinte/updateUI
Robert-Peng Apr 13, 2018
c50b3c9
Update messages for existing commands (clear, exit, list)
Aquarinte Apr 13, 2018
b111fb6
Update application size
Aquarinte Apr 13, 2018
e18d981
Merge pull request #29 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 13, 2018
8a35c20
Update messages and refactor code
Aquarinte Apr 13, 2018
b0ac902
Update messages
Aquarinte Apr 13, 2018
9daa9a4
Change options to point to CliSyntax options
Aquarinte Apr 13, 2018
cffc81b
Merge pull request #232 from Aquarinte/v1.5
chialejing Apr 14, 2018
6152939
Update autocomplete
Aquarinte Apr 14, 2018
2be38ff
Update gui settings
Aquarinte Apr 14, 2018
db044b2
Merge pull request #233 from Aquarinte/v1.5
chialejing Apr 14, 2018
2cfa5f6
Merge pull request #234 from Aquarinte/updateUI
chialejing Apr 14, 2018
327204f
Update UserGuide about CalendarView clicking, pop out window and othe…
Robert-Peng Apr 14, 2018
4acbd54
Update diagrams and DG for autocomplete
Aquarinte Apr 14, 2018
76840ff
Update DG
Aquarinte Apr 14, 2018
f2d9808
Update autocomplete DG
Aquarinte Apr 14, 2018
f201702
Merge pull request #22 from CS2103JAN2018-F14-B2/master
wynonaK Apr 14, 2018
307a387
Changed as much AddressBook to Medeina, as much Owner/Person to conta…
wynonaK Apr 14, 2018
b40a44d
Merge pull request #236 from wynonaK/updateOwnerToContact
Aquarinte Apr 14, 2018
47a432b
Merge pull request #23 from CS2103JAN2018-F14-B2/master
wynonaK Apr 14, 2018
f65997f
Changes in UG
Robert-Peng Apr 14, 2018
d0bf2be
Update Ui Class Diagram
Robert-Peng Apr 14, 2018
961e118
Update UGDG
Aquarinte Apr 14, 2018
fec6628
Update size for autocomplete.png
Aquarinte Apr 14, 2018
c7f441d
Document no scroll bar in entry view.
Robert-Peng Apr 14, 2018
9e94d86
Update UGDG
Aquarinte Apr 14, 2018
ed5471a
Updated UG
chialejing Apr 14, 2018
6a94076
Fixed bug where history doesn't show in a section of its own
chialejing Apr 14, 2018
6e96db5
Updated Error Messages
chialejing Apr 14, 2018
fe2636b
Minor code update
Aquarinte Apr 15, 2018
c4762d7
Fix checkstyle
Aquarinte Apr 15, 2018
bcf5eec
Merge pull request #238 from CS2103JAN2018-F14-B2/EditCommandMessage
Aquarinte Apr 15, 2018
537677c
Merge pull request #15 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 15, 2018
ed258ff
Update Error for Edit Command
chialejing Apr 15, 2018
7f8dfbe
Update Undo, Redo, List, Clear command and diagrams
Robert-Peng Apr 15, 2018
f6601b6
Merge pull request #240 from CS2103JAN2018-F14-B2/editCmdEmergencyUpdate
Aquarinte Apr 15, 2018
ca82af3
Merge pull request #239 from Aquarinte/v1.5
Robert-Peng Apr 15, 2018
0adaa57
Merge pull request #237 from CS2103JAN2018-F14-B2/updateUG_v1.5_0414
Robert-Peng Apr 15, 2018
39fa48c
Bug Fixed
chialejing Apr 15, 2018
514bb1e
Update UG CLI section and add command
Aquarinte Apr 15, 2018
224cbf0
Update UG Cli section
Aquarinte Apr 15, 2018
579f966
Update diagrams
Robert-Peng Apr 15, 2018
db23473
Merge branch 'master' into Diagrams
Robert-Peng Apr 15, 2018
093d1dc
Updated the find command error.
wynonaK Apr 15, 2018
ee351c7
Update UG
Aquarinte Apr 15, 2018
9e12a61
Merge pull request #235 from Robert-Peng/UpdateDGPort
Aquarinte Apr 15, 2018
5f97b71
Minor update
Robert-Peng Apr 15, 2018
2520963
Merge branch 'Diagrams' of https://github.com/Robert-Peng/main into D…
Robert-Peng Apr 15, 2018
6c4196a
Fix checkstyle, update introduction, update autocomplete to show max …
Aquarinte Apr 15, 2018
88e7470
Upload colours.png for introduction
Aquarinte Apr 15, 2018
ec6dda5
Remove black line at the end of SS
Robert-Peng Apr 15, 2018
bccc370
Update UG command syntax image and some phrasing
Aquarinte Apr 15, 2018
ac2dc17
Merge branch 'master' into updateDocs
Aquarinte Apr 15, 2018
4ae25df
Update image size for colours.png in UG
Aquarinte Apr 15, 2018
83c23a5
Resize colours.png to 300 in UG
Aquarinte Apr 15, 2018
d8a6572
Bold a word
Aquarinte Apr 15, 2018
b38df26
Update example for add
Aquarinte Apr 15, 2018
3f2bcfb
pet patient
Robert-Peng Apr 15, 2018
fe76917
Merge pull request #241 from CS2103JAN2018-F14-B2/editCmdEmergencyUpdate
Aquarinte Apr 15, 2018
69aa7c7
Made changes to DG based on comment
Aquarinte Apr 15, 2018
c87eac3
Merge pull request #242 from Robert-Peng/Diagrams
Aquarinte Apr 15, 2018
2f7e207
Update image sizes
Robert-Peng Apr 15, 2018
0084073
Merge pull request #244 from Aquarinte/updateDocs
Robert-Peng Apr 15, 2018
1d735c0
Updates to changes requested.
wynonaK Apr 15, 2018
bae9627
Minor update
Robert-Peng Apr 15, 2018
5f462d6
Merge branch 'master' into dgUpdatesListApptDelete
wynonaK Apr 15, 2018
188b3a7
Update image sizes
Robert-Peng Apr 15, 2018
83258c4
Change size
Robert-Peng Apr 15, 2018
4154789
Change size
Robert-Peng Apr 15, 2018
2b13216
Merge pull request #243 from wynonaK/dgUpdatesListApptDelete
chialejing Apr 15, 2018
a4ea075
Merge pull request #24 from CS2103JAN2018-F14-B2/master
wynonaK Apr 15, 2018
7ac72fe
Merge pull request #245 from Robert-Peng/Diagrams
chialejing Apr 15, 2018
67f0925
Merge pull request #16 from CS2103JAN2018-F14-B2/master
Robert-Peng Apr 15, 2018
1713928
Merge pull request #30 from CS2103JAN2018-F14-B2/master
Aquarinte Apr 15, 2018
da5d442
Update Portfolio
Robert-Peng Apr 15, 2018
a26a1b5
Updated DG and Diagrams
chialejing Apr 15, 2018
6b74d38
Updated project portfolio page
Aquarinte Apr 15, 2018
8575603
Added spacing after figure
chialejing Apr 15, 2018
9ce52ad
Update pic name
Robert-Peng Apr 15, 2018
f0c7d26
Image size
Robert-Peng Apr 15, 2018
0f5fefc
Ui pic size
Robert-Peng Apr 15, 2018
1020e11
Update UG Examples for Edit
chialejing Apr 15, 2018
cdbd8cd
Minor Edit to UG
chialejing Apr 15, 2018
8f0f38c
Trying to shorten PPP
chialejing Apr 15, 2018
38263b8
Still trying to shorten PPP...
chialejing Apr 15, 2018
adcec2f
Update DG for find command.
wynonaK Apr 15, 2018
2b7c4e3
Update PPP
wynonaK Apr 15, 2018
ba0d1e6
Update Portfolio
Robert-Peng Apr 15, 2018
a1d84b1
Fix for wrong message shown
chialejing Apr 15, 2018
6cb44fa
Collate
Robert-Peng Apr 15, 2018
690aacc
Updated user guide
wynonaK Apr 15, 2018
f5a4948
Fixed bug in parser util.
wynonaK Apr 15, 2018
8a4702a
updated positions for PPP.
wynonaK Apr 15, 2018
9eda5e4
Update UG DG and PPP
Aquarinte Apr 15, 2018
4763de5
Fixed failing test cases.
wynonaK Apr 15, 2018
dba0f94
Fix trailing whitespace
Aquarinte Apr 15, 2018
3a9b145
Updated EditCommandSystemTest
chialejing Apr 15, 2018
bb74e30
Move the undo/redo section down. Update DG
Aquarinte Apr 15, 2018
e04278b
Merge pull request #249 from CS2103JAN2018-F14-B2/fixForEditCommand
Aquarinte Apr 15, 2018
ca4fc75
Merge pull request #247 from CS2103JAN2018-F14-B2/updateDG_20180415_1938
Aquarinte Apr 15, 2018
8a05b39
collate code
Robert-Peng Apr 15, 2018
5888f5c
Update UG PPP
Aquarinte Apr 15, 2018
64d585e
EOF
Robert-Peng Apr 15, 2018
4765078
Remove -fa option
Aquarinte Apr 15, 2018
e601415
Remove option -fa
Aquarinte Apr 15, 2018
cdacd8b
Merge pull request #246 from Robert-Peng/UpdateDG
chialejing Apr 15, 2018
5bd3619
Update autocomplete png
Aquarinte Apr 15, 2018
3190199
Updates
wynonaK Apr 15, 2018
a98f259
Merge branch 'master' into v1.5
Aquarinte Apr 15, 2018
f08353f
no message
wynonaK Apr 15, 2018
bd9952f
no message
wynonaK Apr 15, 2018
db45399
Merge pull request #248 from Aquarinte/v1.5
Robert-Peng Apr 15, 2018
67006a1
Collate v1.5
chialejing Apr 15, 2018
edaa292
Collate
wynonaK Apr 15, 2018
3def45c
Merge branch 'master' into updateDGFind
wynonaK Apr 15, 2018
7999505
Merge pull request #251 from CS2103JAN2018-F14-B2/collate1.5
Robert-Peng Apr 15, 2018
3d9d1fe
Update DeveloperGuide.adoc
wynonaK Apr 15, 2018
aba9ca1
Update DeveloperGuide.adoc
wynonaK Apr 15, 2018
5d4f796
Merge pull request #250 from wynonaK/updateDGFind
chialejing Apr 15, 2018
3b7d99a
Update UserGuide.adoc
Aquarinte Jan 28, 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
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# CircleCI configuration file
# For more details see https://circleci.com/docs/2.0/

version: 2
jobs:
build:
docker:
- image: openjdk:8-jdk
working_directory: ~/project
steps:
- checkout
- run:
name: Setup environment variables
command: echo 'export TERM=dumb' >>"$BASH_ENV"
- restore_cache:
keys:
# Increment the version number e.g. v2-gradle-cache-...
# to force the caches to be "invalidated".
- v1-gradle-cache-{{ checksum "build.gradle" }}
- v1-gradle-cache-
- run:
name: Build documentation
command: ./gradlew clean asciidoctor
- store_artifacts:
path: ~/project/build/docs/html5
destination: docs
- run:
name: Cleanup for save_cache
command: >-
rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- save_cache:
key: v1-gradle-cache-{{ checksum "build.gradle" }}
paths:
- ~/.gradle/caches
- ~/.gradle/wrapper
41 changes: 24 additions & 17 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
= Address Book (Level 4)
= Medeina
ifdef::env-github,env-browser[:relfileprefix: docs/]

https://travis-ci.org/se-edu/addressbook-level4[image:https://travis-ci.org/se-edu/addressbook-level4.svg?branch=master[Build Status]]
https://ci.appveyor.com/project/damithc/addressbook-level4[image:https://ci.appveyor.com/api/projects/status/3boko2x2vr5cc3w2?svg=true[Build status]]
https://coveralls.io/github/se-edu/addressbook-level4?branch=master[image:https://coveralls.io/repos/github/se-edu/addressbook-level4/badge.svg?branch=master[Coverage Status]]
https://www.codacy.com/app/damith/addressbook-level4?utm_source=github.com&utm_medium=referral&utm_content=se-edu/addressbook-level4&utm_campaign=Badge_Grade[image:https://api.codacy.com/project/badge/Grade/fc0b7775cf7f4fdeaf08776f3d8e364a[Codacy Badge]]
https://gitter.im/se-edu/Lobby[image:https://badges.gitter.im/se-edu/Lobby.svg[Gitter chat]]
https://travis-ci.org/CS2103JAN2018-F14-B2/main[image:https://travis-ci.org/CS2103JAN2018-F14-B2/main.svg?branch=master[Build Status]]
https://coveralls.io/github/CS2103JAN2018-F14-B2/main?branch=master[image:https://coveralls.io/repos/github/CS2103JAN2018-F14-B2/main/badge.svg?branch=master[Coverage Status]]
https://circleci.com/gh/CS2103JAN2018-F14-B2/main[image:https://circleci.com/gh/CS2103JAN2018-F14-B2/main.svg?style=svg[CircleCi]]

ifdef::env-github[]
image::docs/images/Ui.png[width="600"]
Expand All @@ -15,26 +13,35 @@ ifndef::env-github[]
image::images/Ui.png[width="600"]
endif::[]

* This is a desktop Address Book application. It has a GUI but most of the user interactions happen using a CLI (Command Line Interface).
* It is a Java sample application intended for students learning Software Engineering while using Java as the main programming language.
* It is *written in OOP fashion*. It provides a *reasonably well-written* code example that is *significantly bigger* (around 6 KLoC)than what students usually write in beginner-level SE modules.
* What's different from https://github.com/se-edu/addressbook-level3[level 3]:
** A more sophisticated GUI that includes a list panel and an in-built Browser.
** More test cases, including automated GUI testing.
** Support for _Build Automation_ using Gradle and for _Continuous Integration_ using Travis CI.

Medeina is a desktop application developed for **veterinarians and their assistants** to manage contacts, pet patient list and appointments seamlessly.

It is a specialized application that provides **dual functionality** of an address book and a task manager, to assist veterinarians and their assistants in their day-to-day practices.

Medeina is written in the Java programming language and conforms to the Object-Oriented Programming (OOP) style. This is to ensure that future upgrades can be integrated easily.

== Key Features

Customized appointment tracking:: Medeina offers a clean and organized user interface to track your appointments easily. You can expect an overview of upcoming appointments, to detailed information on pet patient involved and point of contact for an appointment.

Easily manage dependencies amongst contacts, pet patient list and appointments:: You no longer need to worry about mistyping a pet's name and/or owner's information when making a new appointment. Medeina will check for you.

Simple and intuitive user commands:: Medeina keeps to simple and intuitive commands to make things easy for you. Be it adding an appointment, new contact or new patient, you just need to remember one command: `add`. For users familiar with Command Line Interface (CLI) or Windows command prompt, rejoice! You will find much familiarity in Medeina's list of commands.

Convenient tagging:: Use tags to easily distinguish different types of contacts, pet patients and appointments at a glance.

Runs on all mainstream OS:: Hassle-free. Get Medeina now and use it today.

== Site Map

* <<UserGuide#, User Guide>>
* <<DeveloperGuide#, Developer Guide>>
* <<LearningOutcomes#, Learning Outcomes>>
* <<AboutUs#, About Us>>
* <<ContactUs#, Contact Us>>

== Acknowledgements

* Some parts of this sample application were inspired by the excellent http://code.makery.ch/library/javafx-8-tutorial/[Java FX tutorial] by
_Marco Jakob_.
* Libraries used: https://github.com/TomasMikula/EasyBind[EasyBind], https://github.com/TestFX/TestFX[TextFX], https://bitbucket.org/controlsfx/controlsfx/[ControlsFX], https://github.com/FasterXML/jackson[Jackson], https://github.com/google/guava[Guava], https://github.com/junit-team/junit4[JUnit4]
* Original source: https://github.com/se-edu/addressbook-level4[Address Book Level 4] by https://github.com/se-edu/[SE-EDU]
* Application icon: Made by http://www.freepik.com[Freepik] from http://www.flaticon.com[FLATICON]

== Licence : link:LICENSE[MIT]
38 changes: 38 additions & 0 deletions Unused/CalendarViewCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package seedu.address.logic.commands;

import seedu.address.commons.core.EventsCenter;
import seedu.address.commons.events.ui.ChangeCalendarViewEvent;
import seedu.address.logic.commands.exceptions.CommandException;

//@@author Robert-Peng-unused
/**code unused as the function is integrated into listappt command
+ * Command to switch between calendar views such as day, week, month and year
+ */
public class CalendarViewCommand extends Command {

public static final String COMMAND_WORD = "calendar";
public static final String COMMAND_ALIAS = "cal";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": To change the calendar view between Day, "
+ "Week, Month, and Year \n"
+ COMMAND_ALIAS + ": Short for calendar. \n"
+ "Parameter: \n"
+ "Day view: d\n"
+ "Week view: w\n"
+ "Month view: m\n"
+ "Year view: y\n";

public static final String MESSAGE_SUCCESS = "View changed.";

private Character arg;

public CalendarViewCommand(Character c) {
this.arg = c;
}

@Override
public CommandResult execute() throws CommandException {
EventsCenter.getInstance().post(new ChangeCalendarViewEvent(arg));
return new CommandResult(MESSAGE_SUCCESS);
}
}
44 changes: 44 additions & 0 deletions Unused/CalendarViewCommandParser.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package seedu.address.logic.parser;

import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;

import seedu.address.logic.commands.CalendarViewCommand;
import seedu.address.logic.commands.Command;
import seedu.address.logic.parser.exceptions.ParseException;


//@@author Robert-Peng-unused
/**code unused as the function is integrated into listappt command
+ * Parser for CalendarViewCommand
+ */
public class CalendarViewCommandParser implements Parser {


@Override
public Command parse(String userInput) throws ParseException {
userInput = userInput.trim();
if (userInput.length() != 1 || !isValidCommand(userInput)) {
throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, CalendarViewCommand.MESSAGE_USAGE));
}
return new CalendarViewCommand(userInput.charAt(0));
}

/**
* Check if the parameters is either w,d,y or m.
*/
private boolean isValidCommand(String str) {

assert(str.length() == 1);
switch (str.charAt(0)) {
case('w'):
case('d'):
case('y'):
case('m'):
return true;
default:
return false;
}
}
}


34 changes: 34 additions & 0 deletions Unused/CalendarViewCommandSystemTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package systemtests;

import static org.junit.Assert.assertEquals;

import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;

import org.junit.Test;

import seedu.address.logic.commands.CalendarViewCommand;

//@@author Robert-Peng-unused

/**
* code unused as the function is integrated into listappt command
*/
public class CalendarViewCommandSystemTest extends AddressBookSystemTest {
@Test
public void changeCalendarView() {
assertCommandSuccess(CalendarViewCommand.COMMAND_WORD + " d", CalendarViewCommand.MESSAGE_SUCCESS);
assertCommandSuccess(CalendarViewCommand.COMMAND_WORD + " w", CalendarViewCommand.MESSAGE_SUCCESS);
assertCommandSuccess(CalendarViewCommand.COMMAND_WORD + " m", CalendarViewCommand.MESSAGE_SUCCESS);
assertCommandSuccess(CalendarViewCommand.COMMAND_WORD + " y", CalendarViewCommand.MESSAGE_SUCCESS);
assertCommandSuccess(CalendarViewCommand.COMMAND_WORD + " q",
String.format(MESSAGE_INVALID_COMMAND_FORMAT, CalendarViewCommand.MESSAGE_USAGE));
}

/**
* Performs verification for command to calendarView
*/
private void assertCommandSuccess(String command, String message) {
executeCommand(command);
assertEquals(getResultDisplay().getText() , message);
}
}
22 changes: 22 additions & 0 deletions Unused/ChangeCalendarViewEvent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package seedu.address.commons.events.ui;

import seedu.address.commons.events.BaseEvent;

//@@author Robert-Peng-unused
/** code unused as the function is integrated into listappt command
+ * Indicates a request to change calendar view
+ */
public class ChangeCalendarViewEvent extends BaseEvent {

public final Character character;

public ChangeCalendarViewEvent(Character character) {
this.character = character;
}

@Override
public String toString() {
return this.getClass().getSimpleName();
}

}
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ jacocoTestReport {

dependencies {
String testFxVersion = '4.0.7-alpha'

compile fileTree(dir: 'lib', include: '*.jar')
compile group: 'org.fxmisc.easybind', name: 'easybind', version: '1.0.3'
compile group: 'org.controlsfx', name: 'controlsfx', version: '8.40.11'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.0'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.7.4'
compile group: 'com.google.guava', name: 'guava', version: '19.0'

//compile 'com.calendarfx:calendar:8.4.2'
//compile "org.jfxtras:jfxtras-all:8.0-r6-SNAPSHOT"
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.testfx', name: 'testfx-core', version: testFxVersion
testCompile group: 'org.testfx', name: 'testfx-junit', version: testFxVersion
Expand All @@ -57,7 +58,7 @@ dependencies {
}

shadowJar {
archiveName = "addressbook.jar"
archiveName = "medeina.jar"

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