Commit graph

58 commits

Author SHA1 Message Date
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
Paul Beckingham
d03c4cda8a Build Error
- Many files were missing an explicit cmake.h include.  Some were not including
  it at all.  Now it's used almost everywhere.

(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
a3f158d399 Diagnostics
- Added GC setting to the diagnostics output.
2013-05-24 16:27:55 -04:00
Paul Beckingham
1e9fb8eebc Sync
- Implemented sync over TLS.
- Obsoleted the Socket code, replacing it with TLSClient, TLSServer.
- Added task server details to the 'diagnostics' command output.
- 'rc.debug.tls' controls the GnuTLS log level.
- Removed redundant cmake diagnostics.
2013-05-12 01:05:58 -04:00
Paul Beckingham
6d2cbd77f8 Sync
- Added task server details to the 'diagnostics' command output.
- Added new configuration variables to the 'show' command.
- rc.taskd.server specifies host:port of the task server.
- rc.taskd.credentials specifies user credentials for the task server.
- rc.taskd.certificate specifies the task server certificate.
- rc.debug.tls shows TLS log information, for debugging.
2013-05-11 16:49:39 -04:00
Paul Beckingham
5cfd7b0cc6 Portability
- Added support for GNU/Hurd and GNU/kFreeBSD systems (thanks to Jakub Wilk).
2013-04-13 14:49:59 -04:00
Paul Beckingham
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
8af0a7f3ba Merge branch 'master' into 2.3.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
2013-04-07 17:56:59 -04:00
Paul Beckingham
f420fb434e Code Cleanup
- Removed unused L10N string.
2013-04-02 16:35:18 -04:00
Federico Hernandez
7db5377d3b Removed the incomplete support for the Lua extensions. 2013-04-02 21:52:13 +02:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
19cdf25a8f Extension Mechanism Cleanup
- Cleaned up existing extension debris, in anticipation of the new mechanisms to
  be included in future releases.  This includes install/uninstall and a full
  set of triggers.
2013-01-12 14:47:14 -05:00
Paul Beckingham
a736568e68 GnuTLS
- Added GnuTLS discovery, linking.
- Added '+/-tls' indicator to diagnostics command.
- Added libgnutls version number to diagnostics command.
- Renamed wcwidth6.c to wcwidth6.cpp, to eliminate a strange build error.
2012-10-29 02:27:33 -04:00
Paul Beckingham
9cbd729553 Sync
- Added server credential handling.
- Added server error handling.
- Added task download handling.
- Added backlog truncation and synch_key handling.
- Added display of server-side messages.
- Cleaned up NEWS file for 2.3.0.
- Removed duplicate info in diagnostics command output.
2012-10-06 14:15:51 -04:00
Paul Beckingham
5a9810a423 Diagnostics
- Added server info to the diagnostics command output.
2012-10-06 09:05:20 -04:00
Paul Beckingham
275132c1fa Enhancement
- The 'diagnostics' command now reports libuuid details.
2012-07-28 09:19:05 -04:00
Owen Clarke
276971675a Bug #1042
- Fixed a bug where the diagnostics command failed to detect missing
  external utilities on Solaris and NetBSD.
2012-07-26 22:08:34 +10:00
Owen Clarke
16bef4a29e Bug
- Fixed platform detection of OpenBSD and NetBSD
2012-07-22 20:15:11 +10:00
Paul Beckingham
d230ea4001 Diagnostics
- The 'diagnostics' command now checks for duplicate UUID values in the data.
2012-02-28 01:22:57 -05:00
Paul Beckingham
96fe3f42ba Minor Refactoring
- Added support for more type-specific checks of attribute values.
- Added support for more type-specific attribute rendering.
- Improved generalized methods for checking columns in a report.
- Added unit tests.
- Minor code cleanup.
- Added secret hidden feature for internal testing.
2012-02-05 20:56:46 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
961a1a9366 License
- moving from GPL to MIT license
  src/commands
2011-10-08 01:13:30 +02:00
Paul Beckingham
148eaa5e58 Task Server
- Added 'taskd.server' and 'taskd.credentials' as supported configuration
  variables.
- Added the 'taskd.server' values to the 'diagnostics' command output.
- Updated taskrc.5.in to mention the new variables.
2011-10-02 17:20:16 -04:00
Paul Beckingham
2c69d4871d I18N
- Localized 'diagnostics' command.
2011-10-01 12:24:14 -04:00
Paul Beckingham
de481a7eba Help
- Made all the usage strings for the 'help' command consistent with the
  implementation and with visual alignment.
2011-10-01 00:42:27 -04:00
Paul Beckingham
31aa0de426 I18N
- Localized more commands.
2011-09-24 10:56:14 -04:00
Federico Hernandez
e37f0c0db0 Removed 2 #ifdef in CmdDiagnostics due to cmake only builds 2011-09-14 01:42:36 +02:00
Paul Beckingham
dab06f8672 Code Cleanup
- All objects now use the same convention for naming members.  The
  consistency is a good thing.
2011-08-25 21:54:28 -04:00