Commit Graph

16 Commits

Author SHA1 Message Date
Son
c132e3fbbc flake8 2021-10-12 15:03:16 +02:00
Son
eb0e327402 remove "with app.app_context():" 2021-10-12 14:47:01 +02:00
Son
372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son Nguyen Kim
5ac78f2694 reformat 2021-09-08 11:29:55 +02:00
Son NK
0b83835065 fix load_pgp_public_keys() 2020-12-31 11:21:54 +01:00
Renaud Boyer
21e928548f linting 2020-12-06 13:37:45 +01:00
Son NK
60b1145670 improve logging msg 2020-10-16 20:26:13 +02:00
Son NK
4a32db5b5d rename PublicDomain -> SLDomain 2020-10-15 16:51:07 +02:00
Son NK
e79522b638 take into account Premium domains 2020-10-15 16:21:31 +02:00
Son NK
6437ee46e0 use LOG.exception instead of LOG.error to provide stacktrace 2020-07-17 12:59:07 +02:00
Son NK
dc9ee048a2 add all domain in ALIAS_DOMAINS to public domain table 2020-07-04 23:18:30 +02:00
Son NK
016d342f3b load contact pgp keys in load_pgp_public_keys 2020-06-07 13:41:59 +02:00
Son NK
f4beb81195 refactor load_pgp_public_keys 2020-06-07 12:46:59 +02:00
Son NK
69198ff08a delete all unnecessary headers in PGP 2020-03-14 22:24:02 +01:00
Son NK
42382bff64 fix format 2020-03-08 23:14:44 +01:00
Son NK
afc5b6fe1a add init_app that loads all GPG key 2020-03-08 23:09:32 +01:00