aboutsummaryrefslogtreecommitdiffstats
path: root/todolist
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in ParseNewTodo()Quey-Liang Kao2017-08-201-1/+1
| | | | | The new pattern now does not allow empty todos to be added as "a" or "add" strings.
* 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.
* fix build error with older go versionIngo Richter2017-04-082-1/+7
|
* Add `CompletedDate` to todo item.Ingo Richter2017-04-085-13/+29
| | | | | | | | | | | `CompletedDate` will save a timestamp in ISO8601 format (Internet date/ time format to preserve timezone information) Added a new `Complete` and `Uncomplete` method for todo_item. Currently a todo has a boolean flag and the timestamp to indicate that the item is completed. The boolean flag could be kept for backward compatibility (reading the json into memory), but should be omitted for files being written.
* Bump version0.5.3Grant Ammons2017-03-291-1/+1
|
* Fix issue with web viewGrant Ammons2017-03-291-0/+1
|
* Show the id after creating a todoGrant Ammons2017-03-271-1/+2
|
* Adds support to projects with hyphenRodrigo Dumont2017-03-252-4/+7
|
* Version bumpGrant Ammons2017-03-141-1/+1
|