Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
557 commits
Select commit Hold shift + click to select a range
139284c
Update executeAddTransportation()
je-nnyt Apr 3, 2025
7383645
Update parser to parse start and end day
je-nnyt Apr 3, 2025
0a91e5d
Merge pull request #117 from paklongchiu/dev/101-modification-of-acco…
paklongchiu Apr 3, 2025
20ecf4a
Add more exceptions messages
choiak Apr 3, 2025
ff53cef
Add getters for start and end day and verify if null
je-nnyt Apr 3, 2025
80b236c
Update toString() method of Transportation
je-nnyt Apr 3, 2025
3103153
Update addTransportation() to receive start and end day as parameters
je-nnyt Apr 3, 2025
4f1bb4a
Update addTransportation() on UserGuide
je-nnyt Apr 3, 2025
d70cd1c
Fix failed parserTest
je-nnyt Apr 3, 2025
baa1832
Update JUnit Tests with new parameters and name
je-nnyt Apr 3, 2025
a71e429
Fix coding style
je-nnyt Apr 3, 2025
2ed3aa4
Add exception handling for startDay and endDay
je-nnyt Apr 3, 2025
8cf8988
Change accommodation invalid index message
choiak Apr 3, 2025
5ea561d
Update architecture design for the whole project
Apr 3, 2025
04fd397
Add more specific exception messages
choiak Apr 3, 2025
bd59fea
Update user with logo
Apr 3, 2025
a20357f
Add storage system purpose sequence diagram
Apr 3, 2025
a8a63ea
Add delete activity
choiak Apr 3, 2025
3d954e2
Add JUnit test for Day.java
choiak Apr 3, 2025
e5a2661
Add case "all" as command arguments for switch
je-nnyt Apr 3, 2025
4db93a6
Add option to list all transportations and their associated index
je-nnyt Apr 3, 2025
f46a9ea
Add missing basic list function
choiak Apr 3, 2025
3a46e67
Update UserGuide
je-nnyt Apr 3, 2025
e7ef030
Merge branch 'master' into dev/list
choiak Apr 3, 2025
cc00780
Merge branch 'master' into dev/95-add-listTransportation
je-nnyt Apr 3, 2025
a69ed61
Merge branch 'master' into dev/delete-activity
choiak Apr 3, 2025
98afae2
Merge pull request #125 from je-nnyt/dev/91-add-day-to-transportation
je-nnyt Apr 3, 2025
624793a
Merge pull request #129 from Lyam-T/dev/127-storage-dg
choiak Apr 3, 2025
c1afcb7
Merge pull request #128 from Lyam-T/dev/126-architecture-uml
choiak Apr 3, 2025
030d1a2
Add missing setters and getters for startDay and endDay
je-nnyt Apr 3, 2025
a6b4723
Add modifyTransportation method
je-nnyt Apr 3, 2025
e4e2b29
Add executeModifyTransportation method
je-nnyt Apr 3, 2025
8f847df
Merge branch 'master' into dev/87-developer-guide
Apr 3, 2025
98d8ef3
Change listAllTransportations() to printTransportationList()
je-nnyt Apr 3, 2025
a520d11
Merge branch 'dev/95-add-listTransportation' of https://github.com/je…
je-nnyt Apr 3, 2025
0b7088f
Merge branch 'master' into dev/95-add-listTransportation
je-nnyt Apr 3, 2025
305c644
Describe the implementation of modify accommodation in DG
Apr 3, 2025
1380747
Specify the method used in the 'modify accommodation' feature
Apr 3, 2025
49fbebf
Add a description of the implementation section
Apr 3, 2025
1cf2073
Add listAccommodation methods for listing accommodation by either ind…
Apr 3, 2025
f2fc8ed
Update UG to include description of the list accommodation feature
Apr 3, 2025
c14f7e9
Merge pull request #132 from je-nnyt/dev/95-add-listTransportation
choiak Apr 4, 2025
50159d0
Merge pull request #135 from paklongchiu/dev/134-add-list-accommodati…
choiak Apr 4, 2025
2f4bf7b
Merge pull request #136 from paklongchiu/dev/87-developer-guide
choiak Apr 4, 2025
357db5e
Merge branch 'master' into dev/list
choiak Apr 4, 2025
d8eda48
Add missing list implementation
choiak Apr 4, 2025
7c27fdc
Merge branch 'master' into dev/delete-activity
choiak Apr 4, 2025
8bb64e6
Chore: remove redundant import
choiak Apr 4, 2025
239c739
Merge pull request #131 from choiak/dev/delete-activity
choiak Apr 4, 2025
fb9d8e7
Merge branch 'master' into dev/list
choiak Apr 4, 2025
a0ee4a7
Add numDays to keep track of the duration
je-nnyt Apr 4, 2025
e10fa8d
Add modifyTransportation
je-nnyt Apr 4, 2025
97d5881
Fix: missing import
choiak Apr 4, 2025
131bc32
Add confirmation message after modification
je-nnyt Apr 4, 2025
d110321
Update executeModifyTransportation to account for days and budget
je-nnyt Apr 4, 2025
118fe4a
Update UG
je-nnyt Apr 4, 2025
3c6bbfa
Fix the bug of leaking logger info to end user
Apr 4, 2025
0cecfa3
Merge pull request #130 from choiak/dev/list
choiak Apr 4, 2025
9a6a45e
Fix failed gradle
je-nnyt Apr 4, 2025
8bcd2d0
Merge branch 'master' into dev/133-Modification-of-Transportation
je-nnyt Apr 4, 2025
7e7ca66
Merge branch 'master' into fix/137-logger-info-leakage
Apr 4, 2025
a36d519
Merge branch 'master' into dev/exception-messages
choiak Apr 4, 2025
111b1cf
Merge pull request #140 from Lyam-T/fix/137-logger-info-leakage
Lyam-T Apr 4, 2025
b8eecb4
Change some exceptions to finer one
choiak Apr 4, 2025
5f55b6c
Merge branch 'master' into dev/exception-messages
choiak Apr 4, 2025
e6673ef
Merge commit '111b1cf2f76cf4ef07e14c18eb1e071b32424269' into dev/133-…
je-nnyt Apr 4, 2025
10c1550
Merge branch 'dev/133-Modification-of-Transportation' of https://gith…
je-nnyt Apr 4, 2025
9e32662
Fix duplicate methods causing code failure
je-nnyt Apr 4, 2025
6375b3f
Fix: invalid command target detection
choiak Apr 5, 2025
4e34fe3
Merge pull request #142 from choiak/dev/exception-messages
choiak Apr 5, 2025
ef01c62
Merge branch 'master' into dev/user-guide
choiak Apr 5, 2025
fdc253f
Merge branch 'master' into dev/parser-fine-tune
choiak Apr 5, 2025
0cf579b
Change invalid scope to invalid target
choiak Apr 5, 2025
2c1dc43
Chore: code quality
choiak Apr 5, 2025
b4fa110
Update user guide draft
choiak Apr 5, 2025
4c7681f
Update draft user guide
choiak Apr 5, 2025
c6ba6cb
Fix: some exceptions not working
choiak Apr 5, 2025
10f426c
Update draft user guide
choiak Apr 5, 2025
1a9e1b0
Add storage class and corresponding dependency
Apr 5, 2025
85aa10b
Update validateArgument() to throw an error if start or end day is eq…
je-nnyt Apr 5, 2025
cd00e53
Refactor modifyTransportation()
je-nnyt Apr 5, 2025
68d56ef
Add InvalidDayDuration exception
je-nnyt Apr 5, 2025
235907a
Fix coding style
je-nnyt Apr 5, 2025
dc42394
Merge branch 'master' into dev/133-Modification-of-Transportation
je-nnyt Apr 5, 2025
a0b6cf1
Remove throws InvalidCommand()
je-nnyt Apr 5, 2025
1ac0ffd
Merge branch 'dev/133-Modification-of-Transportation' of https://gith…
je-nnyt Apr 5, 2025
1669e06
Update user guide draft
choiak Apr 5, 2025
d32bfe3
Finish json loader and saver
Apr 5, 2025
bdf04f3
Merge branch 'master' into dev/196-storage-system
Apr 5, 2025
3b6a1ec
Merge pull request #199 from choiak/dev/user-guide
choiak Apr 5, 2025
90f71c2
Merge pull request #200 from Lyam-T/dev/196-storage-system
choiak Apr 5, 2025
a3afaa1
Change list output format
choiak Apr 5, 2025
22ec6b6
Merge branch 'master' into dev/list
choiak Apr 5, 2025
92c0d40
Add more output budget status
choiak Apr 5, 2025
04076ec
Merge pull request #204 from choiak/fix/203-budget-message
choiak Apr 6, 2025
8b384c9
Merge pull request #202 from choiak/dev/list
choiak Apr 6, 2025
25663f3
Merge branch 'master' into dev/parser-fine-tune
choiak Apr 6, 2025
473b7f0
Fix massive acceptance range for trip duration
Apr 6, 2025
19eff9f
Update the maximum duration to 366
Apr 6, 2025
66fa343
Update the user guide to state the maximum duration of the trip
Apr 6, 2025
358c1a9
Change invalid command detection behaviour
choiak Apr 6, 2025
dbf5313
fix null pointer exception
Apr 6, 2025
55cb7c5
Update UG
je-nnyt Apr 6, 2025
f6e2c34
Merge branch 'master' into dev/133-Modification-of-Transportation
je-nnyt Apr 6, 2025
38f4169
Change transportation days to single day
choiak Apr 6, 2025
a05a04e
Update user guide
choiak Apr 6, 2025
3a7677b
Add day validation
choiak Apr 6, 2025
2a6429e
Merge pull request #139 from je-nnyt/dev/133-Modification-of-Transpor…
choiak Apr 6, 2025
cdfa302
Merge branch 'master' into dev/modify-refinement
choiak Apr 6, 2025
849ae50
Update user guide
choiak Apr 6, 2025
8f29e09
Merge pull request #205 from Lyam-T/fix/192-massive-date-range
choiak Apr 6, 2025
8272cb0
Merge branch 'master' into dev/exception-messages
choiak Apr 6, 2025
c1b5407
Merge pull request #209 from choiak/dev/modify-refinement
choiak Apr 6, 2025
8cde516
Add more detailed exceptions
choiak Apr 6, 2025
765bcab
Merge branch 'master' into dev/exception-messages
choiak Apr 6, 2025
63db88f
Adjust testcase
choiak Apr 6, 2025
26d9296
Merge branch 'master' into dev/parser-fine-tune
choiak Apr 6, 2025
6e92a34
Fix unnecessary modification and information to user
Apr 6, 2025
11e438d
Fix codestyles
Apr 6, 2025
5b1bf8d
Change exception message
Apr 6, 2025
c7512b9
Update user guide draft
choiak Apr 6, 2025
13a1c79
Merge pull request #213 from Lyam-T/fix/206-unnessary-modification
Lyam-T Apr 6, 2025
64a4d9c
Add finer invalid argument message
choiak Apr 6, 2025
cc884c3
Change Integer time to be a LocalTime object
je-nnyt Apr 6, 2025
839e10e
Add InvalidTimeFormat exception
je-nnyt Apr 6, 2025
be81de9
Add more exception detection
choiak Apr 6, 2025
8dd54d4
Merge branch 'master' into dev/exception-messages
choiak Apr 6, 2025
d787f5f
Fix architecture's label without arrow
Apr 6, 2025
c272483
Update storage uml with method name
Apr 6, 2025
2fc3ccc
Update related aspects for developer guide
Apr 6, 2025
43d5a41
Merge pull request #216 from Lyam-T/fix/215-dg-uml
Lyam-T Apr 6, 2025
69db37c
Merge pull request #211 from choiak/dev/exception-messages
choiak Apr 6, 2025
34ef73c
Merge branch 'master' into dev/parser-fine-tune
choiak Apr 6, 2025
20ea19e
Add InvalidDuplicateActivity exception
je-nnyt Apr 6, 2025
aeeab23
Add validateDuplicateActivity() method
je-nnyt Apr 6, 2025
65f4b4e
Merge branch 'master' into dev/user-guide
choiak Apr 6, 2025
9ad0850
Update listItinerary to list activities in a chronological order
je-nnyt Apr 6, 2025
533ac3c
Update the activity time format to remove leading zero's
je-nnyt Apr 6, 2025
074358c
Update UG
je-nnyt Apr 6, 2025
7f28b4f
Update UG for delete activity
je-nnyt Apr 6, 2025
82e2ef9
Fix coding style
je-nnyt Apr 6, 2025
2904686
Merge branch 'master' into dev/212-list-activity-by-time
je-nnyt Apr 6, 2025
eb44cc1
Fix merge conflicts
je-nnyt Apr 6, 2025
90bff92
Add the link to the release page for users to download VoyaTrip
Apr 6, 2025
a29767b
Add the description on how to add new accommodation back to UserGuide
Apr 6, 2025
5bc7ea6
Adjust the checking overlapping accommodation days method for a more …
Apr 6, 2025
a6aacc8
Merge pull request #218 from je-nnyt/dev/212-list-activity-by-time
Lyam-T Apr 7, 2025
60e6a59
Restructure the packages to fulfil the arichitecture design
Apr 7, 2025
fe38519
Update developer guide regarding on the changes
Apr 7, 2025
406d79e
Fix checkstyles
Apr 7, 2025
335806d
Remove unnecessary testing
Apr 7, 2025
bbaddd9
Merge pull request #221 from Lyam-T/dev/220-restructure-overall-archi…
Lyam-T Apr 7, 2025
0d307ea
Update user guide draft
choiak Apr 7, 2025
26f839a
Merge branch 'master' into dev/parser-fine-tune
choiak Apr 7, 2025
4c21324
Fix invalid command catching
choiak Apr 7, 2025
dcef2f6
Update user guide draft
choiak Apr 7, 2025
3297fa7
Merge branch 'master' into dev/user-guide
choiak Apr 7, 2025
2520937
Merge branch 'dev/user-guide' of github.com:choiak/tp into dev/user-g…
choiak Apr 7, 2025
12b2dc3
Fix floating precision problem
Apr 7, 2025
b05bfde
Merge branch 'dev/220-restructure-overall-architecture' into fix/222-…
Apr 7, 2025
a9aa1ca
Merge pull request #223 from Lyam-T/fix/222-float-precision
Lyam-T Apr 7, 2025
3bdf63a
Merge pull request #198 from choiak/dev/parser-fine-tune
choiak Apr 7, 2025
aedd976
Refine methods related to accommodation days and sort accommodations …
Apr 7, 2025
d0dc8ba
Merge branch 'master' into fix/219-accommodation
Apr 7, 2025
501fc13
Merge branch 'master' into dev/user-guide
choiak Apr 7, 2025
bc5b3c0
Update User Guide to reflect changes made from PR
je-nnyt Apr 7, 2025
ea2ad10
Add the functionality to delete all accommodations
Apr 7, 2025
d0e6eb0
Merge branch 'master' into fix/146-UserGuide
Apr 7, 2025
5b9735b
Add special notes for descriptions of accommodation commands
Apr 7, 2025
befcd0f
Add more specifications to the UserGuide to clarify special cases
Apr 7, 2025
298fddd
Fix invalid print of exceed budget
Apr 7, 2025
5729df4
Merge pull request #230 from Lyam-T/fix/227-invalid-exceed-budget
choiak Apr 7, 2025
4387554
Merge pull request #228 from paklongchiu/fix/146-UserGuide
choiak Apr 7, 2025
f5a1a90
Fix failures by gradle
Apr 7, 2025
3c91d43
Update target audience
je-nnyt Apr 7, 2025
292774b
Merge pull request #229 from paklongchiu/fix/219-accommodation
choiak Apr 7, 2025
df41f21
Merge branch 'master' into dev/225-update-user-developper-guide
je-nnyt Apr 7, 2025
b2d8bec
Fix: IndexOutOfBoundsException not caught
choiak Apr 7, 2025
7761a3d
Fix budget inconsistent output
Apr 7, 2025
de74c8d
Merge pull request #232 from choiak/fix/226-index-out-of-bound-exception
choiak Apr 7, 2025
2afc46c
Merge pull request #233 from Lyam-T/fix/231-extract-next-command-print
choiak Apr 7, 2025
2dc7ce6
Update implementation details of list and modify transportation
je-nnyt Apr 7, 2025
26c8c5a
Update add,list,modify transportation details of UG
je-nnyt Apr 7, 2025
866a769
Update UML class diagram
je-nnyt Apr 7, 2025
f995f35
Merge branch 'master' into dev/user-guide
choiak Apr 7, 2025
71bd102
Change exception thrown for empty argument value
choiak Apr 7, 2025
a93fcbb
Fix: possible null pointer exception
choiak Apr 7, 2025
8b2530e
Add small clarifications to DG and UG
Apr 7, 2025
e49e217
Fix invalid trip modification
Apr 7, 2025
0b61bc3
Merge pull request #236 from choiak/dev/parser-fine-tune
Lyam-T Apr 7, 2025
e27e9eb
Merge branch 'master' into fix/234-invalid-trip-modification
Apr 7, 2025
cc36d0a
fix codestyles
Apr 7, 2025
95490e8
Add command error explaination
choiak Apr 7, 2025
7d9a8df
Merge pull request #237 from Lyam-T/fix/234-invalid-trip-modification
choiak Apr 7, 2025
6fb5b9a
Update user guide draft
choiak Apr 7, 2025
99297bc
Add restriction for deleting trip
choiak Apr 7, 2025
f130aad
Add Appendix A,B,C,E
je-nnyt Apr 7, 2025
34784b0
Merge pull request #240 from choiak/dev/user-guide
je-nnyt Apr 7, 2025
a089bc9
Merge branch 'master' into dev/225-update-user-developper-guide
je-nnyt Apr 7, 2025
5eb3971
Merge branch 'master' into fix/153-DevelopmentGuide
Apr 7, 2025
a416a64
Add JavaDoc comments
je-nnyt Apr 7, 2025
3992454
Fix bug cd to components using parameters
je-nnyt Apr 7, 2025
ccc1b60
Merge pull request #239 from choiak/fix/238-trip-deletion
Lyam-T Apr 8, 2025
0446522
Merge pull request #241 from je-nnyt/dev/225-update-user-developper-g…
Lyam-T Apr 8, 2025
d9670b5
Update PPP
je-nnyt Apr 8, 2025
5a15a41
Add validateTransportationName()
je-nnyt Apr 8, 2025
53e8205
Add test cases
je-nnyt Apr 8, 2025
22a3774
Remove empty lines
je-nnyt Apr 8, 2025
c127e06
Merge branch 'master' into dev/242-Finalize-transportation
je-nnyt Apr 8, 2025
bc968b3
DG update
Apr 8, 2025
6cff193
Update product profiles
Apr 8, 2025
7491e28
Add table of cotent
Apr 8, 2025
fa0f4a3
Update DG
je-nnyt Apr 8, 2025
0e8794f
Fix coding style
je-nnyt Apr 8, 2025
aad9f9c
Finalise DG documentation of modifyAccommodation
Apr 8, 2025
bd33fda
Merge branch 'master' into fix/153-DevelopmentGuide
paklongchiu Apr 8, 2025
0eb9aeb
Update portfolio link
je-nnyt Apr 8, 2025
8aa3d2e
Merge branch 'master' into fix/153-DevelopmentGuide
Apr 8, 2025
6db1d14
Update RepoSense link
je-nnyt Apr 8, 2025
7f131e6
Apply final changes
Apr 8, 2025
04b3053
Merge branch 'fix/153-DevelopmentGuide' of https://github.com/paklong…
Apr 8, 2025
c196f16
Update project description in PPP
Apr 8, 2025
e667eaa
Merge pull request #243 from Lyam-T/dev/225-ug-dg
Lyam-T Apr 8, 2025
f2c2589
Merge branch 'master' into dev/242-Finalize-transportation
je-nnyt Apr 8, 2025
41867ca
Apply format changes
Apr 8, 2025
d75b512
Move PlantUML section in DG
Apr 8, 2025
342daaa
Update user guide
choiak Apr 8, 2025
27bd830
Fix merge conflicts
je-nnyt Apr 8, 2025
f632012
Merge branch 'dev/242-Finalize-transportation' of https://github.com/…
je-nnyt Apr 8, 2025
d349d6d
Merge branch 'master' into dev/user-guide
choiak Apr 8, 2025
d97b0ce
Merge branch 'master' into fix/153-DevelopmentGuide
Apr 8, 2025
67d30c6
Merge pull request #244 from je-nnyt/dev/242-Finalize-transportation
je-nnyt Apr 8, 2025
16af149
Merge pull request #245 from paklongchiu/fix/153-DevelopmentGuide
choiak Apr 8, 2025
ffc1846
Add clarification for table of contents
choiak Apr 8, 2025
e9a1cb9
Merge branch 'master' into dev/user-guide
choiak Apr 8, 2025
eb1a7fc
UserGuide.md: Change error message order
choiak Apr 8, 2025
841ebd1
Fix: table of contents not showing properly
choiak Apr 8, 2025
428efb2
Merge pull request #247 from choiak/dev/user-guide
choiak Apr 8, 2025
4826a8f
Fix: indentation
choiak Apr 8, 2025
ab6a61e
Fix invalid portfolio path
je-nnyt Apr 8, 2025
54b52cc
Merge pull request #248 from choiak/dev/user-guide
choiak Apr 8, 2025
dc36379
Merge pull request #250 from je-nnyt/fix/246-PPP
Lyam-T Apr 8, 2025
5de85dc
Update Lyam PPP
Apr 8, 2025
b2424a6
Merge branch 'master' into dev/246-ppp
Apr 8, 2025
055a67d
FIx aboutUs table problem
Apr 8, 2025
8427461
Merge pull request #251 from Lyam-T/dev/246-ppp
choiak Apr 8, 2025
161ebba
Add PPP
choiak Apr 8, 2025
6cab174
Merge pull request #252 from choiak/dev/PPP
choiak Apr 8, 2025
be8c07b
Restructure the main readme
Apr 21, 2025
e65cdd4
Merge pull request #254 from Lyam-T/fix/253-root-readme
Lyam-T Apr 21, 2025
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
16 changes: 0 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,3 @@ jobs:

- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
72 changes: 9 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,12 @@
# Duke project template
# 🌄 VoyaTrip

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.
- VoyaTrip helps the users who prefer CLI-based tools to track their travel plans and budget.
- We enhanced the fast speed for the user who are familiar with CLI commands.

## Setting up in Intellij
**🔗 Useful Links**
* [User Guide](docs/UserGuide.md)
* [Developer Guide](docs/DeveloperGuide.md)
* [About Us](docs/AboutUs.md)

Prerequisites: JDK 17 (use the exact version), update Intellij to the most recent version.

1. **Ensure Intellij JDK 17 is defined as an SDK**, as described [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk) -- this step is not needed if you have used JDK 17 in a previous Intellij project.
1. **Import the project _as a Gradle project_**, as described [here](https://se-education.org/guides/tutorials/intellijImportGradleProject.html).
1. **Verify the setup**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :Duke.main()
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|

What is your name?
```
Type some word and press enter to let the execution proceed to the end.

**Warning:** Keep the `src\main\java` folder as the root folder for Java files (i.e., don't rename those folders or move Java files to another folder outside of this folder path), as this is the default location some tools (e.g., Gradle) expect to find Java files.

## Build automation using Gradle

* This project uses Gradle for build automation and dependency management. It includes a basic build script as well (i.e. the `build.gradle` file).
* If you are new to Gradle, refer to the [Gradle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/gradle.html).

## Testing

### I/O redirection tests

* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-ui-test` and run the `runtest(.bat/.sh)` script.

### JUnit tests

* A skeleton JUnit test (`src/test/java/seedu/duke/DukeTest.java`) is provided with this project template.
* If you are new to JUnit, refer to the [JUnit Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/junit.html).

## Checkstyle

* A sample CheckStyle rule configuration is provided in this project.
* If you are new to Checkstyle, refer to the [Checkstyle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/checkstyle.html).

## CI using GitHub Actions

The project uses [GitHub actions](https://github.com/features/actions) for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.

## Documentation

`/docs` folder contains a skeleton version of the project documentation.

Steps for publishing documentation to the public:
1. If you are using this project template for an individual project, go your fork on GitHub.<br>
If you are using this project template for a team project, go to the team fork on GitHub.
1. Click on the `settings` tab.
1. Scroll down to the `GitHub Pages` section.
1. Set the `source` as `master branch /docs folder`.
1. Optionally, use the `choose a theme` button to choose a theme for your documentation.
**©️ Acknowledgements**
> This project is based on DUKE template of NUS CS2113 Software Engineering & OOP module
19 changes: 17 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ plugins {

repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}

dependencies {
implementation group: 'org.json', name: 'json', version: '20250107'
//implementation files('libs/json-20250107.jar') // for offline building only
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17) // Uses JDK 17 even if another JDK is installed
}
}

test {
useJUnitPlatform()

Expand All @@ -29,11 +40,11 @@ test {
}

application {
mainClass.set("seedu.duke.Duke")
mainClass.set("voyatrip.VoyaTrip")
}

shadowJar {
archiveBaseName.set("duke")
archiveBaseName.set("VoyaTrip")
archiveClassifier.set("")
}

Expand All @@ -44,3 +55,7 @@ checkstyle {
run{
standardInput = System.in
}

run {
enableAssertions = true
}
14 changes: 7 additions & 7 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# About us

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
Display | Name | Github Profile | Portfolio
--------|:------------:|:-----------------------------------:|:---------:
![]() | Ayu Goto | [Github](https://github.com/sweetFish8) | [Portfolio](team/ayugoto.md)
![](https://via.placeholder.com/100.png?text=Photo) | je-nnyt | [Github](https://github.com/je-nnyt) | [Portfolio](team/je-nnyt.md)
![]() | Lyam Tang | [Github](https://github.com/Lyam-T) | [Portfolio](team/lyamtang.md)
![](https://via.placeholder.com/100.png?text=Photo) | Raymond Choi | [Github](https://github.com/choiak) | [Portfolio](team/raymondchoi.md)
![]() | Thomas Chiu | [Github](https://github.com/paklongchiu) | [Portfolio](team/paklongchiu.md)
Loading