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

[Bryan Lim Jing Xiang] iP #484

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
cbdb453
Set up skeletal version of Duke
bryanljx Aug 16, 2022
e4406e0
Revert "Set up skeletal version of Duke"
bryanljx Aug 16, 2022
295c10a
Set up skeletal version of Duke
bryanljx Aug 16, 2022
e904640
Revert "Set up skeletal version of Duke"
bryanljx Aug 16, 2022
48e4d08
Set up skeletal version of Duke
bryanljx Aug 16, 2022
b0343fe
Refactor text formatting to separate class
bryanljx Aug 16, 2022
747d7ef
Add list that stores/display text entered by user
bryanljx Aug 16, 2022
2a968a6
Add Task that can be marked/unmarked
bryanljx Aug 16, 2022
ef2e2c2
Refactor formatting of multiple lines to new function
bryanljx Aug 16, 2022
1af53d8
Tidy variables and return types in Task
bryanljx Aug 17, 2022
92f6033
Revert "Tidy variables and return types in Task"
bryanljx Aug 17, 2022
8d0ffd1
Add Task subclasses for todo, event, deadline
bryanljx Aug 17, 2022
c71124f
Update TaskList to match changes to Task
bryanljx Aug 17, 2022
4d6e203
Update duke to handle todo, event, deadline
bryanljx Aug 17, 2022
5aa7417
Fix regex to match / instead of "
bryanljx Aug 17, 2022
f06be8e
Update comments to match regex change
bryanljx Aug 17, 2022
5ce35d8
Update test script and files to automate testing
bryanljx Aug 17, 2022
0f14bf5
Add error handling
bryanljx Aug 17, 2022
41a199b
Add delete functionality to TaskList
bryanljx Aug 17, 2022
8a5ae31
Add encoding to Tasks classes and group them into task package
bryanljx Aug 25, 2022
87f307f
Refactor TextFormatter to Ui class placed in util package
bryanljx Aug 25, 2022
52cc632
Refactor and move TaskList to tasklist package
bryanljx Aug 25, 2022
1695b30
Refactor DukeException and add unknown task encoding exception
bryanljx Aug 25, 2022
ed33f84
Add storage class
bryanljx Aug 25, 2022
308e105
Add Parser class to util pkg
bryanljx Aug 25, 2022
794e7d0
Add Command abstract class
bryanljx Aug 25, 2022
2929330
Move execution logic to relevant Command subclasses
bryanljx Aug 25, 2022
9301f1f
Update Duke to match previous changes
bryanljx Aug 25, 2022
5af5b35
Add data/saveFile.txt to gitIgnore
bryanljx Aug 25, 2022
c9c36a4
Edit Duke to only parse /by or /at for Deadline and Event respectively
bryanljx Aug 25, 2022
c4e868d
Add invalid datetime format exceptions
bryanljx Aug 25, 2022
f874ae4
Add Date classes
bryanljx Aug 25, 2022
8d840af
Update tasklist and tasks to use date classes
bryanljx Aug 25, 2022
e752e41
Update Duke to match date changes
bryanljx Aug 25, 2022
be66be1
Merge branch 'branch-Level-7'
bryanljx Aug 25, 2022
2e414b7
Merge branch 'branch-Level-8'
bryanljx Aug 25, 2022
df1bf3c
Move date classes to date pkg
bryanljx Aug 25, 2022
b934421
Add encoding for Deadline/Event
bryanljx Aug 25, 2022
480e5b7
Fix regression in exception when resolving merge conflict
bryanljx Aug 25, 2022
ea5a64b
Update Parser to proper parse Deadline/Event
bryanljx Aug 25, 2022
caba951
Fix Storage not creating new save file if dir exists
bryanljx Aug 25, 2022
0d61b90
Merge branch 'add-gradle-support'
bryanljx Aug 26, 2022
b3a1a2f
Add stubs for Task class
bryanljx Aug 26, 2022
183db00
Add unit tests for TaskList
bryanljx Aug 26, 2022
090246c
Add unit tests for Task subclasses
bryanljx Aug 26, 2022
ad95c76
Update build.gradle on main class classname
bryanljx Aug 26, 2022
5c28d8e
Remove unnecessary println statement
bryanljx Aug 26, 2022
42eaf49
Remove symbol from error messages
bryanljx Aug 26, 2022
4274021
Add find functionality to TaskList
bryanljx Aug 26, 2022
5c0c0f4
Add find command
bryanljx Aug 26, 2022
2856898
Update Parse to parse find command
bryanljx Aug 26, 2022
dad6c94
Set up checkstyle with Gradle
bryanljx Aug 27, 2022
c5739ea
Fix coding style violations
bryanljx Aug 27, 2022
7e0f0c2
Add javadocs
bryanljx Aug 27, 2022
01b8d7d
Merge branch 'branch-A-JavaDoc'
bryanljx Aug 27, 2022
d3659f7
Add javadocs for FindSearchTextCommand
bryanljx Aug 27, 2022
5299d13
Merge branch 'branch-A-CodingStandard'
bryanljx Aug 27, 2022
1d817e1
Add javadocs for Find functions
bryanljx Aug 29, 2022
ec31e4c
Add import for @DisplayName annotation
bryanljx Aug 29, 2022
1f43423
Add javaFX to application
bryanljx Sep 1, 2022
6791a4f
Modify Command classes to store/return output message
bryanljx Sep 1, 2022
e960b7d
Add gui elements
bryanljx Sep 1, 2022
02ea18b
Update Duke and Ui according to gui changes
bryanljx Sep 1, 2022
c356bd8
Merge tag 'Level-10'
bryanljx Sep 7, 2022
61e5dec
Add equals method for Date Time classes
bryanljx Sep 7, 2022
726da86
Add equals method for Task classes
bryanljx Sep 7, 2022
fdce8bb
Implement check for duplicated tasks in TaskList
bryanljx Sep 7, 2022
49f846a
Update AddTaskCommand to account for duplicated tasks
bryanljx Sep 7, 2022
e920688
Rectify error in date format for INVALID_EVENT_DATETIME_FORMAT
bryanljx Sep 7, 2022
a704a9d
Add assertions after validating args where appropriate
bryanljx Sep 7, 2022
88006fa
Refactor string concatenation to use StringBuilder instead
bryanljx Sep 7, 2022
6f82246
Enable assertions in gradle file
bryanljx Sep 7, 2022
cce9961
Merge pull request #1 from bryanljx/branch-A-Assertions
bryanljx Sep 8, 2022
4baa0c3
Merge pull request #2 from bryanljx/branch-A-CodeQuality
bryanljx Sep 8, 2022
e44b2e3
Merge branch 'branch-C-DetectDuplicates'
bryanljx Sep 17, 2022
45d6b53
Add screenshot of app
bryanljx Sep 17, 2022
ce3cfa9
Update User Guide
bryanljx Sep 17, 2022
54e1d55
Update tests
bryanljx Sep 20, 2022
ff6fdad
Update build.gradle
bryanljx Sep 20, 2022
cec587b
Update user guide
bryanljx Sep 20, 2022
af1cd6e
Update gradle.build
bryanljx Sep 20, 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
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/saveFile.txt
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 'com.github.johnrengelman.shadow' version '5.1.0'
id 'org.openjfx.javafxplugin' version '0.0.10'
}

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 = '12'

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.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
enableAssertions = true
}

checkstyle {
toolVersion = '10.2'
}
Loading