Mercurial > getan
view CHANGES @ 467:59d9c5840273
Porting Python 2 to Python 3.
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Thu, 03 May 2018 15:38:42 +0200 |
parents | 7fedbb73022e |
children | 050ffdec60d9 |
line wrap: on
line source
2.x 20xx-xx-xx UNRELEASED * Updated the source code to the latest version of pyhton (python 3) to better maintain it in the future. Python 2.7 will not be maintained past 2020. Therefore, the whole source code of'done' and'done/scripts' is updated to python 3. * Update and clean up the source code to better maintain it in the future. optparse to argparse Migration. The optparse module is deprecated and will not be developed further.The development will continue with the argparse module. Patch by Magnus Schieder 2.2 2018-01-26 * The problem with unwanted multi moves and deletions is solved. The multi-selection is deleted when switching from the entry-list to project-list. This avoids errors when moving or erasing. More information can be found in ./doc/old_issues.txt -20180117 Patch by Magnus Schieder * Improves 'move' operation to work in the current entry, if there is no selection. This is more consistent with 'delete'. Patch by Frank Koormann. * Documentation: Adds description of the available tree mode. 2.1 2017-09-07 * Adds option '--init-only' which will non-interactively just create the databasefile if it does not exits. (Bernhard Reiter) * Fixes a possible encoding detection failure: uses 'utf-8' by default then. Patch by Tom Gottfried. (Bernhard Reiter) * Improves how the 'user' is found: If no -u/--user is given uses the environment variable $USER or the string 'USER'. Patch by Tom Gottfried. (Bernhard Reiter) 2.0 03.05.2017 (Honoring Björn Ricks who did 90% of this release's development work.) * Adds jinja2 template rendering. getan-eval.py can be used as a main entry point for user templates. User templates are loaded from ~/.getan/templates and can be used via the --template option. E.g. 'getan-eval.py --template=mytemplate' will try to load ~/.getan/templates/mytemplate. * Adds: Existing entries can be adjusted for start_time and length via ui. * Adds 'getan-report.py', a script to write a daily report. * Replaces zeiterfassung.py with 'getan-eval.py -t zeiterfassung'. * Cleanup: All scripts moved into 'scripts/'. * Improves: Recognition of workpackages from the descriptions. They are now closer to the behaviour of zeitvertexung: any non-whitespace is allowed. 1.1 03.03.2014 * Update layout of getan by removing the big column header boxes. Also display the current getan version in the upper right corner. * By pressing backspace (backspace is the default key) on a project in the project list it is possible to edit the project name, key and description. * It is now possible to use empty descriptions for project entires * The deletion of entries can now be aborted with the escape key * The color settings (theme) can be changed via ~/.getan/getanrc * Keymaps are now configurable via ~/.getan/getanrc * Refactored the key handling of all widgets. This allows scrolling in the project and entries list via page up and down. Also Pos1 and End can be used when inserting or editing text e.g. when adding a project. * getan/contrib/zeiterfassung.py: Add conversion function from iso weeks to unix weeks. Use iso weeks for -w and -c parameters and convert them to unix weeks as used in sqlite. 1.0 13.01.2012 * Initial release # vim: set ts=4 sw=4 tw=80 ft=rst :