Commit graph

8 commits

Author SHA1 Message Date
c70b190c23
feat: add inactive user cleanup and refine UI
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.
2024-06-23 08:56:22 +02:00
31567f7bb1
feat(ui): display user email on home page
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.
2024-06-22 21:18:27 +02:00
4b33f17a04
feat: enhance identifier and suffix display in lists
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.
2024-06-22 20:55:30 +02:00
0848d79f63
feat(homepage): enhance homepage content and structure
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.
2024-06-22 20:42:34 +02:00
564eecf83e
feat: pass current user to SuffixUpdateView forms
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.
2024-06-22 19:46:00 +02:00
af3315b3f1
feat: enforce maximum suffix limit for users
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.
2024-06-22 19:38:13 +02:00
21d90e6cd8
feat(settings): add dynamic DB selection based on config
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.
2024-06-22 19:02:50 +02:00
dbf7cde183
feat!: initial FreeDOI project setup
- 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.
2024-06-22 18:32:37 +02:00