aboutsummaryrefslogtreecommitdiffstats
path: root/todolist
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Global repo as the back-up planQuey-Liang Kao2017-03-081-1/+23
| | | | | | | This patch implements the logic discussed at #31, in which the program still tries to find a repo file in the working directory first, and it tries the global one in the home directory if no one is found.
* Bump version0.5.1Grant Ammons2017-03-071-1/+1
|
* Revert "Global repo file as the default"Grant Ammons2017-03-071-20/+5
|
* Bump version0.5Grant Ammons2017-03-071-1/+1
|
* Merge pull request #40 from gammons/spacing-bugGrant Ammons2017-03-071-1/+1
|\ | | | | Fix spacing bug when adding todos
| * Fix spacing bug when adding todosGrant Ammons2017-03-071-1/+1
| | | | | | | | All new todos would have a space in them. This fixes that.
* | Merge branch 'master' into garbage-collectGrant Ammons2017-03-0713-71/+193
|\|
| * Merge pull request #35 from DmitriyMV/fix/timeGrant Ammons2017-03-075-38/+49
| |\ | | | | | | Remove github.com/jinzhu/now.
| | * This commit removes all usages of github.com/jinzhu/now.DmitriyMV2017-03-045-38/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | github.com/jinzhu/now has numerous errors handling date and time. The example's of them are: 1. Incorrect handling of DST (https://github.com/jinzhu/now/issues/13). 2. 24 Hour long days (https://stackoverflow.com/questions/25254443/return-local-beginning-of-day-time-object-in-go) Chicago has 23, 24, or 25 hours in a day. 3. Incorrect usage of time.Truncate which can return time with a non-zero minute, depending on the time's Location. (https://github.com/golang/go/issues/16647). There are other issues as well, including getting incorrect beginning and end of the month.
| * | Merge pull request #39 from gammons/agenda-bugfixGrant Ammons2017-03-061-1/+4
| |\ \ | | | | | | | | Fix agenda bug
| | * | Fix agenda bugGrant Ammons2017-03-061-1/+4
| | |/ | | | | | | | | | Previously, running `todo agenda` was also listing todos with no due date. Now, it won't do that.
| * | Merge pull request #38 from gammons/prioritize-featureGrant Ammons2017-03-067-28/+121
| |\ \ | | | | | | | | Add priority feature
| | * | Add priority featureGrant Ammons2017-03-037-28/+121
| | |/ | | | | | | | | | | | | | | | | | | Now, todos have a priority flag. When listed, these todos will be bolded and italic. You can list todos by priority by running `todolist l p`.
| * | Refine previous commitQuey-Liang Kao2017-02-192-6/+4
| | |
| * | Global repo file as the defaultQuey-Liang Kao2017-02-042-5/+22
| |/ | | | | | | | | | | | | | | | | | | | | This patch implments the new workflow mentioned in #31, in which the program still tries to find a repo file in the working directory first, and it tries the global one in the home directory if no one is found. In this patch, the condition check of the existence of the repo file is done in `todolist/file_store.go` at the very early step before the input routing.
* | Fix a linter warningGrant Ammons2017-03-031-2/+2
| |
* | Add garbage collection featureGrant Ammons2017-03-033-2/+90
|/ | | | | * Add `todo gc`, which will delete all archived todos. * `NextId` will now take the first available id, rather than just the MaxId + 1.
* Merge pull request #29 from medicalwei/patch-1Grant Ammons2017-02-011-1/+1
|\ | | | | Correct message on "todo ac"
| * more explicit message on "todo ac"Yao Wei2017-01-271-1/+1
| |
| * All archived todos completed -> All completed todos archived.Yao Wei2017-01-261-1/+1
| |
* | Support UTF-8 strings as contexts and projectsQuey-Liang Kao2017-01-263-10/+16
| |
* | Fix a bug and add some testsQuey-Liang Kao2017-01-212-1/+14
| |
* | New Feature: Expanding existing todosQuey-Liang Kao2017-01-212-0/+39
|/