Commit Graph

23 Commits

Author SHA1 Message Date
Son Nguyen Kim
d5df91aab6
Premium user can enable data breach monitoring (#2084)
* add User.enable_data_breach_check column

* user can turn on/off the data breach check

* only run data breach check for user who enables it

* add tips to run tests using a local DB (without docker)

* refactor True check

* trim trailing space

* fix test

* Apply suggestions from code review

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>

* format

---------

Co-authored-by: Son NK <son@simplelogin.io>
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-04-12 10:39:23 +02:00
Son Nguyen Kim
f5babd9c81
Move import export back to setting (#2063)
* replace black by ruff

* move alias import/export to settings

* fix html closing tag

* add rate limit for alias import & export

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-03-14 15:56:35 +01:00
Son Nguyen Kim
2351330732
mention about proton mail during signup (#1796)
* mention about proton mail during signup

* format

* trim whitespaces

---------

Co-authored-by: Son NK <son@sons-macbook-air-2.home>
Co-authored-by: Son NK <son@Sons-MacBook-Air-2.local>
2023-07-10 14:41:52 +02:00
Son Nguyen Kim
66c3a07c92
Update dep (#1715)
* update some dependencies: newrelic, gevent

that isn't compatible with python 3.11 on mac

* update package-lock using npm 9.6.4 and node 20.0

---------

Co-authored-by: Son Nguyen Kim <son@Sons-MacBook-Air-2.local>
2023-05-02 23:01:55 +02:00
Adrià Casajús
8636659ca9
Update docs to the same port as the reset script + remove pre-commit pylint (#1464)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-12-02 17:31:31 +01:00
Spitfireap
b849d1cfa7
Simpler csv export (#1383)
* Export alias in csv

* reformating

* template

* Improved contributing script and doc

* Updated test

* removed csv export from GDPR export archive

* added test for new route

* fix trailing space

* moved test to new utils file
2022-11-23 13:51:08 +01: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
3e0cb546a2
Added docs 2022-05-13 14:42:20 +02:00
Son Nguyen Kim
a26927f96e
Update CONTRIBUTING.md
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2022-04-20 09:10:40 +02:00
Son
0f1e290461 move the contact us section on top of the contributing 2022-04-19 18:38:15 +02:00
Son
1e7d224f35 mention about using pycharm to reformat html code 2022-02-14 18:06:41 +01:00
Son
7add04accc Use alembic instead of flask migrate which depends on flask-sqlalchemy 2021-10-14 15:45:17 +02:00
Son
c7626dd23e add how to install pyre2 in Contributing 2021-10-04 16:48:44 +02:00
Son Nguyen Kim
0a1f545c12 improve script 2021-08-20 12:00:45 +02:00
Son
d9c682a23e remove sqlite everywhere, only use postgres. Do not use 5432 port to avoid conflict 2021-08-15 17:41:16 +02:00
Son Nguyen Kim
12150a3656 Update CONTRIBUTING to add postgres step 2021-08-06 09:14:55 +02:00
Son NK
95c8f14ea5 update doc 2021-04-07 11:57:48 +02:00
Son NK
58df3442d5 simplify readme 2021-03-08 15:08:41 +01:00
Son NK
cb3c5d7f12 improve contributing.md 2021-03-08 14:53:53 +01:00
Son
d933bffa2f improve contributing 2021-03-06 16:30:41 +01:00
Son
2c46097330 improve contributing.md, comment all optional options in example.env 2021-03-06 16:28:15 +01:00
Son
fb24760039 move contribution guide to CONTRIBUTING.md 2021-03-06 15:55:18 +01:00