Commit graph

85 commits

Author SHA1 Message Date
Paul Beckingham
88516acdaa Copyright update 2018-05-13 20:50:26 -04:00
Paul Beckingham
44522b11bc TW-1873: Specify different path to extensions/hooks directory
- Thanks to Eli.
2018-05-13 20:46:27 -04:00
Paul Beckingham
8a43f4902d libhsared: migrating from local to libshared 2018-05-13 20:26:34 -04:00
Paul Beckingham
764ada3a17 CmdDiagnostics: Made sure file existence is checked before readability 2018-05-13 20:21:52 -04:00
Paul Beckingham
814d7d69fa Cleanup: Don't use string literals when character literals are needed 2018-05-13 20:14:11 -04:00
Paul Beckingham
35e518cbc2 Cleanup: Don't use string literals when character literals are needed 2018-05-13 20:11:49 -04:00
Paul Beckingham
cbdd04e506 CmdDiagnostics: Typo 2018-05-13 19:19:52 -04:00
Paul Beckingham
abefdd506c Cleanup: Removed redundant processing of OS name 2018-05-13 19:10:06 -04:00
Paul Beckingham
5e4d387d83 Diagnostics: Added missing \n characters 2016-02-04 15:46:59 -05:00
Paul Beckingham
60667dbcaa TW-1705: Directories in .task/hooks should not be reported as invalid hooks
- Thanks to Tomas Babej.
2016-01-11 22:30:35 -05:00
Paul Beckingham
3ed7fe265e TW-1752: cleanup of diag output
- Thanks to David Patrick.
2016-01-11 16:27:15 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
5d9ca9864e Cmd*: Moved include to top of list, per flint++ recommendation 2015-11-01 19:53:19 -05:00
Tomas Babej
de8c7d230f CmdDiagnostics: Add broken reference detection 2015-10-29 20:52:00 -04:00
Tomas Babej
0693f3cfc4 CmdDiagnostics: Remove redundant nesting 2015-10-29 20:51:57 -04:00
Paul Beckingham
283f9bb2bc CmdDiagnostics: Removed redundant arg checks 2015-09-06 02:01:33 -04:00
Paul Beckingham
9cc9567cf4 CmdDiag: Added "diag" command details regarding file sizes 2015-08-06 18:38:18 -04:00
Paul Beckingham
bf80c7d514 Cmd*: Added command DNA, which will ѕoon drive functionality 2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a zcmdcat: Categorize commands. 2015-07-26 13:55:23 -04:00
Paul Beckingham
5f30c9e2c3 Feature: Extra arg detection
- Commands that do not accept filters or modifications now generate an error
  when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -04:00
Paul Beckingham
5a57dfd70d C++11: Cleaned up commands code with range-based for 2015-05-11 17:45:15 -04:00
Paul Beckingham
b9a8d62324 Diagnostics: Removed 'Build caps' line 2015-04-26 09:30:44 -04:00
Paul Beckingham
dc8e874f19 Diagnostics: Removed obsolete items
- Removed '+pthreads' caps indicator.
- Removed HAVE_LIB defines for pthreads and readline.
- Removed CMake module for finding readline.
2015-04-26 09:17:31 -04:00
Paul Beckingham
411fab3a27 Hooks
- Added debug output on startup, if a hook script is found and does not have
  a valid name.
2015-01-07 22:54:55 -05:00
Paul Beckingham
da6a57b203 Hooks
- The 'diag' command should indicate misnamed hook scripts (thanks to Tomas
  Babej).
2015-01-07 18:43:14 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
fe46dadeee TLS
- When an invalid value for 'taskd.trust' is noticed, the 'sync' command will
  error out, and the 'diag' command will refer the user to the man page.
  This is because the allowed values were 'yes'/'no', and now are
  'strict'/'ignore hostname'/'allow all'.
2014-09-28 17:42:14 -04:00
Paul Beckingham
b4eed6333a Diagnostics
- Included C++ compiler compliance level. If 'diag' output is then included in
  the test suite, we can monitor compliance across platforms, and decide when
  to use new features.
2014-09-27 11:51:17 -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
cb2b1b1e37 Bug
- The 'diagnostics' command obeys color settings.
2014-07-28 00:59:22 -04:00
Paul Beckingham
d6e734b57d TW-128
- TW-128 new helper command; _envs. Actually no, not a new command, but the
  $TASKRC and $TASKDATA environment variables are now show in the 'diag'
  command output.
2014-07-02 00:17:51 -04:00
Paul Beckingham
d850510375 TW-1366
- TW-1366 In diagnostics it's called 'Cert', and in config it's called
  'certificate' (thanks to Jack).
2014-07-01 20:58:15 -04:00
Paul Beckingham
190b6fe635 Diagnostics
- Display debug/release build type in the diagnostics command.
2014-05-31 12:12:40 -04:00
Paul Beckingham
550d592abe CmdDiagnostics
- Now shows sizeof (time_t) in bits.
2014-05-17 22:16:55 -04:00
Paul Beckingham
924182e12c Diagnostics
- Now displays all installed hook scripts, with executable/symlink status.
2014-05-17 14:25:02 -04:00
Paul Beckingham
e660f61cd2 Hooks
- Added 'Hooks' section to diagnostics command output.
2014-05-17 14:20:08 -04:00
Alexander Sulfrian
7fb1487993 TLSClient: add hostname verifcation
The CN or subjectAltNames of the TLS certification is now matched with
the hostname connected to.

taskd.trust is now a tristate value (allow all, ignore hostname,
strict) to optionally disable the new hostname verification.
2014-03-22 13:17:40 -04:00
Jochen Sprickerhof
4ae8431f96 Bug TD-45
- TD-45 Fix preprocessor define.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-06 18:26:39 -05:00
Paul Beckingham
ed8741e242 Bug TD-42
- TD-42 Cannot compile taskd - GNUTLS_VERSION undefined in diag.cpp (thanks
        to Michele Vetturi).
2014-03-03 21:15:02 -05:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8b736934d7 Code Cleanup
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
1bbee9cde0 Diagnostics
- Added more info to the sync configuration details.
2013-11-25 16:10:21 -05:00
Paul Beckingham
0df30a5be0 Sync
- Default TLS cipher selection, with override (thanks to Zed Jorarard).
- Updated documentation.
2013-11-16 15:07:45 -05:00
Paul Beckingham
b42ca26631 Diagnostics
- Added new server configuration settings to diagnostics output.
2013-11-03 13:21:46 -05:00
Paul Beckingham
f7a6d07d71 Code Cleanup
- The 'diagnostics' command no longer generates 1000 UUIDs as a uniqueness
  test, because libuuid is now mandatory.
2013-09-10 23:16:03 -04:00
Paul Beckingham
bda3674578 Code Cleanup
- Removed the rand/random/srand/srandom calls that are no longer used.
2013-07-20 16:07:25 -04:00
Martin Natano
fcfd50bd25 require libuuid
- require libuuid at build time and remove insufficiently seeded
  replacement for uuid()
2013-07-20 15:52:42 -04:00
Ben Boeckel
6a9f6a9c82 Guard COMMIT and commit.h usage behind HAVE_COMMIT 2013-07-13 21:24:43 -04:00