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

Add DOB field and associated documents & tests #156

Open
wants to merge 897 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
897 commits
Select commit Hold shift + click to select a range
49694c6
AddressBookSystemTest: Extract setup methods
Zhiyuan-Amos Aug 15, 2017
d7b44b2
ClockRule: Improve verification
Zhiyuan-Amos Aug 18, 2017
ab3df4f
Delete AppStateAsserts
Zhiyuan-Amos Aug 15, 2017
1df9e96
AddressBookSystemTest: Add test verification helper method
Zhiyuan-Amos Aug 12, 2017
752be46
AddressBookSystemTest: Add test execution and verification method
Zhiyuan-Amos Aug 17, 2017
759b7b2
AddressBookSystemTest: Add CommandBox’s style verification
Zhiyuan-Amos Aug 18, 2017
18b5566
DeleteCommandSystemTest: Remove assertDeleteCommandSuccess(...)
Zhiyuan-Amos Aug 16, 2017
89fcc52
AddressBookSystemTest: Improve test verification
Zhiyuan-Amos Aug 20, 2017
d40057b
AddressBookSystemTest: Update verifyApplicationStartingStateIsCorrect()
Zhiyuan-Amos Aug 15, 2017
e71aaf1
AddressBookSystemTest: Remove typo
Zhiyuan-Amos Aug 15, 2017
92a3c9e
AddressBookSystemTest#getTestApp(): Update access modifier to protected
Zhiyuan-Amos Aug 16, 2017
e32a1e7
[#551] Improve system tests (#620)
Zhiyuan-Amos Aug 21, 2017
2b03991
Main folder: add missing API header comments
eugenepeh Aug 16, 2017
7a04eec
Checkstyle: enforce header comments on classes and methods
eugenepeh Aug 20, 2017
d003616
(#319) Checkstyle: enforce header comments on classes and methods [#379]
Zhiyuan-Amos Aug 24, 2017
2a11007
AddressBookSystemTest: Update header comments
Zhiyuan-Amos Aug 21, 2017
4002c7a
TestApp#getModel(): Return actual model
Zhiyuan-Amos Aug 22, 2017
5bdfdc9
AddressBookSystemTest: Wait for browser to load after command execution
Zhiyuan-Amos Aug 23, 2017
a88eb6f
AddressBookSystemTest: Add missing wait for browser to load
Zhiyuan-Amos Aug 23, 2017
553a75b
AddressBookSystemTest: Update application’s clock on command execution
Zhiyuan-Amos Aug 24, 2017
eab2f64
[#644] Tidy up System Tests (#645)
Zhiyuan-Amos Aug 27, 2017
1f60054
Tests: Update helper methods to throw unchecked Exceptions
Zhiyuan-Amos Aug 15, 2017
62263f7
[#568] Tests: Update helper methods to throw unchecked Exceptions (#628)
Zhiyuan-Amos Aug 28, 2017
2415b60
AddressBookSystemTest: Rename command box verification methods
Zhiyuan-Amos Aug 29, 2017
3263209
Convert SelectCommandTest to SelectCommandSystemTest
Zhiyuan-Amos Aug 8, 2017
003bac5
SelectCommandSystemTest: Add additional tests
Zhiyuan-Amos Aug 8, 2017
bd9035d
SelectCommandSystemTest: Add tests involving filtering
Zhiyuan-Amos Aug 22, 2017
8f4bb16
DeleteCommandSystemTest: Update assertCommandFailure(...)
Zhiyuan-Amos Aug 29, 2017
8ae4284
[#551] Convert SelectCommandTest to a system test (#636)
Zhiyuan-Amos Aug 29, 2017
530bf36
Convert FindCommandTest to FindCommandSystemTest
Zhiyuan-Amos Aug 22, 2017
3a33cc5
FindCommandSystemTest: Add additional tests
Zhiyuan-Amos Aug 22, 2017
a3c1fbc
FindCommandSystemTest: Add tests involving card selection
Zhiyuan-Amos Aug 22, 2017
9ec39d0
[#551] Convert FindCommandTest to a system test (#638)
Zhiyuan-Amos Aug 29, 2017
1c8fbf2
Convert ClearCommandTest to ClearCommandSystemTest
Zhiyuan-Amos Aug 22, 2017
559383f
ClearCommandSystemTest: Add additional tests
Zhiyuan-Amos Aug 22, 2017
7476e46
[#551] Convert ClearCommandTest to a system test (#639)
Zhiyuan-Amos Aug 31, 2017
c587a05
Convert AddCommandTest to AddCommandSystemTest
Zhiyuan-Amos Aug 22, 2017
75fd863
AddressBook#addPerson(ReadOnlyPerson): Document bug
Zhiyuan-Amos Sep 2, 2017
90778a6
AddCommandSystemTest: Add additional tests
Zhiyuan-Amos Aug 22, 2017
b2a141a
[#551] Convert AddCommandTest to a system test (#640)
Zhiyuan-Amos Sep 3, 2017
d8a4602
Developer Guide: Document previewing of .adoc files
Zhiyuan-Amos Sep 2, 2017
e3f161f
[#603] Developer Guide: Document previewing of .adoc files (#654)
Zhiyuan-Amos Sep 4, 2017
dbaeba1
DeleteCommandSystemTest: Update creation of ModelManager
Zhiyuan-Amos Sep 4, 2017
030f862
DeleteCommandSystemTest: Update the use of expectedModel
Zhiyuan-Amos Sep 4, 2017
ad591fb
DeleteCommandSystemTest: Add overload assertCommandSuccess(Index)
Zhiyuan-Amos Sep 4, 2017
8915a7d
DeleteCommandSystemTest: Add missing test cases
Zhiyuan-Amos Sep 4, 2017
3b27d41
DeleteCommand and SelectCommand: Don’t use UnmodifiableObservableList
Zhiyuan-Amos Sep 1, 2017
c1df3f4
UniquePersonList: Update asObservableList() return type
Zhiyuan-Amos Sep 1, 2017
40bf2a1
Update classes to not use UnmodifiableObservableList
Zhiyuan-Amos Sep 1, 2017
d33ffaf
Delete UnmodifiableObservableList
Zhiyuan-Amos Sep 1, 2017
bfaee14
[#649] Remove UnmodifiableObservableList (#652)
Zhiyuan-Amos Sep 6, 2017
8e7dc86
[#641] DeleteCommandSystemTest: Add missing test case (#657)
Zhiyuan-Amos Sep 8, 2017
c07e146
Convert EditCommandTest to EditCommandSystemTest
Zhiyuan-Amos Sep 2, 2017
135f5d7
[#551] Convert EditCommandTest to EditCommandSystemTest (#655)
Zhiyuan-Amos Sep 8, 2017
f8b29a6
Developer Guide: Fix unintended quote marks
Zhiyuan-Amos Sep 4, 2017
a0fda2d
[#461] Developer Guide: Fix unintended quote marks (#656)
Zhiyuan-Amos Sep 8, 2017
3a347a8
DeveloperGuide: Fix formatting errors in the use case
Zhiyuan-Amos Sep 2, 2017
ba25594
[#608] Developer Guide: Fix formatting errors in the use case (#662)
Zhiyuan-Amos Sep 8, 2017
66d24fc
[#319] Checkstyle: enforce single statement per line (#669)
eugenepeh Sep 17, 2017
8c15810
Update AboutUs.adoc
Zhiyuan-Amos Sep 13, 2017
3e4e6c8
[#660] Update AboutUs.adoc (#661)
Zhiyuan-Amos Sep 18, 2017
31efee1
DeleteCommandSystemTest: Rename variable commandToRun to command
Zhiyuan-Amos Sep 8, 2017
48abf5a
DeleteCommandSystemTest: Update test verification method comments
Zhiyuan-Amos Sep 8, 2017
e57cdf5
DeleteCommandSystemTest: Segment test cases
Zhiyuan-Amos Sep 8, 2017
44b7dcd
DeleteCommandSystemTest: Remove String#valueOf(int) call
Zhiyuan-Amos Sep 8, 2017
11f1e7c
AddressBookSystemTest: Remove getTestApp()
Zhiyuan-Amos Sep 8, 2017
4334a64
AddressBookSystemTest: Extract common test helper methods
Zhiyuan-Amos Sep 13, 2017
f44a524
DeleteCommandSystemTest: Replace assert with Assume
Zhiyuan-Amos Sep 13, 2017
705f37c
[#677] Gradle configuration: Fix nonGuiTests (#666)
Zhiyuan-Amos Sep 19, 2017
8bc11d6
EditCommandSystemTest: Replace assert with junit.Assert
Zhiyuan-Amos Sep 19, 2017
baaaffe
SampleDataTest: Fix buggy implementation of getDataFileLocation()
Zhiyuan-Amos Sep 18, 2017
9d0d80c
EditCommandSystemTest: Replace assert with junit.Assert (#689)
Zhiyuan-Amos Sep 19, 2017
726daed
[#678] SampleDataTest: Fix buggy implementation of getDataFileLocatio…
Zhiyuan-Amos Sep 19, 2017
26ed50f
DeleteCommandSystemTest: Replace Assume with Assert
Zhiyuan-Amos Sep 19, 2017
0608f61
DeleteCommandSystemTest: Replace Assume with Assert (#693)
Zhiyuan-Amos Sep 19, 2017
b090f07
Remove UsingGithubPages.adoc
eugenepeh Sep 17, 2017
46d34e0
UsingTravis: add Deploying GitHub Pages section
eugenepeh Sep 19, 2017
48237d0
DeveloperGuide: update Publishing Documentation
eugenepeh Sep 17, 2017
c56aa3f
Documentation: Update instructions on deploying to GitHub Pages (#673)
Zhiyuan-Amos Sep 20, 2017
41e8df9
DeveloperGuide: update figure number
eugenepeh Sep 18, 2017
5ef9d78
DeveloperGuide: modify converting docs instructions to use local files
eugenepeh Sep 20, 2017
d1ede94
DeveloperGuide: Update converting docs instructions to use local file…
Zhiyuan-Amos Sep 20, 2017
1b9b5c3
[#675] GuiUnitTest: Clears subscribers from EventsCenter after each t…
Zhiyuan-Amos Sep 20, 2017
56949f2
[#319] Checkstyle: enforce one variable declaration per line (#671)
eugenepeh Sep 21, 2017
8b11b6b
[#680] HelpWindowTest: Write header comments concerning possible test…
Zhiyuan-Amos Sep 21, 2017
ae25c16
LearningOutcomes.adoc: tweak to refer to se-book
damithc Sep 21, 2017
c2de0d4
LearningOutComes: Add hyperlink to EventsCenter
Zhiyuan-Amos Sep 21, 2017
4678056
LearningOutComes: Remove redundant instructions
Zhiyuan-Amos Sep 21, 2017
57e71f4
LearningOutcomes: Fix typo
Zhiyuan-Amos Sep 21, 2017
e1bff8f
LearningOutcomes: Fix method reference in documentation
Zhiyuan-Amos Sep 21, 2017
3f8b0ee
LearningOutcomes: Update LogicManagerTest
Zhiyuan-Amos Sep 21, 2017
2e608f0
LearningOutcomes: Update System Tests
Zhiyuan-Amos Sep 21, 2017
1488051
[#672] DeveloperGuide: Update instructions on setting up (#691)
Zhiyuan-Amos Sep 21, 2017
921211b
Update LearningOutcomes.adoc (#699)
Zhiyuan-Amos Sep 21, 2017
c142d9f
docs: restructure dev docs
damithc Sep 21, 2017
dc7d5f7
DeveloperGuide: Update outdated information
Zhiyuan-Amos Sep 21, 2017
71dceb2
Update Developer Docs #700
Zhiyuan-Amos Sep 21, 2017
f1e1118
UserGuide: Add EditCommand to Command Summary
Zhiyuan-Amos Sep 21, 2017
cfcebed
UserGuide: Update command headers
Zhiyuan-Amos Sep 21, 2017
2a4e8fd
UserGuide: Improve clarity and readability
Zhiyuan-Amos Sep 21, 2017
1390523
UserGuide: Update Command Format
Zhiyuan-Amos Sep 21, 2017
9cbbf8a
UserGuide: Update find command example
Zhiyuan-Amos Sep 21, 2017
73c179f
UserGuide: Fix typo
Zhiyuan-Amos Sep 21, 2017
e018385
UserGuide: Update broken link
Zhiyuan-Amos Sep 21, 2017
dd162d5
[#698] Update User Guide (#703)
Zhiyuan-Amos Sep 21, 2017
c1bb12d
build.gradle: upgrade TestFX to 4.0.7-alpha
pyokagan Sep 12, 2017
71e5b5a
Testing Travis CI
Sep 26, 2017
fb8da89
Update README.adoc
OscarWang114 Sep 26, 2017
c4fc23b
Test Travis CI
Sep 28, 2017
de216b6
Remove codacy badge and test auto-publishing of documentation
Sep 28, 2017
066f0ca
Update 'build status' badge and 'coverage status' badge
Sep 28, 2017
163fbae
Update 'coverage status' badge
Sep 28, 2017
3768c50
Restore 'coverage status' badge
Sep 28, 2017
cb2ee94
PersonCard.java: Add random color generator method
Sep 30, 2017
e677cd9
PersonCard.java: Fix tag color not unique by adding HashMap
Sep 30, 2017
7014c8f
PersonCard.java: add comments
Sep 30, 2017
530931f
StatusBarFooter.fxml: add statusbar for person counter
Sep 30, 2017
fdafffa
Fix fxml format, add data setter both initializing and on eventlistener
Sep 30, 2017
1dd6b05
Format position of statusbars and add manual padding to text
Sep 30, 2017
525fa1c
StatusBarFooterTest.java: Fix mismatched number of arguments
Oct 1, 2017
cd0c489
Added multiple keywords that link to the same command.
Juxarius Oct 4, 2017
29548d5
PersonCard.java: Fix styles
Oct 4, 2017
a808cac
MainWindow.java: Fix coding style
Oct 4, 2017
8e4a7b5
PersonCard.java: Fix declaration order
Oct 4, 2017
d730c2f
StatusBarFooterTest.java: Format line legnth
Oct 4, 2017
a89c887
DeveloperGuide.adoc: Updated user stories and related glossary entries
Oct 4, 2017
2492c06
Pacifying Travis' style particularity
Juxarius Oct 4, 2017
a22c468
Add API method backupAddressBook
Oct 4, 2017
60159f3
Implement API method backupAddressBook
Oct 4, 2017
cc0c8ab
Fix coding styles
Oct 4, 2017
3533a7c
Pacifying Travis part 2
Juxarius Oct 5, 2017
7a58f2d
Merge pull request #30 from Juxarius/Logic_Try
Juxarius Oct 5, 2017
343525e
Merge pull request #32 from RSJunior37/enhance-ui-1
Juxarius Oct 5, 2017
2d9e3aa
Merge pull request #34 from RSJunior37/devguide
Juxarius Oct 5, 2017
4ee0526
Check Compilation and Build Properties
Oct 6, 2017
bb913ff
Command inputs are now case insensitive.
Juxarius Oct 6, 2017
e60d29f
Add API method readBackupAddressBook
Oct 6, 2017
88b436c
Implement API method readBackupAddressBook
Oct 6, 2017
9f92d98
Add unit test for backupAddressBook and readBackupAddressBook
Oct 6, 2017
eb05b53
NewResultAvailableEvent: add a boolean variable isError
arnollim Oct 6, 2017
86bf687
Change the NewResultAvailableEvent command line in CommandBox.java
arnollim Oct 6, 2017
b2159a4
Update tests to allow case insensitive input
Juxarius Oct 6, 2017
4c7c376
Add unit test for backupAddressBook and readBackupAddressBook
Oct 6, 2017
701a39f
Pacifying Travis part 3
Juxarius Oct 6, 2017
feb992e
Pacifying Travis part 4
Juxarius Oct 6, 2017
23b3e9f
Merge pull request #1 from CS2103AUG2017-T13-B1/master
Juxarius Oct 6, 2017
4380912
Completed the ResultDisplay class
arnollim Oct 6, 2017
6cf851d
Code cleanup
arnollim Oct 6, 2017
90d3059
Merge pull request #38 from OscarWang114/improve-storage
Juxarius Oct 6, 2017
5de6f7d
remove empty line
arnollim Oct 6, 2017
b1105ef
Cleaning up for Travis
arnollim Oct 6, 2017
0b3e0b0
Cleaning up for Travis
arnollim Oct 6, 2017
71e2f3b
Cleaning up for Travis
arnollim Oct 6, 2017
ef50990
Edit ResultDisplayTest.java for Travis
arnollim Oct 6, 2017
2b9b9c0
Merge pull request #41 from arnollim/ResultDisplay-colour
Juxarius Oct 6, 2017
6e27121
Merge remote-tracking branch 'upstream/master'
Oct 9, 2017
45769e8
Merge remote-tracking branch 'Upstream/master'
Oct 9, 2017
006759f
Resolve travis error
Oct 9, 2017
6b53191
Confusing variable name
Juxarius Oct 9, 2017
f9ab45e
Currently can add tags without removing all the others, still figurin…
Juxarius Oct 10, 2017
072bedf
Increase readability
Juxarius Oct 11, 2017
37577c3
Improved Tag management:
Juxarius Oct 11, 2017
9da6995
Cleaned up and updated Guides + Help desc in edit command
Juxarius Oct 11, 2017
baf693d
Updated Tests
Juxarius Oct 11, 2017
6dbb8d0
Pacify Travis for unused imports
Juxarius Oct 11, 2017
16fd286
Add skeleton for SearchBox fxml and .java
Oct 11, 2017
4b6cf2a
Updated tests
Juxarius Oct 11, 2017
9e7deaa
Pacifying Travis
Juxarius Oct 11, 2017
f8cb931
Fix Listener to track input on searchbox
Oct 11, 2017
96b5233
Link searchbox dynamic text to findcommand
Oct 11, 2017
a0d94df
Change case for empty searchBox to trigger list command
Oct 11, 2017
93d5c0b
Add PartialFind command and change searchbox to use this command
Oct 11, 2017
0c1e018
Remove unused class variable
Oct 11, 2017
83cf071
Fix style
Oct 11, 2017
a1e209b
Fix style
Oct 11, 2017
565352c
Create Date of Birth class which validates input
Oct 11, 2017
24c47a9
Allow add command to require only one compulsory field: name
Oct 11, 2017
35124bd
Update unit test for new add command
Oct 11, 2017
1b06a5f
Add unit test for AddCommandParser
Oct 11, 2017
81cb7f4
Fix coding styles
Oct 11, 2017
ea0d195
Improve Javadoc comment
Oct 11, 2017
9753f02
Fix coding styles again
Oct 11, 2017
8441cd0
Update User Guide
Oct 11, 2017
443801b
Merge pull request #33 from RSJunior37/enhance-ui-3
OscarWang114 Oct 12, 2017
d055781
Merge pull request #48 from RSJunior37/feature-search
OscarWang114 Oct 12, 2017
30fe3ec
Merge branch 'master' into master
OscarWang114 Oct 12, 2017
ba5ebd9
Merge pull request #47 from Juxarius/master
OscarWang114 Oct 12, 2017
d98c54c
Merge branch 'master' into DOB
OscarWang114 Oct 12, 2017
74edf12
Update CliSyntax.java
OscarWang114 Oct 12, 2017
8765bc8
Merge pull request #49 from Pujitha97/DOB
OscarWang114 Oct 12, 2017
adcd6db
Merge branch 'master' into add-with-one-optional-field
OscarWang114 Oct 12, 2017
4c4c067
Merge pull request #51 from OscarWang114/add-with-one-optional-field
OscarWang114 Oct 12, 2017
d771d45
Update AboutUs.adoc and add one profile picture
Oct 12, 2017
b62d160
Update project title and coverage status badge
Oct 12, 2017
40f4bfb
Add self portfolio and rename profile picture
Oct 12, 2017
3182fba
Update title
Oct 12, 2017
9b78b0d
add WhyCommand class
arnollim Oct 12, 2017
73d914d
Complete WhyCommand class
arnollim Oct 12, 2017
277dc2c
Create WhyCommandParser class
arnollim Oct 12, 2017
eaddef5
Add WhyCommandTest
arnollim Oct 12, 2017
8f0d137
Pacifying Travis
arnollim Oct 12, 2017
ae08953
Pacifying Travis
arnollim Oct 12, 2017
a38a7a1
Add Reason class
arnollim Oct 12, 2017
d4eec31
Modify Reason class
arnollim Oct 12, 2017
3ba91b9
Enhance the person model with a getReason() method
arnollim Oct 12, 2017
f04ec56
Pacifying Travis
arnollim Oct 12, 2017
d57fa03
Added skeleton for PartialFindCommandTest
Juxarius Oct 13, 2017
7d9c1ad
Merge pull request #54 from Juxarius/master
Juxarius Oct 13, 2017
fa4b858
Pacifying Travis
Juxarius Oct 13, 2017
ad7cf82
Merge commit '7d9c1ade5ad480e034356ac03ed7050b7be73407'
Oct 13, 2017
0d90995
Add Javadoc comment for pacifying Travis
Oct 13, 2017
ddc4ecc
Merge branch 'master' into WhyCommand-Simple
OscarWang114 Oct 13, 2017
dec1b43
Add Javadoc comment
OscarWang114 Oct 13, 2017
d518ba1
Fix trailing white space
OscarWang114 Oct 13, 2017
1b4d164
Merge pull request #55 from OscarWang114/master
OscarWang114 Oct 13, 2017
3764217
Update Build and Coverage Status Badges
Oct 13, 2017
21b4c20
Add my overview details in project
Oct 14, 2017
d3c4137
Merge pull request #53 from arnollim/WhyCommand-Simple
OscarWang114 Oct 14, 2017
b4510ca
AboutUs.adoc: Update name, remove dummy lines
Oct 14, 2017
d38d042
DeveloperGuide.adoc: Delete irrelevant user stories, add more details
Oct 14, 2017
256fc16
Merge pull request #56 from OscarWang114/master
OscarWang114 Oct 14, 2017
c902838
Update dev/user guide and add personal info to AboutUs.adoc
Oct 14, 2017
d01353f
Add proper test case for PartialFindCommand
Oct 14, 2017
15e3404
Update UserGuide on case sensitivity
Oct 14, 2017
3d3a66b
Fix unused import
Oct 14, 2017
8d41ade
Fix line length
Oct 14, 2017
8f33397
Merge branch 'master' into master
Juxarius Oct 15, 2017
08fbe8a
Merge pull request #2 from CS2103AUG2017-T13-B1/master
Juxarius Oct 15, 2017
5612a26
Merge branch 'master' of https://github.com/CS2103AUG2017-T13-B1/main
Juxarius Oct 15, 2017
cd45046
Merge branch 'master' of https://github.com/Juxarius/addressbook-level4
Juxarius Oct 15, 2017
fa86f79
updating documentation
Juxarius Oct 15, 2017
c84171e
no message
Juxarius Oct 15, 2017
c9af6b8
no message
Juxarius Oct 15, 2017
e31fab5
no message
Juxarius Oct 15, 2017
9dd3dfc
no message
Juxarius Oct 15, 2017
b81b6aa
no message
Juxarius Oct 15, 2017
b692c5e
no message
Juxarius Oct 15, 2017
25200f8
no message
Juxarius Oct 15, 2017
e9cc983
Update documentation
Juxarius Oct 15, 2017
23938e6
no message
Juxarius Oct 15, 2017
97067dd
Merge pull request #57 from RSJunior37/doc
Juxarius Oct 15, 2017
d905b57
Merge pull request #58 from Juxarius/master
Juxarius Oct 15, 2017
fc750c8
Merge pull request #3 from CS2103AUG2017-T13-B1/master
Juxarius Oct 15, 2017
f10fa07
doc update
Juxarius Oct 15, 2017
7da933c
Merge pull request #59 from Juxarius/master
Juxarius Oct 15, 2017
f82cbaf
Add Date of Birth field including its tests
Oct 15, 2017
d83a6bc
Resolve Travis Checkstyle Issue I
Oct 15, 2017
43f021a
Resolving Travis Checkstyle Issue II
Oct 15, 2017
3a5e0ca
Merge branch 'master' into master
Pujitha97 Oct 15, 2017
b01ec22
Update Person.java
Pujitha97 Oct 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 0 additions & 21 deletions .classpath

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build/
.gradle/
.checkstyle
.settings/
.idea/
lib/*
*.iml
Expand All @@ -14,3 +16,5 @@ preferences.json
classes/
/data/
/bin/
src/main/resources/docs/
out/
23 changes: 0 additions & 23 deletions .project

This file was deleted.

11 changes: 0 additions & 11 deletions .settings/org.eclipse.buildship.core.prefs

This file was deleted.

24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@ language: java
matrix:
include:
- jdk: oraclejdk8
script: travis_retry ./gradlew clean headless allTests coverage coveralls -i
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

script: >-
./config/travis/run-checks.sh &&
travis_retry ./gradlew clean checkstyleMain checkstyleTest headless allTests coverage coveralls asciidoctor

deploy:
skip_cleanup: true
provider: script
script: ./config/travis/deploy_github_pages.sh
on:
branch: master

addons:
apt:
packages:
- oracle-java8-installer

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
38 changes: 38 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
= LISA: Levels Integrated Secretarial Agent
ifdef::env-github,env-browser[:relfileprefix: docs/]
ifdef::env-github,env-browser[:outfilesuffix: .adoc]

https://travis-ci.org/CS2103AUG2017-T13-B1/main[image:https://travis-ci.org/CS2103AUG2017-T13-B1/main.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/CS2103AUG2017-T13-B1/main?branch=master/badge.svg?branch=master[image:https://coveralls.io/repos/github/CS2103AUG2017-T13-B1/main/badge.svg?branch=master[Coverage Status]]

ifdef::env-github[]
image::docs/images/Ui.png[width="600"]
endif::[]

ifndef::env-github[]
image::images/Ui.png[width="600"]
endif::[]

* LISA is a desktop contacts managerial application. She has a GUI but most user interactions happen using a CLI (Command Line Interface).
* She is a intended to assist Insurance Agents in managing their contacts as well as insurance policies.
* She is *written in OOP fashion* with around 6 KLoC, adapted and improved from [https://github.com/se-edu/addressbook-level4[Addressbook-level4]].
* New and Added features:
** Improved Tag management.
** Greater flexibility in creating a contact (Only a name is required).
** Support for _Build Automation_ using Gradle and for _Continuous Integration_ using Travis CI.

== 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_.

== Licence : link:LICENSE[MIT]
34 changes: 0 additions & 34 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
18 changes: 18 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# AppVeyor configuration file
# For more details see https://www.appveyor.com/docs/build-configuration/

# Call on gradle to build and run tests
# --no-daemon: Prevent the daemon from launching to prevent file-in-use errors
# when we cache the ~/.gradle directory
build_script:
- gradlew.bat --no-daemon assemble checkstyleMain checkstyleTest

test_script:
- appveyor-retry gradlew.bat --no-daemon headless allTests

environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0 # Use 64-bit Java

# Files/folders to preserve between builds to speed them up
cache:
- C:\Users\appveyor\.gradle
80 changes: 71 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,23 @@
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at http://gradle.org/docs/2.2.1/userguide/tutorial_java_projects.html
*/

plugins {
id "com.github.kt3k.coveralls" version "2.4.0"
id "com.github.johnrengelman.shadow" version '1.2.3'
id 'org.asciidoctor.convert' version '1.5.3'
id 'application'
}

// Specifies the entry point of the application
mainClassName = 'seedu.address.MainApp'

allprojects {
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'


sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -33,12 +40,17 @@ allprojects {
jacksonVersion = '2.7.0'
jacksonDataTypeVersion = '2.7.4'
junitVersion = '4.12'
testFxVersion = '4.0.+'
testFxVersion = '4.0.7-alpha'
monocleVersion = '1.8.0_20'
checkstyleVersion = '8.1'

libDir = 'lib'
}

checkstyle {
toolVersion = "$checkstyleVersion"
}

jacocoTestReport {
reports {
xml.enabled false
Expand All @@ -48,6 +60,7 @@ allprojects {
}

dependencies {
compile group: 'org.fxmisc.easybind', name: 'easybind', version: '1.0.3'
compile "org.controlsfx:controlsfx:$controlsFxVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonDataTypeVersion"
Expand All @@ -61,7 +74,7 @@ allprojects {
}
testCompile "org.testfx:openjfx-monocle:$monocleVersion"
}

sourceSets {
main {
java {
Expand All @@ -72,14 +85,10 @@ allprojects {
}
}
}

shadowJar {
archiveName = "addressbook.jar"

manifest {
attributes "Main-Class": "seedu.address.MainApp"
}

destinationDir = file("${buildDir}/jar/")
}
}
Expand Down Expand Up @@ -117,6 +126,17 @@ class AddressBookTest extends Test {
public AddressBookTest() {
forkEvery = 1
systemProperty 'testfx.setup.timeout', '60000'

/*
* Prints the currently running test's name in the CI's build log,
* so that we can check if tests are being silently skipped or
* stalling the build.
*/
if (System.env.'CI') {
beforeTest { descriptor ->
logger.lifecycle('Running test: ' + descriptor)
}
}
}

public void setHeadless() {
Expand All @@ -130,6 +150,8 @@ class AddressBookTest extends Test {

task guiTests(type: AddressBookTest) {
include 'guitests/**'
include 'systemtests/**'
include 'seedu/address/ui/**'

jacoco {
destinationFile = new File("${buildDir}/jacoco/test.exec")
Expand All @@ -139,6 +161,7 @@ task guiTests(type: AddressBookTest) {

task nonGuiTests(type: AddressBookTest) {
include 'seedu/address/**'
exclude 'seedu/address/ui/**'

jacoco {
destinationFile = new File("${buildDir}/jacoco/test.exec")
Expand All @@ -164,4 +187,43 @@ nonGuiTests.mustRunAfter headless
guiTests.mustRunAfter headless
allTests.mustRunAfter headless

defaultTasks 'clean', 'headless', 'allTests', 'coverage'
asciidoctor {
backends 'html5'
sourceDir 'docs'
outputDir "${buildDir}/docs"

attributes linkcss: true,
stylesheet: 'gh-pages.css',
'source-highlighter': 'coderay',
icons: 'font',
experimental: true,
sectlinks: true,
idprefix: '', // for compatibility with GitHub preview
idseparator: '-'
}

/*
* Copies stylesheets into the directory containing generated HTML files as
* Asciidoctor does not copy linked CSS files to the output directory when rendering.
* This is needed for linked stylesheets and embedded stylesheets which import other files.
*/
task copyStylesheets(type: Copy) {
from "${asciidoctor.sourceDir}/stylesheets"
into "${asciidoctor.outputDir}/html5/stylesheets"
}
asciidoctor.dependsOn copyStylesheets

task deployOfflineDocs(type: Copy) {
into('src/main/resources/docs')

from ("${asciidoctor.outputDir}/html5") {
include 'stylesheets/*'
include 'images/*'
include 'UserGuide.html'
}
}

deployOfflineDocs.dependsOn asciidoctor
processResources.dependsOn deployOfflineDocs

defaultTasks 'clean', 'headless', 'allTests', 'coverage', 'asciidoctor'
Loading