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

[Natalie Tan] Duke Increments #344

Open
wants to merge 96 commits into
base: master
Choose a base branch
from

Commits on Aug 6, 2019

  1. Configuration menu
    Copy the full SHA
    65f72a8 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2019

  1. Add sample checkstyle configuration

    Add toolVersion block in to Gradle code sample to prevent errors.
    j-lum committed Aug 12, 2019
    Configuration menu
    Copy the full SHA
    0112efe View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. Configuration menu
    Copy the full SHA
    cfd6da7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nus-cs2103-AY1920S1#12 from j-lum/gradle+x

    Change file mode on `gradle` to be executable (#9)
    j-lum committed Aug 18, 2019
    Configuration menu
    Copy the full SHA
    6e6ace1 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2019

  1. Add configuration for console applications

    Gradle defaults to an empty stdin which results in runtime exceptions
    when attempting to read from `System.in`. Let's add some sensible
    defaults for students who may still need to work with the standard
    input stream.
    j-lum committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    a3ca5a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. Merge pull request nus-cs2103-AY1920S1#13 from j-lum/javaexec

    Add configuration for console applications
    j-lum committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    7b60e81 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. complete Level-1

    nattanyz committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    2327b2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    791010a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    070f7e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d497040 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17493be View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    f84bf53 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2019

  1. Configuration menu
    Copy the full SHA
    6bb6adf View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2019

  1. Configuration menu
    Copy the full SHA
    6a07612 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'gradle'

    nattanyz committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    b1e9465 View commit details
    Browse the repository at this point in the history
  3. merge branch 'gradle'

    nattanyz committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    7e6ed3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    070a1e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2019

  1. create Command, Parser, Storage, Ui classes and remove DukeBot class …

    …to implement A-MoreOOP
    nattanyz committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    148f51b View commit details
    Browse the repository at this point in the history
  2. create and update classes for each type of Command with working imple…

    …mentation(s) of execute() from previous version. currently unable to run: encountered "could not find or load main class Duke" error :(
    nattanyz committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    54e6458 View commit details
    Browse the repository at this point in the history
  3. something's wrong :(

    nattanyz committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    8eafe91 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2019

  1. remove no-longer-used processInput method in TaskList class, implemen…

    …t Level-9 (find), fix String comparison bug
    nattanyz committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    06492d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d89a23a View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. Configuration menu
    Copy the full SHA
    94dcf1c View commit details
    Browse the repository at this point in the history
  2. remove unnecessary iterators and replace unnecessary references to "t…

    …his.tasks" with "tasks" in TaskList.java
    nattanyz committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    13c1f9b View commit details
    Browse the repository at this point in the history
  3. add newTask method to separate creating and adding of tasks, remove a…

    …ddToList method and replace with calls to newTask() and add()
    nattanyz committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    72d92b2 View commit details
    Browse the repository at this point in the history
  4. partially implement load() and save() methods in Storage class using …

    …Gson, remove redundant saveToDisk() and readFromFile() methods from TaskList class
    nattanyz committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    de6b351 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. resolve main class not found issue, change command classes to use ui.…

    …showError instead of System.out.println
    nattanyz committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    0d7e28e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82c5a39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0ae06d View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2019

  1. implement execute() in abstract class AddTaskCommand, implement creat…

    …eTask() for each task type, move TaskType enum to Task class, use createTask() in execute(), remove now-unused newTask() method
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    7043555 View commit details
    Browse the repository at this point in the history
  2. create DukeException class and ExceptionType enum to handle different…

    … types of exceptions and their error messages, change ui.showError() to use exceptions
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    ce6a15d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    901c014 View commit details
    Browse the repository at this point in the history
  4. implement proper exception handling, abstract commonalities of AddTod…

    …oCommand, AddEventCommand and AddDeadlineCommand to AddTaskCommand class
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    51e41e5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #6 from nattanyz/branch-Level-8

    Branch level 8
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    404874b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0dca0c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7cffc25 View commit details
    Browse the repository at this point in the history
  8. move exception-related classes to util.exception, add UiMessage enum …

    …to store ui messages, correct Parser to use fullCommand for events and deadlines
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    3413d6b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3988b1d View commit details
    Browse the repository at this point in the history
  10. remove Storage param from execute() method, remove Gson from build.gr…

    …adle, remove unused attributes in Ui class, add some Javadoc
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    66a1ab5 View commit details
    Browse the repository at this point in the history
  11. add TaskType enum to use in Task and related classes, remove redundan…

    …t getDescription() method in Task class, add taskList param to getId() method, change deleteTask() method to use taskId as param
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    f3fbba2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    003af61 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dd6a241 View commit details
    Browse the repository at this point in the history
  14. add ModifyTaskCommand class to simplify implementations of Done, Snoo…

    …ze, Tag and Delete commands. implement C-Tagging
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    b308c14 View commit details
    Browse the repository at this point in the history
  15. implement C-Priority

    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    98d1395 View commit details
    Browse the repository at this point in the history
  16. refactor: rename Deadline, Todo and Event to DeadlineTask, TodoTask a…

    …nd EventTask to better reflect inheritance
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    3034767 View commit details
    Browse the repository at this point in the history
  17. move parseDate() to DateTime class, change implementations of Deadlin…

    …eTask and EventTask to use String as param and parse date within constructor
    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    94dd6d4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b744f1d View commit details
    Browse the repository at this point in the history
  19. new jar file for v0.2

    nattanyz committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    8b3d7c6 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a89e491 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Configuration menu
    Copy the full SHA
    8d0aa67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6e12d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ecafbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4fd3fc View commit details
    Browse the repository at this point in the history
  5. rectify MainWindow fit

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    6bfa580 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c84fec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d9b9f4d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eaaf797 View commit details
    Browse the repository at this point in the history
  9. replace Ui class with Ui interface and Cli and Gui implementations, a…

    …ttempt to do the same for Duke
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    97eaa87 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    be0d50f View commit details
    Browse the repository at this point in the history
  11. create CliDuke and GuiDuke classes to implement Duke interface, set d…

    …efault invocation of Duke from CLI to use CliDuke and GUI to use GuiDuke
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    d5daa2d View commit details
    Browse the repository at this point in the history
  12. refactor: rename DialogBox to MessageBox.add ColourScheme enum to tak…

    …e care of customisable colour schemes. configure getUserDialog and getDukeDialog to use background and text colour
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    64b49d2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2b12109 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4ed6113 View commit details
    Browse the repository at this point in the history
  15. partially implement GUI using messageBoxQueue. changed font family an…

    …d size. add DropShadow to MessageBox.
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    6608006 View commit details
    Browse the repository at this point in the history
  16. use ui.showMessage() in Storage class, add try/catch blocks to debug,…

    … manage to get partially working GUI (yay!)
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    95db334 View commit details
    Browse the repository at this point in the history
  17. add Storage param back to execute() method in all Commands, add stora…

    …ge.save() when ExitCommand() is issued
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    da470b7 View commit details
    Browse the repository at this point in the history
  18. add DukeMessageBox, ExceptionMessageBox, TaskMessageBox and UserMessa…

    …geBox to represent different types of message boxes. change Gui class to use these subclasses.
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    427b3d6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ed3a65a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8505aa5 View commit details
    Browse the repository at this point in the history
  21. Merge pull request #7 from nattanyz/branch-Level-10

    Branch-Level-10
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    68257c5 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    aff5481 View commit details
    Browse the repository at this point in the history
  23. remove redundant print statements in Task class, change filePath for …

    …GuiDuke, build Jar file
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    95fc0ad View commit details
    Browse the repository at this point in the history
  24. Merge pull request #8 from nattanyz/branch-Level-10

    Branch level 10
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    506bd56 View commit details
    Browse the repository at this point in the history
  25. Merge branch 'master' of https://github.com/nattanyz/duke

    * 'master' of https://github.com/nattanyz/duke: (22 commits)
      remove redundant print statements in Task class, change filePath for GuiDuke, build Jar file
      remove System.out.println statements. add SaveCommand
      add showUserInput() method to Gui class
      add DukeMessageBox, ExceptionMessageBox, TaskMessageBox and UserMessageBox to represent different types of message boxes. change Gui class to use these subclasses.
      add Storage param back to execute() method in all Commands, add storage.save() when ExitCommand() is issued
      use ui.showMessage() in Storage class, add try/catch blocks to debug, manage to get partially working GUI (yay!)
      partially implement GUI using messageBoxQueue. changed font family and size. add DropShadow to MessageBox.
      complete refactoring from previous commit, add GREY colour scheme
      fix VBox width issue, complete refactoring of dialogBox to messageBox
      refactor: rename DialogBox to MessageBox.add ColourScheme enum to take care of customisable colour schemes. configure getUserDialog and getDukeDialog to use background and text colour
      create CliDuke and GuiDuke classes to implement Duke interface, set default invocation of Duke from CLI to use CliDuke and GUI to use GuiDuke
      continue refactoring in earlier commit
      replace Ui class with Ui interface and Cli and Gui implementations, attempt to do the same for Duke
      refactor: organise methods in Duke class
      fix scrolling and resizing behaviour of MainWindow, add some JavaDoc
      refactor: move GUI-related classes to duke.gui, add title and application icon
      rectify MainWindow fit
      wrap TextField and Button in HBox
      change images to png (but still cannot get them to appear)
      manage to compile and run, opens GUI window
      ...
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    ae70f07 View commit details
    Browse the repository at this point in the history
  26. begin writing readme

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    a988fae View commit details
    Browse the repository at this point in the history
  27. remove external readme file

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    a9e589d View commit details
    Browse the repository at this point in the history
  28. resize images in readme

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    5720d80 View commit details
    Browse the repository at this point in the history
  29. edits to readme

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    52bf5a7 View commit details
    Browse the repository at this point in the history
  30. complete readme

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    9725820 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    cd2608c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    434af83 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    77f0894 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    e6bd017 View commit details
    Browse the repository at this point in the history
  35. add ui.png to docs

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    39f4004 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6a0dbab View commit details
    Browse the repository at this point in the history
  37. add HelpCommand

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    5d1b9ae View commit details
    Browse the repository at this point in the history
  38. add TaskTest

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    f44e942 View commit details
    Browse the repository at this point in the history
  39. add UiMessageTest

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    cad088e View commit details
    Browse the repository at this point in the history
  40. Merge pull request #9 from nattanyz/branch-Tests-and-Assertions

    Branch tests and assertions
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    e960263 View commit details
    Browse the repository at this point in the history
  41. Merge branch 'master' of https://github.com/nattanyz/duke into branch…

    …-Tests-and-Assertions
    
    * 'master' of https://github.com/nattanyz/duke:
      Set theme jekyll-theme-cayman
    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    a1c9980 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    d57ad03 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    9f14515 View commit details
    Browse the repository at this point in the history
  44. fix text wrap, new v1.3 jar

    nattanyz committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    711cb9b View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    7ea9ef2 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Configuration menu
    Copy the full SHA
    538e85a View commit details
    Browse the repository at this point in the history
  2. add renamed ui.png file

    nattanyz committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    8f03955 View commit details
    Browse the repository at this point in the history