Commit Graph

25 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
Son Nguyen Kim b990c052ac move domain mailboxes to domain detail page and only enable it if catch-all is on 2021-09-17 11:54:37 +02:00
Son NK dc29c6f9d9 improve wording 2021-02-12 13:03:31 +01:00
Son NK 4a32db5b5d rename PublicDomain -> SLDomain 2020-10-15 16:51:07 +02:00
Son NK 0a4fc76b61 optimize import 2020-10-15 16:45:28 +02:00
Son NK e79522b638 take into account Premium domains 2020-10-15 16:21:31 +02:00
Son NK 6cb589350b avoid adding a built-in domain as custom domain 2020-08-04 21:07:45 +02:00
Son NK f5bc166f39 able to choose mailboxes for a domain 2020-08-01 12:31:02 +02:00
Son NK 103418dff7 Strip off http:// or https:// prefix in domain 2020-05-05 12:46:32 +02:00
Son NK 3eb904c882 set max length for domain 2020-05-05 12:46:11 +02:00
Son NK fc22593bf6 avoid email loop
Prevent user from adding a domain that they are using for their personal email.
2020-01-28 15:16:26 +07:00
Son Nguyen Kim 70e16bb415
Merge pull request #31 from simple-login/canceled-premium
Canceled premium
2020-01-19 14:57:45 +01:00
Son NK d2501e5961 make sure to "strip" custom domain before adding to DB 2020-01-19 14:09:13 +01:00
Son NK 13283b6327 Support cancelled premium users in custom domain & directory
- Freemium user can see custom domain and directory but could not add new.
- user who has added custom domain or directory before could delete them
2020-01-16 22:21:19 +01:00
Son NK ee3c75244e Fix custom domain has been added before 2020-01-01 23:51:40 +01:00
Son NK 96bb37f0f6 User can enable/disable catch-all on custom domain 2019-12-30 18:20:49 +01:00
Son NK 4b6717d8dd Split domain detail into Info and DNS page 2019-12-30 17:52:08 +01:00
Son NK 632484ee5c Update wording: remove "successfully" 2019-12-30 17:43:38 +01:00
Son NK 8dcb8dd249 move domain validation (mx, spf, mx) to domain detail page 2019-12-29 10:46:00 +01:00
Son NK ec62fad3a0 remove notify_admin, replace by general stats 2019-12-15 18:55:18 +02:00
Son NK e4ba4297e1 reformat using black 2019-12-15 18:55:18 +02:00
Son NK 6723487a23 add SPF check 2019-12-15 18:55:17 +02:00
Son NK c012d3686a only premium user can add custom domain 2019-12-15 18:55:16 +02:00
Son NK 3f189163dd notify admin when user creates new custom domain or custom alias associated with custom domain 2019-12-15 18:55:16 +02:00
Son NK a827b27215 add custom_domain view 2019-12-15 18:55:16 +02:00