Commit graph

1145 commits

Author SHA1 Message Date
Paul Beckingham
1691ce2764 Code Cleanup
- I think the 'show' command may have prematurely obsoleted something useful,
  so added a note to review.
2011-09-03 16:23:50 -04:00
Paul Beckingham
b05d4535f8 TDB2
- Converted 'project' and '_projects' commands to TDB2.
2011-09-03 12:59:30 -04:00
Paul Beckingham
72627268dc TDB2
- Converted 'tags' and '_tags' commands to TDB2.
2011-09-03 12:58:57 -04:00
Paul Beckingham
a04ce55544 TDB2
- Added a necessary TDB2::commit call.
2011-09-03 12:58:18 -04:00
Paul Beckingham
84ccf4399c TDB2
- Converted 'delete' command to TDB2.
2011-09-03 12:57:26 -04:00
Paul Beckingham
e379af9751 Task Validation
- Removed the newly obsoleted Command::apply_defaults, which is now
  merged into Task::validate, and therefore applied to all modifications
  and new tasks.
2011-09-03 11:19:45 -04:00
Paul Beckingham
49965f8115 Commands - modify
- Converted the 'modify' command to TDB2.  This has a negative impact
  on unit tests, but that represents bugs and ommissions in TDB2,
  not flaws in the 'modify' command.  I hope.
2011-09-03 11:16:03 -04:00
Paul Beckingham
2886151e64 Commands - done
- Converted the 'done' command to TDB2.  This has a negative impact
  on unit tests, but that represents bugs and ommissions in TDB2,
  not flaws in the 'done' command.
2011-09-03 11:14:59 -04:00
Johannes Schlatow
45a07f4d85 Merge
added missing gc, unit tests ok (almost)
2011-09-03 12:33:48 +02:00
Paul Beckingham
5118b61f60 Commands - shell
- Enabled the shell command.
- Cleaned up unit tests.
2011-09-02 00:28:31 -04:00
Paul Beckingham
63eb22fc7e TDB2 Merge
- Migrated TDB::merge to TDB2::merge.
- Removed obsoleted code from TDB.
- Modified unit tests for merge to use export instead of export.csv.
2011-09-01 23:48:35 -04:00
Paul Beckingham
641d4356c4 Task Validation
- Cleaned up the 'import' command due to the new validation code.
2011-08-31 02:14:05 -04:00
Paul Beckingham
12e1a30d2f Task Validation
- Cleaned up 'duplicate' command due to the new validation code.
2011-08-31 02:11:34 -04:00
Paul Beckingham
12cfdf1b5a Task Validation
- Cleaned up the 'delete' command due to the new validation code.
2011-08-31 01:50:13 -04:00
Paul Beckingham
4cc368da82 Task Validation
- Cleaned up the 'annotate' and 'denotate' code due to the new
  validation code.
2011-08-31 01:48:00 -04:00
Paul Beckingham
885bde51f1 Task Validation
- Cleaned up the 'append' and 'prepend' commands due to the new
  validation.
2011-08-31 01:45:31 -04:00
Paul Beckingham
66f8591fcd Task Validation
- Cleaned up the 'start' and 'stop' commands due to the new validation.
2011-08-31 01:43:08 -04:00
Paul Beckingham
2ecafd5d5e Task Validation
- Cleaned up 'log' command due to the new validation.
2011-08-31 01:39:53 -04:00
Paul Beckingham
b09351c517 Task Validation
- Fixed validation bug whereby recurring child tasks inherited the
  parent status ("recurring") instead of the expected "pending".
- Modified 'add' command to code duplicated in Task::validate.
- Cleaned up associated bug.period.t unit test.
2011-08-31 01:34:59 -04:00
Paul Beckingham
4f73d7232f Code Cleanup
- Removed support for the CSV import synonyms.
2011-08-30 17:33:27 -04:00
Paul Beckingham
6746f4d5ba Code Cleanup
- Removed obsolete code from 'import'.
2011-08-30 17:31:52 -04:00
Paul Beckingham
965dabadf9 TDB2
- Converted 'denotate' command to TDB2.
2011-08-30 17:31:24 -04:00
Paul Beckingham
ba5daece99 TDB2
- Converted 'prepend' to TDB2.
2011-08-30 17:31:00 -04:00
Paul Beckingham
40724e120e TDB2
- Converted 'append' to TDB2.
2011-08-30 17:30:40 -04:00
Paul Beckingham
402f1f1b41 TDB2
- Converted 'annotate' to TDB2.
2011-08-30 17:30:12 -04:00
Paul Beckingham
2708aabddf Unit Tests
- Changed error wording to match the unit tests, which were correct.
2011-08-30 01:09:19 -04:00
Paul Beckingham
d501e9009b TDB2
- Converted the 'history', 'history.annual', 'ghistory' and
  'ghistory.annual' commands to TDB2.
2011-08-30 00:48:20 -04:00
Paul Beckingham
c1f33a23d3 Undo
- Stubbed the undo implementation in TB2::revert (undo as a name is
  already taken), and in the process lose the capability.
- Add detection of <modifications> when running the 'undo' command
  and generate an error.
2011-08-30 00:42:04 -04:00
Paul Beckingham
94ce784f33 Bug
- The 'duplicate' command used TDB2::commit, but TDB::nextId.
2011-08-30 00:35:45 -04:00
Paul Beckingham
72bd579cf4 Bug
- The 'add' command was calling TDB2::add, but TDB::nextId.
2011-08-30 00:29:24 -04:00
Paul Beckingham
f07ea0a26a TDB2
- Converted 'duplicate' to TDB2.
2011-08-30 00:27:27 -04:00
Paul Beckingham
90404c287e TDB2
- Converted 'timesheet' command to TDB2.
2011-08-30 00:23:27 -04:00
Paul Beckingham
9fefd4f283 TDB2
- Converted 'edit' command to TDB2.
2011-08-30 00:21:56 -04:00
Paul Beckingham
7f1e517754 Bug
- Added missing TDB2::commit call to commands that handleRecurrence.
  The missing commit would have meant no updates to the data when
  recurring tasks are generated.
2011-08-30 00:15:40 -04:00
Paul Beckingham
32164680ab TDB2
- Converted 'summary' command to TDB2.
2011-08-30 00:14:07 -04:00
Paul Beckingham
c340520bcc TDB2
- Converted 'ids', '_ids' and '_zshids' to TDB2.
2011-08-30 00:06:48 -04:00
Paul Beckingham
dde399f765 TDB2
- Converted 'burndown.{m,d,y}' to TDB2.
2011-08-30 00:00:23 -04:00
Paul Beckingham
77b647dfb0 TDB2
- Converted 'stop' command to TDB2.
2011-08-29 23:57:13 -04:00
Paul Beckingham
c72a556492 TDB2
- Converted 'start' command to TDB2.
2011-08-29 23:51:22 -04:00
Paul Beckingham
5276bfd473 TDB2
- Converted 'export' to TDB2.
2011-08-29 21:12:23 -04:00
Paul Beckingham
de5bee4353 Bug
- Import was not properly handling tags as a JSON array.  It assumed it
  was a string.
- Modified roundtrip.t tests so they work.
2011-08-28 17:21:49 -04:00
Paul Beckingham
4d328a1e46 Bug - Exec
- The execute command was not putting spaces between combined arguments
  when constructing a command line.
2011-08-28 16:44:31 -04:00
Paul Beckingham
8ec130d3c0 Command: info
- Converted to use TDB2.
2011-08-28 00:18:56 -04:00
Paul Beckingham
0dd4e6d360 Command: count
- Now generates recurring tasks.
- Cleaned up unit tests.
2011-08-28 00:17:51 -04:00
Paul Beckingham
eeb6479440 Command: Statistics
- Modified implementation to make better use of TDB2 features, and
  remove a set of static strings.
2011-08-28 00:16:24 -04:00
Paul Beckingham
1b25c415b0 TDB2
- Converted _urgency command from tdb to tdb2.
2011-08-27 21:24:36 -04:00
Paul Beckingham
d22871b265 Import
- Added unit tests for the 'import' command, which uses JSON as the
  native format.  This is the new default import/export format.  All
  other import/export formats are (to be) implemented as transforms
  to JSON.
2011-08-27 18:42:08 -04:00
Paul Beckingham
ab931b6af2 Legacy
- Added legacy warnings about use of fg: or bg:.
2011-08-27 14:29:08 -04:00
Paul Beckingham
df2a319201 Enhancement
- The 'stats' command now includes the new data files in the 'data size'
  calculation.
2011-08-27 10:39:21 -04:00
Paul Beckingham
f92b13fbf7 Visuals
- Cleaned up 'info' command output when the task is not pending and
  has no ID.  It displays '-' instead of the misleading "0".
2011-08-26 02:41:51 -04:00