aboutsummaryrefslogtreecommitdiffstats
path: root/todolist
Commit message (Collapse)AuthorAgeFilesLines
* Refactor previous commitsQuey-Liang Kao2017-08-293-53/+136
| | | | | | | | | Rewrite the `ManipulateNotes` function into `HandleNotes`, which routes the note sub-commands to calls of newly-written `Parse*Note` functions. On successful parse, these functions return true, and false otherwise. Related tests are also refined.
* Redefine sub-commands: "ln" and "n"Quey-Liang Kao2017-08-204-17/+13
| | | | | | Sub-command "ln" is redefined to the function of listing all todos with their notes; "n" replaces original "ln", listing the notes of a specific todo.
* Fix out-of-date usage according to internal API changesQuey-Liang Kao2017-08-201-2/+4
| | | | | Since the getId() function has been changed, the call in ManipulateNotes() is fixed in this patch.
* Merge branch 'note' of github.com:NonerKao/todolistQuey-Liang Kao2017-08-206-1/+118
|\
| * Implement the "en" feature: Editting notesQuey-Liang Kao2017-08-142-2/+35
| |
| * Implement the "dn" feature: Deleteing notesQuey-Liang Kao2017-08-142-0/+24
| |
| * Implement the "ln" feature: Listing notes of a todoQuey-Liang Kao2017-08-143-3/+23
| |
| * Implement the "an" feature: Adding notes to todosQuey-Liang Kao2017-08-145-1/+41
| | | | | | | | | | | | This patch introduce a new attribute of a todo item, which is "Notes", of type []string. The following enhancing patches will contain the listing, removing and editing features.
* | Have a util function to pluralize todo.Stuart Skelton2017-08-123-1/+21
| |
* | Refactor getIds so the parsing can be reused.Stuart Skelton2017-08-121-14/+22
| |
* | Refactor GetID to only return an ID, and not a ID and TodoStuart Skelton2017-08-122-20/+24
| |
* | Swap a break for a continue.Stuart Skelton2017-08-121-1/+1
| |
* | Allow for ranged ids in some commandsStuart Skelton2017-08-123-58/+142
| |
* | Wrote a test to check 'l by [cp]' filters correctlyStuart Skelton2017-08-111-0/+65
| |
* | Fix a missed 't.Archive=true' to Archived()Stuart Skelton2017-08-081-1/+1
|/
* Group similar code together.Stuart Skelton2017-08-041-8/+9
|
* Empower the todo_item to set its attributes correctly itself.Stuart Skelton2017-08-042-5/+20
|
* Remove some less useful comments.Stuart Skelton2017-08-021-2/+0
|
* Do not filter out archived when asked for completedStuart Skelton2017-08-022-0/+20
|
* Added a filter for completed dateStuart Skelton2017-08-013-4/+93
|
* Make the exact date take a filterOn parameterStuart Skelton2017-08-012-10/+14
|
* Move filterTomorrow closer to filterToday.Stuart Skelton2017-07-251-5/+5
|
* Added filtering between dates, in an inclusive and exclusive mode.Stuart Skelton2017-07-201-16/+18
| | | | | Inclusive allows for the due date to be equal to the begin date, exclusive is between the dates.
* Added filterToExactDate.Stuart Skelton2017-07-201-8/+7
| | | | Filters the todolist to a certain date.
* Improve logic and add a testQuey-Liang Kao2017-07-072-4/+20
|
* Fix #65, filtering out completed todos in agenda modeQuey-Liang Kao2017-07-071-0/+3
|
* Put the return after the os.ExitGrant Ammons2017-06-121-0/+2
|
* Fix #64, parsing a todo with europe date formatGrant Ammons2017-06-127-19/+98
| | | | | * the `hasDue` function was not running, and therefore it was not parsing the due date. * Also added the beginnings of a more holistic test approach, using `app_test.go`.
* Remove return statements to silence linter warningGrant Ammons2017-06-121-2/+0
|
* Re-order functions in file_storeGrant Ammons2017-06-121-26/+27
|
* bump version0.6Grant Ammons2017-05-251-1/+1
|
* fix typoGrant Ammons2017-05-101-1/+1
|
* Remove unnecessary parensGrant Ammons2017-05-101-1/+1
|
* Formatting for testGrant Ammons2017-05-101-7/+7
|
* FormattingGrant Ammons2017-05-101-1/+1
|
* Minor optimizationGrant Ammons2017-05-091-2/+2
|
* Update the testsGrant Ammons2017-05-091-25/+54
| | | | | | * Test editing a todo with just a due date does not affect subject * Test editing a todo with just subject does not affect due date * Editing a subject should also update projects and contexts
* Trim space of the subjectGrant Ammons2017-05-091-2/+2
|
* WIP on a unified editGrant Ammons2017-05-092-50/+33
| | | | | | | | | | | | | | | | | | | | | | | This allows a unified edit functionality that supports the following: **`t e 25 due tom`** * Edits the due date * Leaves subject, projects and contexts unchanged **`t e 25 take out the trash with @bob` * Updates the subject, projects and contexts * Leaves the due date unchanged **`t e 25 take out the trash with @bob due tom` * Updates the subject, projects and contexts * Updates the due date **What's missing** * Tests that exercise this functionality
* parse Projects and Contexts when editing subjectMichael Strüder2017-05-091-1/+5
|
* do not duplicate error messages againMichael Strüder2017-05-091-1/+0
|
* error out when invalid id givenMichael Strüder2017-05-091-0/+4
|
* subcommands like delete don't take a subject, so make it optionalMichael Strüder2017-05-092-6/+22
|
* prevent duplicate error messages when updating subjectsMichael Strüder2017-05-091-1/+4
|
* test multiple whitespaceMichael Strüder2017-05-091-1/+11
|
* allow any whitespace between subcommand, id and inputMichael Strüder2017-05-091-7/+9
|
* add test for func (p Parser) Parse()Michael Strüder2017-05-091-0/+21
|
* display an error on malformed inputMichael Strüder2017-05-092-1/+17
|
* extract subcommand, id, and input string in ParserMichael Strüder2017-05-092-13/+21
|
* Add support for showing tasks due the previous week.Ashish Vijayaram2017-04-172-0/+20
| | | | This is useful for those who need a report of entries from last week.