Thomas Lauf
f843b6e732
Add sleep to fix clock test
2019-01-07 21:33:05 +01:00
Thomas Lauf
0199f2db7d
Explicitly set timezone to Europe/Berlin on fedora 28
2019-01-07 21:11:40 +01:00
Thomas Lauf
092003f4cb
Add missing 'yes' option
2019-01-07 20:45:12 +01:00
Thomas Lauf
f44840b131
Install python-dateutil on fedora 28
2019-01-07 20:38:37 +01:00
Thomas Lauf
2418d6f51a
Apply ubuntu-fix to debian
2019-01-07 07:01:08 +01:00
Thomas Lauf
ba18e10326
Fix install of tzdata and configure timezone for ubuntu 18.04
2019-01-07 06:56:24 +01:00
Thomas Lauf
62dd70f999
Set timezone to Europe/Berlin
...
- Necessary as export.t fails on timezone Etc/UTC (needs to be investigated!)
2019-01-07 06:42:57 +01:00
Thomas Lauf
5a73150b6e
Remove explicit setting of timezone
...
- Seems not necessary, default timezone UTC should suffice
2019-01-06 23:03:37 +01:00
Thomas Lauf
d11a73d1d7
Try to fix install of tzdata
2019-01-06 22:54:36 +01:00
Thomas Lauf
a5ae4d03cc
Move install of python-dateutil to ubuntu docker-config
2019-01-06 22:25:40 +01:00
Tomas Babej
92a8029598
tests: Fix version printout
2019-01-06 21:03:43 +01:00
Tomas Babej
d12922d345
tests: Remove stale submodule directory gtest-tap-listener
2019-01-06 21:03:43 +01:00
Tomas Babej
8252dfc306
tests: Remove stale 'googletest' submodule
2019-01-06 21:03:43 +01:00
Tomas Babej
bdb98553fb
tests: Implement Travis-based Multi-OS CI service
...
This commit implements (after the example of taskwarrior) a Travis-based
multi-OS continuous integration service, that tests on a variety of
Linux-based hosts and Mac OS X.
2019-01-06 21:03:43 +01:00
Thomas Lauf
2e7ed5076a
Add TagInfoDatabase.t to .gitignore
2018-12-07 14:02:03 +01:00
Thomas Lauf
2026296bf5
Update AUTHORS, ChangeLog
...
- Fix copyright dates
2018-12-06 21:08:30 +01:00
Thomas Lauf
9598f01fcf
Remove accidentially added files from repository
2018-12-06 13:36:17 +01:00
Shaun Ruffell
ceca4c817e
#131 : Introduce 'modify' to adjust historical records to fixed date/time.
...
This change introduces a new command that, like lengthen, move, resize, and
shorten, is intended to move and/or resize a record, but instead of taking an
interval, will take an absolute date/time.
This command is useful because it removes the need for the user to calculate
the time intervals to shorten / lengthen a record by. For example, if the user
accidentally forgot to stop tracking an interval before starting a new one,
but new they stopped working at a specific time, it is easy to simply modify
the end time of the interval that they had forgotten to stop.
2018-11-30 22:27:08 +01:00
Thomas Lauf
c598f2bd66
Add lower bounds check for DOM tag reference
...
- Closes #189
2018-11-25 12:24:30 +01:00
Thomas Lauf
067a475614
libshared: Updated to 230c63bd385b2a5a6ee5eb431df54b0c5c229b4d
...
- Closes #139
2018-11-04 19:25:03 +01:00
Thomas Lauf
81bfbf4ae8
Add quotes to expected annotations in interval.t
2018-10-18 08:20:35 +02:00
Thomas Lauf
481a445a86
Add test for undoing 'timew annotate'
2018-10-12 08:01:13 +02:00
Thomas Lauf
0e43feed3c
Add tests for 'timew annotate'
2018-10-10 20:42:01 +02:00
Thomas Lauf
0077768843
Add annotations to intervals
2018-10-08 21:42:25 +02:00
Thomas Lauf
b64f6f7568
Add round-trip tests
2018-10-08 21:42:25 +02:00
Thomas Lauf
1a24c49507
Extract creation of intervals into IntervalFactory
2018-10-08 21:42:25 +02:00
Thomas Lauf
c0039b6ff5
Add convenience method to set range with two dates
2018-09-19 06:32:56 +02:00
Thomas Lauf
9dd106116c
Let Interval inherit from Range
...
- Remove 1 level of indirection
- Remove public field Interval::range (instead use interval directly)
2018-09-19 06:32:56 +02:00
Thomas Lauf
9e1e604108
Rename Range::overlap to Range::overlaps
2018-09-18 21:06:33 +02:00
Thomas Lauf
2f7e247859
Add tests for intervals enclosing month borders
2018-09-18 21:06:33 +02:00
Janik Rabe
fef522c53d
Fix getTracked() when last interval is empty
2018-09-18 21:06:05 +02:00
Janik Rabe
4e08bcca4d
#165 : Add test for empty intervals at midnight
2018-09-18 21:04:09 +02:00
Janik Rabe
2976e43136
#101 : Add test for full-month intervals
2018-09-18 21:04:09 +02:00
Thomas Lauf
7771d94dee
Update tests
2018-09-07 10:13:22 +02:00
Thomas Lauf
7d93e23a20
Introduce add function
2018-09-07 10:13:22 +02:00
Thomas Lauf
d974742654
Add a tag database
2018-09-07 10:13:22 +02:00
Janik Rabe
d2f0bc70c8
Do not set CMP0037 on CMake 3.11.0 and above
...
This policy is no longer necessary because CMake issue #16062 , which
caused incorrect warnings to be shown, has been resolved in 3.11.0.
2018-09-07 10:11:36 +02:00
Thomas Lauf
961d0212ba
#167 Allow intervals to be shortened to zero width
...
Closes #167
2018-08-10 18:02:41 +02:00
Thomas Lauf
ca7676320c
Use configure_exclusions in shorten.t
2018-08-10 17:40:36 +02:00
Thomas Lauf
84a1ffea8f
Use configure_exclusions in move.t
2018-08-10 17:33:08 +02:00
Thomas Lauf
5b5a7c1e3d
Use configure_exclusions in delete.t
2018-08-10 17:13:56 +02:00
Thomas Lauf
224ea88724
Improve untag.t
...
- use interval asserts
- use configure_exclusions
- use utc time
2018-08-10 17:08:20 +02:00
Thomas Lauf
c483568e50
Improve track.t
...
- use interval asserts
- use configure_exclusions
2018-08-10 17:08:20 +02:00
Thomas Lauf
08323c6157
Use relative times in tags.t
2018-08-10 17:08:20 +02:00
Thomas Lauf
037d855f0e
Improve tag.t
...
- use interval asserts
- use utc times
- use configure_exclusions
2018-08-10 17:08:20 +02:00
Thomas Lauf
0d1ec8e06a
Improve stop.t
...
- use interval asserts
- use configure_exclusions
2018-08-10 17:08:20 +02:00
Thomas Lauf
34e8317d01
Improve stop.t
...
- use interval asserts
- use utc time
- use configure_exclusions
2018-08-10 17:08:20 +02:00
Thomas Lauf
15bb111171
Refactor configure_exclusions
2018-08-10 17:08:20 +02:00
Thomas Lauf
7fefdf80bd
Use assertItemsEqual to compare tags
2018-08-10 17:08:20 +02:00
Thomas Lauf
937fdea818
Use interval asserts in split.t
2018-08-10 17:08:20 +02:00