Introduce a management command to delete inactive users older than 7 days. Adjust `CustomUser` model to include `date_joined` with new default settings. Enhance UI across multiple templates to improve consistency and user experience.
- Inactive user accounts cleanup enhances database hygiene.
- Updates to `CustomUser` default settings ensure consistent account states.
- Refined UI for identifier and suffix templates for better accessibility and UX.
Updated the home page greeting to show the user's email instead of their first name. This change improves user identification and ensures consistency when the first name is not provided.
Updated the identifier list to display full identifier details and target URL. Improved the suffix list to show the prefix, suffix, and name together for better clarity. These changes aim to provide more comprehensive and user-friendly information in the HTML views.
Revamped homepage content with improved welcome message, clear description of FreeDOI functionalities, and structured instructions for new users. Added sections for "What is FreeDOI?," "How Does It Work?," "Get Started," and "Contact Us." Enhanced user navigation and clarified the non-affiliation with the official DOI system.
Enhances the get_form_kwargs method in SuffixUpdateView to include the current user in the form parameters. This allows for user-specific form processing and validation, ensuring forms can access and utilize the requesting user's details.
Added validation in both the model and view to enforce a limit on the number of suffixes a user can create based on their maximum suffixes property. This ensures that users cannot exceed their allowed number of suffixes and maintains system integrity.
Updated settings to dynamically select the database backend (MySQL, MariaDB, PostgreSQL, or SQLite) based on the configuration file. This change improves flexibility and allows easier customization of the database setup by just modifying the config file.
- Added standard project documentation including README.md
- Added .gitignore for ignoring unnecessary files (.venv, *.pyc, etc.)
- Implemented basic Django application structure with accounts and resolver apps
- Configured Django settings, including two-factor auth and database setup
- Set up Django admin and basic model structures for Prefixes, Suffixes, Identifiers, and Permissions
- Added templates for accounts and resolver management
- Configured initial migrations and custom user model
- Included poetry dependencies and project setup configuration
This commit sets up the fundamental structure of the FreeDOI project, enabling DOI-like identifier creation and resolution.