]> 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 agoMerge branch 'release/0.8.0' into develop
Rob Golding [Mon, 19 Jan 2015 08:52:40 +0000 (08:52 +0000)]
Merge branch 'release/0.8.0' into develop

9 years agoBump version for 0.8.0
Rob Golding [Mon, 19 Jan 2015 08:52:15 +0000 (08:52 +0000)]
Bump version for 0.8.0

9 years agoThe next version will be 0.8.0
Rob Golding [Mon, 19 Jan 2015 08:51:54 +0000 (08:51 +0000)]
The next version will be 0.8.0

9 years agoRevert "Fix missing import"
Tomas Babej [Sat, 17 Jan 2015 12:25:11 +0000 (13:25 +0100)]
Revert "Fix missing import"

This reverts commit 1836a32642fc02d23befe75fc7c16ae43e03e9e0.

This import was not missing on develop branch.

9 years agoFix missing import
Tomas Babej [Sat, 17 Jan 2015 12:04:57 +0000 (13:04 +0100)]
Fix missing import

9 years agoMerge pull request #29 from tbabej/bugfix
Tomas Babej [Sat, 17 Jan 2015 11:56:48 +0000 (12:56 +0100)]
Merge pull request #29 from tbabej/bugfix

Minor bugs

9 years agoTask: Fix serialize_depends behaviour
Tomas Babej [Sat, 17 Jan 2015 11:37:38 +0000 (12:37 +0100)]
Task: Fix serialize_depends behaviour

9 years agoTests: Add tests for ensuring serializer and desializer behaviour
Tomas Babej [Sat, 17 Jan 2015 11:36:36 +0000 (12:36 +0100)]
Tests: Add tests for ensuring serializer and desializer behaviour

9 years agoTask: Fix incorrect timestamp serializer
Tomas Babej [Sat, 17 Jan 2015 10:59:05 +0000 (11:59 +0100)]
Task: Fix incorrect timestamp serializer

9 years agoTask: Clean up default formatting of the attributes as arguments for modify command
Tomas Babej [Sat, 17 Jan 2015 10:51:34 +0000 (11:51 +0100)]
Task: Clean up default formatting of the attributes as arguments for modify command

In the current version, we were not properly making difference between value
which is False when converting to boolean, and proper empty value. Thus user
would be unable to save legitimate False-like values into TW, like numeric 0.

9 years agoMerge pull request #24 from tbabej/hooks2
Tomas Babej [Sat, 17 Jan 2015 10:39:24 +0000 (11:39 +0100)]
Merge pull request #24 from tbabej/hooks2

Better hook support

9 years agoDocs: Provide documentation for using tasklib in hooks scripts
Tomas Babej [Sat, 17 Jan 2015 10:14:16 +0000 (11:14 +0100)]
Docs: Provide documentation for using tasklib in hooks scripts

9 years agoTask: Make sure empty values are not passed to TW via hooks
Tomas Babej [Sat, 17 Jan 2015 09:46:05 +0000 (10:46 +0100)]
Task: Make sure empty values are not passed to TW via hooks

9 years agoTask: Provide automatic hook type detection
Tomas Babej [Fri, 16 Jan 2015 23:24:36 +0000 (00:24 +0100)]
Task: Provide automatic hook type detection

9 years agoTask: Change export_data() to expect non-serialized values in self._data dict
Tomas Babej [Fri, 16 Jan 2015 07:06:23 +0000 (08:06 +0100)]
Task: Change export_data() to expect non-serialized values in self._data dict

9 years agoTask: Make modified property non-private
Tomas Babej [Thu, 15 Jan 2015 21:08:13 +0000 (22:08 +0100)]
Task: Make modified property non-private

This is actually useful to have open to public. For modify hooks,
you get two lines of input(original and modified version), so it's
quite useful to have a convenient way of checking whether the
task you got is modified or not.

9 years agoTests: Add tests for hook support
Tomas Babej [Thu, 15 Jan 2015 21:02:37 +0000 (22:02 +0100)]
Tests: Add tests for hook support

9 years agoMerge pull request #25 from tbabej/deserialized-data-dict
Tomas Babej [Thu, 15 Jan 2015 21:26:02 +0000 (22:26 +0100)]
Merge pull request #25 from tbabej/deserialized-data-dict

Make sure modified fields were actually modified

9 years agoTask: Do not hardcode sys.stdin as input source for hooks
Tomas Babej [Thu, 15 Jan 2015 21:02:17 +0000 (22:02 +0100)]
Task: Do not hardcode sys.stdin as input source for hooks

9 years agoTask: Add comment to stress importance of refreshing after save
Tomas Babej [Sun, 11 Jan 2015 14:08:00 +0000 (15:08 +0100)]
Task: Add comment to stress importance of refreshing after save

9 years agoTask: Remove spaces when dumping the Task JSON
Tomas Babej [Thu, 8 Jan 2015 03:09:30 +0000 (04:09 +0100)]
Task: Remove spaces when dumping the Task JSON

9 years agoTask: Add support for creating Task objects in hook scripts
Tomas Babej [Thu, 8 Jan 2015 00:56:29 +0000 (01:56 +0100)]
Task: Add support for creating Task objects in hook scripts

9 years agoTests: Add test for _modified_fields not affected by reading
Tomas Babej [Thu, 15 Jan 2015 20:56:12 +0000 (21:56 +0100)]
Tests: Add test for _modified_fields not affected by reading

9 years agoTask: Do not yield corner case of fake removals as modified field
Tomas Babej [Thu, 15 Jan 2015 20:55:20 +0000 (21:55 +0100)]
Task: Do not yield corner case of fake removals as modified field

9 years agoMerge pull request #19 from robgolding63/deserialized-data-dict
Tomas Babej [Thu, 15 Jan 2015 15:13:25 +0000 (16:13 +0100)]
Merge pull request #19 from robgolding63/deserialized-data-dict

Store deserialized data in Task._data

9 years agoRestore _update_data and only_fields, and add a test for race conditions
Rob Golding [Thu, 15 Jan 2015 14:16:07 +0000 (14:16 +0000)]
Restore _update_data and only_fields, and add a test for race conditions

9 years agoUse six.string_types over basestring for Python 3 compatibility
Rob Golding [Thu, 15 Jan 2015 13:41:43 +0000 (13:41 +0000)]
Use six.string_types over basestring for Python 3 compatibility

9 years agoMerge branch 'develop' into deserialized-data-dict
Rob Golding [Thu, 15 Jan 2015 13:40:47 +0000 (13:40 +0000)]
Merge branch 'develop' into deserialized-data-dict

Conflicts:
tasklib/task.py

9 years agoMerge branch 'release/0.7.1' into develop
Rob Golding [Thu, 15 Jan 2015 11:46:20 +0000 (11:46 +0000)]
Merge branch 'release/0.7.1' into develop

9 years agoBump version for 0.7.1
Rob Golding [Thu, 15 Jan 2015 11:46:06 +0000 (11:46 +0000)]
Bump version for 0.7.1

9 years agoThe next version will be 0.7.1
Rob Golding [Thu, 15 Jan 2015 11:45:42 +0000 (11:45 +0000)]
The next version will be 0.7.1

9 years agoMerge pull request #21 from tbabej/task_compatibility
Rob Golding [Thu, 15 Jan 2015 11:44:46 +0000 (11:44 +0000)]
Merge pull request #21 from tbabej/task_compatibility

Task: Do not escape empty values in quotes when formatting by default

9 years agoMerge pull request #22 from tbabej/update_badge
Rob Golding [Thu, 15 Jan 2015 11:44:39 +0000 (11:44 +0000)]
Merge pull request #22 from tbabej/update_badge

Readme: Fix travis badge on the develop branch

9 years agoReadme: Fix travis badge on the develop branch
Tomas Babej [Tue, 13 Jan 2015 20:03:03 +0000 (21:03 +0100)]
Readme: Fix travis badge on the develop branch

9 years agoTask: Do not escape empty values in quotes when formatting by default
Tomas Babej [Sun, 11 Jan 2015 21:23:07 +0000 (22:23 +0100)]
Task: Do not escape empty values in quotes when formatting by default

9 years agoMerge branch 'develop' into deserialized-data-dict
Rob Golding [Sun, 11 Jan 2015 19:03:58 +0000 (19:03 +0000)]
Merge branch 'develop' into deserialized-data-dict

9 years agoMerge branch 'release/0.7.0' into develop
Rob Golding [Sun, 11 Jan 2015 19:03:20 +0000 (19:03 +0000)]
Merge branch 'release/0.7.0' into develop

9 years agoBump version for 0.7.0
Rob Golding [Sun, 11 Jan 2015 19:03:04 +0000 (19:03 +0000)]
Bump version for 0.7.0

9 years agoMerge pull request #20 from tbabej/add_coveralls
Rob Golding [Sun, 11 Jan 2015 19:01:12 +0000 (19:01 +0000)]
Merge pull request #20 from tbabej/add_coveralls

Add code coverage

9 years agoReadme: Add coveralls badge
Tomas Babej [Sat, 10 Jan 2015 19:01:09 +0000 (20:01 +0100)]
Readme: Add coveralls badge

9 years agoTravis: Add coveralls
Tomas Babej [Sat, 10 Jan 2015 18:16:39 +0000 (19:16 +0100)]
Travis: Add coveralls

9 years agoSet missing attributes back to Task._data on access
Rob Golding [Fri, 9 Jan 2015 12:37:51 +0000 (12:37 +0000)]
Set missing attributes back to Task._data on access

Allows appending/adding to empty lists/sets

9 years agoAdd (failing) tests for appending/adding to empty lists/sets
Rob Golding [Fri, 9 Jan 2015 11:22:19 +0000 (11:22 +0000)]
Add (failing) tests for appending/adding to empty lists/sets

9 years agoStore deserialized data in Task._data
Rob Golding [Fri, 9 Jan 2015 11:15:29 +0000 (11:15 +0000)]
Store deserialized data in Task._data

9 years agoMerge pull request #15 from tbabej/update_travis
Tomas Babej [Tue, 6 Jan 2015 20:13:44 +0000 (21:13 +0100)]
Merge pull request #15 from tbabej/update_travis

Update travis after 2.4.0 release

9 years agoTravis: Update toolchain for newer compiler
Tomas Babej [Tue, 6 Jan 2015 20:40:46 +0000 (21:40 +0100)]
Travis: Update toolchain for newer compiler

9 years agoTravis: Update tested TW versions, 2.4.0 was released
Tomas Babej [Thu, 1 Jan 2015 23:56:57 +0000 (00:56 +0100)]
Travis: Update tested TW versions, 2.4.0 was released

9 years agoThe next version will be 0.7.0
Rob Golding [Tue, 6 Jan 2015 14:14:55 +0000 (14:14 +0000)]
The next version will be 0.7.0

9 years agoMerge pull request #14 from tbabej/develop
Rob Golding [Tue, 6 Jan 2015 14:14:03 +0000 (14:14 +0000)]
Merge pull request #14 from tbabej/develop

Represent dependencies as sets and other improvements

9 years agoTaskWarrior: Set dependency.confirmation=no by default
Tomas Babej [Sat, 3 Jan 2015 23:46:49 +0000 (00:46 +0100)]
TaskWarrior: Set dependency.confirmation=no by default

9 years agoTaskFilter: Implement workaround around TW-1479
Tomas Babej [Sat, 3 Jan 2015 22:53:55 +0000 (23:53 +0100)]
TaskFilter: Implement workaround around TW-1479

9 years agoTaskFilter: Enforce exact match when building filter
Tomas Babej [Sat, 3 Jan 2015 22:04:36 +0000 (23:04 +0100)]
TaskFilter: Enforce exact match when building filter

9 years agoDocs: Update docs with the new features
Tomas Babej [Sat, 3 Jan 2015 21:59:57 +0000 (22:59 +0100)]
Docs: Update docs with the new features

9 years agoTests: Cover filtering by string attributes containing a space
Tomas Babej [Sat, 3 Jan 2015 21:43:39 +0000 (22:43 +0100)]
Tests: Cover filtering by string attributes containing a space

9 years agoTask: Fix wrong error message
Tomas Babej [Sat, 3 Jan 2015 20:40:21 +0000 (21:40 +0100)]
Task: Fix wrong error message

9 years agoTaskFilter: Enclose values of filtered attributes in quotes
Tomas Babej [Sat, 3 Jan 2015 13:44:16 +0000 (14:44 +0100)]
TaskFilter: Enclose values of filtered attributes in quotes

9 years agoSerializingObject: Create a common ancestor for Task and TaskFilter, since both need...
Tomas Babej [Sat, 3 Jan 2015 13:35:41 +0000 (14:35 +0100)]
SerializingObject: Create a common ancestor for Task and TaskFilter, since both need to serialize attrs

9 years agoTask: Write serializers and deserializers for all timestamp attributes
Tomas Babej [Sat, 3 Jan 2015 11:52:19 +0000 (12:52 +0100)]
Task: Write serializers and deserializers for all timestamp attributes

9 years agoTests: Cover setting read only attributes
Tomas Babej [Sat, 3 Jan 2015 11:16:49 +0000 (12:16 +0100)]
Tests: Cover setting read only attributes

9 years agoTask: Check that we are unable to set read only values through __init__
Tomas Babej [Sat, 3 Jan 2015 11:16:31 +0000 (12:16 +0100)]
Task: Check that we are unable to set read only values through __init__

9 years agoTests: Adds tests for adding attributes with spaces
Tomas Babej [Fri, 2 Jan 2015 05:23:30 +0000 (06:23 +0100)]
Tests: Adds tests for adding attributes with spaces

9 years agoTaskWarrior: Set confirmation:no in config by default
Tomas Babej [Fri, 2 Jan 2015 05:20:53 +0000 (06:20 +0100)]
TaskWarrior: Set confirmation:no in config by default

TaskWarrior 2.2 asks for confirmation on some modifications.

Also, it makes no sense to ask for confirmation with tasklib,
since we do not provide a way to input something to stdin.

9 years agoTask: Escape values of attributes in quotes
Tomas Babej [Fri, 2 Jan 2015 05:19:07 +0000 (06:19 +0100)]
Task: Escape values of attributes in quotes

9 years agoTask: Provide a generic framework for format_* methods
Tomas Babej [Fri, 2 Jan 2015 07:59:52 +0000 (08:59 +0100)]
Task: Provide a generic framework for format_* methods

9 years agoTask: Drop support for direct unserialized data in __init__
Tomas Babej [Fri, 2 Jan 2015 07:18:12 +0000 (08:18 +0100)]
Task: Drop support for direct unserialized data in __init__

9 years agoTests: Add tests for modified fields
Tomas Babej [Fri, 2 Jan 2015 07:15:13 +0000 (08:15 +0100)]
Tests: Add tests for modified fields

9 years agoTask: Update _original_data with data dict too when creating Task object
Tomas Babej [Fri, 2 Jan 2015 11:57:34 +0000 (12:57 +0100)]
Task: Update _original_data with data dict too when creating Task object

9 years agoTests: Add tests for repeatedly saving the tasks with dependencies
Tomas Babej [Fri, 2 Jan 2015 07:03:04 +0000 (08:03 +0100)]
Tests: Add tests for repeatedly saving the tasks with dependencies

9 years agoTask: Add modified to the list of read only fields
Tomas Babej [Fri, 2 Jan 2015 07:31:30 +0000 (08:31 +0100)]
Task: Add modified to the list of read only fields

9 years agoTask: Enumarate only writable fields as modified
Tomas Babej [Thu, 1 Jan 2015 23:23:06 +0000 (00:23 +0100)]
Task: Enumarate only writable fields as modified

9 years agoTask: Serialize values passed through __init__
Tomas Babej [Thu, 1 Jan 2015 22:04:31 +0000 (23:04 +0100)]
Task: Serialize values passed through __init__

9 years agoTests: Add tests for setting and removing due date
Tomas Babej [Thu, 1 Jan 2015 19:11:57 +0000 (20:11 +0100)]
Tests: Add tests for setting and removing due date

9 years agoTask: Properly handle None in serialize_due
Tomas Babej [Thu, 1 Jan 2015 19:11:38 +0000 (20:11 +0100)]
Task: Properly handle None in serialize_due

9 years agotests: Check that the priority is removed when assigned None
Tomas Babej [Wed, 31 Dec 2014 18:26:47 +0000 (19:26 +0100)]
tests: Check that the priority is removed when assigned None

9 years agoTask: Use empty string as replacement for None when saving the task
Tomas Babej [Wed, 31 Dec 2014 18:25:04 +0000 (19:25 +0100)]
Task: Use empty string as replacement for None when saving the task

9 years agoTests: Add tests for uuid equality and hasing
Tomas Babej [Sun, 28 Dec 2014 02:16:04 +0000 (03:16 +0100)]
Tests: Add tests for uuid equality and hasing

9 years agoTask: Make uuid equality more restrictive for unsaved tasks
Tomas Babej [Sun, 28 Dec 2014 02:15:47 +0000 (03:15 +0100)]
Task: Make uuid equality more restrictive for unsaved tasks

9 years agoTests: Add tests for dependency sets
Tomas Babej [Sun, 28 Dec 2014 01:03:00 +0000 (02:03 +0100)]
Tests: Add tests for dependency sets

9 years agoTask: Represent dependant tasks as a set
Tomas Babej [Sun, 28 Dec 2014 00:57:02 +0000 (01:57 +0100)]
Task: Represent dependant tasks as a set

9 years agoTask: Make Task object non-iterable
Tomas Babej [Sun, 28 Dec 2014 00:54:22 +0000 (01:54 +0100)]
Task: Make Task object non-iterable

9 years agoTask: Make a dict.copy() for _original_data
Tomas Babej [Sun, 28 Dec 2014 00:53:26 +0000 (01:53 +0100)]
Task: Make a dict.copy() for _original_data

9 years agoTask: Detect modified fields by actual modifications
Tomas Babej [Fri, 26 Dec 2014 15:39:09 +0000 (16:39 +0100)]
Task: Detect modified fields by actual modifications

9 years agoTask: Make two Tasks equal by uuid
Tomas Babej [Fri, 26 Dec 2014 15:34:44 +0000 (16:34 +0100)]
Task: Make two Tasks equal by uuid

9 years agoAdd AUTHORS file
Rob Golding [Fri, 26 Dec 2014 05:38:07 +0000 (12:38 +0700)]
Add AUTHORS file

9 years agoThe next version will be 0.6.0
Rob Golding [Fri, 26 Dec 2014 05:30:26 +0000 (12:30 +0700)]
The next version will be 0.6.0

9 years agoDon't explicitly require six==1.5.2 to avoid VersionConflict error
Rob Golding [Fri, 26 Dec 2014 05:29:24 +0000 (12:29 +0700)]
Don't explicitly require six==1.5.2 to avoid VersionConflict error

9 years agoMerge pull request #9 from tbabej/fix_tw1452
Rob Golding [Fri, 26 Dec 2014 05:26:24 +0000 (12:26 +0700)]
Merge pull request #9 from tbabej/fix_tw1452

Add workaround for TW-1452 bug

9 years agoMerge pull request #11 from tbabej/improve_task_object
Rob Golding [Fri, 26 Dec 2014 05:19:19 +0000 (12:19 +0700)]
Merge pull request #11 from tbabej/improve_task_object

Number of improvements

9 years agotests: Make tests Python 2.6 compatible, avoid using assertRaises as context manager
Tomas Babej [Thu, 25 Dec 2014 17:51:04 +0000 (18:51 +0100)]
tests: Make tests Python 2.6 compatible, avoid using assertRaises as context manager

9 years agoTask: Add workaround for task bug in older versions, which eats up a part of description
Tomas Babej [Thu, 25 Dec 2014 17:40:29 +0000 (18:40 +0100)]
Task: Add workaround for task bug in older versions, which eats up a part of description

9 years agoTaskWarrior: Detect task version
Tomas Babej [Thu, 25 Dec 2014 17:16:36 +0000 (18:16 +0100)]
TaskWarrior: Detect task version

9 years agotests: Add basic Task tests
Tomas Babej [Fri, 19 Dec 2014 08:09:57 +0000 (09:09 +0100)]
tests: Add basic Task tests

9 years agoTask: Raise exceptions via Task class reference
Tomas Babej [Fri, 19 Dec 2014 08:00:56 +0000 (09:00 +0100)]
Task: Raise exceptions via Task class reference

9 years agotests: Add tests to filter by attributes and their empty values
Tomas Babej [Fri, 19 Dec 2014 07:37:43 +0000 (08:37 +0100)]
tests: Add tests to filter by attributes and their empty values

9 years agotests: Do not use TW directly to create tasks
Tomas Babej [Fri, 19 Dec 2014 07:35:12 +0000 (08:35 +0100)]
tests: Do not use TW directly to create tasks

9 years agoTask: Allow setting attributes via keyword arguments
Tomas Babej [Fri, 19 Dec 2014 07:58:12 +0000 (08:58 +0100)]
Task: Allow setting attributes via keyword arguments

9 years agoTask: Add NotSaved exception
Tomas Babej [Fri, 19 Dec 2014 07:33:33 +0000 (08:33 +0100)]
Task: Add NotSaved exception

9 years agoTask: List all non-readable fields as modified when creating new task
Tomas Babej [Fri, 19 Dec 2014 08:12:24 +0000 (09:12 +0100)]
Task: List all non-readable fields as modified when creating new task

9 years agoTask: Load task uuid when saving a new task
Tomas Babej [Fri, 19 Dec 2014 06:38:10 +0000 (07:38 +0100)]
Task: Load task uuid when saving a new task

A new task can not refresh its data since it has not set uuid/id.
We need to parse the output of the 'task add' command.

9 years agoUse uuid fields intead of ids where possible
Tomas Babej [Fri, 19 Dec 2014 01:46:05 +0000 (02:46 +0100)]
Use uuid fields intead of ids where possible

IDs can get non-unique with completed tasks, which makes modifications
or deletions of particular completed tasks impossible.