Commit graph

63 commits

Author SHA1 Message Date
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Paul Beckingham
28810447d1 TW-1768: Task sync failed: "Either your credentials are incorrect, or your account doesn't exist on the Taskserver."
- Thanks to Konstantin.
2016-02-08 22:54:41 -05:00
Paul Beckingham
c023e3e721 Sync: 'init' now uploads pending + completed/deleted tasks 2016-01-23 14:36:02 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
271e28f609 CmdSync: Color only used for tty 2015-11-15 14:35:28 -05:00
Paul Beckingham
5d9ca9864e Cmd*: Moved include to top of list, per flint++ recommendation 2015-11-01 19:53:19 -05:00
Paul Beckingham
78170e0fd4 Signal: Removed useless attempt to trap SIGKILL 2015-08-04 22:31:01 -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
bbaf8f4572 CmdSync: Converted from CLI to CLI2 2015-06-16 21:54:27 -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
b6b49ca7e4 Docs: Added comment to prevent changes 2015-05-03 10:54:52 -04:00
Paul Beckingham
8e01976abb Sync: Made more explicit exit codes for various errors 2015-04-26 13:28:53 -04:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Wilhelm Schuermann
5b4793e750 CmdSync
- CmdSync::send () is TLSClient specific and breaks the build if libgnutls
  is not found, so #ifdef it.
2014-11-12 11:58:03 -05:00
Paul Beckingham
eb9a6e9608 CLI
- Converted CmdSync from Parser to CLI.
2014-10-25 22:29:24 -04: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
e6801007bd CmdSync
- Removed TDB2::commit.
2014-09-08 00:25:36 -04:00
Paul Beckingham
79abddd03d Parser
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
91485d444e CmdSync
- Converted from A3 to A3t.
2014-04-24 12:30:08 -04:00
Paul Beckingham
1922c4f6a4 TW-1257
- TW-1257 The 'Syncing with <host>:<port>' message ignores verbosity tokens.
2014-04-12 14:01:48 -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
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
0df30a5be0 Sync
- Default TLS cipher selection, with override (thanks to Zed Jorarard).
- Updated documentation.
2013-11-16 15:07:45 -05:00
Paul Beckingham
7fa3f71575 TLS
- Connected code paths to use CA or trust.
2013-11-03 12:51:13 -05:00
Paul Beckingham
f1f93aa5d5 TLS
- If a CA is provided, it is used.
2013-11-03 12:49:56 -05:00
Paul Beckingham
8c9bc99af6 Feature #1423
- #1423 sync vs. push, pull, merge collision avoidance.
2013-11-03 12:04:21 -05:00
Paul Beckingham
169cc7b5cb Code Cleanup
- Removed unused header.
- Added ctor initialization.
- Removed misleading comment.
2013-10-30 00:20:38 -04:00
Paul Beckingham
eda9ac56da Certificates
- Added certificate verification callback.
2013-10-29 23:02:32 -04:00
Paul Beckingham
9e7e807909 Sync
- Verifies presence of the certificate on sync, instead of blindly assuming it
  exists.
2013-09-15 23:32:31 -04:00
Paul Beckingham
2a5bf05590 TLS
- Error strings were being constructed incorrectly.
- Client-side handshake errors were treated as recoverable.
- TLS errors were being displayed as debug messages, not errors.
2013-09-15 01:55:03 -04:00
Paul Beckingham
7c356a943c Bug
- Running 'task sync init' was not clearing the existing backlog.data file.
2013-09-07 23:45:04 -04:00
Paul Beckingham
88abd93e52 Feature
- Protects against interrupt during critical DB commit and sync operations.
2013-09-07 14:24:35 -04:00
Paul Beckingham
67f20d96bc Code Cleanup
- Fixed typo, for consistency.
2013-08-04 15:56:17 -04:00
Paul Beckingham
dd14388b1b Sync
- Implemented (weak) handling for a 310 "Redirect" server response.
2013-07-14 12:25:31 -04:00
Paul Beckingham
d4fabba8ee Performance
- Now detects whether any sync merging needs to happen, and if not, skips the
  loading of all data.
2013-07-06 14:44:55 -04:00
Paul Beckingham
2aadf445bc Code Cleanup
- Removed unused timing from the sync command.
2013-07-05 08:58:05 -04:00
Paul Beckingham
19077f76df Bug
- Fixed bug with backlog parsing.
2013-06-09 00:44:59 -04:00
Paul Beckingham
8e5b57954d TLS
- Fixed loop termination bug.
- Chose a better default buffer size.
2013-06-08 23:34:06 -04:00
Paul Beckingham
14d3fd00e3 Sync
- Adds a new 'initialize' synchronize command argument that uploads all pending
  tasks for first-time initialization.
2013-06-08 18:00:50 -04:00
Paul Beckingham
58084f6d7a Sync
- Modifed the column 0 task indicator from '[' to '{', for backlog.data lines.
2013-06-02 22:38:20 -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
a973ccf8f2 Sync
- When taskwarrior is built without GnuTLS, there will be a message to that
  effect.
- Stubbed the TLSClient calling code.  The current Socket code will become
  obsolete soon.
2013-05-11 13:07:14 -04:00