Commit graph

2257 commits

Author SHA1 Message Date
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
Thomas Lauf
b5acfed98f Refactor totals.py
- add main
- move algorithm to function
- use __future__ module
- introduce new style formatting
- restructure test_totals.t accordingly
- add test for empty range
- add tests for colored output
2018-05-10 19:22:34 +02:00
Federico Hernandez
d5e2fd8f62
Merge pull request #140 from sorsasampo/patch-1
Simplify clone instructions
2018-05-10 09:26:17 +02:00
sorsasampo
4d8435ff52
Simplify clone instructions 2018-05-10 07:12:09 +00:00
Thomas Lauf
147865b50b Fix time output in totals.py
- Convert UTC time to local time in output
- Change single quote to double quote
- Use new style python formatting
- Make tests use current time
- Fix test for open interval
2018-05-09 18:25:16 +02:00
Thomas Lauf
ca7951cace Add dedicated assertion for intervals 2018-05-04 18:05:22 +02:00
lasers
65f573dbcf docs: Add optional arguments for continue command 2018-05-04 12:26:46 +02:00
Simon Ruderich
ba518dd8de Docs: try to clarify reports.<type>.axis description 2018-04-17 15:27:21 +02:00
Thomas Lauf
fa30f46951 Update ChangeLog 2018-03-20 23:15:19 +01:00
Thomas Lauf
f2c953955c TI-94 #98 Update ChangeLog, AUTHORS 2018-03-20 22:56:40 +01:00
Thomas Lauf
9c97c4a1ce TI-94 #98 Added test 2018-03-20 22:56:40 +01:00
Thomas Lauf
0b6dbf7e12 TI-94 #98 Fix Command Injection Security Vulnerability in on-modify.timewarrior
- Thanks to Aaron Fields
- Add unit test?
- What about missing ```if '.' in project:```?
2018-03-20 22:56:40 +01:00
Thomas Lauf
6e5c1dc4e1 Updated AUTHORS 2018-03-16 23:14:09 +01:00
Simon Ruderich
327219624d Convert remaining links to https:// 2018-03-16 23:11:08 +01:00
Simon Ruderich
2271bd9eea Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
Thomas Lauf
81a7bba721 fix pydoc, coding style, optimize imports 2018-03-11 21:45:16 +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
f37d7ab6fe TI-76 #80 Update ChangeLog 2018-03-08 21:37:49 +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
0a992e0601 TI-93 #97 Add test 2018-03-08 20:44:10 +01:00
Thomas Lauf
63285c085d #111 Make test_totals.t run at any time 2018-03-08 20:37:27 +01:00
Thomas Lauf
946ac0ad68 Refactor test
- allow for jitter to stabilize test
- use triple quote strings
2018-03-07 21:45:25 +01:00
Thomas Lauf
55508fd201 Reformat files
- Fix indentation
- Fix spacing
2018-03-07 21:23:43 +01:00
Thomas Lauf
6272f1ad5d Optimize imports, indent with 4 spaces (PEP8) 2018-03-07 21:15:22 +01:00
Thomas Lauf
fdd40c484a Fix python comments 2018-03-07 21:15:22 +01:00
Thomas Lauf
d04ab99841 Improve readability 2018-03-07 21:15:02 +01:00
Thomas Lauf
9a2fe83367 Update AUTHORS and ChangeLog 2018-03-07 19:57:00 +01:00
Thomas Lauf
dd42f844c6 Python refactoring
- Optimize imports
- Adjust coding style to PEP8
- Remove obsolete comments
2018-03-07 08:09:55 +01:00
Thomas Lauf
311c8c2c83 #111 Make track.t run on any time 2018-03-07 08:09:52 +01:00
Thomas Lauf
a281321fe4 #111 Make summary.t run on any time 2018-03-07 08:09:12 +01:00
Thomas Lauf
9d51a8e993 #111 Make export.t run on any time 2018-03-05 19:04:38 +01:00
Thomas Lauf
3e9bd1113d #111 Make move.t run on any time 2018-03-05 17:15:05 +01:00
Thomas Lauf
f18e105c71 #111 Make tag.t run on any time 2018-03-05 14:15:05 +01:00
Thomas Lauf
a8a9c8e5d6 #111 Make shorten.t run on any time 2018-03-05 08:50:02 +01:00
Thomas Lauf
a21a12974e #111 Make lengthen.t run on any time 2018-03-05 08:49:31 +01:00
Thomas Lauf
0d2f37a806 #111 Make continue.t run on any time 2018-03-05 08:12:00 +01:00
Thomas Lauf
89d59e3363 Fix time values in tests 2018-03-05 06:47:39 +01:00
Thomas Lauf
706ad0b7f4 Update README
- Refine section about Installing/Building Timewarrior
2018-03-04 22:55:39 +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
63ff00e1ec Rework CONTRIBUTING instructions 2018-02-22 23:38:20 +01:00
Thomas Lauf
f8ee042bf0 Small refactoring 2018-02-18 23:09:37 +01:00
Thomas Lauf
b46ac77f64 Add test for case with open interval 2018-02-18 22:58:08 +01:00
Thomas Lauf
25c0dd4492 Optimize imports, reformat test input 2018-02-18 22:57:05 +01:00
Thomas Lauf
11c33c38ba Updated AUTHORS, Changelog 2018-02-18 22:51:53 +01:00
lauft
66e561d803
Merge pull request #108 from davisdude/patch-1
Fixed error from totals.py while timer is active

Thanks for the input!
2018-02-18 22:45:18 +01:00
Federico Hernandez
677f74b47d Changed URL for libshared 2018-02-18 11:16:38 +01:00
Davis
68fdcc0b20
Fixed error from totals.py while timer is active
I got the following error when I tried to run totals.py while a task was not finished:

    Traceback (most recent call last):
      File "/home/davis/.timewarrior/extensions/totals.py", line 101, in <module>
        end = datetime.datetime.strptime(configuration['temp.report.end'], DATEFORMAT)
    KeyError: 'temp.report.end'

This change fixed that for me.
2018-02-14 00:49:53 -05:00
lauft
df46b4ed81
Merge pull request #8 from pbeckingham/1.2.0
1.2.0 URLs
2018-02-11 22:54:42 +01:00