Commit Graph

9 Commits

Author SHA1 Message Date
Khanh Ngo
8a22e030cd
Merge and resolve the conflicts from master 2018-06-13 09:35:19 +07:00
Thomas M Steenholdt
daba67611b Enable pool_pre_ping in DB connection
To avoid problems with inactive DB connections, SQLAlchemy provides a `pool_pre_ping` option, that described in more detail here:

http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-pessimistic

In flask environments, it's enabled by subclassing SQLAlchemy, which is what I've done here.

Fixes errors like:
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') which results in an Error 500 in the UI.
2018-06-12 14:01:25 -02:00
Khanh Ngo
a6f0bf26d4
Use Flask-Migrate for db migration 2018-06-11 10:58:47 +07:00
Khanh Ngo
52b6966c83 Check zone serial before allowing user to submit their change. #183 2018-04-12 11:18:44 +07:00
thomasDOTde
92d7ca3870 added application certificate handling for signed SAML messages 2018-01-20 17:17:02 +01:00
patito
a4b9722d47 Google OAuth 2017-09-22 15:28:09 +01:00
CMGS
186aedcfc7 github oauth login 2016-08-13 00:49:46 +08:00
Khanh Ngo
df045cb2e5 Add ProxyFix() middleware component to fix the HTTPS redirection issue. See !17 2016-04-10 21:23:27 +07:00
Khanh Ngo
2dac8205f6 Initial commit 2015-12-13 16:34:12 +07:00