ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI - Run Go tests against PostgreSQL - Record performance fixes in the report
This commit is contained in:
1 parent
199a5efaef
commit
22887fef03
100 files changed
+9740
-429
No files matched your search
@@ -11,8 +11,13 @@ from .auth import (
|
||||
can_assign_role,
|
||||
can_manage_users,
|
||||
hash_password,
|
||||
hash_password_async,
|
||||
normalize_role,
|
||||
password_hash_needs_upgrade,
|
||||
verify_and_upgrade_password,
|
||||
verify_and_upgrade_password_async,
|
||||
verify_password,
|
||||
verify_password_async,
|
||||
)
|
||||
from .authclient import (
|
||||
AuthClient,
|
||||
@@ -25,6 +30,7 @@ from .authclient import (
|
||||
from .config import DatabaseConfig, database_url_from_env
|
||||
from .coreconfig import Info as CoreConfigInfo
|
||||
from .coreconfig import Store as CoreConfigStore
|
||||
from .coreconfig import internal_secret_matches
|
||||
from .postgres import Database
|
||||
from .tokens import hash_token, new_session_token
|
||||
from .totp import generate_totp_secret, totp_provisioning_uri, verify_totp
|
||||
@@ -40,6 +46,7 @@ __all__ = [
|
||||
"token_from_request",
|
||||
"CoreConfigInfo",
|
||||
"CoreConfigStore",
|
||||
"internal_secret_matches",
|
||||
"ROLE_ADMIN",
|
||||
"ROLE_SUPERADMIN",
|
||||
"ROLE_USER",
|
||||
@@ -52,10 +59,15 @@ __all__ = [
|
||||
"database_url_from_env",
|
||||
"generate_totp_secret",
|
||||
"hash_password",
|
||||
"hash_password_async",
|
||||
"hash_token",
|
||||
"new_session_token",
|
||||
"normalize_role",
|
||||
"password_hash_needs_upgrade",
|
||||
"totp_provisioning_uri",
|
||||
"verify_and_upgrade_password",
|
||||
"verify_and_upgrade_password_async",
|
||||
"verify_password",
|
||||
"verify_password_async",
|
||||
"verify_totp",
|
||||
]
|
||||
Reference in new issue
Block a user