Commit Graph

4744 Commits

Author SHA1 Message Date
Adrià Casajús c3848862c3 Fix: limit the id sizes we generate and remove spaces after unidecode 2024-01-22 17:42:58 +01:00
Adrià Casajús da09db3864 Do not allow free users to create reverse alias to reduce abuse (#2013)
* Do not allow free users to create reverse alias to reduce abuse

* Update format

* Move function under user

* Update tests
v4.37.0
2024-01-16 14:51:01 +01:00
Adrià Casajús 44138e25a5 Fix: Dedup the list of mailboxes for an alias (#2010) 2024-01-16 14:50:39 +01:00
Adrià Casajús b541ca4ceb Fix typo in email (#2008) 2024-01-10 10:30:16 +01:00
Revi99 66c18e2f8e small fixes (#2001)
* add forum mention

* add forum mention

* Add forum mention

* add forum mention

* fix my mistake

* fix
2024-01-08 21:40:52 +01:00
Son Nguyen Kim 4a046c5f6f fix error when user logs out, go back to /dashboard and has the server error (#2003)
* fix error when user logs out, go back to /dashboard and has the server error

* reformat files. Not run ruff on migrations/ and .venv

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-01-05 14:30:07 +01:00
Ueri8 a731bf4435 Small fixes due to SL moving to Switzerland (#1999)
* Fix footer due to recent changes

* Fix forum mention
2024-01-04 12:07:59 +01:00
SecurityGuy f3127dc857 Generate working DKIM keys by adding -traditional flag and update NGINX instructions to avoid breaking certbot (#1989)
* Update README.md

Add -traditional option to openssl genrsa to avoid Python DKIM library (dkimpy) error that prevents email from being sent:

dkim.asn1.ASN1FormatError: Unexpected tag (got 30, expecting 02)

Ref: https://bugs.launchpad.net/dkimpy/+bug/1708917

* Update NGINX instructions

Include warning to delete /etc/nginx/sites-enabled/default to avoid a conflict that breaks certbot.
2024-01-03 14:08:39 +01:00
Kelp8 d9d28d3c75 I don’t think we really need that (#1992) 2024-01-03 14:08:05 +01:00
Kelp8 bca6bfa617 Remove sensitive words (#1994) 2024-01-03 12:38:13 +01:00
Agent-XD 5d6a4963a0 Small fixes (#1991)
* remove proprietary mention

* Add forum mention

* Sync activation.txt with activation.html

* Add subdomain information

* Make info look better

* Fix wording
2024-01-03 12:35:42 +01:00
Kelp8 00737f68de Minor wordings change (#1985)
* Wording changes

* Add information to avoid being put in SPAM

* Remove word repeating

* Add forum mention

* Add forum mention to header.html

* Add info to avoid person marking as SPAM
2024-01-02 13:20:48 +01:00
Joseph Demcher 9ae206ec77 correct alias version in api.md (#1981) 2024-01-02 12:35:56 +01:00
Agent-XD 9452b14e10 Remove sensitive words (#1983)
* Remove sensitive words from test_words.txt

* Remove sensitive from words.txt

* remove sensitive from words_alpha.txt

* Update test_words.txt
2024-01-02 12:33:27 +01:00
Son Nguyen Kim 7705fa1c9b reduce rate limit on /v2/aliases endpoint (#1979)
Co-authored-by: Son NK <son@simplelogin.io>
v4.36.8
2023-12-27 16:42:58 +01:00
Adrià Casajús 1dfb0e3356 Require CSRF check on custom alias creation (#1977) v4.36.7 2023-12-20 16:15:01 +01:00
Adrià Casajús 2a9c1c5658 Increase limit for the dashboard and do it by user 2023-12-19 17:27:55 +01:00
Carlos Quintana dc39ab2de7 chore: remove verbose log (#1971) v4.36.6 2023-12-15 10:39:02 +01:00
Adrià Casajús fe1c66268b Allow to use another S3 provider (#1970) 2023-12-14 15:55:37 +01:00
Adrià Casajús 72041ee520 Show BF banner until end of promotion (#1953) v4.36.5 2023-11-30 11:48:55 +01:00
Adrià Casajús f81f8ca032 Further limit the index endpoint (#1950) v4.36.4 2023-11-21 17:44:33 +01:00
Adrià Casajús 31896ff262 Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
Adrià Casajús 45575261dc Rate limit index endpoint (#1948) 2023-11-21 14:42:24 +01:00
Adrià Casajús 627ad302d2 Creating account via partner also canonicalizes email (#1939) v4.36.3 2023-11-08 09:58:01 +01:00
Son NK 08862a35c3 fix image size v4.36.2 2023-11-07 14:33:46 +01:00
Son Nguyen Kim 75dd3cf925 admin can clone newsletter (#1938)
* admin can clone newsletter

- remove unique constraint on newsletter subject
- admin can clone newsletter

* update coupon image

---------

Co-authored-by: Son NK <son@simplelogin.io>
v4.36.1
2023-11-07 14:16:03 +01:00
Son Nguyen Kim a097e33abe black friday 2023 (#1937)
Co-authored-by: Son NK <son@simplelogin.io>
v4.36.0
2023-11-07 13:53:28 +01:00
Adrià Casajús e5cc8b9628 Update dockerfile to account for new build changes in yacron (#1936) v4.35.6 2023-11-07 11:09:55 +01:00
Hulk667i d149686296 remove sensitive words (#1935) v4.35.5 2023-11-07 10:44:35 +01:00
Adrià Casajús babf4b058a Remove potentially conflictive words (#1932) 2023-11-02 17:33:03 +01:00
UserBob6 eb8f8caeb8 fix https://github.com/simple-login/app/issues/1925 (#1926)
Remove sensitive words
2023-10-16 22:19:20 +02:00
UserBob6 70fc9c383a Remove sensitive words from words.txt https://github.com/simple-login/app/issues/1905 (#1921) 2023-10-16 21:39:53 +02:00
Adrià Casajús b68f074783 Add index on message_id for foreign key (#1906)
* Add index on message_id for foreign key

* Revert cron changes
v4.35.3
2023-10-05 10:55:29 +02:00
Adrià Casajús 73a0addf27 Remove bad word from wordlist v4.35.2 2023-10-03 12:04:50 +02:00
Adrià Casajús e6bcf81726 Delete old email_log entries in batches to avoid table lock (#1902)
* Delete old email_log entries in batches to avoid table lock

* Avoid nested join

* Commiting after the batch delete

* Added statement count print

* Rename var
v4.35.1
2023-10-02 10:50:02 +02:00
Adrià Casajús 7600038813 Update dependencies (#1901)
* Update dependencies

* Update python version

* update workflow to use python 3.10

* Install OS deps
2023-09-29 17:26:40 +02:00
Adrià Casajús c19b62b878 Add index on created_at for EmailLog (#1898)
(cherry picked from commit ea46ca0af5f6912d17cf7c656f00257cdee191d1)
v4.35.0
2023-09-28 18:26:40 +02:00
Jack Wright 4fe79bdd42 Update dns.html to amend DKIM configuration instructions (#1884)
When I was configuring my subdomain-based alias, I was wondering why it would not verify, even after waiting a day. But after playing a bit of whack-a-mole with my DNS settings, the proposed changes worked for me.
2023-09-26 12:21:23 +02:00
Son Nguyen Kim fd1744470b allow BCC (#1894)
Co-authored-by: Son NK <son@simplelogin.io>
2023-09-26 10:00:33 +02:00
Adrià Casajús 989a577db6 Allow to get premium partner domains without premium sl domains (#1880)
* Allow to get premium partner domains without premium sl domains

* Set condition on domains
2023-09-13 18:12:47 +02:00
Adrià Casajús 373c30e53b Schedule deletion of users (#1872)
* Accounts to be scheduled to be deleted cannot receive emails or login

* Create model and create migration for user

* Add test for the cron function

* Move logic to one place

* Use the class name to call the static delete method
2023-09-10 22:11:50 +02:00
Son Nguyen Kim ff3dbdaad2 add proton.ch to the is_proton check (#1863)
Co-authored-by: Son NK <son@simplelogin.io>
2023-09-04 21:21:39 +02:00
Adrià Casajús 7ec7e06c2b Move alias transfer util outside the views to make it importable (#1855) 2023-08-31 13:42:44 +02:00
Adrià Casajús ef90423a35 Fix: Use proper error when linking external partner accounts v4.34.4 2023-08-30 13:49:47 +02:00
Adrià Casajús c04f5102d6 Fix: Handle email headers as strings if the are Header type (#1850) v4.34.3 2023-08-29 12:37:26 +02:00
Son Nguyen Kim 5714403976 Can use generic subject without pgp (#1847)
* improve wording for hide my subject option

* can use generic subject on a non-pgp mailbox

---------

Co-authored-by: Son NK <son@simplelogin.io>
v4.34.2
2023-08-24 22:47:31 +02:00
Carlos Quintana 40ff4604c8 fix: handle Proton account not validated case (#1842) 2023-08-18 15:59:46 +02:00
mlec 66d26a1193 fix(core): Open mailto: links in a new tab when the default email client is set to a web mail (#1721)
* fix(build): Update docker image of Node to v20

- Open "mailto:" links in a new tab if using browser

* feat(dockerfile): revert node to v10.17.0
2023-08-15 16:03:04 +02:00
D-Bao 9b1e4f73ca Update pricing page text (#1843) 2023-08-15 15:58:15 +02:00
Son Nguyen Kim 0435c745fd disable the PGP section if the mailbox is proton and not has PGP enabled (#1841)
* disable the PGP section if the mailbox is proton and not has PGP enabled

* fix format

---------

Co-authored-by: Son NK <son@simplelogin.io>
v4.34.1
2023-08-09 09:56:53 +02:00