Commit graph

5233 commits

Author SHA1 Message Date
Paul Beckingham
a905518aea L10N
- Removed residual 'total active time' string that should have been deleted
  earlier.
2014-09-08 20:48:36 -04:00
Paul Beckingham
9f00e9279c L10N
- Removed remainin shadow file error strings that were not removed earlier.
2014-09-08 20:46:59 -04:00
Paul Beckingham
504d8c865b L10N
- Removed unused string leftover after removing unused text.cpp functions.
2014-09-08 20:30:55 -04:00
Fidel Mato
421f3c4a2c eng-USA typos
- Two small typos.
2014-09-08 20:24:20 -04:00
Paul Beckingham
a51dffc7e1 Unit Tests
- Corrected potential for 'modified' to show up in the report, in the
  infrequent case where the modification date was >= 1second ago.
2014-09-08 01:54:37 -04:00
Paul Beckingham
ce797c1e6e Unit Tests
- Upgraded to the new template.
2014-09-08 01:52:43 -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
a6c4c32ed7 CmdDiagnostics
- Represented the hooks master switch, rc.hooks, on the diagnostic output.
2014-09-08 01:27:32 -04:00
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