Commit Graph

3877 Commits

Author SHA1 Message Date
george 7f765e83b7
Use install-poetry to use poetry with caching. 2022-02-06 16:08:40 +00:00
george 4800274b33
Run flake8 through poetry. 2022-02-06 14:49:16 +00:00
george 116fc7114a
Update test_can_be_used_as_personal_email to only skip if using GitHub Actions. 2022-02-06 14:37:46 +00:00
george f7be992437
Update black, flake8 and pre-commit and use specific pre-commit versions. 2022-02-06 14:25:53 +00:00
george 87a327912f
Delete .python-version. 2022-02-05 14:57:02 +00:00
george 42b9471a8f
Add .python-version to .gitignore so virtualenv names are not added. 2022-02-05 14:44:40 +00:00
Son cca23b753c Extract daily monitoring report from stats() 2022-02-04 15:45:21 +01:00
Son 5da31f53b4 add MONITORING_EMAIL param 2022-02-04 15:43:40 +01:00
Son Nguyen Kim 68acfc986a
Merge pull request #782 from FozzieHi/unit-tests
Improve and refactor testing.
2022-02-04 10:51:44 +01:00
Son Nguyen Kim 2d980b8990
Merge pull request #780 from FozzieHi/api-key-tests
Add unit tests for API keys.
2022-02-04 10:46:35 +01:00
george e6276dc32e
Fix typo. 2022-02-03 21:44:27 +00:00
george 172e509f53
Add comment. 2022-02-03 21:43:40 +00:00
george 5815ee0b2e
Match sleep with new-migration script. 2022-02-03 21:11:42 +00:00
george 3a5f077bbf
Improve and refactor testing. 2022-02-03 21:08:38 +00:00
george 3837a9955e
Just get the API key by user ID. 2022-02-03 19:49:29 +00:00
george 836e599517
Use POST requests to create and delete through the dashboard. 2022-02-03 19:47:41 +00:00
george 010c343641
Refactor to the dashboard folder. 2022-02-03 19:33:40 +00:00
george 709ccb176a
Test the dashboard POST request instead of directly testing the API. 2022-02-03 19:30:10 +00:00
george c0712a6b95
Login using the test utils method. 2022-02-03 19:20:39 +00:00
Son Nguyen Kim a436859a55
Merge pull request #723 from simple-login/snyk-upgrade-3c2f300d18742ee8000234e4d3675193
[Snyk] Upgrade htmx.org from 1.6.0 to 1.6.1
2022-02-03 20:11:06 +01:00
Son Nguyen Kim 72a3e118c8
Merge pull request #776 from simple-login/dependabot/pip/cryptography-3.3.2
Bump cryptography from 3.1.1 to 3.3.2
2022-02-03 20:10:41 +01:00
Son Nguyen Kim ed02438c10
Merge pull request #774 from simple-login/dependabot/pip/jinja2-2.11.3
Bump jinja2 from 2.11.2 to 2.11.3
2022-02-03 20:10:30 +01:00
Son Nguyen Kim eee8a5bf97
Merge pull request #773 from simple-login/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.3.1 to 5.4
2022-02-03 20:10:22 +01:00
Son Nguyen Kim 377e94b883
Merge pull request #778 from simple-login/dependabot/pip/ipython-7.31.1
Bump ipython from 7.18.1 to 7.31.1
2022-02-03 20:10:00 +01:00
Son Nguyen Kim becb0b50bb
Merge pull request #779 from simple-login/dependabot/pip/py-1.10.0
Bump py from 1.9.0 to 1.10.0
2022-02-03 20:09:51 +01:00
Son Nguyen Kim 4c9ae778e7
Merge pull request #772 from simple-login/dependabot/pip/pygments-2.7.4
Bump pygments from 2.7.1 to 2.7.4
2022-02-03 20:09:29 +01:00
george 17353c306c
Reduce session commits. 2022-02-03 15:28:56 +00:00
george 8f8a8b875b
Add multiple API keys for test user 1. 2022-02-03 15:05:46 +00:00
george 1f04dfad61
Add unit tests for API keys. 2022-02-03 15:02:32 +00:00
dependabot[bot] 1a74269ff1
Bump py from 1.9.0 to 1.10.0
Bumps [py](https://github.com/pytest-dev/py) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.9.0...1.10.0)

---
updated-dependencies:
- dependency-name: py
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:30:49 +00:00
dependabot[bot] 429fc3ae51
Bump ipython from 7.18.1 to 7.31.1
Bumps [ipython](https://github.com/ipython/ipython) from 7.18.1 to 7.31.1.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.18.1...7.31.1)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:30:44 +00:00
dependabot[bot] 2e896e28e1
Bump cryptography from 3.1.1 to 3.3.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.1.1 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.1.1...3.3.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:29:53 +00:00
dependabot[bot] 7caffc0a4f
Bump jinja2 from 2.11.2 to 2.11.3
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:28:27 +00:00
dependabot[bot] d8f246c3e2
Bump pyyaml from 5.3.1 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4)

---
updated-dependencies:
- dependency-name: pyyaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:28:13 +00:00
dependabot[bot] d6af7e8362
Bump pygments from 2.7.1 to 2.7.4
Bumps [pygments](https://github.com/pygments/pygments) from 2.7.1 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.7.1...2.7.4)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 10:28:00 +00:00
Son b490acead8 small fix 2022-02-03 11:18:10 +01:00
Son d570868dcf Revert "remove analytics"
This reverts commit ac2ee4f2d0.
2022-02-03 11:17:13 +01:00
Son 4d1c4cfdff support pinned parameter in /api/v2/aliases 2022-02-03 11:16:49 +01:00
Son 70cb0609d8 refactor 2022-02-03 11:16:49 +01:00
Son 730cc14cca install deprecated package 2022-02-03 11:16:49 +01:00
Son Nguyen Kim 543923b325
Merge pull request #760 from FozzieHi/delete-all-api-keys-button
Add a button to delete all API Keys
2022-02-02 18:31:05 +01:00
Son 043d62bf20 redirect users to bounce emails page instead in notification message 2022-02-02 16:52:04 +01:00
Son 049bd746ad refactor shell 2022-01-26 15:22:37 +01:00
Son 5a712f3877 make sure subdomain can only contain lowercase letters, numbers and dashes. 2022-01-26 14:53:27 +01:00
george 285c1d10cf
Move Delete All button to below the list of current API Keys. 2022-01-25 18:36:13 +00:00
george 74713c2142
Rename method. 2022-01-25 18:32:34 +00:00
Son Nguyen Kim 89a800eed9
Merge pull request #753 from FozzieHi/totp-invalid-login-email
Invalid TOTP and recovery code email notifications
2022-01-24 18:35:52 +01:00
Son f1c0b94ffd fix run test script: sleep to make sure the Db container is ready 2022-01-24 18:05:17 +01:00
Son Nguyen Kim 227087a10f
Merge pull request #751 from mrbluecoat/master
minor installation instruction fixes
2022-01-24 18:01:34 +01:00
Son 3be4f341a2 fix reply phase template 2022-01-24 16:51:27 +01:00