Commit Graph

29 Commits

Author SHA1 Message Date
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
Renaud Boyer 43d9dbc1fc linting 2020-12-06 22:00:01 +01:00
Son NK 6ed6218895 black 2020-11-17 09:27:45 +01:00
Son NK 145fc9c67c Add reverse_alias_address to GET /api/aliases/:alias_id/activities 2020-11-17 09:27:30 +01:00
Son NK bc55b98e12 display mailbox that a bounce affects 2020-05-10 20:09:54 +02:00
Son NK 425fdc66c6 Move methods to api/serializer.py 2020-04-05 16:32:38 +02:00
Son NK 2619333cc6 remove uses of website_from 2020-04-05 15:39:48 +02:00
Son NK 4d8040c80d Add reverse_alias to GET /api/aliases/:alias_id/activities 2020-04-04 19:18:07 +02:00
Son NK 1c5d6e3299 rename 2020-04-04 19:11:10 +02:00
Son NK 2d90d35647 rename gen_email_id -> alias_id 2020-03-17 12:01:18 +01:00
Son NK 4f281bdbbb rename GenEmail -> Alias, gen_email to alias whenever possible 2020-03-17 11:51:40 +01:00
Son NK bea870ef8b rename ForwardEmailLog to EmailLog 2020-03-17 11:10:50 +01:00
Son NK f2d630e597 rename forward_id to contact_id 2020-03-17 11:05:53 +01:00
Son NK 17974de746 rename ForwardEmail to Contact 2020-03-17 10:56:59 +01:00
Son NK dddea7c54f fix formatting 2020-02-22 21:10:31 +07:00
Son NK f80de382fe Prettify alias log 2020-02-22 21:09:07 +07:00
Son NK 74d1f87db0 disable bounced email in alias log 2020-02-22 13:27:22 +07:00
Son NK 1e4bab765d use PAGE_LIMIT in alias_log 2020-02-04 23:28:05 +07:00
Son NK 9e2adb42c6 Order alias log by recency 2020-01-29 10:42:46 +07:00
Son NK f860471d50 fix slash in url: use alias_id instead of alias 2020-01-11 21:48:25 +01:00
doanguyen d804a28c07 fix the format, again 2020-01-07 00:02:12 +01:00
doanguyen 6a99fd30c4 fix some minor bugs 2020-01-06 23:58:24 +01:00
doanguyen 5af974fc5d alias log dashboard 2020-01-05 22:49:48 +01:00
doanguyen 1162495b36 remove dataclasses completely, remove the slots magic 2019-12-31 20:20:17 +01:00
doanguyen a20f790fda add py36 2019-12-31 20:08:59 +01:00
doanguyen d42eea39cc consider to get rid of dataclass dependent 2019-12-31 11:22:18 +01:00
doanguyen 37ca4eaf20 working on paginate alias log page 2019-12-31 11:11:06 +01:00
Son NK 7f908a9da8 display website_from on alias log 2019-12-15 18:55:18 +02:00
Son NK 5b8bc68da1 add alias log page 2019-12-15 18:55:14 +02:00