Commit Graph

790 Commits

Author SHA1 Message Date
Son NK 76389647bb add black friday coupon code 2020-11-08 16:31:24 +01:00
Son NK 4be182320e black 2020-11-07 13:00:58 +01:00
Son NK f57f29a97b Able to set a generic subject for PGP-enabled mailbox 2020-11-07 12:58:51 +01:00
Son NK c1b8f717b5 improve DNS page 2020-11-03 13:12:22 +01:00
Son NK a989545505 make sure alias contact address is valid 2020-11-03 11:13:43 +01:00
Son NK 04a418e655 fix contact name always converted to lowercase 2020-11-03 11:11:55 +01:00
Son NK 9fafddd603 use is_valid_email instead of regex 2020-11-03 11:11:09 +01:00
Son NK a890557c7f Use check_alias_prefix() to check alias prefix 2020-11-03 10:39:08 +01:00
Son NK 71be3b27f7 redirect user to dashboard when setup is done 2020-10-28 10:49:50 +01:00
Son NK 1abebe8067 improve how to use reverse-alias 2020-10-27 18:59:59 +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 c140d3f842 improve reverse-alias instruction use 2020-10-24 16:23:47 +02:00
Son NK 9f50ab4cce Handle IntegrityError when creating new alias 2020-10-24 15:50:29 +02:00
Son NK bc1eeb4f01 move TOTP to top 2020-10-22 11:09:37 +02:00
Son NK 4f7b30c204 Set user.paid_lifetime if paid coupon 2020-10-21 19:31:25 +02:00
Son NK 459f821036 fix name 2020-10-20 20:09:44 +02:00
Son NK a001132497 improve wording 2020-10-20 18:07:21 +02:00
Son NK 14b86749df add more precision on what is account email 2020-10-20 18:02:52 +02:00
Son NK 6921ab05fd reorganise settings sections 2020-10-20 17:47:58 +02:00
Son NK 635182e1ef move lifetime case to first 2020-10-20 17:45:06 +02:00
Son NK acce32fcc8 add doc 2020-10-20 17:42:05 +02:00
Son NK 8482a55df6 display whether a domain is premium 2020-10-20 16:44:22 +02:00
Son NK 03521b5a84 do not check alias_domain_prefix when DISABLE_ALIAS_SUFFIX is set 2020-10-20 16:42:05 +02:00
Son NK 1524bb4e4b black 2020-10-15 16:52:55 +02:00
Son NK dbf0404aa9 rename public_domain -> sl_domain if applicable 2020-10-15 16:52:38 +02: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 adff510359 use PublicDomain instead if ALIAS_DOMAINS 2020-10-15 16:45:08 +02:00
Son NK e79522b638 take into account Premium domains 2020-10-15 16:21:31 +02:00
Son NK 90163220cf rename email_domain_can_be_used_as_mailbox -> email_can_be_used_as_mailbox 2020-10-15 16:05:47 +02:00
Son NK 6557b7157f handle the Paddle 147 error 2020-10-12 17:37:04 +02:00
Son Nguyen Kim 4e45a619cd
Merge pull request #302 from TheLastProject/feature/custom_domain_random_suffix
Support random suffix for personal domains
2020-10-11 18:06:06 +02:00
Sylvia van Os 9702037573 Reformat with Black 2020-10-09 23:00:10 +02:00
Sylvia van Os 26d0437009 Make prefix generation configurable per domain 2020-10-09 22:54:13 +02:00
Son NK 5486f54955 refactor verify_prefix 2020-10-09 22:08:29 +02:00
Son NK 8dbd3c1c68 more detailed error message when an alias can't be created 2020-10-09 11:48:52 +02:00
Sylvia van Os 6b085960cb Merge branch 'master' of https://github.com/simple-login/app into feature/custom_domain_random_suffix 2020-10-07 18:52:54 +02:00
Sylvia van Os 739fb50b04 Format with Black 2020-10-05 21:12:13 +02:00
Sylvia van Os aeef9ccca9 Support random suffix for personal domains 2020-10-05 21:00:52 +02:00
Son Nguyen Kim 73e90e6892
Merge pull request #298 from TheLastProject/feature/autogenerated_icon
Show icon if address was autogenerated
2020-10-03 10:54:41 +02:00
Sylvia van Os ff0eaa4bbf Show icon if address was autogenerated 2020-10-02 20:52:29 +02:00
Son NK 772a2e7355 add "export alias" button 2020-09-30 12:20:18 +02:00
Sylvia van Os b95c44e3db
Add dot after DKIM
To prevent the domain name being added after it
2020-09-29 19:17:56 +02:00
Son NK 571e39bb30 user can add/remove authorized address 2020-09-28 21:09:20 +02:00
Son NK f274bac053 fix typo 2020-09-23 19:36:54 +02:00
Son NK d81ad2fd12 sanitize mailbox before creating: remove empty space 2020-09-17 17:02:50 +02:00
Son NK 5480f6d35b handle case highlight_id is not int 2020-09-14 19:54:00 +02:00
Son NK 299f7d3fba remove unnecessary sanitize 2020-09-14 17:58:15 +02:00
Son NK e291a71037 fix duplicate contact on contact page 2020-09-14 11:38:01 +02:00
Son NK 1026f0763d fix wording 2020-09-12 14:57:33 +02:00
Son NK 3545ae7d97 improve intro 2020-09-12 14:32:55 +02:00
Son NK 76175dc517 update batch import wording 2020-09-11 16:49:39 +02:00
Son NK f664243e42 add batch-import page 2020-09-10 20:14:55 +02:00
Son NK a0b50762ee remove "how to use" on custom domain page 2020-09-08 13:51:46 +02:00
Son NK 7b6e58ef95 always show the "how to send email" help 2020-09-08 13:51:00 +02:00
Son NK 2d395f99bb make sure to remove whitespace in alias 2020-09-02 09:56:16 +02:00
Son NK 6629b8687b set cookie setup_done=true on the setup_done page 2020-09-01 20:47:57 +02:00
Son NK e4c4797cdb do not mark a domain as unverified if it fails the MX check 2020-08-31 17:11:18 +02:00
Son NK e117726cd9 send alert email when a mailbox is an email alias 2020-08-30 19:06:50 +02:00
Son NK fdedc24358 black new version 2020-08-27 10:20:48 +02:00
Son NK f213469e9f display nb-reply, nb-forward on alias contact page 2020-08-26 11:45:07 +02:00
Son Nguyen Kim 637bc569eb
Merge pull request #260 from FabioWidmer/improvements-1
Improvements for Self Hosting & More
2020-08-24 20:16:59 +02:00
Son NK 9237f43c19 use warning log level for tampered alias 2020-08-24 19:58:21 +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 c77b0c07b4 fix alias sorting 2020-08-20 10:11:41 +02:00
Son NK b8e0ee424c pass userId to Paddle 2020-08-20 09:44:45 +02:00
Son NK 7e345e4db3 fix typo 2020-08-19 10:03:07 +02:00
Son NK 7f34dc1a20 remove auto email fill-up on paddle 2020-08-19 09:22:54 +02:00
Son NK 359eec23c0 take into account spam email during reply phase on refused email page 2020-08-15 16:58:11 +02:00
Son NK f9300009e5 refactor: rename forward -> contact 2020-08-15 16:56:16 +02:00
Fabio Widmer 9226492f83
More self hosting improvements 2020-08-14 16:23:29 +02:00
Son NK 4434ad62dd handle the case 2 users want to use the same email address 2020-08-13 11:00:48 +02:00
Son NK b395c2ebd0 use warning log for FIDO error 2020-08-12 12:48:51 +02:00
Son NK 1f0ef13ff2 do not require user to re-enter TOTP code when cancelling TOTP 2020-08-05 12:30:56 +02:00
Son NK f17608df50 add link back to home page in recovery page 2020-08-05 12:28:20 +02:00
Son NK 6cb589350b avoid adding a built-in domain as custom domain 2020-08-04 21:07:45 +02:00
Son NK f2fb599664 Optimize Alias.get_contacts() to retrieve the latest reply for each contact in a single query 2020-08-04 11:37:59 +02:00
Son NK 918b18870f show mailboxes that a catch-all alias belongs to 2020-08-01 12:41:48 +02:00
Son NK f5bc166f39 able to choose mailboxes for a domain 2020-08-01 12:31:02 +02:00
Son NK ec8f120085 small fixes in directory.py 2020-08-01 12:22:52 +02:00
Son NK 68eeb2e121 add rel="noopener" for target="_blank" link 2020-07-30 10:09:10 +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 515b3510a8 use warning when user is out of quota 2020-07-15 19:14:37 +02:00
Son NK 1bbc416ec1 fix the case public domain is also a custom domain for a specific user: check for public domain first. 2020-07-05 11:45:00 +02:00
Son NK f9cb40aa5b user can choose a random alias domain in a list of public domains 2020-07-04 23:29:06 +02:00
Son NK 5ed39b47ca add setup-done page 2020-07-04 19:42:48 +02:00
Son NK df96773959 show nb paid user on referral page 2020-07-02 08:48:59 +02:00
Son NK abe9768db4 user can update the random alias domain 2020-06-25 13:04:27 +02:00
Son NK 1a22d0cf9b fix domain can be null in self-hosting
# Conflicts:
#	app/api/views/new_custom_alias.py
#	app/dashboard/views/custom_alias.py
2020-06-15 15:58:05 +02:00
Son NK 4ee38823b8 make sure to strip and lower email 2020-06-11 23:35:24 +02:00
Son NK d85b32d56f prettify contact manager page 2020-06-07 13:41:59 +02:00
Son NK 08f4891492 use breadcrumb for contact header 2020-06-07 13:41:59 +02:00
Son NK 7b2d86552b fix popup display when edit contact 2020-06-07 13:41:59 +02:00
Son NK f708ee6bb2 improve wordings in alias contact manager page 2020-06-07 13:41:59 +02:00
Son NK afe975b8c3 User can add PGP key to for a contact 2020-06-07 13:40:24 +02:00
Son NK e5b60d9251 prettify directory page 2020-06-05 23:25:37 +02:00
Son NK bc01479a72 user can update directory mailboxes 2020-06-05 22:13:35 +02:00
Son NK 18b530fe6f Able to set mailboxes when creating directory 2020-06-05 22:12:21 +02:00
Son NK 50a7442d02 update notification email 2020-06-03 21:37:44 +02:00
Son NK ecab3ea6ed take into account the case premium user obtains a lifetime license
- do not show subscription expired date
- show lifetime plan message on settings page
2020-06-03 21:32:15 +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
Son Nguyen Kim 1e00ea300a
Merge pull request #214 from FozzieHi/reword
Reword some sentences.
2020-05-29 19:59:39 +02:00
George a9460f120b
Change 2FA text 2020-05-29 13:51:56 +01:00
George d10a993e9d
Fix typo 2020-05-29 13:46:50 +01:00
George b9fd211acb
Fix lifetime user message 2020-05-29 13:46:06 +01:00
George 007768a5bb
User is able to view recovery codes. 2020-05-29 13:34:14 +01:00
George c28484130b
Fix 2FA message 2020-05-29 13:33:14 +01:00
George 1c57dca4f3
Fix 2FA message 2020-05-29 13:32:55 +01:00
George 8635b37281
Add catch-all domains 2020-05-29 13:32:15 +01:00
George 9af4a6949a
Fix API key wording 2020-05-29 13:31:20 +01:00
Son NK 683b3e54d8 remove User.can_use_fido column: anyone can setup FIDO 2020-05-28 20:38:29 +02:00
George 6f78802c0a
Rename text box requirements. 2020-05-27 21:52:45 +01:00
George 972f651eca
Reword pricing page. 2020-05-27 19:45:29 +01:00
George aa8a8fafff
Change plan text. 2020-05-27 19:34:25 +01:00
Son NK 7a708ec41b Fix fido setup not working on Firefox
- disable form automatic submit when entering
- replace button by span to avoid automatic submit when clicking on the button on firefox
- check if key name is not empty
2020-05-27 20:28:31 +02:00
George 8c6cce9051
Change plan wording. 2020-05-27 19:04:16 +01:00
George fd58557f19
Reword the settings page. 2020-05-27 18:48:05 +01:00
George 299e51cc08
Reword some sentences. 2020-05-27 18:23:33 +01:00
Son NK eb6bfdd56f only show upgrade button to "free" lifetime user 2020-05-27 00:20:09 +02:00
Son NK b65328afe7 workaround browser cache for webauthn.js 2020-05-25 00:10:12 +02:00
Son NK c68fad741b Improve how to use directory 2020-05-24 23:55:49 +02:00
Son NK 22c5513909 fix ForeignKeyViolation 2020-05-24 20:35:52 +02:00
Sibren Vasse 097ac771b0 Prevent OTP replay attacks by invalidating last token 2020-05-24 19:23:16 +02:00
Son Nguyen Kim eb60028b1f
Merge pull request #199 from developStorm/webauthn-multiple-keys
Support Multiple Keys for WebAuthn
2020-05-24 18:56:42 +02:00
Son NK 44fbffb679 add how to use for contact page 2020-05-23 23:21:00 +02:00
Son NK 0b1131a412 improve wording 2020-05-23 23:20:47 +02:00
Son NK c47fb44c1e Pagination for contact page 2020-05-23 22:34:46 +02:00
Son NK b01c91423f display notifications. user can mark a notification as read. 2020-05-23 19:54:06 +02:00
Son NK dfb427e6da format 2020-05-23 19:50:36 +02:00
Son NK 9bb17533c1 no need to check for deletedAlias when changing mailbox or user email 2020-05-23 19:50:04 +02:00
Son NK adce27b88b Add DomainDeletedAlias.get_by check when creating custom alias 2020-05-23 19:49:40 +02:00
Son NK 2f087de061 can update mailbox email 2020-05-23 16:40:28 +02:00
Son NK 722bff319e add POST /api/mailboxes: create a new mailbox 2020-05-23 16:17:42 +02:00
Son NK 40ec9f44a4 check if an alias is domain trash before creating it 2020-05-23 11:51:35 +02:00
Son NK a3ff19dac4 create custom domain trash page 2020-05-23 11:48:43 +02:00
Son NK 281331bc51 use warning level for "Alias creation time expired" error 2020-05-21 20:05:54 +02:00
Son NK 32a9bd9095 make sure to use lowercase for mailbox email 2020-05-20 18:16:18 +02:00
Son NK 93d972df09 make sure to use lowercase for alias email 2020-05-20 18:12:14 +02:00
devStorm 4fd7bf40ab
use dt filter 2020-05-18 14:05:03 -07:00
devStorm 7bd97e13b0
fido_model -> fidos 2020-05-18 13:55:38 -07:00
devStorm ea914e0378
Rename FIDO->Fido 2020-05-18 13:54:05 -07:00
devStorm 7d1a744fe2
typo 2020-05-18 13:47:42 -07:00
devStorm 5c3d2c19c8
module level and can be prefixed 2020-05-18 13:46:13 -07:00
devStorm c0a751ff13
Put button inside the form 2020-05-18 13:45:02 -07:00
Son NK 300ece2440 pycharm format 2020-05-18 19:15:20 +02:00
Son NK e22f5d1c63 Improve wordings 2020-05-18 19:14:52 +02:00
devStorm 0a59dd5638
Activate key on enter 2020-05-18 05:27:57 -07:00
devStorm d91fbb563a
Remove debug keys 2020-05-18 05:11:54 -07:00
devStorm 45023cd775
Copywriting consistency 2020-05-18 05:10:19 -07:00
devStorm b64ed7ad63
key management page 2020-05-18 05:07:06 -07:00
devStorm 6ea17b4feb
remove debug code for sudo 2020-05-18 03:03:14 -07:00
devStorm 6509053fa8
named key 2020-05-18 02:55:41 -07:00
devStorm 0cdd0b3b07
black 2020-05-18 02:15:52 -07:00
devStorm f79eb90d2a
sudo mode 2020-05-18 02:14:40 -07:00
devStorm 35f0c094fe
black 2020-05-18 01:04:45 -07:00
devStorm 2b8febe0b9
black 2020-05-18 00:06:24 -07:00
devStorm 9fb91c83e7
more setup 2020-05-18 00:01:27 -07:00
devStorm f2f6e13af7
DB & Setup ready for multi-keys 2020-05-17 22:05:37 -07:00
Sibren Vasse e905e151ca Create user setting for replacing reverse alias (default: false) 2020-05-17 19:40:46 +02:00
Son NK 12b76dd33b Merge branch 'master' into alias-disable-pgp 2020-05-17 10:46:44 +02:00
Son NK 043ecd4fac redirect user to recovery codes page after MFA setup. Remove all recovery codes when user is no more MFA. 2020-05-17 10:11:38 +02:00
Son NK 3f7842ed3e create /recovery_code page 2020-05-17 10:05:55 +02:00
Son NK 13bb9810b6 use can disable PGP on an alias 2020-05-16 20:51:07 +02:00
Son NK 5e6454e6de use a different class for alias toggle 2020-05-16 20:51:07 +02:00
Son NK 62ed7def00 fix wording 2020-05-16 20:50:27 +02:00
Sibren Vasse a5f24e0227 Add more From: sender formatting options 2020-05-16 18:44:31 +02:00
Son NK a4d17e7afc use multiple-select instead of bootstrap-select 2020-05-16 12:17:26 +02:00
Son NK 362d101bab Merge branch 'master' into multiple-mailboxes
# Conflicts:
#	app/dashboard/templates/dashboard/custom_alias.html
#	email_handler.py
#	templates/emails/com/newsletter/mobile-darkmode.html
2020-05-16 11:28:25 +02:00
Son Nguyen Kim d97b52184e
Merge pull request #186 from SibrenVasse/dark_flash
Frontend improvements
2020-05-15 23:37:30 +02:00
Son NK 7ed77a66b2 format 2020-05-15 23:18:42 +02:00
Son NK 2978bfb281 Fix user cannot change personal email back and better naming.
Happens when user
- changes their personal email
- wants to change back: they can't as this email is already used as mailbox
2020-05-15 23:18:30 +02:00
Son NK 0b652cf3f8 remove AliasMailbox.user_id column 2020-05-15 16:35:57 +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
Sibren Vasse cb269a1bbe Change pagination style 2020-05-15 13:42:48 +02:00
Sibren Vasse c7530947d3 On domain check fail, update database 2020-05-14 15:05:04 +02:00
Son NK 591fee301e prettify dns page 2020-05-11 23:23:08 +02:00
Son NK 70e842789e make pages compatible with dark-theme 2020-05-11 23:22:15 +02:00
Son NK cbfeee4e28 display list of mailboxes in alias contact manager 2020-05-10 20:09:54 +02:00
Son NK 8f35290a21 fix overflow error when there are several mailboxes 2020-05-10 20:09:54 +02:00
Son NK bc55b98e12 display mailbox that a bounce affects 2020-05-10 20:09:54 +02:00
Son NK e704497b0f make sure prefix is not empty before submitting 2020-05-10 20:09:54 +02:00
Son NK e52f2ca6de Support multiple mailboxes in custom alias page 2020-05-10 20:09:54 +02:00
Son NK b375f87d2c User can update multiple mailboxes 2020-05-10 20:09:54 +02:00
doanguyen 7ef78c991f Dark mode implementation
* Using CSS variable as a solution
* The new darkmode css is now live in another file so that upgarding
dashboard.css doesn't affect the darkmode itself
* Used a naive darkmode controller by client javascript. No persistance
state is stored in the backend at the moment
2020-05-10 16:52:14 +02:00
Son NK 8244fa01e7 only show advanced options when spf_available 2020-05-10 09:21:55 +02:00
Son NK 0bfd6b3ec7 remove deleted_alias page 2020-05-10 09:20:08 +02:00
Son NK 178515dbde alert user when spf fails 2020-05-09 23:00:30 +02:00
Son NK 4e4eda4efa display enforce-SPF option. Change wording. 2020-05-09 22:29:32 +02:00
Son NK b95b758692 Optimize imports 2020-05-09 20:49:38 +02:00
Son Nguyen Kim b95d815e5c
Merge pull request #168 from simple-login/global-trash
Global trash
2020-05-09 18:08:51 +02:00
Son Nguyen Kim 5fa2a86f23
Merge pull request #170 from developStorm/webauthn-patch
🐛 WebAuthn bug fixes
2020-05-09 18:05:34 +02:00
Son NK 295c2fd03f Hide the SPF toggle 2020-05-09 17:34:59 +02:00
Son NK 2d8f056e11 Fix wording 2020-05-09 17:26:26 +02:00
Son Nguyen Kim e23887bb37
Merge pull request #164 from SibrenVasse/spf
Enforce SPF
2020-05-09 14:37:09 +02:00
Sibren Vasse 001079bdc5 Enforce SPF 2020-05-09 14:15:08 +02:00
devStorm d236f906ad
🐛 WebAuthn bug fixes
- User may not have name
- user_verification should be discouraged to work on iOS
2020-05-08 14:21:38 -07:00
Son NK 75a28c53cf fix grammar mistake 2020-05-08 13:40:21 +02:00
Son NK ad194c46f2 remove lifetime licence in pricing page 2020-05-08 12:38:42 +02:00