Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c944187
Init repo
Aug 22, 2021
7fd6c5c
Init repo
Aug 22, 2021
80fcbc1
Finish echo
Aug 22, 2021
742f1da
Add better finals
Aug 22, 2021
2b350e7
Add Task class
Aug 22, 2021
f5980dc
Reshuffle
Aug 22, 2021
88d7208
Merge pull request #1 from metildachee/metilda/add-level-1
metildachee Aug 22, 2021
7ccc736
Some small refactor
metildachee Sep 5, 2021
2447249
Finish Level 3 - Mark as done
metildachee Sep 5, 2021
91bb245
Finish level 4 - Todos, Events and Deadlines
metildachee Sep 5, 2021
80bb792
Add ,essage class
Sep 12, 2021
e1e06d7
Add .gitignore :3
Sep 12, 2021
bbd5f6f
Add maven support
Sep 18, 2021
7c85020
Edit pom.xml file
Sep 18, 2021
a839ab3
Fix .toString() bug (finally)
Sep 18, 2021
16e5ce6
Add delete functionality
Sep 18, 2021
1687e2d
Refresh gitignore
Sep 18, 2021
c723249
Merge pull request #2 from metildachee/metilda/add-level-4
metildachee Sep 18, 2021
338e2da
Remove .class files
Sep 18, 2021
569f447
Update readme
Sep 18, 2021
5341fd0
Merge pull request #3 from metildachee/metilda/fix/remove-dot-class-f…
metildachee Sep 18, 2021
921e18e
Refactor based createTask
Oct 25, 2021
642a5ab
Add TaskFile to save
Oct 25, 2021
3bf2424
Update checkpoint
Oct 25, 2021
2dfc2d2
Add save function
Nov 3, 2021
82fea0c
Finish save feature
Nov 3, 2021
6622e5d
Merge pull request #6 from metildachee/metilda/add-save-function
metildachee Nov 3, 2021
d71918f
Add Gradle support and add create test cases
Nov 4, 2021
e3624d0
Delete logs
Nov 4, 2021
17d4675
Finalise gradle support
Nov 4, 2021
db8a450
Finish test cases
Nov 4, 2021
d3f7d03
Merge pull request #7 from metildachee/metilda/add-gradle-support
metildachee Nov 4, 2021
faf62b3
Add parser and date, time in Event
Nov 4, 2021
31cb086
Update toString() method for Event
Nov 4, 2021
7474172
Rebuild Deadline class
Nov 4, 2021
bb39e18
Finish test cases for deadline and events
Nov 4, 2021
2d00612
Merge pull request #8 from metildachee/metilda/add-date-and-time
metildachee Nov 4, 2021
fdfef0b
Finish find function
Nov 4, 2021
ec397b6
Merge pull request #9 from metildachee/metilda/add-find-function
metildachee Nov 4, 2021
d95d692
Add individual feature - view based on schedule
Nov 4, 2021
5cadc82
Merge pull request #10 from metildachee/metilda/add-individual-feature
metildachee Nov 4, 2021
2fab2a6
Rename
Nov 7, 2021
c897258
Add parser and UI
Nov 7, 2021
d31fba3
Parse input before processing
Nov 7, 2021
e208ecb
Fix index out of bound
Nov 7, 2021
6496a8a
More oop
Nov 7, 2021
70b428d
Add morning greeting
Nov 14, 2021
3eebb8d
Fix duplicate creation bug
Nov 14, 2021
63fa16f
Change all log levels
Nov 14, 2021
3256352
Fix marking as done
Nov 14, 2021
5cca19f
Remove all logs
Nov 14, 2021
58accfd
Add detection for non-relevant commands
Nov 14, 2021
df51a7b
Update gitignore
Nov 14, 2021
5f68085
Abstract remove
Nov 14, 2021
71858ef
Wrap up:
Nov 14, 2021
99e0376
Abstract Duke out
Nov 14, 2021
c65a83e
Update code
Nov 14, 2021
2e0823d
Merge pull request #11 from metildachee/metilda/add-oop
metildachee Nov 14, 2021
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
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@ src/main/resources/docs/
*.iml
bin/

/vcs.xml
/logs
/*.logs
/*.logs.*
modules.xml

/*.class
*.class

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
# 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.

## Setting up in Intellij

Prerequisites: JDK 11, update Intellij to the most recent version.

1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project first)
1. Open the project into Intellij as follows:
1. Click `Open`.
1. Select the project directory, and click `OK`.
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
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
Progress: [Trello board](https://trello.com/b/OP3BJpuz/duke_)
41 changes: 41 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0'
testCompileOnly 'junit:junit:4.12'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.1.0'
}

test {
useJUnitPlatform {
includeEngines 'junit-vintage'
}
}

application {
mainClassName = "Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run {
standardInput = System.in
enableAssertions = true
}
3 changes: 3 additions & 0 deletions docs/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
todo,borrow book,1
deadline,clean room /by 2019-12-23 21:00,1
todo,read books,1
event,hackathon /at 2021-12-25 18:00-21:00,0
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading