aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | 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-068-28/+134
|\ \ \ | | | | | | | | Add priority feature
| * | | Add priority featureGrant Ammons2017-03-038-28/+134
| |/ / | | | | | | | | | | | | | | | | | | 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`.
* | | Merge pull request #32 from NonerKao/masterQuey-Liang Kao2017-03-051-5/+20
|\ \ \ | |/ / |/| | Global repo file as the default
| * | Refine the commitsQuey-Liang Kao2017-02-201-4/+0
| | |
| * | Refine previous commitQuey-Liang Kao2017-02-192-6/+4
| | |
| * | Global repo file as the defaultQuey-Liang Kao2017-02-043-5/+26
|/ / | | | | | | | | | | | | | | | | | | | | 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-034-2/+96
|/ | | | | * 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
| |
* | Merge pull request #30 from NonerKao/masterQuey-Liang Kao2017-01-263-10/+16
|\ \ | | | | | | Support UTF-8 strings as contexts and projects
| * | Support UTF-8 strings as contexts and projectsQuey-Liang Kao2017-01-263-10/+16
|/ /
* | Merge pull request #27 from gammons/issue/proposal-expandQuey-Liang Kao2017-01-264-0/+58
|\ \ | |/ |/| New Feature: Expanding existing todos
| * Fix a bug and add some testsQuey-Liang Kao2017-01-212-1/+14
| |
| * New Feature: Expanding existing todosQuey-Liang Kao2017-01-213-0/+45
| |
* | Merge pull request #25 from gammons/pr/dockerize-todolistQuey-Liang Kao2017-01-202-0/+46
|\ \ | |/ |/| Dockerize this project
| * Dockerize this projectQuey-Liang Kao2017-01-212-0/+46
|/
* Merge pull request #23 from NonerKao/pr/fix-getidQuey-Liang Kao2017-01-201-48/+46
|\ | | | | Reduce the duplication during ID checking
| * Refine error handlingQuey-Liang Kao2017-01-211-25/+31
| |
| * Merge github.com:gammons/todolistQuey-Liang Kao2017-01-184-5/+5
| |\
| * \ Merge branch 'dev' of github.com:NonerKao/todolistQuey-Liang Kao2017-01-171-23/+15
| |\ \
| | * | Implement the ID checking in getID()Quey-Liang Kao2017-01-161-23/+15
| | | |
* | | | Merge pull request #22 from NonerKao/issue/output-no-panicQuey-Liang Kao2017-01-202-2/+9
|\ \ \ \ | |_|_|/ |/| | | Makes all output messages consistent
| * | | Add more helpful messagesQuey-Liang Kao2017-01-211-7/+4
| | | |
| * | | Makes all output messages consistentQuey-Liang Kao2017-01-192-4/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the panic() function provides overwhelming messages available for developers but meaningless to users, the way to deal with error output is simplified. There are two panic()'s that are fixed: * The one in parseArbitraryDateWithYear() function. This function is the possible endpoint of adding a todo or editing dues. Instead of calling panic(), now it outputs the specific parsing error, and then terminate itself by os.Exit(). * The one in formatDue() function This function is responsible for parsing the due information of a given todo. If the todos being added previously have passed the checking, then there is no reason that a due fails the format check here, except for the corruption of the todo file.
* | | Merge pull request #21 from whoshuu/issue/fix-delete-parseGrant Ammons2017-01-181-1/+1
|\ \ \ | | | | | | | | Fix delete subcommand to match website
| * | | Fix delete subcommand to match websiteHuu Nguyen2017-01-171-1/+1
| | | |
* | | | Merge pull request #18 from NonerKao/masterGrant Ammons2017-01-182-2/+10
|\ \ \ \ | |/ / / |/| | | Bugfix: "todo a" no longer adds an empty todo
| * | | Provide a more helpful messageQuey-Liang Kao2017-01-171-1/+1
| |/ /
| * | Merge github.com:NonerKao/todolistQuey-Liang Kao2017-01-172-2/+10
| |\|
| | * Bugfix: "todo a" no longer adds an empty todoQuey-Liang Kao2017-01-162-2/+10
| | |
* | | Merge pull request #15 from whoshuu/masterGrant Ammons2017-01-162-3/+3
|\ \ \ | |/ / |/| | Run gofmt on formatter and parser
| * | Run gofmt on formatter and parserHuu Nguyen2017-01-162-3/+3
|/ /
* | Merge pull request #17 from whoshuu/issue/link-travis-badgeGrant Ammons2017-01-161-1/+1
|\ \ | | | | | | Use canonical form of travis build badge
| * | Use canonical form of travis build badgeHuu Nguyen2017-01-141-1/+1
| |/