Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748
style: re-format with ruff
2024-02-05 18:53:33 +05:30
Hussain Nagaria
8d2137c265
docs: consistent doc strings
2023-12-18 18:27:39 +05:30
Ankush Menat
32bd5d3e2c
Revert "perf: defer many requests imports"
...
This reverts commit 71b44efcac .
This gets frequently imported from one place or another. Since with
gc.freeze we can mostly reuse the import from parent, let's just leave
it here.
2023-06-24 16:26:22 +05:30
Ankush Menat
71b44efcac
perf: defer many requests imports
2023-06-24 15:22:01 +05:30
phot0n
943334a90c
chore: fix docstrings
2022-07-18 17:47:57 +05:30
phot0n
f679dc3fdd
fix(security): restrict the god google callback
...
the common google callback can be used to trigger any method in the whole codebase
restrict it by only allowing domain specific callback method and raise
an error if the domain is not found
2022-07-17 21:37:21 +05:30
phot0n
7d5262f5e0
chore: translate authorization message and add nosemgrep
2022-07-13 12:50:04 +05:30
phot0n
01a1860491
fix(ux): better ux for successful oauthorization
2022-07-13 12:05:46 +05:30
phot0n
5b7d37477e
chore: add link for google settings when throwing error
2022-07-13 12:05:46 +05:30
phot0n
8b38fcb438
chore: move getting site address to GoogleOAuth
2022-07-13 12:05:46 +05:30
phot0n
ab9a577474
minor: better oauth flow
2022-07-13 12:05:46 +05:30
phot0n
221423c718
chore: added docstrings
2022-07-13 12:05:46 +05:30
phot0n
07a577af86
feat: google oauth for google emails
...
* used unique constraint on email_id in Email Account Doctype
2022-07-13 12:05:46 +05:30
phot0n
26dd606831
refactor: GoogleOAuth
...
* refactor: single callback method for google oauth
2022-07-13 12:05:46 +05:30