Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add health endpoint #2175

Merged
merged 1 commit into from
Aug 1, 2024
Merged

chore: add health endpoint #2175

merged 1 commit into from
Aug 1, 2024

Conversation

cquintana92
Copy link
Collaborator

No description provided.

@acasajus acasajus added this pull request to the merge queue Aug 1, 2024
Merged via the queue into master with commit 429ebf5 Aug 1, 2024
6 checks passed
@acasajus acasajus deleted the chore/add-health-endpoint branch August 1, 2024 07:12
black-dragon74 added a commit to black-dragon74/simplelogin that referenced this pull request Aug 3, 2024
* Add create alias list event (simple-login#2125)

* chore: add alias create list proto event

* chore: generate python files from proto

* Create jobs to trigger sending all alias as create events (simple-login#2126)

* Create jobs to trigger sending all alias as create events

* Set events in past tense

* fix test

* Removed debug log

* Log messages

* Disable pgp onboarding proton mail (simple-login#2122)

* show app page

* Do not send onboarding PGP email to Proton mailbox

---------

Co-authored-by: Son NK <son@simplelogin.io>

* Log when a partner user is unlinked (simple-login#2133)

* [Security] Remediate 2FA bypass with hashed recovery code (simple-login#2132)

* Fix Vuln (allow 2FA bypass with hashed recovery code)

Remove comparison of hashed recovery code from db with the user input.

* Formatting

* Remove Comment

* fix emails (simple-login#2111)

* Update trial-end.html

* Update trial-end.txt.jinja2

* Update subscription-end.txt

* Update subscription-end.html

* Use partner emails when the user has used alias from a partner (simple-login#2136)

* Update base templates based on the parter user

* Update template

* Fix missing check

* Check if the user is set

* Hide flag usage

* Add warning to subject when possible phishing is detected (simple-login#2137)

(cherry picked from commit 8f714b9)
(cherry picked from commit 21490ec1934b74de7d2e38326735329a87cf5dfd)

* convert POSTFIX_TIMEOUT to int (simple-login#2135)

* Update render function to receive user always as a param (simple-login#2141)

* Update render function to receive user always as a param

(cherry picked from commit fb53632)

* Add user to the kwargs

* chore: QOL improvements on alias delete due to cascade FKs (simple-login#2144)

* fix: remove unnecessary staticmethod (simple-login#2147)

* fix: coinbase float user id (simple-login#2149)

* fix: contact duplicate key (simple-login#2150)

* Restrict cookie usage on api endpoints (simple-login#2151)

* Use header in api tests

* Fix base test class (simple-login#2152)

* Set session to lax

* Add to static js also the headers (simple-login#2153)

* Add to static js also the headers

* Move all header generation to a function

* Disable the enforced header until all extensions are updated and add a fallback option to trigger a manual login (simple-login#2155)

* Several fixes (simple-login#2157)

* Ensure uploaded pictures are images and delete the previous ones

* Add CSRF protection to admin routes

* Only allow https urls in the client envs

* Close connection to try to get a new one

* Missing parameter

* start_time can be non existant. Set a default value

* chore: add retry counter to event (simple-login#2159)

* Move set default domain for alias to an external function (simple-login#2158)

* Move set default alias to a separate method to reuse it

* Add tests

* Find domains by domain not by id

* Revert models and setting changes

* Remove non required function

* Only allow latest activation code to be used (simple-login#2160)

(cherry picked from commit dd09297bead4ea27731ac3bd60fcf2a3e7001268)

* Rename method to account for domain being a string and not an int (simple-login#2161)

* Close sessions between loops to make sure we leave no lock (simple-login#2162)

* Close sessions between loops to make sure we leave no lock

* Close at the end

* Close before sleeps

* Use python generic empty list in case the events is an iterator

* Remove requred from positional args

* Replace poetry with rye (simple-login#2163)

* Update yacron

* Fix positional args

* Force contraints location

* Fix hatchling packaging (simple-login#2169)

* Update README.md (simple-login#2167)

Enhance Markdown for highlight DISABLE_REGISTRATION and DISABLE_ONBOARDING param in simplelogin.env .

* Update redis dependency

* Revert back to poetry (simple-login#2171)

* Move mailbox management to a module (simple-login#2164)

* Enforce user match on mailbox verification and improve logging (simple-login#2172)

* Move set default mailbox to settings (simple-login#2173)

* Fix invalid import

* chore: add health endpoint (simple-login#2175)

* remove “shady” words (simple-login#2176)

* Allow to create pre-verified mailboxes

* fix: do not log health requests (simple-login#2177)

* Use different errors when handling mailboxes (simple-login#2178)

* Use different errors when handling mailboxes

* Update test

* Allow to skip sending the mailbox verification email when creating a mailbox

* Added test to create mailbox without sending an email

* Return mailbox activation on mailbox creation

* Fix missing test

* Admin panel improvements (simple-login#2179)

---------

Co-authored-by: Carlos Quintana <74399022+cquintana92@users.noreply.github.com>
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
Co-authored-by: Son Nguyen Kim <son.nguyen@proton.ch>
Co-authored-by: Son NK <son@simplelogin.io>
Co-authored-by: ghisch <168481965+ghisch@users.noreply.github.com>
Co-authored-by: Ggcu <seventy-eight-demand-8199@r.singlemails.de>
Co-authored-by: danfate <danfate@users.noreply.github.com>
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: LamTrinh.Dev <me@lamtrinh.dev>
Co-authored-by: ccb78 <sikola6767@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants