Commit graph

1453 commits

Author SHA1 Message Date
Paul Beckingham
a4d251ce06 CLI: No longer tags FILTER if one of: CMD, EXT, BINARY 2016-05-14 01:28:19 -04:00
Paul Beckingham
6c4e1c7fd1 CmdReportDay/Summary: Code consistency 2016-05-14 01:22:41 -04:00
Paul Beckingham
f1db9559f9 Range: Corrected assert for open ranges 2016-05-14 01:14:32 -04:00
Paul Beckingham
838961db4b Tests: Added gaps test with interval and exclusions 2016-05-13 23:29:04 -04:00
Paul Beckingham
59c74185bf Tests: Added gaps test with interval 2016-05-13 23:28:40 -04:00
Paul Beckingham
74ac4e0541 Tests: Added trivial gaps test 2016-05-13 23:28:09 -04:00
Paul Beckingham
964c07f191 CmdHelp: Added 'gaps' command help 2016-05-13 23:15:33 -04:00
Paul Beckingham
c498cf24be Docs: Added 'gaps' command to the man page 2016-05-13 23:15:09 -04:00
Paul Beckingham
039da6bf89 CmdGaps: Implemented command 2016-05-13 23:06:21 -04:00
Paul Beckingham
5d21c9e11b data: Corrected implementation of getUntracked 2016-05-13 23:03:20 -04:00
Paul Beckingham
2f32f96f7f helper: Custom tag colors are now used 2016-05-13 22:30:47 -04:00
Paul Beckingham
eb3649aa0e Test: Removed unused arg from subtractRanges tests 2016-05-13 22:04:42 -04:00
Paul Beckingham
b3e52ca00b data: subtractRanges was not using one argument 2016-05-13 22:02:47 -04:00
Paul Beckingham
7c8f4979e4 data: Renamed getUntrackedRanges to getUntracked for consistency 2016-05-13 21:20:28 -04:00
Paul Beckingham
6e85581c8a Range: Added assert that end >= start 2016-05-13 20:25:42 -04:00
Paul Beckingham
998bf1c120 data: getTracked now properly flattens 2016-05-13 20:22:06 -04:00
Paul Beckingham
752b73420c Tests: Removed bash test now that we have 'timew config ...' support 2016-05-13 17:37:24 -04:00
Paul Beckingham
46bcbe575b Tests: Added interval test that extends into exclusions but does not enclose 2016-05-13 17:28:55 -04:00
Paul Beckingham
153377964d Tests: made interval dates more specific 2016-05-13 17:26:55 -04:00
Paul Beckingham
288acd4413 Tests: Fixed test description 2016-05-13 17:26:16 -04:00
Paul Beckingham
b79355dfb2 Tests: Added tests for exclusion ranges generated within a 24-hour period 2016-05-13 17:25:54 -04:00
Paul Beckingham
24c593bd55 data: Fixed comment 2016-05-13 17:25:02 -04:00
Paul Beckingham
a4728b6e54 Exclusion: All test ranges are backdated to midnight to be inclusive 2016-05-13 17:24:13 -04:00
Paul Beckingham
bf463bcd25 CmdReportSummary: Replaced getTrackedIntervals with getTracked 2016-05-13 17:23:05 -04:00
Paul Beckingham
af8461ade0 CmdReportDay: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:54 -04:00
Paul Beckingham
89b4c389bc CmdReport: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:41 -04:00
Paul Beckingham
8f7dec1ee9 CmdExport: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:27 -04:00
Paul Beckingham
6bb14b538c CmdClear: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:15 -04:00
Paul Beckingham
7a9cc4d50f data: Replaced getTrackedIntervals with getTracked - build broken 2016-05-13 17:21:55 -04:00
Paul Beckingham
3e97944850 libshared: Updated to 50ddca67cd4ecf05ad18fa6fd38a9aff0057ac1b 2016-05-13 17:15:45 -04:00
Paul Beckingham
85c7db132f Tests: More compact date form used, for consistency 2016-05-12 17:47:41 -04:00
Paul Beckingham
aa86ffb164 Tests: Factored flatten tests into a function, for consistency and conciseness 2016-05-12 17:33:49 -04:00
Paul Beckingham
fb5fa50e7e data: Directly manipulates filter.range 2016-05-12 17:30:55 -04:00
Paul Beckingham
a5b78cb366 data: Added old getExclusions functionality inside getAllExclusions 2016-05-12 17:30:17 -04:00
Paul Beckingham
752ff533a9 CmdContinue: Used new Range methds 2016-05-12 17:28:39 -04:00
Paul Beckingham
b1b093c975 CmdStart: Removed useless comment 2016-05-12 17:28:07 -04:00
Paul Beckingham
1d84152185 data: Removed obsolete getExclusions 2016-05-12 17:27:05 -04:00
Paul Beckingham
10fb92e97f Range: Added ::open and ::close to manipulate ranges in common ways 2016-05-12 17:26:01 -04:00
Paul Beckingham
e1e1a30a98 Range: Renamed meethods by prepending 'is_' 2016-05-12 08:32:40 -04:00
Paul Beckingham
b626f0bec4 Tests: Added track of an interval that encloses an exclusion 2016-05-11 08:33:05 -04:00
Paul Beckingham
9c3000a72f Tests: Code formatting 2016-05-11 00:05:59 -04:00
Paul Beckingham
03a9f9bf07 Tests: Added flatten test 2016-05-11 00:04:04 -04:00
Paul Beckingham
23e9492d16 data: Improved range subtraction in getTrackedIntervals 2016-05-11 00:03:19 -04:00
Paul Beckingham
7f4a70d29e Exclusion: Properly anchor < and > at midnight 2016-05-11 00:00:27 -04:00
Paul Beckingham
95b09b4c60 data: Fixed flatten to only consider enclosed exclusions 2016-05-10 21:38:35 -04:00
Paul Beckingham
d13fc3b5e4 CmdReportSummary: Migrated to Range::open for readability 2016-05-10 20:48:57 -04:00
Paul Beckingham
dc73007fd1 CmdReportDay: Migrated to Range::open for readability 2016-05-10 20:48:23 -04:00
Paul Beckingham
e9eb896577 CmdDefault: Simplified code 2016-05-10 20:46:24 -04:00
Paul Beckingham
46ab996018 CmdStart: Syntax error 2016-05-10 20:45:04 -04:00
Paul Beckingham
df27564231 CmdStop: Simplified code 2016-05-10 20:43:38 -04:00