Releases: zeratax/matrix-registration
Releases · zeratax/matrix-registration
v0.9.1
v0.9.0
Features
- now uses alembic to up- or downgrade the database scheme
Please run the following after every update to make sure your database scheme is uptodate
alembic upgrade head
- #55 instead of one time token you can now set arbitrary amounts of usage per token via
-m, --maximum INTEGER times token can be used
- #38 new option in the config file to log IPs to the database
these are viewable by checking the status of individual token via the cli or web api
Fixes
- #58 by renaming
shared_secret
toregistration_shared_secret
and
admin_secret
toadmin_api_shared_secret
Changes
- addresses #16 by changing the web api:
- every endpoint is now under the
/api/
subdirectory - added a version endpoint
/api/version
that respons with e.g.{"version":"0.9.0.dev0"}
- PUT -> PATCH for
/api/token
- every endpoint is now under the
- renaming the following properties
valid
->active
one_time
->max_usage
ex_date
->expiration_date
v0.9.0.dev0
Features
- now uses alembic to up- or downgrade the database scheme
Please run the following after every update to make sure your database scheme is uptodate
alembic upgrade head
- #55 instead of one time token you can now set arbitrary amounts of usage per token via
-m, --maximum INTEGER times token can be used
Fixes
- #58 by renaming
shared_secret
toregistration_shared_secret
and
admin_secret
toadmin_api_shared_secret
- #38 by giving an option in the config file to log IPs to the database
these are viewable by checking the status of individual token via the cli or web api
Changes
- addresses #16 by changing the web api:
- every endpoint is now under the
/api/
subdirectory - added a version endpoint
/api/version
that respons with e.g.{"version":"0.9.0.dev0"}
- PUT -> PATCH for
/api/token
- every endpoint is now under the
- renaming the following properties
valid
->active
one_time
->max_usage
ex_date
->expiration_date
v0.8.0
v0.7.2
Features
-
get automatically published docker builds here:
-
new config option
base_url
which allows to set prefixes for the final url,
e.g. usebase_url: 'element/'
forexample.tld/element/register/
Fixes
- #44 issue where docker builds could not connect to a postgres db
v0.7.2.dev1
This is mostly a test release
Features
- publishes docker build to
- new config option
base_url
which allows to set prefixes for the final url,
e.g. usebase_url: 'element/'
forexample.tld/element/register/
Fixes
- hopefully addresses #44
v0.7.1
v0.7.0
v0.6.1
v0.6.0
Features
- now uses SQLAlchemy and therefore supports postgres and other database schemes
- added docker image
- added nix shell support
- use waitress to serve application as a proper production wsgi server
Changes
- commands have slightly changed
- gen => generate
- api => serve
Troubleshooting
SQLAlchemy complains that a value isn't in a DateTime value
Before #17 introduced SQLAlchemy support the sqlite database incorrectly stored the expire dates, to fix this you have to manually run:
update tokens set ex_date=null where ex_date='None';
on your database once, or just delete your current database.