Commit graph

2841 commits

Author SHA1 Message Date
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
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
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
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
Alexander Sulfrian
88b94ac2fc TLSClient: do certification verification with old gnutls
The automatic verification for the server certificate with
gnutls_certificate_set_verify_function does only work with gnutls
>=2.9.10. So with older versions we should call the verify function
manually after the gnutls handshake.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-17 14:38:42 -04:00
Paul Beckingham
5774c31dfd E9
- Removed dead code.
2014-03-14 23:50:05 -04:00
Paul Beckingham
122cc2f56d ISO8601
- Simplified and debugged ISO8601::resolve method regarding UTC, local and
  specified time offsets.
2014-03-14 23:48:56 -04:00
Paul Beckingham
f05b01f9fa Eval
- Enabled unary minus operator.
2014-03-14 23:46:14 -04:00
Paul Beckingham
065cb2ef01 Bug
- Correct a DST error in date handling.
2014-03-13 21:15:42 -04:00
Paul Beckingham
d52eebaa66 Bug TW-1288
- TW-1288 Added missing locking for task modifications (thanks to Kosta H,
          Ralph Bean, Adam Coddington).
2014-03-11 23:28:57 -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
61a9703ab4 Bug TW-1274
- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
2014-02-22 11:57:21 -05:00
Paul Beckingham
132935c04e Themes
- New themes: dark-default-16.theme, dark-gray-blue-256.theme
2014-02-19 22:52:49 -05:00
Paul Beckingham
292e0fb743 Code Cleanup
- Removed priority counts from the 'projects' report.
2014-02-15 16:03:08 -05:00
Paul Beckingham
b7760dc3ef Bug TW-278
- Cygwin throws warnings building mk_wcwidth() in wcwidth6.c.
2014-02-15 15:14:08 -05:00
Paul Beckingham
5f4a5bdec7 Reports
- Modified report filters to take advantage of new virtual tags.
2014-02-15 14:43:07 -05:00
Paul Beckingham
9853fb9cb4 Report
- Restored the empty filter on the 'all' report, which is the only way
  to show all tasks.
2014-02-15 14:42:10 -05:00
Paul Beckingham
5ca55e75cf Feature TW-197
- TW-197 New virtual tag READY.
2014-02-15 14:39:46 -05:00
Paul Beckingham
b9c853fece Feature TW-1260
- TW-1260 New virtual tags YESTERDAY, TOMORROW.
2014-02-15 14:36:49 -05:00
Paul Beckingham
e90b467d42 Bug TW-261
- TW-261 Easy to create "not deletable" task (thanks to Jan Kunder).
2014-02-15 10:00:04 -05:00
Renato Alves
9846a2e3f2 Portuguese (por-PRT) localization
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-02-14 22:49:05 -05:00
Paul Beckingham
bf0ef119e7 Code Cleanup
- Changed .gitignore to ignore bug fix dirs in the new bug naming style.
2014-02-13 08:59:17 -05:00
nocejo
d83f90f82b L10N
- New strings translated from en-US to es-ES.
- Strings equal in en-US and en-ES marked with a comment: // |es-ES|==|en-US|
2014-02-09 16:22:30 -05:00
Paul Beckingham
28fe7420fc Bug #TW-255
- #TW-255 'Mask' instead of 'iMask' shown in info report (thanks to Benjamin
          Weber)
2014-02-09 13:25:36 -05:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
adb0c6755e Bug #1508
- Updated ChangeLog, AUTHORS for #1508.
- Removed 'alias._query' from Config.cpp.
2014-02-01 08:10:20 -05:00
Nicolas Appriou
9c0e4053c4 bug #1508 configurable color output 2014-02-01 08:01:46 -05:00
Marton Suranyi
c7ebe6b3e2 iBug #1511
- #1511 sync init crashes if client certification file is empty or invalid
        (thanks to Marton Suranyi).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-01-31 09:00:28 -05:00
Paul Beckingham
27d879540c Bug #1503
- #1503 build failure with musl libc due to undefined GLOB_BRACE and GLOB_TILDE
        (thanks to Natanael Copa)
2014-01-31 08:44:36 -05:00
Natanael Copa
192b905a05 Fix build with musl libc
GLOB_BRACE and GLOB_TILDE is not defined in posix and thus not implemented
in musl libc.

We fix this by defining it to 0 if its undefined.

fixes issue #1503
2014-01-31 08:26:42 -05:00
Paul Beckingham
72aa8df029 Code Cleanup
- Removed unused strings.
2014-01-30 21:41:41 -05:00
Paul Beckingham
e435c1655b Removed Feature
- Old-style color names including underscores are no longer supported.
2014-01-26 14:01:03 -05:00
Paul Beckingham
a77c04e100 Feature Removed
- Removed version 1.x sort column support.
2014-01-26 13:52:59 -05:00
Paul Beckingham
4f86602ded Deprecation
- Removed version 1.x column name mapping support.
2014-01-26 13:51:00 -05:00
Paul Beckingham
2036ebf03e Deprecated Feature
- Deprecated '_query' alias.
2014-01-26 13:35:47 -05:00
Paul Beckingham
38c460d713 Feature #1501
- #1501 info report streamlining - partially implemented.
2014-01-26 13:26:07 -05:00
Paul Beckingham
b354ed7bd2 Feature #1492
- #1492 task show to display default values when appropriate (thanks to Renato
        Alves).
2014-01-26 12:58:53 -05:00
Paul Beckingham
274ec31b6b Bug #1487
- #1487 `tasksh` segmentation fault (thanks to Hector Arciga).
2014-01-20 11:11:06 -05:00