Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d839859
Add Gradle support
May 24, 2020
c2c1800
added level-1 requirements
Jan 20, 2022
c179766
added level-2 requirements
Jan 20, 2022
1898f81
Added Task class and mark/unmark functions
Jan 20, 2022
2d8814d
added different specifications of tasks
Jan 20, 2022
82056ec
added DukeException and exception handling
Jan 20, 2022
62a77b7
added delete function
Jan 20, 2022
dcc3c88
Edited Duke
Jan 28, 2022
82d62e1
Added automated Text UI Testing
Jan 28, 2022
193b676
Implemented new Save function
Feb 2, 2022
9abcb82
Stored deadline date and times as LocalDate and LocalTime objects
Feb 2, 2022
4b438b6
Merge branch 'branch-Level-8'
Feb 2, 2022
64f04c0
Made the code more OOP
Feb 2, 2022
ed15b9e
Packaged files
Feb 2, 2022
4427e7c
Packaged the App as a JAR file
Feb 3, 2022
560f952
Added JavaDoc
Feb 3, 2022
4b692d2
Revert "Added JavaDoc"
Feb 3, 2022
2c58749
Revert "Revert "Added JavaDoc""
Feb 3, 2022
42d8f64
Updated JavaDocs
Feb 3, 2022
2b2e7e8
Updated Coding Standards
Feb 3, 2022
50acf28
Implemented Find function
Feb 3, 2022
5331965
Merge branch 'branch-A-JavaDoc'
Feb 3, 2022
49c95c2
Merge branch 'branch-A-CodingStandard'
Feb 3, 2022
a810397
Merge branch 'branch-Level-9'
Feb 3, 2022
bed0bc2
Merge branch 'add-gradle-support' of https://github.com/jltham/ip
Feb 3, 2022
280f45c
Added gradle
Feb 3, 2022
488e54f
Added some trivial JUnit tests
Feb 10, 2022
62d7468
Added Checkstyle that works with Gradle
Feb 10, 2022
2ee1cfa
Added basic GUI
Feb 10, 2022
8b735ab
Edited Ui to follow GUI implementations.
Feb 11, 2022
5b3d60f
Merge branch 'branch-Level-10'
Feb 11, 2022
c602277
Added assertions throughout the code base.
Feb 11, 2022
104cb21
Amended some of code of bad quality.
Feb 11, 2022
3447515
Merge pull request #1 from jltham/branch-A-Assertions
Feb 11, 2022
2029588
Merge branch 'master' of https://github.com/jltham/ip
Feb 11, 2022
360d502
Merge branch 'master' into branch-A-CodeQuality
Feb 11, 2022
42ab4fb
Merge branch 'branch-A-CodeQuality'
Feb 11, 2022
341421e
Added .yml file for CI.
Feb 11, 2022
53fa20a
Created new classes: ChangeMark to contain both Mark and Unmark.
Feb 11, 2022
8ea4e77
Edited checkstyle for ChangeMark.
Feb 11, 2022
f4fefbd
Merge pull request #3 from jltham/branch-C-Update
Feb 11, 2022
3cdf387
Added update and clone functionalities.
Feb 11, 2022
c9a5814
Merge pull request #4 from jltham/branch-C-Update
Feb 11, 2022
6a8da76
Merge branch 'branch-C-Update'
Feb 11, 2022
b7e9f2a
Merge branch 'master' of https://github.com/jltham/ip
Feb 11, 2022
d74ad00
Added profile pictures
Feb 15, 2022
01387e2
Added User Guide and updated some functionalities.
Feb 16, 2022
40a22c3
Added a new test for Tasks
Feb 18, 2022
4d6329d
Set theme jekyll-theme-slate
Feb 18, 2022
4db2174
Set theme jekyll-theme-minimal
Feb 18, 2022
ddf9ad5
Set theme jekyll-theme-minimal
Feb 18, 2022
0e4d9ab
Set theme jekyll-theme-tactile
Feb 18, 2022
983395e
Fix code quality feedback
Feb 18, 2022
2cf326e
Merge branch 'master' of https://github.com/jltham/ip
Feb 18, 2022
9e8dc5f
Update Duke based on comments received.
Mar 15, 2022
8925de5
Enhance functionalities with more checks.
Mar 18, 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
50 changes: 50 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Java CI

on: [push, pull_request]

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

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

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

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

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

- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: "11"
java-package: jdk+fx

- 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
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.checkstyle.configuration": "${workspaceFolder}\\config\\checkstyle\\checkstyle.xml"
}
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,4 @@ 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:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
1. After that, locate the `src/main/java/Launcher.java` file, right-click it, and choose `Run Launcher.main()` (if the code editor is showing compile errors, try restarting the IDE).
63 changes: 63 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation('org.junit.platform:junit-platform-launcher:1.5.2')
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.6.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.6.0'
}

jar {
manifest {
attributes(
'Main-Class': 'duke.Launcher'
)
}
}

javafx {
version = "11"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

test {
useJUnitPlatform()

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

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

application {
mainClassName = "duke.Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
configFile = file('./config/checkstyle/checkstyle.xml')
toolVersion = '8.29'
}

run{
standardInput = System.in
enableAssertions = true
}
Loading