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

[lordidiot] iP #527

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
28ad2b8
Add Gradle support
May 24, 2020
ed6d4d2
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
227d60c
rename bot and add skeletal conversation
lordidiot Aug 21, 2023
1be99ed
add echo and bye convo
lordidiot Aug 21, 2023
99cc515
add task adding and listing
lordidiot Aug 21, 2023
583ed28
add task marking
lordidiot Aug 21, 2023
8458930
add task types (todo, event, deadline)
lordidiot Aug 22, 2023
6d3b1f9
add e2e test
lordidiot Aug 22, 2023
280551a
implement input error handling
lordidiot Aug 22, 2023
35815a2
add delete functionality
lordidiot Aug 22, 2023
38082e9
make test script executable
lordidiot Aug 22, 2023
192811f
Add task store and load
lordidiot Sep 3, 2023
2eecb43
Ignore data files
lordidiot Sep 3, 2023
849777c
Merge branch 'branch-Level-7'
lordidiot Sep 3, 2023
91c9e30
Improve datetime handling
lordidiot Sep 3, 2023
7adf87f
Merge branch 'branch-Level-8'
lordidiot Sep 3, 2023
8278b90
Refactor and introduce parser class
lordidiot Sep 3, 2023
051cc08
Abstract UI class
lordidiot Sep 3, 2023
a2bf9bf
Abstract TaskList class
lordidiot Sep 3, 2023
dd8c4e0
Change serialization format
lordidiot Sep 3, 2023
5657715
Fix wildcard import
lordidiot Sep 3, 2023
c7e61c5
Handle invalid commands
lordidiot Sep 3, 2023
2b6a035
Merge branch 'branch-moreoop'
lordidiot Sep 3, 2023
f8291af
Merge remote-tracking branch 'origin/add-gradle-support'
lordidiot Sep 3, 2023
d587167
Package into duke package
lordidiot Sep 3, 2023
7ad3656
Fix application class
lordidiot Sep 3, 2023
9b3c60f
Add JUnit tests and fix errors surfaced
lordidiot Sep 3, 2023
b18d7e7
Add javadocs for public methods
lordidiot Sep 3, 2023
28f00d2
Add checkstyle and fix coding standard violations
lordidiot Sep 3, 2023
22c7624
Add find command
lordidiot Sep 3, 2023
be47c72
Merge branch 'branch-codingstandard'
lordidiot Sep 3, 2023
0f66c99
Merge branch 'branch-Level-9'
lordidiot Sep 3, 2023
43cb487
Fix styling errors
lordidiot Sep 3, 2023
cf58c2d
Add JavaFX and prototype GUI
lordidiot Sep 6, 2023
3072ac4
Update functionality to work with GUI
lordidiot Sep 6, 2023
6c78519
Add assertion to input handling
lordidiot Sep 10, 2023
de42751
Refactor Ui class
lordidiot Sep 10, 2023
b065e2f
Merge pull request #1 from lordidiot/branch-A-Assertions
lordidiot Sep 10, 2023
c823d78
Merge pull request #2 from lordidiot/branch-A-CodeQuality
lordidiot Sep 10, 2023
ec5fae4
Improve search flexbility
lordidiot Sep 10, 2023
2d4d9c0
Add gradle CI
lordidiot Sep 10, 2023
e5edc3a
Refactor command handling
lordidiot Sep 18, 2023
932073f
Reorganise Ui hierarchy and package structure
lordidiot Sep 18, 2023
78d322d
Improve error message
lordidiot Sep 18, 2023
c4f6f20
Fix style errors
lordidiot Sep 18, 2023
05ce7d8
Improve GUI spacing and sizing
lordidiot Sep 18, 2023
d497639
Enlarge image
lordidiot Sep 18, 2023
05fa93b
Add product image
lordidiot Sep 18, 2023
b8746eb
Update user guide
lordidiot Sep 18, 2023
6b9c0dc
Add screenshot to user guide
lordidiot Sep 18, 2023
be0d411
Fix gradle cross-platform build
lordidiot Sep 23, 2023
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
35 changes: 35 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT
/data
65 changes: 65 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'checkstyle'
id 'org.openjfx.javafxplugin' version '0.0.13'
}

repositories {
mavenCentral()
}

dependencies {
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'

// @@author lordidiot-reused
// Taken from https://github.com/nus-cs2103-AY2324S1/forum/issues/173
def platforms = ["win", "linux", "mac"]
def javafxDependency = ["javafx-graphics", "javafx-controls", "javafx-fxml"]

for (plt in platforms) {
for (dep in javafxDependency) {
runtimeOnly "org.openjfx:$dep:$javafx.version:$plt"
}
}
// @@author
}

test {
useJUnitPlatform()

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

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

application {
mainClass.set("duke.Launcher")
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
dependsOn("distZip", "distTar")
}

run {
standardInput = System.in
}

checkstyle {
toolVersion = '10.2'
}

javafx {
version = "17.0.7"
modules = [ 'javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.graphics' ]
}
Loading