Paul Beckingham
78650ac8c3
Hooks
...
- Added a master control, rc.hooks, which defaults to 'on', but can be used
to disable hook processing in general.
2014-09-08 01:22:35 -04:00
Paul Beckingham
150f72eed4
Shadow Files
...
- Removed the shadow file feature, which has caused much suffering since version
1.4.3.
2014-09-08 01:09:24 -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
6d36e7cd5b
Unit Test
...
- Removed shadow.t tests ahead of removing the shadow feature, because it is
broken already due to the removal of auto_commit. The feature will live on
as an example hook script, using the same configuration variables perhaps.
2014-09-08 00:33:47 -04:00
Paul Beckingham
574aa06249
CmdUndo
...
- Removed TDB2::commit.
2014-09-08 00:26:39 -04:00
Paul Beckingham
3494a526d7
CmdTimesheet
...
- Removed TDB2::commit.
2014-09-08 00:26:14 -04:00
Paul Beckingham
e6801007bd
CmdSync
...
- Removed TDB2::commit.
2014-09-08 00:25:36 -04:00
Paul Beckingham
dcbdf42264
CmdSummary
...
- Removed TDB2::commit.
2014-09-08 00:25:18 -04:00
Paul Beckingham
1950b28fa0
CmdStop
...
- Removed TDB2::commit.
2014-09-08 00:24:51 -04:00
Paul Beckingham
e70823e23f
CmdStart
...
- Removed TDB2::commit.
2014-09-08 00:24:32 -04:00
Paul Beckingham
cee1b8aecc
CmdProjects
...
- Removed TDB2::commit.
2014-09-08 00:24:04 -04:00
Paul Beckingham
84bddfbd34
CmdPrepend
...
- Removed TDB2::commit.
2014-09-08 00:23:33 -04:00
Paul Beckingham
784f4e068c
CmdModify
...
- Removed TDB2::commit.
2014-09-08 00:23:00 -04:00
Paul Beckingham
95dcdfb968
CmdLog
...
- Removed TDB2::commit.
2014-09-08 00:22:38 -04:00
Paul Beckingham
bdce0a8d01
CmdImport
...
- Removed TDB2::commit.
2014-09-08 00:21:54 -04:00
Paul Beckingham
37722d2857
CmdIDs
...
- Removed TDB2::commit.
2014-09-08 00:21:25 -04:00
Paul Beckingham
9b14f53075
CmdHistory
...
- Removed TDB2::commit.
2014-09-08 00:20:47 -04:00
Paul Beckingham
e90a99140e
CmdEdit
...
- Removed TDB2::commit.
2014-09-08 00:20:16 -04:00
Paul Beckingham
36748e5f7d
CmdDuplicate
...
- Removed TDB2::commit.
2014-09-08 00:19:35 -04:00
Paul Beckingham
9246176588
CmdDone
...
- Removed TDB2::commit.
2014-09-08 00:19:07 -04:00
Paul Beckingham
177dda1dd4
CmdDenotate
...
- Removed TDB2::commit.
2014-09-08 00:16:24 -04:00
Paul Beckingham
77b3f70ba6
CmdDelete
...
- Removed TDB2::commit.
2014-09-08 00:15:59 -04:00
Paul Beckingham
9400aba1d1
CmdCustom
...
- Removed TDB2::commit.
2014-09-08 00:15:18 -04:00
Paul Beckingham
38001ed6ff
CmdCount
...
- Removed TDB2::commit.
2014-09-08 00:14:47 -04:00
Paul Beckingham
0875f04bca
CmdCalendar
...
- Removed TDB2::commit.
2014-09-08 00:13:46 -04:00
Paul Beckingham
4ceae16a24
CmdBurndown
...
- Removed TDB2::commit.
2014-09-08 00:12:57 -04:00
Paul Beckingham
6f68f8a1c0
CmdAppend
...
- Removed TDB2::commit.
2014-09-08 00:12:08 -04:00
Paul Beckingham
6d6c8b3ac1
CmdAnnotate
...
- Removed TDB2::commit.
2014-09-08 00:11:38 -04:00
Paul Beckingham
3bdaeb5f91
CmdAdd
...
- Removed TDB2::commit.
- Removed unnecessary return code.
2014-09-08 00:10:27 -04:00
Paul Beckingham
c4c25706ac
Context
...
- Removed the auto_commit feature, because now every command call TDB2::commit,
in case a hook script generated new tasks. This is harmless in NOP situations.
2014-09-08 00:08:05 -04:00
Paul Beckingham
f0a2f0d70e
Context
...
- Restructured code that handles initialization failure, which was checking
the rc value at each step, which is not necessary and confusing.
2014-09-08 00:06:41 -04:00
Paul Beckingham
d290b8792b
Context
...
- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
2014-09-08 00:04:09 -04:00
Paul Beckingham
6dff1f36bf
Hooks
...
- Added notes regarding the use of 'first', which may be problematic.
2014-09-08 00:01:54 -04:00
Paul Beckingham
fe549094e3
Task
...
- Added 'modified' attribute in ::validate, if not already present. This is not
strictly necessary, but it is good to be explicit.
2014-09-07 23:24:07 -04:00
Paul Beckingham
5ce317bb48
Hooks
...
- Modified ::onExit to remove the indicator that data was modified. This is not
supported.
2014-09-07 22:56:28 -04:00
Paul Beckingham
a9cf61c1d1
Hooks
...
- Removed code supporting data modification during the on-exit event.
- Fixed hook script interface descriptions.
2014-09-07 22:44:03 -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
01f2db4b48
Documentation
...
- Updated developer docs, in preparation for beta.
2014-09-07 21:28:34 -04:00
Paul Beckingham
e15907f3f1
Code Cleanup
...
- Removed unused uti.cpp indentTree function.
2014-09-07 17:32:46 -04:00
Paul Beckingham
adee92a6b9
Code Cleanup
...
- Removed unused util.cpp escape function.
2014-09-07 17:27:50 -04:00
Paul Beckingham
66bb5b3906
Code Cleanup
...
- Removed unused util.cpp encode and decode functions.
2014-09-07 17:25:47 -04:00
Paul Beckingham
a7171193ca
Task
...
- Migrated util.cpp encode and decode functions because this is the only place
they are used.
2014-09-07 17:23:16 -04:00
Paul Beckingham
bffc7a2ac8
Code Cleanup
...
- Removed unused util.cpp combine function.
2014-09-07 17:14:03 -04:00
Paul Beckingham
4aa79dccfa
Code Cleanup
...
- Removed unused util.cpp round_up_to and burndown_size functions.
2014-09-07 17:10:06 -04:00
Paul Beckingham
ab95ef5ba5
CmdBurndown
...
- Migrated util.cpp round_up_to and burndown_size functions to CmdBurndown,
as they are only called once.
2014-09-07 17:06:11 -04:00
Paul Beckingham
4f54578241
Code Cleanup
...
- Removed unused util.cpp compressIds function.
2014-09-07 16:57:05 -04:00
Paul Beckingham
dd6399aba7
CmdIDs
...
- Migrated util.cpp compressIds to CmdIDs::compressIds, as this is the only
place it is used.
2014-09-07 16:54:59 -04:00
Paul Beckingham
8a31ccabdc
Code Cleanup
...
- Removed unused util.cpp delay function.
2014-09-07 16:48:42 -04:00