- Fix a bug that would not always return all partial overlaps for
actManager._get_all. This in effect fixes broken "timeframe availability" tests. [LIB-253] - Remove obsolete references to
backports.ConfigParser. [LIB-255] - Properly deal with raw fact that do/do-not include seconds. [LIB-254]
- Remove check for
startinfo when validating timeframes with withhelpers.time.validate_start_end_range. [LIB-250]
helpers.time.extract_time_infochecks thatend > start. [LIB-30]- Some attributes of the internal
XMLWriterclass have been renamed. [LIB-109] stop_tmp_factnow accepts hints about the end (date-)time. [LIB-129]- A new method
update_tmp_facthas been added. [LIB-132] - Added
Fact.serialized_string. [LIB-216] - Raw fact parsing has been moved to a separate helper method. [LIB-230]
- Added backend related config helpers. [LIB-235]
- We now use the built-in
configparsermodule under python 3. [LIB-236]
- Added support for tags!
hamster_lib.objects.Taginstances can be appended toFact.tagsand will be stored by the sqlalchemy backend. We also provide comprehensive CRUD methods as part of the brand newstorage.TagManager. - Major refactoring of raw fact parsing. In particular the way timeinfo is
extracted from the string. We are now very clear and explicit about the
supported timeinfo formats. Anything unmatched before the
@token will be considered theactivity.name. This means in particular that our activity names may contain whitespace! - Added new
partialparameter totime.complete_timeframewhich defaults toFalsewhich maintains the functions previous behaviour. Setting it toTruehowever will cause it to only 'complete' those bits of the timeframe where there is at least some partial (time or date) information available. - Moved time related helpers to a dedicated submodule:
hamster_lib.helpers.time - Added
HamsterControl.update_configmethod to allow config updates at runtime. - Renamed
get_confighelper toload_configand limit it to deal just with config retrieval. It no longer ensures a default config is written and returned. Your client will need to handle any such fallback behaviour now. - Use
tox-travisto ensure proper multi python version testing on Travis-CI - Minor fixes in
config_helpers._get_config_instance - Renamed requirements/*.txt to *.pip
- Renamed this package to
hamster-libas it now an offical part of projecthamster. It was previously named and distributed as hamsterlib - Add documentation checker
pep257to testsuite. - Fixed docstrings.
- Removed
hamster_lib.objects.Fact.serialized_name. - Improved test factories
- Made
hamster_lib.objects.*hashable. - Provide consistent and improved
__repr__methods forhamster_lib.objectsclasses. FactManager._get_allcan now return facts completely*or* partially within the timeframe. As a consequence, we removedFactManager._timeframe_is_free.- Added a set of helper function to ease common configuration related tasks. In particular they make it easy to store a given config at its canonical file system location.
- Improved
ActivityManager.get_allto enable it to return all activities.
- Add
icalexport facilities. Brand new writer using theicalendarlibrary. - Add
xmlexport facilities. - Switch to semantic versioning
- Added GPL3 boilerplate
- Provide documentation on packaging and
requirements.txt. - Add support for editorconfig
- Introduce fine grained, storage backend dependent config options.
- fact managers
savemethod now enforces newfact_min_deltasetting. - Fixed broken packing in
setup.py. - Storage manager methods now use extensive logging.
- Documentation moved to 'alabaster' theme and content extended.
- Remove usage of
future.builtins.str. - Adjusted
releasemake target.
- First release on PyPi
- Improved documentation
- Support for ongoing facts.
- Updated requirements
- First release on github