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

[Tin Jingyao] iP #507

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
1541204
Add ability to read inputs and echo it as output
tin-jy Aug 25, 2022
18f1898
Add add and list functionality
tin-jy Aug 25, 2022
ec9fd31
Add functionality to mark and unmark tasks
tin-jy Aug 25, 2022
400cf62
Add different types of tasks
tin-jy Aug 29, 2022
7bc53d7
Add test cases for text-ui testing
tin-jy Aug 29, 2022
6f5be36
Add error handling for incorrect user inputs
tin-jy Aug 29, 2022
ddb1d97
Add functionality to remove tasks
tin-jy Aug 29, 2022
841c78b
Add a FileHandler class to deal with saving inputs in a local file
tin-jy Sep 1, 2022
129758c
Add functionality to save task list into a local file on every change
tin-jy Sep 1, 2022
c351d1d
Add functionality for Duke to load task list on startup
tin-jy Sep 1, 2022
a69c99c
Add ability for Duke to verify dates and time
tin-jy Sep 1, 2022
462fb51
Add classes Parser, Ui, TaskList to include more OOP
tin-jy Sep 3, 2022
4d4f45d
Place all Duke related Java files into packages
tin-jy Sep 3, 2022
fbdbd16
Merge branch 'add-gradle-support' of https://github.com/nus-cs2103-AY…
tin-jy Sep 6, 2022
304acb1
Add more packages and classes for organisation
tin-jy Sep 6, 2022
609dc79
Add more classes and error handling
tin-jy Sep 6, 2022
fe3f213
Add JUnit tests for public methods in some classes
tin-jy Sep 6, 2022
86fba2c
Update dependencies in build.gradle
tin-jy Sep 6, 2022
982ba6d
Add JavaDocs
tin-jy Sep 6, 2022
7338f37
Correct style issues to adhere to coding standards
tin-jy Sep 6, 2022
aef9014
Add ability to search for tasks using keywords
tin-jy Sep 6, 2022
8009da8
Merge branch 'branch-A-CodingStandard'
tin-jy Sep 6, 2022
b99000a
Merge branch 'branch-Level-9'
tin-jy Sep 6, 2022
3bda679
Add checkstyle.xml and suppressions.xml for checkstyle
tin-jy Sep 6, 2022
a2c8035
Fix a bug with the find command
tin-jy Sep 6, 2022
6741565
Add test cases
tin-jy Sep 6, 2022
ce8111d
Create JAR file
tin-jy Sep 7, 2022
217e318
Add a basic GUI for Duke
tin-jy Sep 8, 2022
7554d3d
Fully implement GUI and allow Duke to respond to commands
tin-jy Sep 8, 2022
cfabe0d
Merge branch 'branch-A-CheckStyle'
tin-jy Sep 8, 2022
5d7b0ab
Add package for GUI related java files
tin-jy Sep 8, 2022
1297ade
Add more JUnit tests
tin-jy Sep 8, 2022
ddf41bb
Add assert statements
tin-jy Sep 8, 2022
dafecc7
Improve code quality
tin-jy Sep 8, 2022
14da0b9
Merge pull request #1 from tin-jy/branch-A-Assertions
tin-jy Sep 8, 2022
4cd2cf6
Merge branch 'master' into branch-A-CodeQuality
tin-jy Sep 8, 2022
3c0576a
Merge pull request #2 from tin-jy/branch-A-CodeQuality
tin-jy Sep 8, 2022
7f02321
Add functionality to change the file path for local storage
tin-jy Sep 8, 2022
a883516
Change some output messages
tin-jy Sep 8, 2022
3574c8a
Add some bugfixes
tin-jy Sep 9, 2022
c8e2fdc
Fix checkstyle issues
tin-jy Sep 9, 2022
0d08193
Change profile images for Duke and the user.
tin-jy Sep 15, 2022
a2eb1a6
Add a user guide in README.md
tin-jy Sep 15, 2022
b8d38f9
Fix bug related to local file path
tin-jy Sep 16, 2022
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Duke project template
# duke.Duke project template

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.

Expand All @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
In the same dialog, set the **Project language level** field to the `SDK default` option.
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
3. After that, locate the `src/main/java/duke.Duke.java` file, right-click it, and choose `Run duke.Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
```
Hello from
____ _
Expand Down
67 changes: 67 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

checkstyle {
toolVersion = '10.2'
}

javafx {
version = "18.0.2"
modules = [ 'javafx.controls' ]
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'

String javaFxVersion = '11'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClassName = "duke.javafx.Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}
Loading