]> git.madduck.net Git - etc/taskwarrior.git/log

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

etc/taskwarrior.git
9 years agoTask: Move TW-specific refresh behaviour to TW backend
Tomas Babej [Sat, 8 Aug 2015 18:44:01 +0000 (20:44 +0200)]
Task: Move TW-specific refresh behaviour to TW backend

9 years agobackends: Add refresh_task to the Backend interface
Tomas Babej [Sat, 8 Aug 2015 18:39:42 +0000 (20:39 +0200)]
backends: Add refresh_task to the Backend interface

9 years agoTask: Move TW-specific completion logic into TW backend
Tomas Babej [Sat, 8 Aug 2015 18:06:03 +0000 (20:06 +0200)]
Task: Move TW-specific completion logic into TW backend

9 years agobackends: Add complete_task to the backend interface
Tomas Babej [Sat, 8 Aug 2015 18:00:00 +0000 (20:00 +0200)]
backends: Add complete_task to the backend interface

Marking task as 'done' needs to be implemented as a separate
backend operation too.

9 years agoTask: Move TW-specific start/stop logic into TW backend
Tomas Babej [Sat, 8 Aug 2015 17:58:18 +0000 (19:58 +0200)]
Task: Move TW-specific start/stop logic into TW backend

9 years agoTask: Move TW-specific deletion logic into TW backend
Tomas Babej [Sat, 8 Aug 2015 17:51:11 +0000 (19:51 +0200)]
Task: Move TW-specific deletion logic into TW backend

9 years agoTaskWarrior: Reorder methods
Tomas Babej [Sat, 8 Aug 2015 17:45:59 +0000 (19:45 +0200)]
TaskWarrior: Reorder methods

9 years agoTask: Move TW-specific saving logic into the backend
Tomas Babej [Sat, 8 Aug 2015 17:40:48 +0000 (19:40 +0200)]
Task: Move TW-specific saving logic into the backend

9 years agobackends: Move TaskWarriorException into backends
Tomas Babej [Sat, 8 Aug 2015 17:38:11 +0000 (19:38 +0200)]
backends: Move TaskWarriorException into backends

9 years agobackends: Move TaskWarrior class into the backends file
Tomas Babej [Sat, 8 Aug 2015 17:27:14 +0000 (19:27 +0200)]
backends: Move TaskWarrior class into the backends file

9 years agobackends: Introduce a Backend base class
Tomas Babej [Sat, 8 Aug 2015 17:22:16 +0000 (19:22 +0200)]
backends: Introduce a Backend base class

9 years agoDo not use mutable dicts in function headers
Tomas Babej [Sat, 8 Aug 2015 12:41:43 +0000 (14:41 +0200)]
Do not use mutable dicts in function headers

9 years agoTask: Fix incorrect version number for workaround applicability
Tomas Babej [Fri, 7 Aug 2015 03:23:57 +0000 (05:23 +0200)]
Task: Fix incorrect version number for workaround applicability

9 years agoversions: Use version constants
Tomas Babej [Thu, 6 Aug 2015 21:29:27 +0000 (23:29 +0200)]
versions: Use version constants

9 years agotests: Add test for saving multiple completed tasks
Tomas Babej [Thu, 6 Aug 2015 21:21:58 +0000 (23:21 +0200)]
tests: Add test for saving multiple completed tasks

9 years agoTaskFilter: Remove workaround for TW-1479 if using TW 2.4.5 and above
Tomas Babej [Thu, 6 Aug 2015 21:21:36 +0000 (23:21 +0200)]
TaskFilter: Remove workaround for TW-1479 if using TW 2.4.5 and above

9 years agoDo not use mutable lists in function definitions
Tomas Babej [Thu, 6 Aug 2015 21:20:51 +0000 (23:20 +0200)]
Do not use mutable lists in function definitions

9 years agoTask: Attempt to search using task data if identifier invalid after saving
Tomas Babej [Thu, 6 Aug 2015 21:20:08 +0000 (23:20 +0200)]
Task: Attempt to search using task data if identifier invalid after saving

9 years agoTask: Bail out if more than one task has been matched on refresh
Tomas Babej [Thu, 6 Aug 2015 17:57:39 +0000 (19:57 +0200)]
Task: Bail out if more than one task has been matched on refresh

9 years agotests: Do not use TW-formatted datetime strings, they do not work for older TW versions
Tomas Babej [Thu, 6 Aug 2015 16:31:24 +0000 (18:31 +0200)]
tests: Do not use TW-formatted datetime strings, they do not work for older TW versions

9 years agoTask: Become able to deal with IDs and UUIDs identifiers on addition [TW 2.4.5]
Tomas Babej [Thu, 6 Aug 2015 06:11:44 +0000 (08:11 +0200)]
Task: Become able to deal with IDs and UUIDs identifiers on addition [TW 2.4.5]

9 years agotests: Add test for adding a completed task
Tomas Babej [Thu, 6 Aug 2015 06:10:48 +0000 (08:10 +0200)]
tests: Add test for adding a completed task

9 years agoSerializingObject: Add ability to decode dependencies in the form of a list
Tomas Babej [Thu, 6 Aug 2015 02:18:29 +0000 (04:18 +0200)]
SerializingObject: Add ability to decode dependencies in the form of a list

9 years agoMerge branch 'release/0.10.0' into develop
Rob Golding [Wed, 22 Jul 2015 12:02:14 +0000 (13:02 +0100)]
Merge branch 'release/0.10.0' into develop

9 years agoMerge branch 'release/0.10.0'
Rob Golding [Wed, 22 Jul 2015 12:02:03 +0000 (13:02 +0100)]
Merge branch 'release/0.10.0'

9 years agoBump version for 0.10.0 release
Rob Golding [Wed, 22 Jul 2015 12:01:47 +0000 (13:01 +0100)]
Bump version for 0.10.0 release

9 years agoDocs: Add documentation for the missing features
Tomas Babej [Thu, 16 Jul 2015 21:00:19 +0000 (23:00 +0200)]
Docs: Add documentation for the missing features

9 years agoTaskWarrior: Add default value off for json.array
Tomas Babej [Thu, 16 Jul 2015 21:00:06 +0000 (23:00 +0200)]
TaskWarrior: Add default value off for json.array

9 years agoMerge branch 'master' of github.com:tbabej/taskwarrior-shift-all-recurrence-hook
Tomas Babej [Wed, 27 May 2015 09:42:21 +0000 (11:42 +0200)]
Merge branch 'master' of github.com:tbabej/taskwarrior-shift-all-recurrence-hook

9 years agoMerge pull request #3 from dkasak/fix-infinite-recursion
Tomas Babej [Tue, 26 May 2015 21:59:43 +0000 (23:59 +0200)]
Merge pull request #3 from dkasak/fix-infinite-recursion

Prevent hook from triggering nested task generation.

9 years agoPrevent hook from triggering nested task generation.
Denis Kasak [Tue, 26 May 2015 16:32:48 +0000 (18:32 +0200)]
Prevent hook from triggering nested task generation.

9 years agotravis: Updated tested versions
Tomas Babej [Mon, 11 May 2015 06:36:04 +0000 (08:36 +0200)]
travis: Updated tested versions

9 years agoUpdate README.md
Tomas Babej [Thu, 23 Apr 2015 21:10:30 +0000 (23:10 +0200)]
Update README.md

9 years agoOmit 'until' attribute from shifted attributes. Shifting works, but TW then removes...
Tomas Babej [Thu, 23 Apr 2015 05:23:06 +0000 (07:23 +0200)]
Omit 'until' attribute from shifted attributes. Shifting works, but TW then removes the parent task.

9 years agotravis: Expand to test the new devel branch
Tomas Babej [Tue, 21 Apr 2015 14:30:23 +0000 (16:30 +0200)]
travis: Expand to test the new devel branch

9 years agofind_hooks: Do not allow dots in the module name
Tomas Babej [Thu, 9 Apr 2015 20:00:50 +0000 (22:00 +0200)]
find_hooks: Do not allow dots in the module name

9 years agoTask: Improve config parsing regex
Tomas Babej [Wed, 8 Apr 2015 21:57:02 +0000 (23:57 +0200)]
Task: Improve config parsing regex

9 years agoTaskWarrior: Add method to parse config
Tomas Babej [Wed, 8 Apr 2015 19:00:53 +0000 (21:00 +0200)]
TaskWarrior: Add method to parse config

9 years agotests: Add tests for starting active task
Tomas Babej [Tue, 7 Apr 2015 19:50:36 +0000 (21:50 +0200)]
tests: Add tests for starting active task

9 years agoTask: Do not allow starting a Task which has already been started
Tomas Babej [Tue, 7 Apr 2015 19:46:41 +0000 (21:46 +0200)]
Task: Do not allow starting a Task which has already been started

9 years agoAdd gitignore
Tomas Babej [Tue, 7 Apr 2015 17:58:37 +0000 (19:58 +0200)]
Add gitignore

9 years agoUpdate README.md
Tomas Babej [Tue, 7 Apr 2015 17:45:34 +0000 (19:45 +0200)]
Update README.md

9 years agoAdd readme instructions
Tomas Babej [Tue, 7 Apr 2015 17:42:12 +0000 (19:42 +0200)]
Add readme instructions

9 years agoAdd licence
Tomas Babej [Tue, 7 Apr 2015 17:01:21 +0000 (19:01 +0200)]
Add licence

9 years agoRemove redundant import
Tomas Babej [Tue, 7 Apr 2015 16:36:07 +0000 (18:36 +0200)]
Remove redundant import

9 years agoAdd pirate-enabled version of the hook
Tomas Babej [Tue, 7 Apr 2015 16:34:34 +0000 (18:34 +0200)]
Add pirate-enabled version of the hook

9 years agoRemove non-pirate version of the hook
Tomas Babej [Tue, 7 Apr 2015 16:34:19 +0000 (18:34 +0200)]
Remove non-pirate version of the hook

9 years agopirates: Sort module names alphabetically
Tomas Babej [Tue, 7 Apr 2015 16:18:36 +0000 (18:18 +0200)]
pirates: Sort module names alphabetically

9 years agoRemove gitignore, it's no longer necessary
Tomas Babej [Tue, 7 Apr 2015 16:17:13 +0000 (18:17 +0200)]
Remove gitignore, it's no longer necessary

9 years agoon-modify-pirate: Add pirate master hook for modify event
Tomas Babej [Tue, 7 Apr 2015 16:16:45 +0000 (18:16 +0200)]
on-modify-pirate: Add pirate master hook for modify event

9 years agoRemove example hook
Tomas Babej [Tue, 7 Apr 2015 16:13:20 +0000 (18:13 +0200)]
Remove example hook

9 years agoon-add-pirate: Make pirate master script standalone
Tomas Babej [Tue, 7 Apr 2015 16:12:51 +0000 (18:12 +0200)]
on-add-pirate: Make pirate master script standalone

9 years agoon-add-pirate: Initial implementation
Tomas Babej [Tue, 7 Apr 2015 15:23:12 +0000 (17:23 +0200)]
on-add-pirate: Initial implementation

9 years agoInitial commit
Tomas Babej [Tue, 7 Apr 2015 15:22:47 +0000 (17:22 +0200)]
Initial commit

9 years agoDetect data location and do not nest recurrence generation
Tomas Babej [Sun, 29 Mar 2015 10:58:22 +0000 (12:58 +0200)]
Detect data location and do not nest recurrence generation

9 years agoTask: Stop before marking as done with older TW versions
Tomas Babej [Thu, 26 Mar 2015 00:18:49 +0000 (01:18 +0100)]
Task: Stop before marking as done with older TW versions

9 years agotests: Amend hook tests to test for value removal as well
Tomas Babej [Mon, 23 Mar 2015 18:49:03 +0000 (19:49 +0100)]
tests: Amend hook tests to test for value removal as well

9 years agoTask: Make sure tasklib hooks do not ignore removal of attributes
Tomas Babej [Mon, 23 Mar 2015 20:07:39 +0000 (21:07 +0100)]
Task: Make sure tasklib hooks do not ignore removal of attributes

9 years agotests: Add tests for the stop method
Tomas Babej [Mon, 23 Mar 2015 06:12:22 +0000 (07:12 +0100)]
tests: Add tests for the stop method

9 years agoTask: Add stop method
Tomas Babej [Mon, 23 Mar 2015 05:57:29 +0000 (06:57 +0100)]
Task: Add stop method

9 years agotests: Allow failure when testing failing command with return_all
Tomas Babej [Sun, 22 Mar 2015 23:40:04 +0000 (00:40 +0100)]
tests: Allow failure when testing failing command with return_all

9 years agotests: Test execute command with return_all flag
Tomas Babej [Sun, 22 Mar 2015 23:00:02 +0000 (00:00 +0100)]
tests: Test execute command with return_all flag

9 years agoTaskWarrior: Add a way to obtain stdout, stderr and returncode from executed command
Tomas Babej [Sun, 22 Mar 2015 21:51:47 +0000 (22:51 +0100)]
TaskWarrior: Add a way to obtain stdout, stderr and returncode from executed command

9 years agounicode: Fix non-unicode literals and other unicode pain points
Tomas Babej [Sun, 22 Mar 2015 21:48:28 +0000 (22:48 +0100)]
unicode: Fix non-unicode literals and other unicode pain points

9 years agotests: Explicitly mark unicode strings used for testing
Tomas Babej [Sun, 22 Mar 2015 21:27:48 +0000 (22:27 +0100)]
tests: Explicitly mark unicode strings used for testing

9 years agotests: Add test for filtering with unicode strings
Tomas Babej [Sun, 22 Mar 2015 21:08:36 +0000 (22:08 +0100)]
tests: Add test for filtering with unicode strings

9 years agoTaskWarrior: Default config - even 2.4.3 contains the bulk=0 enhancement
Tomas Babej [Sun, 22 Mar 2015 20:52:39 +0000 (21:52 +0100)]
TaskWarrior: Default config - even 2.4.3 contains the bulk=0 enhancement

9 years agotests: Add tests for Task active property
Tomas Babej [Sun, 22 Mar 2015 19:59:10 +0000 (20:59 +0100)]
tests: Add tests for Task active property

9 years agoTask: Add active property
Tomas Babej [Sun, 22 Mar 2015 19:55:49 +0000 (20:55 +0100)]
Task: Add active property

9 years agoTaskWarrior: Fix typo
Tomas Babej [Sun, 22 Mar 2015 19:24:49 +0000 (20:24 +0100)]
TaskWarrior: Fix typo

9 years agoTaskWarrior: Respect the data location set in users taskrc
Tomas Babej [Sun, 22 Mar 2015 19:10:28 +0000 (20:10 +0100)]
TaskWarrior: Respect the data location set in users taskrc

9 years agotests: Use sys.version_info instead of sys.vesion to compare versions
Tomas Babej [Sun, 22 Mar 2015 16:38:24 +0000 (17:38 +0100)]
tests: Use sys.version_info instead of sys.vesion to compare versions

9 years agotests: Remove duplicate test
Tomas Babej [Sun, 22 Mar 2015 15:58:47 +0000 (16:58 +0100)]
tests: Remove duplicate test

9 years agotests: Python 2.6. does not support timedelta.total_seconds, add workaround
Tomas Babej [Sun, 22 Mar 2015 15:58:38 +0000 (16:58 +0100)]
tests: Python 2.6. does not support timedelta.total_seconds, add workaround

9 years agotests: Skip filtering by string datetime test for TW < 2.4.0
Tomas Babej [Sun, 22 Mar 2015 14:50:12 +0000 (15:50 +0100)]
tests: Skip filtering by string datetime test for TW < 2.4.0

9 years agoSerializingObject: TW 2.4.0 does have task calc
Tomas Babej [Sun, 22 Mar 2015 14:44:39 +0000 (15:44 +0100)]
SerializingObject: TW 2.4.0 does have task calc

9 years agotests: Compute 4 months shift in a more portable way (TW does not do daylight shifts)
Tomas Babej [Sun, 22 Mar 2015 14:42:43 +0000 (15:42 +0100)]
tests: Compute 4 months shift in a more portable way (TW does not do daylight shifts)

9 years agotests: Add test for modifiying a large number of tasks at once
Tomas Babej [Sun, 22 Mar 2015 14:32:54 +0000 (15:32 +0100)]
tests: Add test for modifiying a large number of tasks at once

9 years agoTaskWarrior: Allow editing a large number of tasks at once
Tomas Babej [Sun, 22 Mar 2015 14:32:33 +0000 (15:32 +0100)]
TaskWarrior: Allow editing a large number of tasks at once

9 years agoTaskWarrior: Only strip trailing whitespace from output
Tomas Babej [Sun, 22 Mar 2015 14:04:35 +0000 (15:04 +0100)]
TaskWarrior: Only strip trailing whitespace from output

Leading whitespace can be used to center a heading in certain reports.

9 years agotests: Add tests for using TW-formatted strings as localized datetime values
Tomas Babej [Thu, 19 Mar 2015 21:41:07 +0000 (22:41 +0100)]
tests: Add tests for using TW-formatted strings as localized datetime values

9 years agotests: Remove trailing whitespace
Tomas Babej [Thu, 19 Mar 2015 19:50:56 +0000 (20:50 +0100)]
tests: Remove trailing whitespace

9 years agoSerializingObject: Restrict usage of 'task calc' conversion for those TW versions...
Tomas Babej [Wed, 18 Mar 2015 23:03:34 +0000 (00:03 +0100)]
SerializingObject: Restrict usage of 'task calc' conversion for those TW versions that contain it

9 years agoSerializingObject: Make all SerializingObjects have access to a instance of TaskWarrior
Tomas Babej [Wed, 18 Mar 2015 22:37:11 +0000 (23:37 +0100)]
SerializingObject: Make all SerializingObjects have access to a instance of TaskWarrior

9 years agoSerializedObject: Accept taskwarrior datetime syntax as string and convert it to...
Tomas Babej [Wed, 18 Mar 2015 22:35:31 +0000 (23:35 +0100)]
SerializedObject: Accept taskwarrior datetime syntax as string and convert it to datetime using task calc

9 years agotests: Use non-existent taskrc with tests
Tomas Babej [Tue, 17 Mar 2015 22:22:46 +0000 (23:22 +0100)]
tests: Use non-existent taskrc with tests

9 years agoTaskWarrior: Do not expand data_location twice
Tomas Babej [Tue, 17 Mar 2015 22:22:01 +0000 (23:22 +0100)]
TaskWarrior: Do not expand data_location twice

9 years agoDocs: Update docs about reading .taskrc
Tomas Babej [Tue, 17 Mar 2015 22:21:16 +0000 (23:21 +0100)]
Docs: Update docs about reading .taskrc

9 years agoTaskWarrior: Use default .taskrc
Tomas Babej [Tue, 17 Mar 2015 22:19:05 +0000 (23:19 +0100)]
TaskWarrior: Use default .taskrc

Currently, to make UDAs (adding/modifying tasks with UDA, filtering by
UDAs) one needs to update the TaskWarrior's config, as described in
docs:

http://tasklib.readthedocs.org/en/latest/#working-with-udas

This is a little bit tedious, since every application that uses tasklib,
and wants to support UDAs, needs to either parse the .taskrc file
itself, or have user specify the UDA configuration redundantly by some
other mechanism.

Also, by using rc:/ we are using default values for other config
settings, which may take users by surprise (i.e. if user sets a custom
value for recurrence.limit, and then any tasklib call will generate
more/less recurrence tasks than he wants to see).

This commit changes the approach and makes .taskrc the default
config file location.

9 years agotravis: Bump tested TaskWarrior versions
Tomas Babej [Sun, 15 Mar 2015 20:07:32 +0000 (21:07 +0100)]
travis: Bump tested TaskWarrior versions

9 years agoTaskFilter: Fix typo when normalizing input
Tomas Babej [Sun, 15 Mar 2015 16:13:29 +0000 (17:13 +0100)]
TaskFilter: Fix typo when normalizing input

9 years agoTaskFilter: Limit enforcing recurrence by version
Tomas Babej [Wed, 11 Mar 2015 07:18:19 +0000 (08:18 +0100)]
TaskFilter: Limit enforcing recurrence by version

9 years agoMerge branch 'release/0.9.0' into develop
Rob Golding [Fri, 20 Feb 2015 20:53:29 +0000 (20:53 +0000)]
Merge branch 'release/0.9.0' into develop

9 years agoMerge branch 'release/0.9.0'
Rob Golding [Fri, 20 Feb 2015 20:53:25 +0000 (20:53 +0000)]
Merge branch 'release/0.9.0'

9 years agoBump version for 0.9.0
Rob Golding [Fri, 20 Feb 2015 20:53:20 +0000 (20:53 +0000)]
Bump version for 0.9.0

9 years agoThe next version will be 0.9.0
Rob Golding [Fri, 20 Feb 2015 20:52:48 +0000 (20:52 +0000)]
The next version will be 0.9.0

9 years agotests: Implement workaround around python2.6 missing SkipTest
Tomas Babej [Fri, 20 Feb 2015 18:46:23 +0000 (19:46 +0100)]
tests: Implement workaround around python2.6 missing SkipTest

9 years agotests: Skip invalid tests for older version of TaskWarrior
Tomas Babej [Fri, 20 Feb 2015 17:54:57 +0000 (18:54 +0100)]
tests: Skip invalid tests for older version of TaskWarrior

9 years agotests: Add tests for completing, deleting and starting tasks
Tomas Babej [Fri, 20 Feb 2015 17:15:59 +0000 (18:15 +0100)]
tests: Add tests for completing, deleting and starting tasks

9 years agoSerializingObject: Add serializers, normalizers and deserializers for start and end...
Tomas Babej [Fri, 20 Feb 2015 17:15:08 +0000 (18:15 +0100)]
SerializingObject: Add serializers, normalizers and deserializers for start and end attributes