Son Nguyen Kim
d2360d1a99
update black friday wording ( #1430 )
2022-11-16 15:49:22 +01:00
Son Nguyen Kim
420bc56fc8
fix test ( #1429 )
2022-11-16 13:58:30 +01:00
Son Nguyen Kim
b3e9232956
show black friday banner ( #1428 )
...
* show black friday banner
* djlint
2022-11-16 13:43:09 +01:00
Son Nguyen Kim
989358af34
Fix empty authorized address ( #1423 )
...
* not allow empty authorized address
* check authorized address before adding
* use github for flake8
* fix test
2022-11-15 16:04:31 +01:00
Adrià Casajús
d324e2fa79
Fix: Add csrf verification to directory updates ( #1358 )
...
* Fix: Add csrf verification to directory updates
* Update templates/dashboard/directory.html
* Added csrf for delete account form
* Fix tests
* Added CSRF check for settings page
* Added csrf to batch import
* Added CSRF to alias dashboard and alias transfer
* Added csrf to contact manager
* Added csrf to mailbox
* Added csrf for mailbox detail
* Added csrf to domain detail
* Lint
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-27 10:04:47 +02:00
Son Nguyen Kim
8c73ff3c16
plausible: use https://simplelogin.io/p.outbound.js ( #1364 )
2022-10-24 16:44:01 +02:00
Son Nguyen Kim
9b452641a8
rename analytics.js to an.js ( #1363 )
2022-10-24 15:47:02 +02:00
Son Nguyen Kim
3a4dac15f0
Plausible roll up ( #1350 )
...
* enable plausible roll-up, use everything.simplelogin.com
* versionning analytics.js to avoid caching
* allow plausible custom event
* send "Complete registration" event when user finishes signup
* remove blank lines
2022-10-14 10:38:43 +02:00
Son Nguyen Kim
3be75a1bd9
fix copy to clipboard ( #1346 )
2022-10-13 17:29:01 +02:00
Adrià Casajús
d5ca316e41
Have custom domains set up multiple dkim records to be able to rotate keys ( #1334 )
...
* Have custom domains set up multiple dkim records to be able to rotate keys
* Apply suggestions from code review
* Some PR comments
* Keep dkim enabled if it is already
* Format
* PR updates
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-11 07:17:37 +02:00
Son Nguyen Kim
f3bfc6e6a1
djlint ( #1342 )
2022-10-10 10:25:53 +02:00
mfmw123
21ce5c8e10
Corrections & consistent footer ( #1338 )
...
* Corrections and consistent footer
- _Downloads_ instead of _Features_
- Made _open source_ a link
- Deleted _-_ in the _open source_
- Added comparisons to be consistent with the main page
- Fixed GitHub spelling
* fix styling
Co-authored-by: Son Nguyen Kim <nguyenkims@users.noreply.github.com>
2022-10-10 10:17:12 +02:00
Son Nguyen Kim
4ff158950d
use Proton Mail instead of Protonmail ( #1336 )
2022-10-06 17:43:01 +02:00
Son Nguyen Kim
002897182e
use logo with Proton mention ( #1330 )
2022-10-04 11:14:23 +02:00
Adrià Casajús
faeddc365c
Display recovery codes for mfa only once ( #1317 )
...
* Recovery codes can only be shown after adding a 2FA code and cannot be seen afterwards
* Added recovery codes fix
* Updated models and script
* Formatting
* Format
* Added base code
* Updated wording
* Set the config by default
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-03 12:32:45 +02:00
Son Nguyen Kim
d415974e3b
Handle undisclosed recipients header ( #1314 )
...
* remove TO header if it's set to "undisclosed-recipients:;"
more info on https://www.rfc-editor.org/rfc/rfc4356.txt
* remove unnecessary indentation character in plain text email
2022-09-27 09:43:58 +02:00
Son Nguyen Kim
3900742d1f
Add proton mention ( #1306 )
...
* do not add mime-version header if already present
* mention proton in footer
* update email template
2022-09-22 15:15:22 +02:00
Son Nguyen Kim
2760b149ff
change twitter handle to simplelogin instead of simple_login ( #1286 )
2022-09-14 17:37:41 +02:00
PurpleSn0w
48127914c2
Fix: Spelling ( #1259 )
...
* Fix: Spelling
* Fix: Spelling
Co-authored-by: Hugh <inbox.xmrjn@simplelogin.co>
2022-09-02 11:58:26 +02:00
Son Nguyen Kim
cea139b7d5
Improve handling when pgp key is invalid ( #1264 )
...
* remove unused email statuses
* add more logging
* use text_header if html_header not set
* improve email
* add a header about PGP failure when forward emails can't be encrypted
* remove unused email status
2022-09-02 11:47:04 +02:00
Son Nguyen Kim
ae2cbf98e2
Handle invalid pgp key ( #1260 )
...
* check invalid mailbox pgp key
* check if public key is valid before trying with pgpy
* fix query
* remove unused code
2022-09-01 15:10:11 +02:00
Son Nguyen Kim
fd00100141
fix grammar mistake ( #1248 )
2022-08-26 16:47:25 +02:00
Son Nguyen Kim
9eacd980ef
include_sender_in_reverse_alias set to true for new users ( #1244 )
2022-08-23 11:24:49 +02:00
Son Nguyen Kim
6c6deedf47
Stop paddle sub ( #1216 )
...
* admin can stop a paddle sub
* show admin menu if user is admin
2022-08-04 09:20:07 +02:00
Adrià Casajús
25fde11a86
Refactor alias suffix ( #1194 )
...
* Extract suffix generation and validation to a module
* Updated tests
* Make custom alias use signed suffixes
* Added the signature check to the module
* Fix invalid route
* Move more suffix related stuff
* Fix tests
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-27 17:40:22 +02:00
Son Nguyen Kim
c3c0b045db
not blur out other aliases when an alias is highlighted ( #1190 )
2022-07-26 11:14:33 +02:00
Son Nguyen Kim
4f4a098b9b
update wording for proton ( #1187 )
...
* update wording for proton
* improve wording
2022-07-25 18:10:30 +02:00
Son Nguyen Kim
6322e03996
admin can manage newsletter and test sending it ( #1177 )
...
* admin can manage newsletter and test sending it
* add comments
* comment
* doc
* not userID not specified, send the newsletter to current user
* automatically match textarea height to content when editing newsletter
* increase text height and limit img size to 100% in email template
* admin can send newsletter to a specific address
2022-07-22 11:24:53 +02:00
Son Nguyen Kim
8773ed199a
improve wording ( #1168 )
...
* improve wording
* improve wording
2022-07-19 18:58:41 +02:00
Adrià Casajús
f3d47a1eaa
Allow users to keep the original unsub behaviour ( #1148 )
...
* Feature: Preserve original unsubscribe request
* Updated tests
* Updated settings
* PR comments
* reduced prefix length
* Include migrate users for new unsub behaviour
* PR comments
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-19 17:25:21 +02:00
Son Nguyen Kim
750b6f9038
distinguish between bounce and quarantine ( #1167 )
...
* distinguish between bounce and quarantine
- improve wording
- show bounce or quarantine badge
* prettify
2022-07-19 16:00:02 +02:00
Son Nguyen Kim
c5773af6a8
remove 15 hardcoding ( #1164 )
2022-07-19 15:09:46 +02:00
Son Nguyen Kim
36547bd82d
Update wording ( #1163 )
...
* rename file
* update wording when adding mailbox
* rename
2022-07-17 15:02:17 +02:00
Son Nguyen Kim
b742f58829
add a bit of spacing to email template that uses "call" a lot ( #1153 )
...
* add a bit of spacing to email template that uses "call" a lot
* apply djlint
2022-07-11 12:06:15 +02:00
Son Nguyen Kim
288f086a55
small rename ( #1149 )
2022-07-08 09:05:38 +02:00
Carlos Quintana
38d305da23
Bypass 2FA if Login with Proton ( #1142 )
...
* Bypass 2FA if Login with Proton
* Fix formatting of template
2022-07-04 16:24:49 +02:00
Adrià Casajús
c2bb6488e4
Allow to login with proton to enter sudo mode ( #1141 )
...
* Allow to login with proton to enter sudo mode
* Updated wording
* lint
* Only enabled if the user has the account linked
* Add exit-sudo route for tests
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-04 16:09:36 +02:00
Adrià Casajús
046748c443
Update pre-commit ( #1138 )
...
* Update pre-commit
* Upgrade djlint, remove flake8 and add pylint
* Reformat with new djlint version
* Run pre-commit on CI
* Use only python3.10 on CI
* Reformat files with pre-commit
* Run pre-commit against all files
* Reformat
* Added global excludes
* Added pre-commit to the contributing file
* Set python 3.9 as default
* Set language version to python3
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
2022-07-04 16:01:04 +02:00
Son Nguyen Kim
6d86e64d65
show msg on /internal/integrations/proton ( #1139 )
...
* show msg on /internal/integrations/proton
* highlight the connect with Proton section
* djlint
2022-07-04 15:39:12 +02:00
Son Nguyen Kim
2f9301eb97
add 14 days mention and use same stats design for alias activity page ( #1136 )
...
* add 14 days mention and use same stats design for alias activity page
* djlint
2022-07-04 11:52:34 +02:00
Son Nguyen Kim
93968d00b6
update wording ( #1131 )
2022-06-30 19:19:22 +02:00
Adrià Casajús
21feced342
Refactor unsubscribe handling ( #1090 )
...
* Refactor unsubscribe email handling
* MR comments
* Moved all unsub logic to the encoder
* remove unused
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-30 11:40:01 +02:00
Son Nguyen Kim
44ddd95730
fix coupon page ( #1126 )
2022-06-29 18:21:49 +02:00
Carlos Quintana
cb7868bdca
Add djlint ( #1122 )
...
* Add DJlint configuration
* Initial reformat for djlint
* Add template linting to CI
* Add explanation for HTML template checks in CONTRIBUTING.md
2022-06-29 11:28:26 +02:00
Son Nguyen Kim
f6a7ee981a
do not send double subscription email ( #1118 )
...
* do not send double subscription email
* remove unused import
* remove unused test
2022-06-28 17:51:44 +02:00
Son Nguyen Kim
90b767169b
update welcome proton user email ( #1119 )
2022-06-28 17:29:05 +02:00
Son Nguyen Kim
75c710a6ab
small refactoring ( #1120 )
2022-06-28 17:21:23 +02:00
Son Nguyen Kim
89062edc06
show cancel status in "Current plan" section ( #1114 )
...
* show cancel status in "Current plan" section
* do not show upgrade button for canceled paddle sub
2022-06-28 11:58:04 +02:00
Carlos Quintana
686f4f3f68
Always check redirect_uri for oauth ( #1111 )
...
* Always check redirect_uri for oauth
* Fix OAuth tests
2022-06-27 13:20:18 +02:00
Carlos Quintana
f58c4a9a50
Show premium subscription managed by partner ( #1112 )
2022-06-27 13:17:30 +02:00
Adrià Casajús
9cc9d38dce
Propose upgrade proton account for proton partner users without paid mail plan ( #1106 )
...
* Propose upgrade proton account for proton partner users without paid mail plan
* Reformat js
* Initial display via jinja
* tweak ui: add a ---OR--- separator
* use collapse to show SL upgrade option
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Son <nguyenkims@users.noreply.github.com>
2022-06-23 12:26:02 +02:00
Adrià Casajús
db6ec2dbe6
Fix: Missing renamed methods ( #1105 )
...
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-22 15:34:57 +02:00
Adrià Casajús
99ce10a1bc
Send email to users with a subscription and a partner plan upgrade ( #1101 )
...
* Send email to users with a subscription and a partner plan upgrade
* Update double-subscription-partner.html
* Update double-subscription-partner.txt.jinja2
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Son Nguyen Kim <nguyenkims@users.noreply.github.com>
2022-06-20 14:34:20 +02:00
Adrià Casajús
fbb59a1531
Send welcome mail to proton created users ( #1099 )
...
* Send welcome mail to proton created users
* Skip import
* Use new logo
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-20 11:36:16 +02:00
Carlos Quintana
fb1e14e509
Add Proton logo to sign up page ( #1104 )
2022-06-20 09:13:19 +02:00
Carlos Quintana
b4e3c39329
Add Proton logo to buttons ( #1091 )
2022-06-15 12:06:11 +02:00
Adrià Casajús
efa534fd3e
Store transfer tokens hashed in the db and only allow them to be valid for 24 hours ( #1080 )
...
* Store transfer tokens hashed in the db and only allow them to be valid for 30 mins
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-13 12:41:47 +02:00
Son Nguyen Kim
91b3e05ed6
improve wording for data export ( #1076 )
2022-06-13 08:47:36 +02:00
Son Nguyen Kim
a0a92a7562
require user password before transferring an alias ( #1070 )
2022-06-10 15:50:44 +02:00
Son Nguyen Kim
9cf2f44166
only allow to copy the api key when it is created ( #1059 )
...
* show api key created time
* only allow user to copy the api key when it is created
* typo
2022-06-08 10:31:58 +02:00
Son Nguyen Kim
84fcc9ddc4
Notify user cycle email ( #1035 )
...
* notify user about a cycle email
* prettify notification detail page
2022-06-07 16:44:57 +02:00
Adrià Casajús
e688f04d6b
Send full user report asynchronously on request ( #1029 )
...
* Send full user report asynchronously
* Fix test
* Filter some fields before exporting
* Fix: Domain -> CustomDomain
* format settings html
* not include RefusedEmail as they are not usable by user and are automatically deleted
* send the export to the user email
* change email and setting wording
* fix user can only export data once
* remove alias export section
* remove unused import
* fix flake8
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Son <nguyenkims@users.noreply.github.com>
2022-06-07 10:45:04 +02:00
Son Nguyen Kim
4a839d9a55
Suggest user to use SL reddit for generic question ( #1034 )
2022-05-30 09:32:10 +02:00
Son Nguyen Kim
6b3ff6f9d9
Merge pull request #1014 from simple-login/improve-wording
...
add mention about the limit of 15 aliases into the header
2022-05-23 17:11:08 +02:00
Son
53a050d4d1
display user email if user name is empty
2022-05-20 16:35:26 +02:00
Son
b8e3db3e11
add mention about the limit of 15 aliases into the header
2022-05-20 16:28:27 +02:00
Son
471003c631
remove New mention on Subdomain
2022-05-20 16:06:58 +02:00
Son
2a2a72342d
do not show SIWSL and Apps page
2022-05-20 16:06:48 +02:00
Son
07f5267c5a
move api keys page to header
2022-05-20 16:06:30 +02:00
Son
11e0cbfe9c
tweak the account activated page ui
2022-05-20 15:35:57 +02:00
Son Nguyen Kim
cfa46e18fc
Merge pull request #1009 from simple-login/ui-tweak
...
tweak the UI for onboarding page: use svg instead of png, css change
2022-05-20 15:17:58 +02:00
Son Nguyen Kim
c87e503701
Merge pull request #1004 from simple-login/feature/add-new-page-for-account-activated
...
Add new page for account activated
2022-05-20 15:16:21 +02:00
Son
47246d15cf
tweak the UI for onboarding page: use svg instead of png, css change
2022-05-20 09:53:11 +02:00
Carlos Quintana
e5770de329
Add account_activated page prompting user to install the extension
2022-05-20 09:40:03 +02:00
Son Nguyen Kim
0e3be23acc
Merge pull request #997 from simple-login/feature/adapt-extension-setup
...
Adapt extension setup
2022-05-20 09:01:35 +02:00
Carlos Quintana
6e905f769d
Limit the amount of "PERFORM_EXTENSION_SETUP" messages to be sent
2022-05-20 08:53:45 +02:00
Carlos Quintana
39b5fa50d8
Use is_authenticated
2022-05-20 08:48:01 +02:00
Carlos Quintana
e4d6f1f117
Use setInterval instead of setTimeout on the extension
2022-05-19 11:51:18 +02:00
Carlos Quintana
a73a15d628
Show extension version information on final onboarding screen
2022-05-19 11:47:41 +02:00
Carlos Quintana
e6acff13e5
Send extension setup message if user is logged in
2022-05-19 11:47:22 +02:00
Son
8ca4daf894
remove the drag and drop mention for now
2022-05-18 18:29:56 +02:00
Carlos Quintana
c01db463f7
Hide onboarding contents for a while
2022-05-18 09:22:10 +02:00
Carlos Quintana
d3f4602bb7
Send the EXTENSION_SETUP message on /onboarding too
2022-05-17 16:51:08 +02:00
Carlos Quintana
8ac87217d2
Adapt extension setup
2022-05-17 12:22:38 +02:00
Son Nguyen Kim
4a4d4a5717
Merge pull request #993 from simple-login/update-wording-email
...
update the email wording
2022-05-16 14:48:35 +02:00
Son
345b3ea4f0
update wording
2022-05-16 14:47:56 +02:00
Adrià Casajús
2adcbf52be
Merge pull request #963 from simple-login/ac-complaints
...
Handle complaints that have multiple recipients
2022-05-16 10:30:14 +02:00
Son Nguyen Kim
f0263b812e
Merge pull request #986 from simple-login/feature/add-extension-onboarding-pages
...
Add extension onboarding pages
2022-05-16 09:12:52 +02:00
Carlos Quintana
5fc8245b8b
Remove link to support from test email
2022-05-16 08:27:23 +02:00
Son
f89967f585
update the email wording
2022-05-15 19:51:47 +02:00
Adrià Casajús
34ad81c7c0
Merge pull request #921 from simple-login/ac-free-no-reverse-alias
...
Prevent free users from creating reverse-alias
2022-05-13 17:13:48 +02:00
Adrià Casajús
3a48b30f30
Fix: Sanitize directory name before displaying it to the user
2022-05-13 16:55:45 +02:00
Carlos Quintana
a0bcb33bd1
Add Or right click to extension onboarding page
2022-05-13 16:13:15 +02:00
Carlos Quintana
2bab0e3e7c
Add Click on the icon to create an alias
2022-05-13 15:05:30 +02:00
Adrià Casajús
7235de8e73
HTML formatting
2022-05-13 13:02:26 +02:00
Carlos Quintana
bc48ec0e9f
Add footer for onboarding extension page
2022-05-13 12:17:02 +02:00
Carlos Quintana
2e62a9f00c
Remove support email from test email
2022-05-13 12:16:55 +02:00
Carlos Quintana
bef71b7be3
Update contact instructions on test_email
2022-05-13 10:55:13 +02:00
Carlos Quintana
933237e73b
Implement "Send me an email" button on final extension onboarding
2022-05-13 08:53:31 +02:00
Carlos Quintana
710f4d0709
Start adding extension onboarding pages
2022-05-13 08:21:35 +02:00