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

[CS2103-F08-3] PawFection #74

Open
wants to merge 466 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
466 commits
Select commit Hold shift + click to select a range
7bf1bd0
Change Json Storage test cases to fit TaskList
bkjwjason Nov 1, 2023
287bb59
Add tests for SearchAnimalCommand and SearchAnimalCommandParser
wjayee Nov 1, 2023
a7bd551
Add an animal in TypicalAnimals
wjayee Nov 1, 2023
8b269e8
Add Tests for JsonAdaptedTask
bkjwjason Nov 1, 2023
2984b3b
Remove unnecessary methods from JsonAdaptedTask
bkjwjason Nov 1, 2023
b70efec
Change Selected Color to Orange
bkjwjason Nov 1, 2023
b2e3b6c
Merge pull request #107 from wjayee/feature/SearchCommand
bkjwjason Nov 1, 2023
90f080a
Merge branch 'master' into update/persistentTaskStorage
bkjwjason Nov 1, 2023
5ecd129
Fix json files used in testUtil functions
bkjwjason Nov 1, 2023
0d8bd3d
Better abstraction of adding of tasks in Animal Builder class
bkjwjason Nov 1, 2023
867f9c6
Add documentation for addAll method in TaskList
bkjwjason Nov 1, 2023
e0a686d
Merge pull request #108 from bkjwjason/update/persistentTaskStorage
bkjwjason Nov 1, 2023
4487d2c
Fix naming and some minor implementations
wjayee Nov 1, 2023
399799d
Merge pull request #109 from wjayee/feature/fix-SearchCommand
euchangxian Nov 1, 2023
edae966
Add AddTaskCommand feature
junnengsoo Oct 31, 2023
b1e0713
Add message formatting of task
junnengsoo Oct 31, 2023
0f563c2
Add AddTaskCommandParser and respective parse util
junnengsoo Oct 31, 2023
f64474f
Add helper methods for AddTaskCommand
junnengsoo Nov 1, 2023
e83e63d
Add EditAnimalCommand
Blizzeracz Nov 1, 2023
1f26b74
Create test cases for EditAnimalDescriptor class
Blizzeracz Nov 1, 2023
36f18e6
Improve naming of constants in AnimalCommandTestUtil
Blizzeracz Nov 1, 2023
752c80d
Create unit test for EditAnimalCommandParser class
Blizzeracz Nov 1, 2023
6bac3d3
Add taskList to EditAnimalCommand
Blizzeracz Nov 2, 2023
7803bdb
Fix addTasks issue
junnengsoo Nov 1, 2023
6ec8b55
Merge pull request #106 from junnengsoo/feature/AddTaskCommand
bkjwjason Nov 2, 2023
61347a8
Merge branch 'master' into feature/EditAnimalCommand
bkjwjason Nov 2, 2023
2fb957a
Fix comments and checkstyle
Blizzeracz Nov 2, 2023
fc18c6f
Merge pull request #110 from Blizzeracz/feature/EditAnimalCommand
bkjwjason Nov 2, 2023
69daea9
Add MarkTaskCommand, UnmarkTaskCommand and ResetTaskCommand
wjayee Nov 2, 2023
ab7248d
Add Tests for Animal Name
bkjwjason Nov 2, 2023
3327aba
Add Tests for Animal PetId
bkjwjason Nov 2, 2023
0e717e1
Add Tests for Animal Sex
bkjwjason Nov 2, 2023
b7cc0eb
Make DetailedView Reset after every command
bkjwjason Nov 2, 2023
1386f7b
Merge pull request #113 from bkjwjason/update/AnimalAttributeTests
junnengsoo Nov 2, 2023
f4a7551
Fix gradle check
wjayee Nov 2, 2023
29dd196
Merge pull request #111 from wjayee/feature/MarkUnmarkTask
bkjwjason Nov 2, 2023
20f4694
Update UG and DG to fit current implementation
bkjwjason Nov 2, 2023
4770fa1
Change data file location
bkjwjason Nov 2, 2023
8f85fd0
Merge pull request #115 from bkjwjason/bugfix/update-gui
euchangxian Nov 2, 2023
af6e94f
Update Search, Mark, Unmark and Reset Command in UG
wjayee Nov 2, 2023
388d4d1
Add static getHelp() methods in existing commands
euchangxian Nov 2, 2023
4a55803
Add CommandEnum
euchangxian Nov 2, 2023
3b5d05f
Merge pull request #116 from wjayee/docs/updateUG-Search-MarkCommand
Blizzeracz Nov 2, 2023
ded6620
Clean up unused files
Blizzeracz Nov 2, 2023
a706957
Add HelpAnimalCommand
euchangxian Nov 2, 2023
4881446
Add edit command to UG
Blizzeracz Nov 2, 2023
cc8cd20
Change markbind naming to PawFection
Blizzeracz Nov 2, 2023
3f77b71
Merge pull request #117 from euchangxian/feature/HelpCommand
wjayee Nov 2, 2023
bbbd608
Fix checkstyle
Blizzeracz Nov 2, 2023
c7b9f1a
Merge pull request #118 from Blizzeracz/update/UGEditCommand
euchangxian Nov 2, 2023
d209986
Fix broken links in index.md
euchangxian Nov 2, 2023
8ba76b3
Replace addressbook with Pawfection
euchangxian Nov 2, 2023
5c25c3e
Add HelpAnimalCommand in UserGuide
euchangxian Nov 2, 2023
7967683
Merge pull request #119 from euchangxian/docs/Add-HelpAnimalCommand
bkjwjason Nov 2, 2023
d4ad167
Add DeleteTaskCommand
junnengsoo Nov 2, 2023
054f185
Add parseTwoIndices method as a util method
junnengsoo Nov 2, 2023
924da76
Add DeleteTaskCommandParser
junnengsoo Nov 2, 2023
5fb5999
Add deleteTaskByIndex method into Animal model
junnengsoo Nov 2, 2023
d88795e
Add copytask for editedAnimal in DeleteTaskCommand
junnengsoo Nov 2, 2023
a54d0d5
Merge pull request #114 from junnengsoo/feature/DeleteTaskCommand
bkjwjason Nov 3, 2023
905ad83
Make selectedAnimal reset after a command execution
bkjwjason Nov 3, 2023
90557dc
Merge pull request #120 from bkjwjason/bugfix/gui
Blizzeracz Nov 3, 2023
adb4618
Make CommandBox Output Bigger
bkjwjason Nov 3, 2023
44c6076
Fix error catching in Mark and Unmark
wjayee Nov 3, 2023
d79505f
Merge pull request #121 from bkjwjason/update/CommandBoxHeight
Blizzeracz Nov 3, 2023
43dff6c
Change minor naming issues
wjayee Nov 3, 2023
46229ec
Merge pull request #122 from wjayee/feature/fixMarkUnmark
bkjwjason Nov 3, 2023
3db09f2
Add deletetask and addtask documentation on UG
junnengsoo Nov 3, 2023
a4d91c7
Modified individual markdown pages
junnengsoo Nov 3, 2023
ce24d23
Merge pull request #123 from junnengsoo/docs/UG-tasks
bkjwjason Nov 3, 2023
c3dc6ec
Delete clear command in summary table
wjayee Nov 3, 2023
7e2a20a
Fix stylecheck
wjayee Nov 3, 2023
f13f803
Merge pull request #124 from wjayee/docs/updateUG-MinorChanges
junnengsoo Nov 3, 2023
a13c254
Fix the message usage of reset command
wjayee Nov 4, 2023
2d961da
Edit UG to fit Pawfection
Blizzeracz Nov 7, 2023
0bb855a
Edit message given for edit command
Blizzeracz Nov 7, 2023
c1f6a9a
Add extra information for adding animal
Blizzeracz Nov 8, 2023
06933a6
Merge pull request #180 from Blizzeracz/fix/issues
bkjwjason Nov 8, 2023
a26b3e6
Update UI photo in UG
bkjwjason Nov 8, 2023
b475374
Add error handling in Mark and Unmark
wjayee Nov 8, 2023
951a491
Fix checkstyle errors
wjayee Nov 8, 2023
73342fb
Fix UI reset Issue
bkjwjason Nov 8, 2023
b631bf0
Fix Deselection/Selection Issue
bkjwjason Nov 8, 2023
e491d06
Remove unnecessary imports
bkjwjason Nov 8, 2023
83cc571
Remove unused methods
bkjwjason Nov 8, 2023
a3ff216
Merge pull request #181 from wjayee/feature/fixFeatureBugs
bkjwjason Nov 8, 2023
799e2ba
Merge branch 'master' into bugfix/PeIssues
bkjwjason Nov 8, 2023
9a13dd5
Merge pull request #182 from bkjwjason/bugfix/PeIssues
wjayee Nov 8, 2023
6a08c42
Add tests for mark and unmark command parsers
wjayee Nov 8, 2023
79f197b
Add tests for mark and unmark command
wjayee Nov 8, 2023
7628a47
Add reset command test
wjayee Nov 9, 2023
3a8d6dd
Fix checkstyle errors
wjayee Nov 9, 2023
e2c500f
Fix testcases in add animal command and
wjayee Nov 9, 2023
0af4ca4
Add equals method test in mark and unmark command tests
wjayee Nov 9, 2023
1d68521
Merge pull request #183 from wjayee/test/MarkUnmarkCommand
bkjwjason Nov 10, 2023
5647268
Add Tests for TaskList
bkjwjason Nov 10, 2023
d2005ea
Increase test coverage for TaskList
bkjwjason Nov 10, 2023
31f3a76
Cover Equals Method for JsonAdaptedTask in Tests
bkjwjason Nov 10, 2023
b89ef14
Cover Null Test for Equals Method of JsonAdaptedTask
bkjwjason Nov 10, 2023
909ec76
Resolve incorrect use of word 'consist'
junnengsoo Nov 10, 2023
d666fa6
Resolve UG incorrectly claims delete deletes by ID
junnengsoo Nov 10, 2023
afdb11d
Merge pull request #184 from bkjwjason/update/increaseTestCov
wjayee Nov 10, 2023
e776654
Merge pull request #185 from junnengsoo/UG/PE-fixes
wjayee Nov 10, 2023
7061b35
Update UG to include examples and edit command usages
wjayee Nov 10, 2023
c3416b3
Add Credit for Snippet
bkjwjason Nov 10, 2023
ae4fce1
Fix phrasing and examples
wjayee Nov 10, 2023
cb9dac2
Add planned enhancement for search
wjayee Nov 10, 2023
71babc7
Merge pull request #186 from wjayee/docs/fix-PE-UG-issues
bkjwjason Nov 10, 2023
6d51503
Merge pull request #187 from bkjwjason/update/codeCredit
Blizzeracz Nov 10, 2023
2c73a3b
Create test cases for AnimalLogicManager
Blizzeracz Nov 10, 2023
a1789b3
Add credits for PPP
Blizzeracz Nov 10, 2023
fc28010
Merge pull request #189 from Blizzeracz/create/LogicManangerTest
bkjwjason Nov 11, 2023
7639162
Add Tests for AnimalModelManager
bkjwjason Nov 11, 2023
9ea49c2
Fix Checkstyle
bkjwjason Nov 11, 2023
64a5b1d
Move Planned Enhancements to DG
bkjwjason Nov 11, 2023
926f7b9
Merge pull request #190 from bkjwjason/update/animalModelManagerTests
wjayee Nov 11, 2023
da93b32
Add Planned Enhancements for PE-D, and DetailedView in UG
bkjwjason Nov 11, 2023
bab2271
Fix Checkstyle
bkjwjason Nov 11, 2023
61af64c
Add View Details to Table of Contents
bkjwjason Nov 11, 2023
e0e4ab5
Merge pull request #191 from bkjwjason/docs/PE-D
wjayee Nov 11, 2023
459e834
Fix reset command to reset duplicate tasks
wjayee Nov 11, 2023
0148eb9
Merge pull request #195 from wjayee/feature/fixReset
bkjwjason Nov 11, 2023
87c029f
Add deletetask help message
euchangxian Nov 11, 2023
36af226
Override equals, hashCode and toString in HelpAnimalCommand
euchangxian Nov 11, 2023
ebb4d12
Add HelpAnimalCommand and parser tests
euchangxian Nov 11, 2023
85168eb
Merge pull request #197 from euchangxian/fix/HelpCommand
bkjwjason Nov 11, 2023
d54884a
Update mac dependencies
euchangxian Nov 11, 2023
e67ea47
Update Add Animal command to not accept DoB > DoA
euchangxian Nov 11, 2023
f051a8b
Update valid date input formats
euchangxian Nov 11, 2023
474143b
Add check for future dates
euchangxian Nov 11, 2023
07490e2
Update tests for DoB and DoA
euchangxian Nov 11, 2023
96e3fe0
Merge pull request #198 from euchangxian/update/GradleBuild
bkjwjason Nov 11, 2023
c417865
Merge pull request #199 from euchangxian/fix/DoB-DoA
bkjwjason Nov 11, 2023
45cbac3
Merge pull request #200 from euchangxian/update/FutureDateChecks
bkjwjason Nov 11, 2023
0ccc412
Edit implementation of Mark and Unmark
wjayee Nov 11, 2023
dbbc439
Fix checkstyle errors
wjayee Nov 11, 2023
4301389
Update DG with new features
wjayee Nov 11, 2023
f6570a8
Update PPP
wjayee Nov 11, 2023
768e036
Merge pull request #201 from wjayee/feature/update-implementation
bkjwjason Nov 11, 2023
cfce30d
Merge pull request #202 from wjayee/docs/update-PPP-DG
bkjwjason Nov 11, 2023
2543471
Add more examples and screenshots to UG
bkjwjason Nov 12, 2023
1a8ced3
Update PPP
bkjwjason Nov 12, 2023
768c383
Remove planned enhancements from TOC
bkjwjason Nov 12, 2023
a2abf74
Complete AddTaskCommandTest
junnengsoo Nov 12, 2023
1a33d1b
Merge pull request #204 from junnengsoo/test/AddTaskCommandTest
bkjwjason Nov 12, 2023
a7676a5
Reduce screenshots, replace with quotes for UG
bkjwjason Nov 12, 2023
7bc0aa6
Replace UI with a better example
bkjwjason Nov 12, 2023
05bea00
Fix implementation of Mark and Unmark
wjayee Nov 12, 2023
e56b9bc
Merge pull request #207 from wjayee/feature/fix-MarkLiveUpdate
bkjwjason Nov 12, 2023
1ff89fe
Merge pull request #206 from bkjwjason/docs/UG-Examples
wjayee Nov 12, 2023
ca2106a
Fix error catching
wjayee Nov 12, 2023
578cf3f
Add DeleteTaskCommandTest
junnengsoo Nov 12, 2023
30a07fd
Merge pull request #208 from wjayee/feature/fix-MarkErrorCatching
bkjwjason Nov 12, 2023
d31f287
Merge pull request #209 from junnengsoo/test/DeleteTaskCommandTest
bkjwjason Nov 12, 2023
59cb394
Change UG Ui to default Ui
bkjwjason Nov 13, 2023
903f401
Change site title to Pawfection from Y2Direct
bkjwjason Nov 13, 2023
d42ce40
Merge pull request #210 from bkjwjason/docs/Default-UI
junnengsoo Nov 13, 2023
4797e3b
Update User Stories and Ui Class Diagram
bkjwjason Nov 13, 2023
5c3f0f3
Remote extra info in UI component
bkjwjason Nov 13, 2023
d192f5e
Update UG with detailView
bkjwjason Nov 13, 2023
da5dfa2
Change URL in DG from blob to tree
bkjwjason Nov 13, 2023
cc294f4
Merge pull request #211 from bkjwjason/update/DG
euchangxian Nov 13, 2023
d0a0209
Change template for UG commands
junnengsoo Nov 13, 2023
08e4dc3
Merge pull request #212 from junnengsoo/docs/UG-minor-updates
bkjwjason Nov 13, 2023
b75836b
Add HelpCommand activity diagram
euchangxian Nov 13, 2023
3184817
Update DG for Help Command
euchangxian Nov 13, 2023
bb2f973
Merge pull request #213 from euchangxian/docs/HelpCommand-DG
bkjwjason Nov 13, 2023
e19b23e
Add dividers and boxes
junnengsoo Nov 13, 2023
c2d60d0
Merge pull request #215 from junnengsoo/docs/UG-minor-updates
euchangxian Nov 13, 2023
07849a7
Edit UML Sequence Diagrams in the DG
wjayee Nov 13, 2023
64dd57f
Remove square brackets for compulsory inputs and add invalid prefix t…
junnengsoo Nov 13, 2023
88633db
Merge pull request #216 from wjayee/docs/updateDG-Diagrams
bkjwjason Nov 13, 2023
553a464
Refine UserGuide
euchangxian Nov 13, 2023
b8af0f9
Merge pull request #217 from junnengsoo/hotfix/error-message
wjayee Nov 13, 2023
1674969
Add attributes of Animal table
euchangxian Nov 13, 2023
98e9039
Merge pull request #218 from euchangxian/docs/Refine-UG
euchangxian Nov 13, 2023
4e1b62e
Minor screenshot size fixes for UG
bkjwjason Nov 13, 2023
40395ca
Add attributes of animal to toc
bkjwjason Nov 13, 2023
72d0203
Merge pull request #219 from bkjwjason/docs/Screenshot-tweak
euchangxian Nov 13, 2023
6dd7947
Fix documentation links to reference Pawfection
euchangxian Nov 13, 2023
492387d
Fix uncaught IllegalArgumentException
euchangxian Nov 13, 2023
727f4b4
Update AnimalParserUtil to handle future dates
euchangxian Nov 13, 2023
471eb38
Merge pull request #220 from euchangxian/docs/fix-docs-links
bkjwjason Nov 13, 2023
87a4548
Merge pull request #221 from euchangxian/fix/uncaught-exception
bkjwjason Nov 13, 2023
460fff4
Fix wrong reference to DateOfBirth
euchangxian Nov 13, 2023
3a8eefe
Merge pull request #222 from euchangxian/fix/uncaught-exception
bkjwjason Nov 13, 2023
8542702
Fix bug for empty keywords
wjayee Nov 13, 2023
b3286c1
Fix check for empty string
wjayee Nov 13, 2023
29643e7
Update PPP
wjayee Nov 13, 2023
7f0866a
Merge pull request #223 from wjayee/feature/fix-SearchBug
euchangxian Nov 13, 2023
335d874
Fix checkstyle
wjayee Nov 13, 2023
7852df6
Modify callouts and add minor bolds
junnengsoo Nov 13, 2023
ef89832
Add addtask and deletetask implementation
junnengsoo Nov 13, 2023
6a27db6
Update Chang Xian's PPP
euchangxian Nov 13, 2023
8d8af26
Merge pull request #224 from wjayee/docs/update-PPP
euchangxian Nov 13, 2023
02070a1
Merge pull request #225 from junnengsoo/docs/DG-template-update
euchangxian Nov 13, 2023
66f71f7
Merge pull request #226 from euchangxian/docs/update-euchangxian-ppp
wjayee Nov 13, 2023
a5892c8
Update Pawfection top NavBar Github Repo link
euchangxian Nov 13, 2023
e22115b
Update PPP
bkjwjason Nov 13, 2023
665b0d5
Merge pull request #227 from euchangxian/docs/update-TopNavBar
junnengsoo Nov 13, 2023
bc7c233
Add edge search case into UG
bkjwjason Nov 13, 2023
634b131
Fix Checkstyle
bkjwjason Nov 13, 2023
208a8c0
Refactor addtask
junnengsoo Nov 13, 2023
769724c
Merge pull request #230 from bkjwjason/update/PPP
Blizzeracz Nov 13, 2023
2aed974
Modify AddTaskCommandTest to not modify model
junnengsoo Nov 13, 2023
da8b965
Complete decoupling of Animal methods to AddTaskCommand
junnengsoo Nov 13, 2023
997002b
Complete refactoring for DeleteTaskCommand
junnengsoo Nov 13, 2023
0892cf9
Refine java docs
junnengsoo Nov 13, 2023
4645f1c
Update ppp
Blizzeracz Nov 13, 2023
1a63b1f
Add sequence diagram to PPP
Blizzeracz Nov 13, 2023
f30f61c
Edit sections of PPP
Blizzeracz Nov 13, 2023
ec39fc2
Add instructions for different OS for downloading of Java
junnengsoo Nov 13, 2023
ad3bb50
Fix checkstyle
Blizzeracz Nov 13, 2023
853e1c5
Merge pull request #233 from junnengsoo/docs/UG-quick-start
Blizzeracz Nov 13, 2023
214b273
Merge pull request #231 from junnengsoo/bugfix/refactor-addtask-delet…
bkjwjason Nov 13, 2023
05e9aff
Fix TimeUtil referencing local timezone
bkjwjason Nov 13, 2023
d3e57fb
Fix localdate references
bkjwjason Nov 13, 2023
64ac75a
Merge pull request #232 from Blizzeracz/update/PPP
bkjwjason Nov 13, 2023
780158c
Merge pull request #234 from bkjwjason/bugfix/TimeUtil
euchangxian Nov 14, 2023
c70a95a
Fix typo
bkjwjason Nov 14, 2023
63975bf
Mention duplicate task in UG
bkjwjason Nov 14, 2023
2cd5c34
Add use cases
junnengsoo Nov 13, 2023
55aad0b
Modify user stories to remove external implementation
junnengsoo Nov 14, 2023
3cd9309
Merge pull request #235 from bkjwjason/docs/fixTypo
junnengsoo Nov 14, 2023
7dd8636
Modify dividers for UG and DG
junnengsoo Nov 14, 2023
9496eef
Merge pull request #228 from junnengsoo/docs/DG-template-update
bkjwjason Nov 14, 2023
b7b0143
Remove Storage Testing in DG
bkjwjason Nov 14, 2023
07b53ee
Merge pull request #236 from bkjwjason/docs/removeStorageDG
junnengsoo Nov 14, 2023
5a50381
Add age to DetailedView
bkjwjason Nov 14, 2023
0eca41f
Clarify non-animal commands
bkjwjason Nov 14, 2023
abab5f3
Fix wrong command name
bkjwjason Nov 14, 2023
bbbeded
Update minor changes
wjayee Nov 14, 2023
9a61750
Fix pointer and spacing
bkjwjason Nov 14, 2023
135e8a4
Merge pull request #238 from wjayee/docs/UG-minorchanges
bkjwjason Nov 14, 2023
d734703
Merge pull request #237 from bkjwjason/docs/updateDG
euchangxian Nov 14, 2023
9c918a6
Add tutorial, navigation and other related information at the front
junnengsoo Nov 14, 2023
1ce0074
Merge pull request #239 from junnengsoo/docs/UG-2101
wjayee Nov 14, 2023
25745bd
Update tips and notes and add screenshots for tutorial
Blizzeracz Nov 14, 2023
a7f64b5
Merge pull request #240 from Blizzeracz/update/UserGuide-final
wjayee Nov 15, 2023
7033119
Update screenshots and shorten command details
wjayee Nov 15, 2023
db298d7
Add UI component diagram
bkjwjason Nov 15, 2023
4fb42c0
Merge pull request #241 from wjayee/docs/UG-changes-2101
bkjwjason Nov 15, 2023
0273d0f
Fix checkstyle
bkjwjason Nov 15, 2023
fe2f414
Add tutorial
junnengsoo Nov 15, 2023
58b97e9
Merge pull request #243 from junnengsoo/docs/UG-2101
bkjwjason Nov 15, 2023
148e87e
Merge pull request #242 from bkjwjason/docs/2101
euchangxian Nov 15, 2023
ba10ae3
Fix images and text
wjayee Nov 15, 2023
fea43c3
Fix checkstyle
wjayee Nov 15, 2023
6809d17
Fix page breaks
wjayee Nov 15, 2023
38ac525
Merge pull request #244 from wjayee/docs/fix-images-2101
bkjwjason Nov 17, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/check-eof-newline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ret=0
IFS='
'

for filename in $(git grep --cached -I -l -e '' -- ':/'); do
for filename in $(git grep -I -l -e '' -- ':/'); do
if [ "$(tail -c 1 "./$filename")" != '' ]; then
line="$(wc -l "./$filename" | cut -d' ' -f1)"
echo "ERROR:$filename:$line: no newline at EOF."
Expand Down
2 changes: 1 addition & 1 deletion .github/check-line-endings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Checks for prohibited line endings.
# Prohibited line endings: \r\n

git grep --cached -I -n --no-color -P '\r$' -- ':/' |
git grep -I -n --no-color -P '\r$' -- ':/' |
awk '
BEGIN {
FS = ":"
Expand Down
5 changes: 3 additions & 2 deletions .github/check-trailing-whitespace.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/sh
# Checks for trailing whitespace

git grep --cached -I -n --no-color -P '[ \t]+$' -- ':/' |
git grep -I -n --no-color -P '[ \t]+$' -- ':/' |
awk '
BEGIN {
FS = ":"
OFS = ":"
ret = 0
}
{
# Only warn for markdown files (*.md) to accomodate text editors
# Only warn for markdown files (*.md) to accommodate text editors
# which do not properly handle trailing whitespace.
# (e.g. GitHub web editor)
if ($1 ~ /\.md$/) {
severity = "WARN"
ret = 1
} else {
severity = "ERROR"
ret = 1
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: MarkBind Action

on:
push:
branches:
- master

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Install Graphviz
run: sudo apt-get install graphviz
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build & Deploy MarkBind site
uses: MarkBind/markbind-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
rootDirectory: './docs'
baseUrl: '/tp' # replace with your repo name
version: '^5.1.0'
17 changes: 10 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Java CI

on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
- 'config/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'config/**'

jobs:
build:
Expand All @@ -18,14 +26,9 @@ jobs:
with:
ref: master

- name: Merge to master
- name: Checkout triggering commit
run: git checkout --progress --force ${{ github.sha }}

- name: Run repository-wide tests
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/.github
run: ./run-checks.sh

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/shell-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Shell Script Checks

on: [push, pull_request]


jobs:
run-shell-scripts:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}

steps:
- name: Set up repository
uses: actions/checkout@main

- name: Set up repository
uses: actions/checkout@main
with:
ref: master

- name: Checkout triggering commit
run: git checkout --progress --force ${{ github.sha }}

- name: Run repository-wide tests
working-directory: ${{ github.workspace }}/.github
run: ./run-checks.sh
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ hs_err_pid[0-9]*.log
# Test sandbox files
src/test/data/sandbox/

# ignore compiled binary files
/bin/

# MacOS custom attributes files created by Finder
.DS_Store
docs/_site/
docs/_markbind/logs/
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
[![CI Status](https://github.com/se-edu/addressbook-level3/workflows/Java%20CI/badge.svg)](https://github.com/se-edu/addressbook-level3/actions)
## Build Status
[![codecov](https://codecov.io/gh/AY2324S1-CS2103T-F08-3/tp/graph/badge.svg?token=BJR49ZPCBU)](https://codecov.io/gh/AY2324S1-CS2103T-F08-3/tp)
[![CI Status](https://github.com/se-edu/addressbook-level3/workflows/Java%20CI/badge.svg)](https://github.com/AY2324S1-CS2103T-F08-3/tp/actions)

![Ui](docs/images/Ui.png)
## Overview
Pawfection is an animal catalog catered towards volunteers in an animal shelter. With Pawfection, we aim to reduce the
pain points of volunteering at an animal shelter by providing a centralized platform for volunteers to store and retrieve
information about sheltered animals easily!

* This is **a sample project for Software Engineering (SE) students**.<br>
Example usages:
* as a starting point of a course project (as opposed to writing everything from scratch)
* as a case study
* The project simulates an ongoing software project for a desktop application (called _AddressBook_) used for managing contact details.
* Ideal for the fast-typist as it is command-line centric.
* It is **written in OOP fashion**. It provides a **reasonably well-written** code base **bigger** (around 6 KLoC) than what students usually write in beginner-level SE modules, without being overwhelmingly big.
* It comes with a **reasonable level of user and developer documentation**.
* It is named `AddressBook Level 3` (`AB3` for short) because it was initially created as a part of a series of `AddressBook` projects (`Level 1`, `Level 2`, `Level 3` ...).
* For the detailed documentation of this project, see the **[Address Book Product Website](https://se-education.org/addressbook-level3)**.
* This project is a **part of the se-education.org** initiative. If you would like to contribute code to this project, see [se-education.org](https://se-education.org#https://se-education.org/#contributing) for more info.
* Comes with detailed documentation for both **users** and **developers**. To learn more, check out [Pawfection's website](https://ay2324s1-cs2103t-f08-3.github.io/tp/index.html)!

## UI
![Ui](docs/images/Ui.png)

## Credits
This project is based on the AddressBook-Level3 project created by the [SE-EDU initiative](https://se-education.org)

22 changes: 21 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'application'
id 'jacoco'
id "com.adarshr.test-logger" version "3.2.0"
}

mainClassName = 'seedu.address.Main'
Expand All @@ -25,6 +26,18 @@ test {
finalizedBy jacocoTestReport
}

testlogger {
showPassed false
showSkipped false
showFailed true
showOnlySlow false
}


tasks.withType(JavaExec) {
enableAssertions = true
}

task coverage(type: JacocoReport) {
sourceDirectories.from files(sourceSets.main.allSource.srcDirs)
classDirectories.from files(sourceSets.main.output)
Expand All @@ -40,6 +53,11 @@ task coverage(type: JacocoReport) {
}
}

task runChecks(type: Exec) {
workingDir "${projectDir}/.github"
commandLine './run-checks.sh'
}

dependencies {
String jUnitVersion = '5.4.0'
String javaFxVersion = '17.0.7'
Expand All @@ -63,10 +81,12 @@ dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: jUnitVersion

testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: jUnitVersion

testImplementation "org.mockito:mockito-core:3.+"
}

shadowJar {
archiveFileName = 'addressbook.jar'
archiveFileName = 'pawfection.jar'
}

defaultTasks 'clean', 'test'
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
codecov:
require_ci_to_pass: false
23 changes: 23 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
_markbind/logs/

# Dependency directories
node_modules/

# Production build files (change if you output the build to a different directory)
_site/

# Env
.env
.env.local

# IDE configs
.vscode/
.idea/*
*.iml
55 changes: 29 additions & 26 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,62 @@
---
layout: page
title: About Us
layout: default.md
title: "About Us"
---

# About Us

We are a team based in the [School of Computing, National University of Singapore](http://www.comp.nus.edu.sg).

You can reach us at the email `seer[at]comp.nus.edu.sg`

## Project team

### John Doe
### Loysius Lam

<img src="images/johndoe.png" width="200px">
<img src="images/blizzeracz.png" width="200px">

[[homepage](http://www.comp.nus.edu.sg/~damithch)]
[[github](https://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](https://github.com/blizzeracz)]
[[portfolio](team/blizzeracz.md)]

* Role: Project Advisor
* Responsibilities: Scheduling and tracking, Deliverables and deadlines

### Jane Doe
### Jason Baek

<img src="images/johndoe.png" width="200px">
<img src="images/bkjwjason.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](http://github.com/bkjwjason)]
[[portfolio](team/bkjwjason.md)]

* Role: Team Lead
* Responsibilities: UI
* Responsibilities: UI, Java and Integration Expert

### Johnny Doe
### Chang Xian

<img src="images/johndoe.png" width="200px">
<img src="images/euchangxian.png" width="200px">

[[github](http://github.com/johndoe)] [[portfolio](team/johndoe.md)]
[[github](http://github.com/euchangxian)]
[[portfolio](team/euchangxian.md)]

* Role: Developer
* Responsibilities: Data
* Responsibilities: Testing, Integration expert

### Jean Doe
### Ja Yee

<img src="images/johndoe.png" width="200px">
<img src="images/wjayee.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](http://github.com/wjayee)]
[[portfolio](team/wjayee.md)]

* Role: Developer
* Responsibilities: Dev Ops + Threading
* Responsibilities: Code quality and Deliverables

### James Doe
### Jun Neng

<img src="images/johndoe.png" width="200px">
<img src="images/junnengsoo.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](http://github.com/junnengsoo)]
[[portfolio](team/junnengsoo.md)]

* Role: Developer
* Responsibilities: UI
* Responsibilities: Code quality and Documentation
6 changes: 4 additions & 2 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
layout: page
title: Configuration guide
layout: default.md
title: "Configuration guide"
---

# Configuration guide

Certain properties of the application can be controlled (e.g user preferences file location, logging level) through the configuration file (default: `config.json`).
13 changes: 8 additions & 5 deletions docs/DevOps.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
layout: page
title: DevOps guide
layout: default.md
title: "DevOps guide"
pageNav: 3
---

* Table of Contents
{:toc}
# DevOps guide

--------------------------------------------------------------------------------------------------------------------
<!-- * Table of Contents -->
<page-nav-print />

<!-- -------------------------------------------------------------------------------------------------------------------- -->

## Build automation

Expand Down
Loading
Loading