aboutsummaryrefslogtreecommitdiffstats
path: root/todolist
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* 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-183-4/+4
| |\
| * \ 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
| | | |
* | | | 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 #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
| | |
* | | Run gofmt on formatter and parserHuu Nguyen2017-01-162-3/+3
|/ /
* / Fix tests by removing hard-coded yearGrant Ammons2017-01-161-4/+8
|/
* Fixed build failedBunchhieng2016-09-154-14/+26
|
* Refactored codeBunchhieng2016-09-152-4/+11
|
* bugfix - use 'tod' as shorthand for todayGrant Ammons2016-09-082-1/+9
|
* Bump version0.3.1Grant Ammons2016-09-071-1/+1
|
* Allow 404s to redirect to index fileGrant Ammons2016-08-271-27/+46
|
* Add the css file0.2.0Grant Ammons2016-07-031-7/+2
|
* Add webappGrant Ammons2016-06-201-2/+35
|
* Add the webappGrant Ammons2016-06-121-0/+66
|
* Promote save/load to be publicGrant Ammons2016-06-121-21/+22
|
* Refactor todolist stuff out of the file store implementationGrant Ammons2016-06-128-216/+238
|
* Promote FindSunday so we can use it in tests, fix testsvsnapshotGrant Ammons2016-05-172-6/+10
|
* Remove large amounts of whitespace at beginning, to save spaceGrant Ammons2016-05-171-2/+2
|
* Use the user's current timezone when parsing datesGrant Ammons2016-05-152-11/+12
| | | | | This should remove ambiguity when comparing dates that are close or equal to each other, e.g. Sundays.
* Ensure agenda works with other inputGrant Ammons2016-05-121-4/+3
|
* Make agenda its own commandGrant Ammons2016-05-122-3/+6
|