Commit graph

100 commits

Author SHA1 Message Date
Son Nguyen Kim
5ac78f2694 reformat 2021-09-08 11:29:55 +02:00
Son Nguyen Kim
48838eb176 add highlighted alias in case it's not included in the result 2021-09-07 15:22:50 +02:00
Son Nguyen Kim
ffd2ec5e81 add filter by directory on dashboard 2021-09-05 19:11:05 +02:00
Son Nguyen Kim
51578ce934 add filter by mailbox 2021-08-20 12:21:27 +02:00
Son Nguyen Kim
25f0a71ea5 add 2 weeks mention on global stats 2021-07-14 17:15:46 +02:00
Son Nguyen Kim
253be7bad4 Revert "disable global stats to help the DB"
This reverts commit 7ce83c36b9.
2021-07-14 15:55:03 +02:00
Son Nguyen Kim
7ce83c36b9 disable global stats to help the DB 2021-07-13 14:52:02 +02:00
Son NK
efae1710c8 extract the app/website to a separate page 2021-04-01 14:09:16 +02:00
Son NK
92acf352b6 add limiter for random alias creation 2021-03-24 17:30:05 +01:00
Son NK
8bb324e82b propose users to disable an alias instead of deleting it 2021-03-18 14:21:26 +01:00
Renaud Boyer
f1fb0ebe1f linting 2020-12-06 22:04:21 +01:00
Son NK
81f9f9f41b optimize get_stats(): use session.query instead of EmailLog.query 2020-12-02 17:30:56 +01:00
Son NK
f500a495b7 User can pin an alias 2020-11-15 18:46:43 +01:00
Son NK
b09bb42b2d handle case where highlight_alias_id is not a number 2020-10-26 10:31:38 +01:00
Son NK
fdedc24358 black new version 2020-08-27 10:20:48 +02:00
Son NK
30fe09185f create get_alias_infos_with_pagination_v3 - reduce nb queries used in get_alias_infos_with_pagination_v2 2020-08-21 19:51:48 +02:00
Son NK
d76aad3f17 format 2020-06-03 20:05:05 +02:00
Son NK
89dd8663ce fix alias is None 2020-06-03 20:04:54 +02:00
Sibren Vasse
012bc52694 Fix formatting 2020-05-15 13:42:48 +02:00
Sibren Vasse
e44d92705c Add missing last_page check (index) Move disabled class to correct element (alias_log) 2020-05-15 13:42:48 +02:00
Son NK
b95b758692 Optimize imports 2020-05-09 20:49:38 +02:00
Son NK
2f5a03dcad make sure to add alias into global trash when deleting it 2020-05-07 22:27:27 +02:00
Son NK
84c529c867 optimize import 2020-05-07 17:49:29 +02:00
Son NK
01cc07b9fe change the general stats: display #alias, forward, reply, block 2020-04-27 09:30:08 +02:00
Son NK
76b4611bc2 Show global stats 2020-04-26 18:49:23 +02:00
Son NK
7b2e4da87f Support alias filter 2020-04-26 13:04:27 +02:00
Son NK
4c64393df1 Add other sorting options: A-Z, Z-A, new-old, old-new 2020-04-26 12:25:12 +02:00
Son NK
ee7e783f2a keep sort param when redirecting back to index 2020-04-25 15:31:20 +02:00
Son NK
a2666cc4fe remove "set-mailbox" form post 2020-04-25 15:30:19 +02:00
Son NK
1a081f87c4 Remove "set-note" post form 2020-04-25 15:28:25 +02:00
Son NK
fb9dc23529 remove form POST switch-email-forwarding 2020-04-25 15:26:07 +02:00
Son NK
bbcd4fc355 remove "trigger-email" 2020-04-25 15:21:35 +02:00
Son NK
af431c3d8b Handle alias can be None when deleting 2020-04-25 15:16:46 +02:00
Son NK
36aee86590 support sorting: Oldest Alias to Newest, 2020-04-25 13:49:39 +02:00
Son NK
ca6350cc27 optimize import in all files 2020-04-25 13:49:39 +02:00
Son NK
95b71435f9 refactoring: use get_alias_infos_with_pagination_v2 2020-04-25 13:49:39 +02:00
Son NK
72f3e47c3c remove show_intro_test_send_email, highlight from AliasInfo 2020-04-25 13:49:39 +02:00
Son NK
5839c637f6 use pagination for alias 2020-04-25 13:49:39 +02:00
Son NK
6c1b39bc04 remove AliasInfo.latest_activity 2020-04-25 13:49:39 +02:00
Son NK
3d10fab3a6 Make sure to show intro to user only once 2020-04-13 13:23:17 +02:00
Son NK
460c306712 Order alias by latest activity instead of alias creation date. Show the latest activity & contact 2020-04-05 19:03:17 +02:00
Son NK
bf0f8a913a remove AliasInfo.id 2020-04-05 16:57:47 +02:00
Son NK
b0c3634e72 use dataclass for AliasInfo, remove note 2020-04-05 16:57:28 +02:00
Son NK
67d6ce1cea rename 2020-04-05 16:33:43 +02:00
Son NK
f15488f96b refactor: move get_alias_infos_with_pagination, get_alias_info to alias.py 2020-04-05 16:21:13 +02:00
Son NK
f7e5ab1e34 reaname 2020-04-04 19:21:31 +02:00
Son NK
aaf254a26d order alias by creation date 2020-03-17 21:47:11 +01:00
Son NK
a521002b2c Fix duplicate results 2020-03-17 20:16:20 +01:00
Son NK
a465b1d3ca rename get_alias_info -> get_alias_infos 2020-03-17 19:59:48 +01:00
Son NK
2d90d35647 rename gen_email_id -> alias_id 2020-03-17 12:01:18 +01:00