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

[John Benedict] iP #14

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
1a08237
Level 1. Greet, Echo, Exit
johnbenedictyan Aug 16, 2022
4684662
Level 2. Add, List
johnbenedictyan Aug 16, 2022
0c3b836
Level 3. Mark as Done
johnbenedictyan Aug 16, 2022
563d353
Level 4. ToDos, Events, Deadlines
johnbenedictyan Aug 16, 2022
75ffbe7
Test using the I/O redirection technique
johnbenedictyan Aug 16, 2022
42c6669
Level 5. Handle Errors
johnbenedictyan Aug 16, 2022
f1efa27
A-Exceptions
johnbenedictyan Aug 16, 2022
2e0dfc5
Level 6. Delete
johnbenedictyan Aug 16, 2022
3eaaa9e
A-Enums
johnbenedictyan Aug 16, 2022
3ea20b7
Refactor greeting functions
johnbenedictyan Aug 16, 2022
ee86507
Refactor task control flow with new task controller class
johnbenedictyan Aug 16, 2022
075ed42
Refactor code
johnbenedictyan Aug 16, 2022
7bc87fc
Refactor code
johnbenedictyan Aug 16, 2022
a1b132a
Add javadoc
johnbenedictyan Aug 16, 2022
ade32cb
Refactor folder structure
johnbenedictyan Aug 16, 2022
aada865
Level 7. Save
johnbenedictyan Aug 22, 2022
812c48f
Level 8. Dates and Times
johnbenedictyan Aug 23, 2022
63cb852
Merge remote-tracking branch 'upstream/add-gradle-support'
johnbenedictyan Aug 24, 2022
df388ea
A-Gradle
johnbenedictyan Aug 24, 2022
351bea5
A-Packages
johnbenedictyan Aug 24, 2022
961e2a2
A-MoreOOP
johnbenedictyan Aug 25, 2022
26a9e28
A-JUnit
johnbenedictyan Aug 27, 2022
df12bfd
A-JUnit
johnbenedictyan Aug 27, 2022
9c47fc4
A-JavaDoc
johnbenedictyan Aug 27, 2022
2ae11e1
A-CodingStandard
johnbenedictyan Aug 27, 2022
e8c70a9
Level 9. Find
johnbenedictyan Aug 27, 2022
0d47ec9
Merge branch-A-CodingStandard into master.
johnbenedictyan Aug 27, 2022
b9cef36
Merge branch-Level-9 into master.
johnbenedictyan Aug 27, 2022
50fe134
A-CheckStyle
johnbenedictyan Aug 30, 2022
5669425
Level 10. GUI
johnbenedictyan Aug 30, 2022
f3545a1
A-Varargs
johnbenedictyan Sep 1, 2022
87ae671
A-Assertions
johnbenedictyan Sep 5, 2022
cd9e60a
A-CodeQuality
johnbenedictyan Sep 9, 2022
5ff07e0
A-Streams
johnbenedictyan Sep 9, 2022
9e33d5a
Merge pull request #3 from johnbenedictyan/branch-A-CodeQuality
johnbenedictyan Sep 9, 2022
94b7687
Merge pull request #2 from johnbenedictyan/branch-A-Streams
johnbenedictyan Sep 9, 2022
3ba60a1
Deconflict merge
johnbenedictyan Sep 9, 2022
a74a0ee
Merge pull request #1 from johnbenedictyan/branch-A-Assertions
johnbenedictyan Sep 9, 2022
82a8dc5
Add github workflow
johnbenedictyan Sep 9, 2022
be0b419
Generate Javadocs
johnbenedictyan Sep 9, 2022
92ed8d1
C-Sort
johnbenedictyan Sep 9, 2022
f261e0a
Add ability to display help task
johnbenedictyan Sep 10, 2022
c9e1a52
Implement Better UI
johnbenedictyan Sep 12, 2022
8688724
Style Javadocs
johnbenedictyan Sep 12, 2022
5d4febf
Implement Duke Personality
johnbenedictyan Sep 12, 2022
c95f555
Improve testing and parser
johnbenedictyan Sep 13, 2022
ece159b
Update github pages configuration
johnbenedictyan Sep 13, 2022
34e6186
Fix test indentation
johnbenedictyan Sep 13, 2022
a047a99
Remove ui picture
johnbenedictyan Sep 13, 2022
494bc6c
Upload ui picture
johnbenedictyan Sep 13, 2022
0f84726
Rename ui picture
johnbenedictyan Sep 13, 2022
e1008ef
Rename ui picture
johnbenedictyan Sep 13, 2022
1d885de
Update github page config file
johnbenedictyan Sep 13, 2022
768719b
Add a User Guide
johnbenedictyan Sep 14, 2022
29647bd
Fix gradle for release
johnbenedictyan Sep 14, 2022
cbccb22
Fix storage file creation and access
johnbenedictyan 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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
text-ui-test/src/**

.prettierrc.yaml

.vscode/

eclipse-formatter.xml
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
61 changes: 61 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'checkstyle'
}

repositories {
mavenCentral()
}

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

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'
}

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
}

checkstyle {
toolVersion = '10.2'
}

run{
standardInput = System.in
}
Loading