Commit graph

4791 commits

Author SHA1 Message Date
Renato Alves
715a414abd UnitTests
* Taskd and Taskw classes for testing are now available
 * Testing of server and client can now be performed.
 * The newer test wrappers will eventually replace the BaseTest class
2014-07-06 02:03:04 +01:00
Renato Alves
733561863e PKI
* Working certificates with taskd-1.0.0 and taskw-2.3.0
2014-07-06 01:35:09 +01:00
Renato Alves
b60682a1e4 Make wait time configurable. Could be needed in slower machines. 2014-07-06 01:03:32 +01:00
Renato Alves
c1dbe4fc3c Prevent reuse of Taskd after being destroyed 2014-07-06 01:03:32 +01:00
Paul Beckingham
e615d449ac Revert "PKI"
This reverts commit 6399460559.
2014-07-05 20:01:31 -04:00
Paul Beckingham
6399460559 PKI
- Regenerated set of certs/keys.
- Added README.
2014-07-05 19:47:30 -04:00
Paul Beckingham
fb48177e90 Dates
- Eliminated redundant implementations of daysInMonth().
2014-07-05 13:02:01 -04:00
Paul Beckingham
8861193999 Date
- Simplified ::daysInMonth.
2014-07-05 12:53:31 -04:00
Paul Beckingham
4a931868c1 Date
- Removed unused list of obsolete relative dates.
2014-07-05 12:03:29 -04:00
Paul Beckingham
79fd38d3a8 L10N
- Removed oddly broken strings.
2014-07-05 11:46:01 -04:00
Paul Beckingham
57e63dfeb2 L10N
- Localized Dates.
2014-07-05 11:39:22 -04:00
Paul Beckingham
4996576d64 Dates
- Removed unused constants.
2014-07-05 11:30:04 -04:00
Paul Beckingham
ffd9a96ae6 Code Cleanup
- Removed unused strings.
2014-07-05 11:22:03 -04:00
Paul Beckingham
d6c6245ca9 L10N
- Bug in l10n utility where it only searched for used strings in src/??-??.h
  files instead of src/???-???.h
2014-07-05 11:21:10 -04:00
Paul Beckingham
3716e61259 L10N
- Localized Lexer.
2014-07-05 11:11:19 -04:00
Paul Beckingham
beb2ee4d66 L10N
- Localized Variant.
2014-07-05 10:45:40 -04:00
Paul Beckingham
5da1d4471e Code Cleanup
- Marked legacy items, formatting cleanup.
2014-07-05 09:39:26 -04:00
Paul Beckingham
4dd57a01bb ISO8601
- Removed debugging code.
2014-07-05 09:38:52 -04:00
Paul Beckingham
7957ce3e09 TW-43
- TW-43 Better error handling than: "Found extra operands." (thanks to Benjamin
        Weber).
2014-07-04 18:05:19 -04:00
Paul Beckingham
378799e27d L10N
- Localized Parser.
2014-07-04 18:03:25 -04:00
Paul Beckingham
70156d3c3d L10N
- Localized Eval.
2014-07-04 17:40:11 -04:00
Scott Kostyshak
6eee9e0544 Bash Completion
- Improved bash completion when TASKRC is exported.
- Added a unit test.

Description of previous behavior:

  $ export TASKRC=/tmp/.taskrc
  $ task ad<TAB><TAB>

lead to the following output:

  $ task adTASKRC override: /tmp/.taskrc
  dTASKRC override: /tmp/.taskrc
  TASKRC override: /tmp/.taskrc

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-04 16:35:15 -04:00
Paul Beckingham
222c357c0a TW-257
- TW-257 limit: not working properly (thanks to Aikido Guy).
2014-07-04 11:26:49 -04:00
Paul Beckingham
7ac533a82d CmdCustom
- Removed unused local ::getLimits method, in favor of Context::getLimits.
2014-07-04 11:11:15 -04:00
Paul Beckingham
0cd56932a5 Context
- Added ::getLimits, copied from CmdCustom, for more general use.
2014-07-04 11:03:23 -04:00
Paul Beckingham
fa58c24c66 Deprecation
- Removed deprecated 'report.X.limit' feature.
2014-07-04 11:02:10 -04:00
Paul Beckingham
ca9683d912 Unit Tests
- After renaming 'template.py' to 'template.t', the failing and skipped tests
  within as examples are now affecting the totals because all *.t files are
  run. Commented out tests.
2014-07-04 11:00:44 -04:00
Paul Beckingham
0f38f1decd Verbosity
- Made 'new-id' and 'new-uuid' mutually exclusive.
2014-07-04 10:41:49 -04:00
Paul Beckingham
f9ab71685d Unit Tests
- Eliminated the Perl template, overwriting it with the Python template.
2014-07-04 10:25:41 -04:00
Paul Beckingham
560f41a930 Documentation
- Updated developer documentation for 2.4.0.
2014-07-04 10:24:31 -04:00
Paul Beckingham
1ac7dc0d5d TW-1360
- TW-1360 color.until directive missing.
2014-07-04 10:00:26 -04:00
Paul Beckingham
5a6f81a1fd Unit Tests
- Removed unnecessary code.  Thanks Renato.
2014-07-04 09:45:32 -04:00
Paul Beckingham
726214adca Documentation
- Updated man page to include new verbosity token.
2014-07-04 09:26:18 -04:00
Paul Beckingham
b60a4aff22 TW-294
- TW-294 Display UUID of task created by add (thanks to John West).
2014-07-04 09:24:55 -04:00
Paul Beckingham
949c7bba06 TW-259
- TW-259 Hyphenated words are split when added (thanks to Ben Boeckel).
2014-07-04 01:28:43 -04:00
Paul Beckingham
c65b30fbba Parser
- Implemented ::resolveAliases to expand them.
2014-07-03 22:40:43 -04:00
Paul Beckingham
4a063843b1 Parser
- Only lex arguments into sub-branches if there is more than one lexeme per
  argument.  Of course, you have to do the lex first, otherwise you don't
  know.
2014-07-03 22:39:27 -04:00
Paul Beckingham
531e490e44 Context
- Properly extract alias 'from' from the configuration variable name.
2014-07-03 22:34:05 -04:00
Paul Beckingham
a91d6227f8 Alias
- Removed last traces of Alias object.
2014-07-03 20:47:28 -04:00
Paul Beckingham
bc24d107d5 Context
- Stuffs parser with alias definitions, from Context::loadAliases.  This keeps
  the configuration settings apart from the Parser implementation.
2014-07-03 19:09:24 -04:00
Paul Beckingham
08b0d573e8 Parser
- Stubbed ::resolveAliases.
2014-07-03 19:07:29 -04:00
Paul Beckingham
29604d0626 Context
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
2014-07-03 19:06:05 -04:00
Paul Beckingham
5b9413b02c Alias
- Removal of alias load/resolve code, which (1) needs a rewrite, and (2) belongs
  in the Parser.
2014-07-03 19:04:48 -04:00
Paul Beckingham
6145869f43 Parser
- Added alias collection methods.
2014-07-03 18:49:32 -04:00
Paul Beckingham
468da9dcde Parser
- Sets proper ambiguity required during Parser::initialize.
2014-07-03 18:17:35 -04:00
Paul Beckingham
a04df10d11 TW-1267
- TW-1267 If default.project is defined it's not possible to add a task without
          a project (thanks to Renato Alves).
2014-07-03 17:41:39 -04:00
Paul Beckingham
5e1f596200 Unit Tests
- Added a 'diag' method to the Python test class.
2014-07-03 17:38:41 -04:00
Paul Beckingham
7a37317526 Unit Tests
- Corrected mistake made earlier when assuming the first test was a 'control'.
  It was not.
2014-07-03 17:37:30 -04:00
Paul Beckingham
c8f2b5a858 Unit Tests
- Fixed flapping in bug.932.t. The problem was a regex that assumeѕ the age of
  the task was < 1second, but sometimes, when the creation of a task and the
  reporting of a task crossed a 1-second boundary, the age shows up as '1s'.
  With the regex now more permissive, the problem is gone.
2014-07-03 17:19:36 -04:00
Paul Beckingham
58c46bc292 Task
- Now that ::composeF4 guarantees not to write out attributes with blank values,
  we can use blank values to indicate that blanks were specified on the command
  line, and avoid apllication of defaults.
2014-07-03 17:13:26 -04:00