Commit graph

160 commits

Author SHA1 Message Date
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Ran Benita
661ce5888f Scripts: Quoted regular expression to avoid bash glob expansion
The quote is needed, otherwise it is treated as a bash glob first, which
causes trouble if there actually happens to be matching files, and
fails entirely if `shopt -s failglob` is set.
2016-08-02 08:23:51 -04:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Tomas Babej
510d2e6377 Config: Remove redundant configuration variable shell.prompt 2015-12-26 13:26:08 -05:00
Paul Beckingham
f12df9cec9 Fish: Removed task.fish arguments until TW-1404 is fixed
- Thanks to Roman Inflianskas
2015-12-20 10:44:24 -05:00
Daniel Shahaf
5db328f95c TW-1729: zsh completion: Fix edge case with empty database 2015-11-24 07:47:40 -05:00
Daniel Shahaf
ce03d38c7d zsh completion: Remove unused variable. 2015-11-24 07:47:16 -05:00
Paul Beckingham
743baf00cf TW-311: Estimated completion in burndown.daily shows impossible results
- Thanks to Michele Santullo.
- Although TW-311 references impossible results, there are two problems.
  First there is the algorithm that determines estimateѕ completion, and
  second there is the reference to wait dates. The algorithm has been replaced
  by something better, but wait dates have nothing to do with estimation.
- The 'burndown.bias' configuration setting is removed.
- The estimated completion is based on the net completion rate since the
  high water mark of total pending tasks, measured on a daily basis, regardless
  of the type of chart produced.
- Vim syntax updated.
- Docs updated.
2015-11-07 15:35:21 -05:00
Daniel Shahaf
218f074609 Hooks: Improved comments in sample hook script 2015-08-12 23:21:16 -04:00
Paul Beckingham
3158883dc4 Cleanup: De-tabbed source 2015-07-26 14:13:29 -04:00
Daniel Shahaf
c78fc47402 zcmdcat: zsh completion: group commands by category 2015-07-26 14:01:59 -04:00
Paul Beckingham
129aeb1845 Import/Export: Relocated add-ons online, removed tests
- The scripts/add-ons/{im,ex}port* examples are relocated online under
  https://taskwarrior.org/tools/index.html#exts .
- The corresponding tests are no longer needed.
- The Perl JSON module is no longer required.
2015-07-20 08:00:03 -04:00
Johannes Wienke
db0cb5a555 fish completion: use literal tabs in sed calls
sed on OS X does not understand \t. Therefore, replace all \t's with
literal tabs.
2015-07-19 16:52:34 -04:00
Daniel Shahaf
bfbd3b4768 zsh completion: Fix autoload function boilerplate
Inspired by 4b20bfe0ee
2015-07-17 09:05:07 -04:00
Paul Beckingham
fc6507803b Scripts: Removed obsolete script 'context'. 2015-06-06 10:37:22 -04:00
Wilhelm Schuermann
49f7612704 TW-1572: Implement better urgency inheritance
- Implement recursive urgency inheritance.  If this is to be made a
  default setting, some thought will have to be put into making it
  more efficient.
2015-05-22 23:01:21 +02:00
Wilhelm Schuermann
92b5dfd83d Add-ons: Fix UTF8 problems with export-sql.py 2015-05-10 17:58:20 +02:00
Roman Inflianskas
e16bd6ee83 Fish: Use variables for completion options 2015-05-07 20:21:32 -04:00
Paul Beckingham
236e7898b9 Vim: Modified 'priority' syntax elements. 2015-04-06 20:02:33 -04:00
Wilhelm Schuermann
229078ffed Scripts: Disable hooks in bash completion script
- Stop on-launch and on-exit hooks with output from interfering with
  bash completion.
2015-04-01 16:23:42 +02:00
Wilhelm Schuermann
3f394fa164 TW-1588: Fix broken export scripts 2015-03-31 07:26:10 +02:00
Wilhelm Schuermann
df209b9b8b TW-1587: Further improve example on-exit hook
- Initial patch was not quite right.  on-exit _does_ receive added and
  modified tasks on STDIN, but is not allowed to return JSON.
2015-03-31 07:25:23 +02:00
Jochen Sprickerhof
c27f5d23b6 Hooks: Remove read loop from example on-exit hook
There is no input to the on-exit script. Prevents error:
"Hook Error: Expected 0 JSON task(s), found 1"

Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
2015-03-30 21:38:25 +02:00
Wilhelm Schuermann
bc335e8075 Add-Ons: Fix export-html.pl for new export format 2015-03-30 09:41:45 +02:00
Tomas Babej
704eb1eab3 scripts: Enforce disabled confirmation in bash completion
https://bug.tasktools.org/browse/TW-1578
2015-03-18 14:14:59 -04:00
Tomas Babej
3b9d88a87b completion: Add bash completion for contexts 2015-02-26 20:51:39 -05:00
Paul Beckingham
8e730f2da3 Hooks
- Updated examples to not rely on bash being in /bin.
2015-02-07 10:25:50 -05:00
Paul Beckingham
1cfdfbae52 Hooks
- Removed the ability for hooks to add tasks, or modify tasks that are outside
  the context of the current event. This makes hooks a local mechanism that
  operates only on local changes. Modifications/additions coming in via sync
  command are not processed by hooks.
2015-01-31 17:47:58 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Renato Alves
d49a2614ba Bug - import/export now output JSON as individual objects
* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
2014-10-20 20:21:11 +01:00
Paul Beckingham
94e243d8d0 Hooks
- Added 'read -t 1' as an example for the on-exit sample hook.
2014-10-09 19:05:24 -04:00
Wilhelm Schuermann
ffc456be88 Hooks
- Cleaned up on-add.the example hook; now works with huge input without falling over.
2014-10-02 14:50:52 -04:00
Paul Beckingham
3a0f633948 Fish
- Commented out (with explanations) features that can fill pages of output,
  which is probably not desirable (thanks to Jeremy John Reeder).
2014-09-19 15:15:13 -04:00
Paul Beckingham
1fc388886f Hooks
- Typos.
2014-09-09 23:19:39 -04:00
Paul Beckingham
51291f76fe Hooks
- Updated documentation and style of example hook scripts.
2014-09-09 23:09:24 -04:00
Paul Beckingham
ec0757b2c9 Hooks
- Added example of spelling correction via hook script.
2014-09-09 23:08:38 -04:00
Paul Beckingham
633d273ef3 Hooks
- Implemented replacement for shadow files, in the form of a hook
  script.
- Uses rc.shadow.command otherwise rc.default.command.
- Uses rc.shadow.file.
- Overrides settings that cause race conditions.
- Provides success and failure messages.
2014-09-08 01:38:09 -04:00
Paul Beckingham
7fdac6a09e Hooks
- Added an example hook script, on-exit.shadow-file, which simulates the now
  deprecated (soon to be removed) shadow file feature.
2014-09-08 00:51:21 -04:00
Paul Beckingham
4b70a26e60 Hooks
- Clarified the interface for on-exit, as there is no opportunity for scripts
  triggered by this event to modify data directly.
2014-09-07 22:42:41 -04:00
Paul Beckingham
f47054c485 Hooks
- Added README describing the hook system.
- Corrected hook interface details regarding exit codes.
2014-09-07 22:13:31 -04:00
Paul Beckingham
9e45f5e637 Hooks
- Fixed typo in example hook scripts.
2014-09-07 21:59:31 -04:00
Paul Beckingham
d33de636f1 Fish
- Updated with new config completion.
- Restored completion that was broken by removing tabs.
2014-09-06 15:15:59 -04:00
Paul Beckingham
02b2b9b212 Fish
- Updated task.fish (thanks to Roman Inflianskas).
2014-09-06 12:14:28 -04:00
Roman Inflianskas
f2c9be6c59 TW-1403
- TW-1403 fish shell: no option "modify" after task selection (thanks to Roman
          Infliansksas).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 17:31:37 -04:00
Paul Beckingham
72210ec2ac L10N
- Updated Python to 2.7, to match that used in hte unit tests.
2014-08-31 08:48:13 -04:00
Markus Beppler
865bee5f11 TW-1383
- Segmentation fault running import-yaml.pl with included example

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-28 00:21:30 -04:00
lolilolicon
c92139389a taskdata.vim fixes; ftdetect backlog.data as JSON 2014-07-11 20:13:16 -04:00
lolilolicon
722cc9b300 Update taskedit.vim for multiline values
Commit 0c1fa8b enables multiline value for "Description:". Update
taskedit.vim syntax file for this:

  1) Now all keys are required to be indented exactly 2 spaces.
  2) We treat all keys equally, allowing all values to span multiple
lines, up until the next key.
2014-07-11 20:13:13 -04:00
lolilolicon
09ea21ef7b Update taskrc VIM syntax file for 2.4.0 2014-07-11 20:13:10 -04:00
Paul Beckingham
c57a1dbc6f TW-1373
- TW-1373 taskrc.vim VIM syntax file updated (thanks to lolilolicon).
2014-07-10 22:58:59 -04:00