aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bump version0.6Grant Ammons2017-05-253-3/+3
|
* Merge pull request #62 from gammons/unified-editGrant Ammons2017-05-254-8/+103
|\ | | | | Unified edit
| * 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-093-54/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
| * add command line interface for edit-subjectMichael Strüder2017-05-091-1/+3
| |
| * 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
|/
* Merge pull request #57 from mikezter/golang-alpineGrant Ammons2017-05-031-14/+5
|\ | | | | Golang alpine
| * remove maintainer and last-modified lines from DockerfileMichael Strüder2017-05-031-2/+0
| | | | | | | | | | | | All contributers to this Dockerfile will be attributed through git. Since it is a simple Dockerfile, a dedicated maintainer is not necessary. Last-Modified timestamp is also availlable through git.
| * symlink todo-list file to $HOMEMichael Strüder2017-04-291-0/+2
| |
| * base Dockerfile on official golang:alpine imageMichael Strüder2017-04-291-13/+4
| | | | | | | | This frees us from having to deal with build issues like #56.
* | Move docker setup to the wikiGrant Ammons2017-05-031-24/+1
|/
* Merge pull request #55 from initrd/masterGrant Ammons2017-04-203-1/+21
|\ | | | | Add support for showing tasks due the previous week.
| * Add support for showing tasks due the previous week.Ashish Vijayaram2017-04-173-1/+21
|/ | | | This is useful for those who need a report of entries from last week.
* Merge pull request #53 from ingorichter/ingo/completion-dateGrant Ammons2017-04-125-12/+34
|\ | | | | Add `CompletedDate` to todo item
| * 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-293-3/+3
|
* Fix issue with web viewGrant Ammons2017-03-291-0/+1
|
* Merge pull request #49 from gammons/show-id-on-createGrant Ammons2017-03-271-1/+2
|\ | | | | Show the id after creating a todo
| * Show the id after creating a todoGrant Ammons2017-03-271-1/+2
|/
* Merge pull request #47 from rdumont/feature/project-hyphenGrant Ammons2017-03-262-4/+7
|\ | | | | Adds support to projects with hyphen
| * Adds support to projects with hyphenRodrigo Dumont2017-03-252-4/+7
|/
* Version bumpGrant Ammons2017-03-143-3/+3
|
* Merge pull request #42 from NonerKao/master0.5.2Grant Ammons2017-03-141-1/+23
|\ | | | | Global repo as the back-up plan
| * 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-073-3/+3
|
* Merge pull request #41 from gammons/revert-32-masterGrant Ammons2017-03-071-20/+5
|\ | | | | Revert "Global repo file as the default"
| * Revert "Global repo file as the default"Grant Ammons2017-03-071-20/+5
|/
* Bump version0.5Grant Ammons2017-03-073-3/+3
|
* 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 pull request #37 from gammons/garbage-collectGrant Ammons2017-03-075-3/+97
|\ \ | |/ |/| Add garbage collection feature
| * Merge branch 'master' into garbage-collectGrant Ammons2017-03-0718-463/+206
| |\ | |/ |/|
* | Merge pull request #35 from DmitriyMV/fix/timeGrant Ammons2017-03-079-430/+49
|\ \ | | | | | | Remove github.com/jinzhu/now.
| * | This commit removes all usages of github.com/jinzhu/now.DmitriyMV2017-03-049-430/+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.