Commit graph

13 commits

Author SHA1 Message Date
15ccc877ae
Enhances registration workflow and error handling
Introduces a new registration status 'Started' with adjustments
to default status handling. Adds a missing check in email
verification to prevent unauthorized users from accessing
the registration process. Updates forbidden response status
codes to improve security and debugging clarity.

Corrects unintended user modification warning logic and
ensures registration session keys are cleared post-creation
to prevent potential data leaks.

Improves code style consistency and readability across forms.
2024-11-16 20:58:23 +01:00
61555f9e34
feat: Adds username validation in registration form
Introduces logic to clean and validate usernames by ensuring they remove the matrix domain prefix/suffix, are not empty, and contain only allowed characters. Enhances input validation for improved user error messaging.
2024-11-16 20:40:51 +01:00
5bb74d5389
fix: Reorders auto-join logic post-registration
Moves auto-join functionality for newly registered users to
occur after sending the registration approval email. Ensures
user feedback through email is handled before attempting room
joins, potentially improving user experience.
2024-11-16 20:23:20 +01:00
a43914de62
feat: Add automatic room joining for new users
Introduces automatic room joining upon user registration.
Updates configuration to include a list of rooms for auto-join.
Enhances user onboarding experience by simplifying setup.

Addresses onboarding workflow.
2024-11-16 20:19:48 +01:00
044f18b822
feat: Enforces minimum length for registration reason
Adds a minimum length requirement of 30 characters to the
registration reason field to ensure more detailed responses.
2024-11-16 20:10:36 +01:00
d8d791e8c9
feat: Add labels to registration form fields
Enhances the user interface by adding labels to password
fields, improving accessibility and clarity for users filling
out the registration form.
2024-11-16 20:08:32 +01:00
c3794bd1b6
feat: Add trust proxy configuration support
Introduces a 'trust_proxy' setting in the configuration file to
handle client IP addresses correctly. Updates logic in the
EmailInputView to extract the client IP based on trust proxy
settings, improving flexibility for deployments behind proxies.

Relates to handling requests within various network environments.
2024-11-16 20:01:42 +01:00
26664be144
fix: Updates Django settings module path
Modifies the default environment variable to reflect the correct
nested module path for Django settings, ensuring the application
references the correct configuration.
2024-11-16 19:10:22 +01:00
a8f843e2db
chore: Updates Python requirement to >=3.11
Lowers the minimum required Python version from 3.12 to 3.11
to support environments that haven't upgraded yet.
2024-11-16 18:52:36 +01:00
6328e718ce
feat: Refines user registration approval process
Consolidates email notification and user unlocking logic
Validates Synapse server connection during startup
Adds configuration checks for admin email

Enhances error handling to notify admin if user unlocking fails
2024-11-16 18:38:56 +01:00
bcc73e58ba
feat: Enhances registration email details
Updates registration approval and denial emails to include the domain name, enhancing context for the recipient.
2024-11-16 18:12:41 +01:00
ed7a65fa58
feat; Enhances user registration handling and status updates
Adds requests to unlock and interact with new users in the Synapse server upon registration approval. Ensures usernames are available before registration finalization and attempts to lock user accounts post-creation, sending notifications on failure. Automates deactivation of users upon registration denial with email alerting on failure.

Improves integration with external systems for seamless synchronization and better user experience.
2024-11-16 18:11:09 +01:00
b5c816e748
feat: Add initial Synapse registration Django app
Sets up a Django application for user registration with Synapse,
including database models, forms, views, and templates. Introduces
functionality for user registration approval and email verification.
Configures Django project settings, URLs, and email handling.
Includes a sample configuration file and .gitignore additions.
2024-11-16 15:22:46 +01:00