Commit graph

2231 commits

Author SHA1 Message Date
Thomas Lauf
8c12227a9d Optimize imports 2018-01-11 21:18:16 +01:00
Thomas Lauf
17463da32f Add test descriptions 2018-01-11 21:08:44 +01:00
Thomas Lauf
f1b3b3bb72 Refactor CmdDefault
- restore original command behaviour:return exit code 0 if tracking is active, 1 if not
- show welcome screen on first run
- add/update tests
2018-01-05 23:34:16 +01:00
Thomas Lauf
ecb8aa447c Refactor CmdMove: Fail early if no id given 2018-01-05 14:27:25 +01:00
Thomas Lauf
35e5098b51 Extract join function
- use join function for std::vector<std::string> from libshared
- add join function for std::set<std::string>
- add joinQuotedIfNeeded for std::set<std::string> and std::vector<std::string>
- add unit tests
- These functions could be replaced with templates and moved to libshared.
2018-01-05 14:25:57 +01:00
Thomas Lauf
95380bbe96 Optimize includes 2018-01-05 14:21:37 +01:00
Thomas Lauf
3100ed4b6f Small refactoring on class Range 2018-01-05 10:51:03 +01:00
Thomas Lauf
3aa932eafe Fix typos 2018-01-05 10:49:17 +01:00
Thomas Lauf
ac18340757 Fix test summary.t
- Make it work on single digit calendar weeks
2018-01-05 09:32:41 +01:00
Thomas Lauf
0900c35767 Fix number of expected tests 2018-01-05 09:14:46 +01:00
Paul Beckingham
7511882f9f libshared: updated to 1fa5dcbf53a280857e35436aef6beb6a37266e33 2017-12-31 19:49:13 -05:00
Paul Beckingham
88d644d193 Copyright 2018 2017-12-31 19:37:13 -05:00
Thomas Lauf
874b163f78 Text beautification 2017-12-15 08:41:07 +01:00
Thomas Lauf
a593c90912 Update AUTHORS 2017-12-14 22:12:54 +01:00
Thomas Lauf
48ed980c76 TI-66: Move with :adjust leaves overlapping intervals.
- Implement 'overwrite' overlap resolution strategy
- Add convenience methods to Range
- also fixes TI-85: :adjust creates overlapping interval
2017-12-14 21:49:34 +01:00
Michael Neumann
963d4ac7ae TI-91: Fix compilation on DragonFly
Needs an update to src/libshared as well.
2017-12-10 00:11:38 -05:00
Paul Beckingham
0dea44594e TW-1936: Tweak tests to have fuller TAP compliance
- Thanks to Paul J. Fenwick.
2017-12-09 23:18:54 -05:00
Thomas Lauf
bd485c438f Update ChangeLog 2017-12-07 09:50:23 +01:00
Thomas Lauf
28c39f8f7e Fix filter for summary when only a date is given
- add test
2017-12-07 09:26:21 +01:00
Thomas Lauf
772c5d4946 TI-90: Update help for command 'continue' 2017-12-05 16:47:35 +01:00
Thomas Lauf
b2bc91402f TI-90: Make 'continue' accept a date range
- Do not set range end in command line, if not given
- Let commands set end of filter, if required
2017-12-05 16:47:13 +01:00
Thomas Lauf
e1a5319c0f TI-90: Add test for 'continue' with range 2017-12-02 19:17:54 +01:00
Thomas Lauf
9173c86a65 TI-90: Small refactoring 2017-12-02 19:17:54 +01:00
Thomas Lauf
a01b9ade9a TI-90: Make 'continue' accept a date 2017-12-02 19:17:54 +01:00
Thomas Lauf
74fa268164 TI-90: Add test for continue with start date 2017-12-02 19:17:54 +01:00
Thomas Lauf
3f269efd9f TI-75: Fix cases where interval borders match when applying :fill hint
- Update ChangeLog
2017-12-01 22:57:18 +01:00
Thomas Lauf
dc6d3b9672 Commands: Reduce code duplication
- Extract function to gather ids
2017-11-21 23:12:45 +01:00
Thomas Lauf
c5b2e5a5cd Fix typos 2017-11-06 22:50:52 +01:00
Paul Beckingham
fc1f3391b9 Docs: Removed obsolete URLS 2017-10-11 21:34:30 -04:00
Thomas Lauf
c9a7a59679 Correct typos 2017-09-14 18:33:05 +02:00
Tomas Babej
902d3d0161 CONTRIBUTING: Update repo url and add recursive flag 2017-08-18 01:08:46 +02:00
Paul Beckingham
cb25162edf Tests: Added TI-75 test 2017-08-05 12:32:58 +01:00
Paul Beckingham
0849c73d88 Tests: Removed redundant test 2017-08-05 11:07:03 +01:00
Paul Beckingham
899025740c Tests: Added TI-66 test
- Thanks to A M.
2017-08-05 10:40:26 +01:00
Paul Beckingham
3dbe940285 TI-78 Tag parsing broken for tags starting with "or_"
- Thanks to Lukas Barth.
2017-08-05 10:17:30 +01:00
Lukas Barth
7e6c09c6e3 Quote tags containing underscores 2017-08-05 10:15:24 +01:00
Lukas Barth
25a802cc26 Add test for underscore escaping 2017-08-05 10:15:19 +01:00
Paul Beckingham
ad75fffb03 TI-69: timew config converts integers to times
- Thanks to Thomas Lauf.
2017-07-30 11:58:38 +01:00
Paul Beckingham
3d827dac33 validate: Updated autoAdjust use cases 2017-05-28 11:32:26 -04:00
Paul Beckingham
c1dd9df929 validate: Uses helper function to find overlaps 2017-05-28 11:31:16 -04:00
Paul Beckingham
7c8c1df46f helper: Added overlap helper function 2017-05-28 11:18:20 -04:00
Paul Beckingham
5167a05d77 Tests: Added future tracking negative test 2017-05-28 09:48:24 -04:00
Paul Beckingham
d87a529d08 data: Added better error when an attempt is made to track a future interval 2017-05-28 09:43:37 -04:00
Paul Beckingham
60ce6cef25 Data: Using a single date instance, so that direct comparisons work 2017-05-28 09:33:28 -04:00
Paul Beckingham
30fa37b5d4 TI-73: timew move with a specific time broken on 1.1.0
- Thanks to A M.
2017-05-21 13:14:56 -04:00
Paul Beckingham
2c23344b57 Tests: Corrected time in test 2017-05-21 13:12:45 -04:00
Paul Beckingham
3d588dc07c Tests: Added TI-73 test
- Thanks to A M
2017-05-21 13:12:14 -04:00
Paul Beckingham
66b88d6c7e timew: Added timeRelative feature shut-off 2017-05-21 12:59:26 -04:00
Paul Beckingham
bbb8bcc1ed Validate: Rearranged code to elimiante warning 2017-05-21 12:58:47 -04:00
Paul Beckingham
51db77b5cd TI-77: timew track seems to think today is tomorrow
- Thanks to A M
2017-05-21 12:47:23 -04:00