Commit graph

225 commits

Author SHA1 Message Date
Son
7c7bf15a13 install flask-debugtoolbar-sqlalchemy to have debug info about sqlalchemy 2021-11-19 18:31:42 +01:00
Son
827b90432c do not add log for /git and /favicon.ico 2021-11-06 18:26:39 +01:00
Son
a99ac24b72 cron, init app, job runner: wrap in an app context to benefit from app setup like database cleanup, sentry integration, etc 2021-10-26 10:52:28 +02:00
Son
0fbd351bed handle the referral url that has ?slref=code part 2021-10-25 15:02:02 +02:00
Son
ff210394a0 rename canonical_url -> CANONICAL_URL 2021-10-23 16:07:54 +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
5d7e10f776 make sure when user changes password, log user out on other browsers 2021-10-11 11:30:41 +02:00
Son Nguyen Kim
486dd831cf fix canonical url 2021-09-23 09:25:07 +02:00
Son Nguyen Kim
c5425b0a73 black 2021-09-22 16:04:57 +02:00
Son Nguyen Kim
2e6b012eff set canonical tag for all html pages 2021-09-22 15:33:08 +02:00
Son Nguyen Kim
5ac78f2694 reformat 2021-09-08 11:29:55 +02:00
Son Nguyen Kim
3faf5c921d add admin for custom domain 2021-08-24 19:43:32 +02:00
Son Nguyen Kim
aa041708e3 add ownership verification via TXT record 2021-08-17 19:05:12 +02:00
Son
66bafe7439 flake8 2021-08-15 17:42:15 +02:00
Son
4cbbf260d4 add dummy-data flask command 2021-08-15 17:32:54 +02:00
Son
1384ccc459 remove RESET_DB config 2021-08-15 17:32:33 +02:00
Son Nguyen Kim
fb4cb8727c Add notify_hibp cron job 2021-07-29 09:35:00 +02:00
Son Nguyen Kim
d181cd49dd Sign the whole Alias Suffix Info instead of just the suffix 2021-07-19 20:14:59 +02:00
Son Nguyen Kim
80d23b8c4f always enable flask_debugtoolbar when local run 2021-07-13 14:15:49 +02:00
Son Nguyen Kim
eb8118e89e split in trunks for fill-up-email-log-alias 2021-07-13 14:15:33 +02:00
Son Nguyen Kim
8583615ba1 logging time for each request 2021-07-13 14:14:40 +02:00
Son Nguyen Kim
19c067fa17 add coupon admin 2021-07-13 08:55:04 +02:00
Son Nguyen Kim
c011a4b90b remove unused import 2021-07-11 15:05:31 +02:00
Son Nguyen Kim
b01fd18951 Add "flask fill-up-email-log-alias" command 2021-07-11 12:29:10 +02:00
Son Nguyen Kim
f97b18e60a fill up EmailLog.alias_id when creating new EmailLog 2021-07-11 12:28:42 +02:00
Sylvia van Os
bee468e055 Black 2021-05-15 18:04:50 +02:00
Sylvia van Os
f67f5297f2 Add HIBP checks 2021-05-14 19:50:32 +02:00
Son NK
edaf293398 Create admin pages for Referral and Payout 2021-05-10 15:51:39 +02:00
Son NK
93a8873192 show payouts on referral page 2021-05-10 13:03:44 +02:00
Son NK
f45e7b53d0 create admin for Client 2021-04-06 19:46:38 +02:00
Son NK
f8540808bc remove Client.published 2021-04-06 19:46:21 +02:00
Son NK
3c5706fb16 only run app without ssl 2021-04-01 12:37:05 +02:00
Son NK
e31e19047c improve admin 2021-03-30 19:08:41 +02:00
Son NK
9d5c2e3f80 display when subscription ends in admin 2021-03-26 12:14:48 +01:00
Son NK
71389b7e09 add limiter on custom alias page 2021-03-24 16:52:05 +01:00
Son NK
0c62ac4b1f set rate limit for creating alias endpoint 2021-03-24 16:26:42 +01:00
Son NK
c0efc78a94 fix 2021-03-18 14:56:32 +01:00
Son NK
d2c99ea00e add more fake data 2021-03-18 14:45:31 +01:00
Son NK
bc69e11f9b enable color log when dev 2021-03-08 12:09:10 +01:00
Son
c4c29dfa1d flake8 2021-03-06 18:13:59 +01:00
Son NK
3494f314bc disable flask toolbar by default 2021-03-06 17:44:46 +01:00
Son NK
3aeaf6fe29 make include_sender_in_reverse_alias non nullable 2021-02-24 15:44:50 +01:00
Son NK
0f9cb13920 add admin page for manual subscription 2021-02-24 09:48:06 +01:00
Son NK
b00524e74f upgrade flask-admin to 1.5.7, use bootstrap4 for admin UI 2021-02-24 09:47:48 +01:00
Son NK
1f7366c07c enrich fake data 2021-02-17 12:49:56 +01:00
Son NK
e651e70d2d add a bounce to fake_data() 2021-01-27 10:09:44 +01:00
Son NK
66f3585253 Add LifetimeCoupon admin page 2021-01-27 10:08:49 +01:00
Son NK
c927edfeaa add a dummy profile pic for fake data 2021-01-19 09:15:55 +01:00
Son NK
79f22857b5 add mailbox admin page 2021-01-12 18:14:35 +01:00