Thomas Lauf
9d29a14d64
#9 TI-1: Add testsuite
...
- Simple test for each undoable interval command
- Refactored assertions
2018-07-23 22:15:01 +02:00
Thomas Lauf
cd7755bc6c
#9 TI-1: Make undo work with interval actions
2018-07-23 22:12:11 +02:00
Thomas Lauf
cfdd3680a4
#9 TI-1: Move starting and stopping of transactions to commands
2018-07-22 00:01:31 +02:00
Thomas Lauf
29e305033b
#9 TI-1: Make undo work with interval actions
...
- Add creator method to create interval from JSON string
- Add getters for UndoAction fields
- Make Database::modifyInterval work with empty intervals (i.e. ignore them at the respective command)
2018-07-21 22:35:17 +02:00
Thomas Lauf
86258cdb93
#9 TI-1: Add informative output to undo command
2018-07-19 20:03:01 +02:00
Thomas Lauf
2dfc1707b4
#9 TI-1: Add test for undo command
2018-07-19 19:58:16 +02:00
Thomas Lauf
76ee22e7e5
#9 TI-1: Add TransactionFactory
...
- CmdUndo pops last transaction from array (and applies undo actions - tbd)
- TransactionFactory reads contents of undo.data into transaction array
- Transaction array is written back to undo.data
2018-07-19 19:56:10 +02:00
Thomas Lauf
d8a4b8ff43
#9 TI-1 Add a skeleton undo command
2018-07-19 11:58:43 +02:00
Thomas Lauf
21b4b6242c
#9 TI-1: Merge if statements
2018-07-18 22:43:32 +02:00
Thomas Lauf
af621a3eef
#9 TI-1: Return early, use return value of delegated CmdShow
2018-07-18 22:32:05 +02:00
Thomas Lauf
36134ca5fc
#9 TI-1: Fix application name in comments
2018-07-18 22:25:14 +02:00
Thomas Lauf
b32945a925
#9 TI-1: Reformat function definitions
2018-07-18 22:22:02 +02:00
Thomas Lauf
881d9590da
#9 TI-1: Add wrapper methods for config and interval undo-actions
...
- make recordUndoAction private
2018-07-18 21:49:18 +02:00
Thomas Lauf
b8b0bbfeaf
#9 TI-1: Rename undoTxn*-functions
2018-07-18 21:38:06 +02:00
Thomas Lauf
f031bd9d22
#9 TI-1: Use Transaction and UndoAction in Database
...
- Add toString-Methods to Transaction and UndoAction
2018-07-18 21:09:07 +02:00
Thomas Lauf
2fdc3eba4a
#9 TI-1: Add data types Transaction and UndoAction
2018-07-18 21:04:20 +02:00
Thomas Lauf
ea27d8f5fa
Add instructions for customized install location
...
- Closes #141
2018-05-19 11:48:56 +02:00
Thomas Lauf
b1421579ab
Update ChangeLog, AUTHORS, and Copyright
2018-05-19 11:35:14 +02:00
Thomas Lauf
543848ae68
Take change of month into account when calculating interval widths
...
- Fixes #135 : Task at month end not getting displayed
2018-05-19 11:35:14 +02:00
Thomas Lauf
a0569bb5b0
Update AUTHORS and ChangeLog
2018-05-16 14:09:48 +02:00
Harish Ved
ea671d28bd
ReviewFixes: Reset tags instead of stop/start task; formatting changes
2018-05-15 18:21:36 +02:00
Harish Ved
d07cc99729
Handling modifications to description/tag/project for task
...
The taskwarrior extension script `on-modify.timewarrior` did not forward
modifications for description/tag/project to `timew`.
This resulted in non-existent tasks (with old tag etc) contiued to be
tracked and not updated
[Closes #105 ](https://github.com/GothenburgBitFactory/timewarrior/issues/105 )
2018-05-15 18:21:36 +02:00
Thomas Lauf
ea8865e18a
#21 Update ChangeLog and AUTHORS
2018-05-13 17:56:55 +02:00
Thomas Lauf
6f3c7334d0
#21 Update man page
2018-05-13 17:56:55 +02:00
Thomas Lauf
1bc3e07787
#21 Split test file for 'tag' and 'untag'
2018-05-13 17:56:55 +02:00
Thomas Lauf
10dfa64cfa
#21 Add implicit @1 to command 'untag'
...
- Extend interval assertions
- Add interval assertions to tests for command 'tag'
- Add interval assertions to tests for command 'untag'
2018-05-13 17:56:55 +02:00
Thomas Lauf
c595132a9c
#21 Use open interval when no id given
...
- Add test
- Special handling if database empty
2018-05-13 17:56:55 +02:00
Thomas Lauf
4afd14ee2e
#21 Let command 'tag' fail on no tags given
...
- Add test
2018-05-13 17:56:55 +02:00
Thomas Lauf
784ecbbfd9
#21 Move check for empty ID list
...
- Sharpen error message
- Add test
2018-05-13 17:56:55 +02:00
Thomas Lauf
db13bd403f
#21 Move method to gather tags to CLI
2018-05-13 17:56:55 +02:00
Thomas Lauf
d8169d7952
#138 Update AUTHORS and ChangeLog
2018-05-11 18:48:39 +02:00
Thomas Lauf
420bddb095
#138 Added tests
2018-05-11 18:47:03 +02:00
Thomas Lauf
fac5d6a057
#138 Escape '"' in tags for JSON output
2018-05-11 18:42:49 +02:00
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