Commit graph

4304 commits

Author SHA1 Message Date
Paul Beckingham
194db8634e Columns
- The Columns::is_uda() method allows identification of UDA attributes.
2014-04-15 21:11:10 -04:00
Paul Beckingham
416b597c8a TW-1304
- TW-1304 Minor build and install fix for NetBSD (thanks to atomicules).
2014-04-15 21:06:26 -04:00
Paul Beckingham
3d79abb106 Portability
- Fixed cmake issues on NetBSD (thanks to atomicules).
2014-04-15 20:55:26 -04:00
Paul Beckingham
d0ebf4c354 Context
- Now distinguishes between readcmd and writecmd entities.
2014-04-14 01:16:54 -04:00
Paul Beckingham
a933109700 A3t
- Added 'helper' entity support.
2014-04-14 01:14:56 -04:00
Paul Beckingham
26c353dd2d Context
- Added helper, command and attribute entities.
2014-04-14 00:59:31 -04:00
Paul Beckingham
e5ceb15365 Code Cleanup
- Removed odd comment and unused member.
- Removed commented-out code.
2014-04-14 00:58:32 -04:00
Paul Beckingham
410e3890c6 Code Cleanup
- Removed redundant A3::apply_overrides call.
2014-04-14 00:44:54 -04:00
Paul Beckingham
1c24ec9c20 Context
- Merged new and old code so that A3 and A3t calls are interleaved, making
  it easier to transfer processing.
2014-04-14 00:31:26 -04:00
Paul Beckingham
5c6486427b A3t
- Implemented A3t::apply_overrides.
2014-04-14 00:24:54 -04:00
Paul Beckingham
a91101919d Code Cleanup
- Removed obsolete A3::rc_overrides and A3::get_data_location methods.
2014-04-14 00:07:40 -04:00
Paul Beckingham
ebd522dfee Context
- Enabled initial A3t setup, migrating some functionality away from A3.
- Added table of attribute modifiers, for use as parsing entities.
- Context::initialize is now a hybrid of A3 and A3t processing, with the
  transition under way.
2014-04-13 23:57:08 -04:00
Paul Beckingham
cf01cc4d02 A3t
- Added (disfunctional) A3t::append_stdin method.  Disfunctional in that
  it breaks a lot of tests because they use pipes, although it works.
- Added A3t::get_overrides to extract rc:<file>.
- Added A3t::get_data_location to extract rc.data.location:<location>.
2014-04-13 23:53:04 -04:00
Paul Beckingham
70ea3fec8c Bug
- With FEATURE_STDIN defined, iostream is required.
2014-04-13 23:50:59 -04:00
Paul Beckingham
6c698d5733 A3T
- Added TERMINATED tag to all args following the terminator.
- Added braces for clarity.
2014-04-13 22:34:49 -04:00
Paul Beckingham
9ad5502ad5 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-04-13 16:43:30 -04:00
Paul Beckingham
d12a33989a Code Cleanup
- Removed unused 'locale' configuration setting.
2014-04-13 15:53:46 -04:00
Paul Beckingham
588753e2a3 Merge pull request #2 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '13d7961813':
  Refactor some tests to avoid redoing setUp/tearDown once per test
  Refactor testing framework to allow using callTask* methods inside @classmethods
  Rename method to match the current testing API
  Tests - Include task stdout/err if exit code != 0
2014-04-13 19:51:34 +00:00
Paul Beckingham
a49d1bfbc0 Code Cleanup
- Removed unused Context::extension_dir.
2014-04-13 15:22:23 -04:00
Renato Alves
13d7961813 Refactor some tests to avoid redoing setUp/tearDown once per test 2014-04-13 20:12:55 +01:00
Renato Alves
2e64231886 Refactor testing framework to allow using callTask* methods inside @classmethods 2014-04-13 20:11:28 +01:00
Renato Alves
be59e526f1 Rename method to match the current testing API 2014-04-13 19:51:00 +01:00
Renato Alves
e0a39b0bc3 Merging in latest from upstream (TM/task:refs/heads/2.4.0)
* commit '75f938463e':
  TW-285
2014-04-13 18:45:56 +00:00
Paul Beckingham
75f938463e TW-285
- Fixed unit test structural error.
2014-04-13 14:40:11 -04:00
Renato Alves
0b1732fcef Merging in latest from upstream (TM/task:refs/heads/2.4.0)
* commit 'd8b7d914ac': (31 commits)
  TW-5
  TW-306
  Code Cleanup
  Documentation
  TW-285
  Unit Tests
  Unit Tests
  Code Cleanup
  TW-115
  TW-1257
  TW-1300
  Code Cleanup
  Bug
  ChangeLog
  TW-1301
  Bug TW-1302
  Diagnostics
  Bug TW-1254
  Documentation
  Bug TW-1295
  ...
2014-04-13 18:23:10 +00:00
Paul Beckingham
d8b7d914ac TW-5
- TW-5 color.due.today does not work (thanks to Max Muller).
- Inadvertently fixed while addressing TW-285.
2014-04-13 12:00:17 -04:00
Paul Beckingham
fe0d03664c TW-306
- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
2014-04-13 10:34:17 -04:00
Paul Beckingham
ac45f263d8 Code Cleanup
- Modified burndown code to conform to coding convention, and be more
  readable while researching TW-306.
2014-04-13 10:26:43 -04:00
Paul Beckingham
cbb32b4747 Documentation
- Gradually replacing support email with answers.tasktools.org.
2014-04-13 09:55:25 -04:00
Paul Beckingham
3038b11780 TW-285
- TW-285 DUETODAY doesn't give any output (thanks to Jostein Berntsen).
- Added unit tests.
2014-04-13 09:18:58 -04:00
Paul Beckingham
88346f8ed3 Unit Tests
- Cleaned up unit tests.
2014-04-12 18:23:48 -04:00
Paul Beckingham
adde9eec2a Unit Tests
- Renaming new tests from bug.*.t and feature.*.t to tw-*.t. It is not
  important whether the test covers a bug or a feature.
2014-04-12 16:07:32 -04:00
Paul Beckingham
c933ed2cf7 Code Cleanup
- Migrated the recur.cpp getDueState() function into Task::getDateState(),
  which can assess any date attribute.
- Improved implementation to distinguish between:
    - not due, or not due for rc.due days
    - due after today
    - due later today
    - due earlier today
    - due before today
  This greater precision should address some outstanding issues.
2014-04-12 16:03:19 -04:00
Paul Beckingham
5706cca207 TW-115
- TW-115 allow "0day" durations for UDAs.
2014-04-12 14:12:59 -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
Paul Beckingham
501194abfa TW-1300
- TW-1300 _get could use return codes (thanks to Scott Kostyshak).
2014-04-12 13:32:35 -04:00
Paul Beckingham
32272addd0 Code Cleanup
- Simplified leap year code.
- Began documenting date constants (eom, eow ...).
- Implemented 'soq', 'eoq'.
- Stubbed all the missing named dates.
- Removed unrelated constants.
2014-04-12 12:29:06 -04:00
Paul Beckingham
05c90b1779 Bug
- Fixed bug in named entity lookup.
- Removed obsolete failing test.
2014-04-12 12:28:48 -04:00
Paul Beckingham
62eafb6639 ChangeLog
- No longer separating bugs from features. Too difficult to keep it all
  straight. Now the ChangeLog is a sorted list of issues resolved.
2014-04-12 11:33:57 -04:00
Paul Beckingham
c6b0c0d927 TW-1301
- TW-1301 Virtual tag +PENDING (thanks to Profpatsch).
- Also added +COMPLETED and +DELETED.
2014-04-12 11:31:47 -04:00
Paul Beckingham
a49ed165c3 Bug TW-1302
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
2014-04-12 11:12:24 -04:00
Paul Beckingham
25b8082fbd Diagnostics
- Added diagnostic token dump to 'calc' in debug mode, after token substitution
  so the new tokens can be seen.
- Added unit tests to look for parser syntax errors.
- Added test for '2--3'.
2014-04-06 23:57:15 -04:00
Paul Beckingham
70ba19fd5e Bug TW-1254
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato
          Alves).
- Implemented a recursive descent parser to syntax check the expression,
  and disambiguate unary minus. The syntax checking is not generating any
  diagnostics yet.
2014-04-06 00:29:14 -04:00
Paul Beckingham
620f9b40b2 Documentation
- Added man page updates to reflect new 'taskd.trust' settings.
2014-04-05 12:13:02 -04:00
Paul Beckingham
6354bc09ab Bug TW-1295
- TW-1295 test/time.t fails on the last day of the month (thanks to Jakub
          Wilk).
2014-04-05 11:25:20 -04:00
Paul Beckingham
5965a85151 - Bug TW-1296
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
          Jakub Wilk).
2014-04-05 10:39:38 -04:00
Paul Beckingham
325d0d1738 Documentation
- Mentioned the hostname verification.
2014-04-05 10:37:53 -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
Alexander Sulfrian
fdcc04d13e TLSClient: add verify_certificate as member function
Certificate verification is now done in a member function of the
TLSClient, so that the member variables could be accessed.
2014-03-22 12:55:06 -04:00
Paul Beckingham
40dd95ddfb Code Cleanup
- Removed debugging and redundant code.
- Removed socket cast.
- Added diagnostic message on handshake fail.
2014-03-17 18:45:02 -04:00