Thomas Lauf
2c5812f7a3
Use the empty method to check for emptiness instead of comparing to an empty object
2018-05-10 20:57:22 +02:00
Simon Ruderich
2271bd9eea
Use https:// link for opensource.org
2018-03-16 23:11:08 +01:00
Thomas Lauf
cdaf921e75
#112 : Update libshared to c3d7db12d47bf9e6a4a2db75998f3a9edca77797
2018-03-10 21:47:22 +01:00
Thomas Lauf
5264947de8
TI-116: Remove superfluous feedback
2018-03-10 21:26:28 +01:00
Thomas Lauf
8ce9e83ab5
TI-93 #97 Make CLI::getIds() return a set to guarantee uniqueness of ids
2018-03-08 20:44:10 +01:00
Thomas Lauf
9147f743e9
Fail early if summary is empty
2018-02-23 20:35:33 +01:00
Thomas Lauf
39eb1a8056
Add early return to CmdCancel
2018-02-22 23:54:08 +01:00
Thomas Lauf
a37ab24c07
TI-102: Fix interval flattening in CmdStart
...
- set correct range for exclusion retrieval
- report on added intervals not on entered
2018-01-19 16:25:22 +01:00
Thomas Lauf
f6e892d118
TI-102: Add interval flattening to CmdStop
2018-01-19 16:25:22 +01:00
Thomas Lauf
f617588f57
TI-102: Improve interval flattening for CmdTrack
...
- Report on added intervals, not on entered interval
2018-01-19 16:25:22 +01:00
Thomas Lauf
8e2e350cab
TI-100: Fix expansion of :lastquarter when in first quarter
2018-01-15 20:27:35 +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
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
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
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
a01b9ade9a
TI-90: Make 'continue' accept a 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
Thomas Lauf
c9a7a59679
Correct typos
2017-09-14 18:33:05 +02:00
Lukas Barth
7e6c09c6e3
Quote tags containing underscores
2017-08-05 10:15:24 +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
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
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
39a33b8f03
libshared: Upgraded to 198dcd368501076fe31b22d828ae72066d0e6291
2017-05-21 12:41:55 -04:00
Thomas Lauf
b619b2b574
docs: Fix internal documentation for continue command
2017-04-14 11:48:27 +02:00
Thomas Lauf
735fb10e41
docs: Update documentation for continue command
2017-04-13 23:55:12 +02:00
Paul Beckingham
b714abfc37
Code Cleanup: Test commit
2017-04-12 17:13:56 -04:00
Paul Beckingham
2bee90fd79
Code Cleanup: Test commit
2017-04-12 17:13:34 -04:00
Paul Beckingham
3111f0dd7c
Code Cleanup: Test commit
2017-04-12 17:11:39 -04:00
Thomas Lauf
7244259740
TI-62: TimeWarrior should not ignore invalid command
...
- Rule: If there is no command found, the command line has to be empty.
Otherwise we assume a mistyped or unknown command has been issued.
Take the first word from the command line and complain about it.
2017-04-11 07:10:43 +02:00
Paul Beckingham
f65c672b73
CmdLengthen: Test commit
2017-04-10 23:54:25 -04:00
Paul Beckingham
754b08fc64
Data: Removed debugging code
2017-04-09 16:40:34 -04:00
Paul Beckingham
7cc8618c80
Rules: Added support for the platform-dependent behavior of strtoimax
2017-04-08 13:38:11 -04:00
Thomas Lauf
9b0f8e8c15
TI-68: Let commands convert synthetic intervals before modifying them
...
- command 'lengthen'
- command 'move'
- command 'shorten'
- command 'tag'
- command 'untag'
2017-04-08 14:51:55 +02:00
Thomas Lauf
52853db6bd
TI-68: Apply exclusions to open intervals only
2017-04-08 14:51:55 +02:00
Thomas Lauf
a5dc0cd385
TI-27: Continue tracking by ID
...
- Make command 'continue' process ids
- Fix test: immediate start stop creates empty intervals?
2017-04-06 22:46:52 +02:00