New version + Reworked login process to suppress unauthenticated request + reworked file persistence + added tests module and API tests + reworked how the list repositories user can access is generated (can now only access repositories that are both in his repository list AND in the config repository list, so there is no need to add every new user to all repositories)
"""
version.py:
Module to get the current CatEdit version, the only place where we have to
increment version numbers
"""
__all__ = ["VERSION", "get_version", "CURRENT_VERSION"]
VERSION = (0, 1, 3)
def get_version():
"""
Function to convert the tuple to a string
"""
version = "%s.%s" % (VERSION[0], VERSION[1])
if version[2]:
version = "%s.%s" % (version, VERSION[2])
return version
CURRENT_VERSION = get_version()