Son Nguyen Kim
d49f6b88a9
Upgrade djlint and reformat all fiels ( #2197 )
...
* update djlint
* reformat all files
* update precommit version
---------
Co-authored-by: Son NK <son@simplelogin.io>
2024-08-28 13:07:34 +02:00
Adrià Casajús
5d48b5878f
Restrict cookie usage on api endpoints ( #2151 )
2024-07-10 10:48:46 +00: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
2024-01-16 14:51:01 +01: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
Carlos Quintana
b3ce5c8901
chore: add noopener noreferrer to every target _blank ( #1608 )
2023-02-27 13:15:25 +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
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
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
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
Adrià Casajús
7235de8e73
HTML formatting
2022-05-13 13:02:26 +02:00
Adrià Casajús
0c896100a4
Update html
2022-05-12 18:46:42 +02:00
Adrià Casajús
5dde39eb37
Prevent free users from creating reverse-alias
2022-05-12 13:20:05 +02:00
Son
516898af59
move all template files to templates/
2021-11-04 15:05:22 +01:00