Commit graph

9127 commits

Author SHA1 Message Date
Martin Michlmayr
174507e7ad Fix typos 2020-11-17 10:41:13 -05:00
javabird25
81183ae7d1 Fix SIGSEGV when substituting sequence with shorter one 2020-11-17 10:40:38 -05:00
Yoichi Hirai
ab443a8ecf Fix one test about backslash
The test was failing because it expected "Created task 1"
but it saw "Created task 0a436fd8-7f06-4168-a66d-bbc940498af9".

Instead, the new code looks at the description of task 1.
2020-11-17 10:39:37 -05:00
Tomas Babej
6727d08da0
Context: Do not set new-uuid by default
This reverts part of f6b2a6541c, which
(likely accidentally) re-introduced the new-uuid verbosity setting as a
default.
2020-09-18 21:33:54 -04:00
Tomas Babej
b1c95ec1d2
docs: Document changes to new-uuid behaviour
The behaviour of new-uuid was altered in
4e80d5d5fd but not documented.
2020-09-18 21:26:37 -04:00
Tomas Babej
6bfb275dcc
CmdAdd: Make sure a UUID is printed if ID does not exist
This fixes a regression was introduced in
4e80d5d5fd.

Currently, if a user (with default configuration) adds a completed or
deleted task, they do not get a confirmation message ("Created task
..."). This is due to the fact that:
a) new-uuid is not set by default
b) new-id is set by default, but only prints message if the added task
   is in pending or waiting state

Make sure to print a message containing UUID reference if the newly
added task is in completed or deleted state.
2020-09-18 21:10:59 -04:00
Matthew Martin
4b67f10cb1 Install zsh completer to site-functions 2020-03-12 10:43:34 -04:00
Jochen Sprickerhof
48dff115c2 hook onModify into task undo (Closes: #2213) 2020-03-12 10:42:52 -04:00
Marc Cornellà
dcdf7127e0 Correctly parse projects with spaces in zsh completion
This is the same as how the `_task_zshids` array is created.
See https://github.com/robbyrussell/oh-my-zsh/issues/8249
2020-03-12 10:39:24 -04:00
timbuntu
938e9130d6 Fixed report colors in calendar 2020-03-12 10:38:03 -04:00
Vladimir Rusinov
abddb1ea8e Fix add.t Test1549 test failure.
The test was failing on my machine on fresh checkout. It failed because
somehow both new-id and new-uuid verbosity were set during the test, so
TW defaulted to printing out uuid, which did not match the assertion.

Test fixed by explicitly setting verbosity to new-id.
2020-03-12 10:37:14 -04:00
Anthony VB
cad8bec8b6 Fix a typo. 2019-07-20 14:24:16 -04:00
Anthony VB
352161d3a8 Proofreading to give default values.
Per the beginning of the man page, the summary line should give the default value. This isn't the case in a few places, so I changed them. (No guarantees I found them all.)
2019-07-20 14:24:16 -04:00
Paul Beckingham
3bdc28fdb3 Added Anthony VB to AUTHORS 2019-07-20 14:21:18 -04:00
Anthony VB
0ec12860c1 Reorganise calendar section. 2019-07-20 14:18:54 -04:00
Paul Beckingham
4bbde50d9f Docs: Added Florian 2019-04-28 14:57:48 -04:00
Florian Heiderich
3ec8ace7d1 fix typo ("tests" -> "test") 2019-04-28 14:40:42 -04:00
Chad Phillips
8ebf79e1df fix stale reference to empty priority color config
color.pri.none is now color.uda.priority.none
2019-04-28 14:19:54 -04:00
Paul Beckingham
d01000e255 Updated AUTHOR and Changelog 2019-04-14 19:40:55 -04:00
Paul Beckingham
66f013ac13 - Thanks to Chad Phillips 2019-04-14 19:38:01 -04:00
Chad Phillips
cd62e65a13 JSON encode/decode string UDAs
Previously, multiline string UDAs were not preserved when editing
a task via 'task X edit'. String UDAs are now JSON encoded/decoded
during the edit cycle to allow preservation of multiline
2019-04-14 19:34:57 -04:00
Lionel Miller
e961181b64 Workaround for alias grep=rg in fish 2019-03-03 08:55:28 -05:00
Janik Rabe
cb7f603b89 Fix rc.verbose default value in taskrc(5) 2019-03-02 19:52:49 -05:00
mrossinek
5aaee7678f Add unit test 2019-03-02 19:44:18 -05:00
mrossinek
6fbd400e77 Fix #1999 2019-03-02 19:44:18 -05:00
mrossinek
16d967ad01 Add missing newline 2019-03-02 19:43:13 -05:00
mrossinek
254e737e00 Fix #2002 2019-03-02 19:43:13 -05:00
Janik Rabe
f6b2a6541c Fix rc.verbose documentation in taskrc(5) 2019-02-14 08:02:58 -05:00
Paul Beckingham
e97146a463 Added taiyu-len 2019-02-07 08:42:44 -05:00
taiyu
7c7400b367 Update man pages to reflect changes 2019-02-07 08:41:25 -05:00
taiyu
5150eb4b0f update tests for changes 2019-02-07 08:41:25 -05:00
taiyu
fd441bdd62 increase cli priority, respect override verbosity. 2019-02-07 08:41:25 -05:00
taiyu
d2b1662a39 Simplify CLI2::get* methods. allow rc=... 2019-02-07 08:41:25 -05:00
taiyu
8514071f19 applyOverrides: add messages after overrides 2019-02-07 08:41:25 -05:00
Paul Beckingham
306c628c34 Updated Changelog 2019-02-07 08:36:07 -05:00
Janik Rabe
a8acff9f7f CmdHistory: repeat unit if a larger unit changes
In history and ghistory commands, repeat the smaller units when a larger unit
changes.  For example, if January 2019 is displayed immediately after January
2018, re-show the "January" label instead of only showing the year change.
2019-02-07 08:33:09 -05:00
Paul Beckingham
16d55ed102 Added Beka and mrossinek 2019-02-07 08:31:14 -05:00
Paul Beckingham
b6da775958 Update summary.t 2019-02-07 08:20:14 -05:00
Paul Beckingham
2e72ae5068 Update project.t 2019-02-07 08:20:14 -05:00
Paul Beckingham
8df69597f6 Update sort.cpp 2019-02-07 08:20:14 -05:00
Paul Beckingham
32d14bc085 Update sort.cpp 2019-02-07 08:20:14 -05:00
Paul Beckingham
803f4a5017 Update CmdProjects.cpp 2019-02-07 08:20:14 -05:00
mrossinek
6a8beed7f5 Extract project sorting function 2019-02-07 08:20:14 -05:00
mrossinek
7cb341ee05 Extend bug fix of #1917 to summary command 2019-02-07 08:20:14 -05:00
mrossinek
f5cd9cde05 Properly sort projects into an ordered list in project command 2019-02-07 08:20:14 -05:00
mrossinek
9c89870c71 Add unit-tests to verify fix for 1904 2019-02-07 08:20:14 -05:00
mrossinek
28974cd794 Extend bug fix of #1917 to summary command 2019-02-07 08:20:14 -05:00
mrossinek
54a57e9954 Fix bug #1917 (previously known as TW-1904) 2019-02-07 08:20:14 -05:00
Laurence
f580cc5f6f Update description of command uuids 2019-02-04 12:30:23 +01:00
mrossinek
76e355c602 Add documentation on context usage 2019-02-04 12:27:30 +01:00