This commit addresses critical database errors that occurred during item deletion and restoration. - **IntegrityError Fix**: - The and functions were updated to prevent errors. - The logic now checks for existing items by name in the destination list (trash or shopping list) before moving them, avoiding conflicts. - **OperationalError Mitigation**: - To address errors caused by concurrent writes, the SQLite connection timeout was increased to 30 seconds for all database connections. This provides more time for transactions to complete.
62 lines
3.5 KiB
Plaintext
62 lines
3.5 KiB
Plaintext
Changelog for Noteshop
|
|
|
|
## 01.01.2026
|
|
|
|
- **Bug Fixes**:
|
|
- Fixed a `UNIQUE constraint failed` error that occurred when deleting or restoring items that already existed in the target list (e.g., trash or another shopping list).
|
|
- Increased the database connection timeout to prevent `database is locked` errors during concurrent requests.
|
|
|
|
## [Unreleased]
|
|
|
|
## 24.12.2025
|
|
|
|
- **Default Settings & UI Improvements**:
|
|
- Changed the default behavior for the global trash setting to "disabled" to make its use optional.
|
|
- Improved the layout in the Admin Panel:
|
|
- In the user list, the email address is now displayed neatly below the username.
|
|
- In the "Create User" form, the email field has been moved to its own wider row to improve readability.
|
|
- Adjusted the layout in the Settings Modal for better usability:
|
|
- The "Change Password" fields are now clearly arranged one below the other.
|
|
- The settings window has been made narrower for a more compact view.
|
|
- **Versioning**:
|
|
- Updated the versioning scheme from `0.1.0.x` to `1.0.x` to signify a more mature state of the project.
|
|
|
|
|
|
## 22.12.2025
|
|
|
|
- **Password Reset and Email Security**:
|
|
- Implemented a full password reset flow via email.
|
|
- Enforced unique email addresses for users to prevent account conflicts and improve security.
|
|
- Added an automatic email confirmation when a user updates their email address. If sending fails, the UI now informs the user to contact an administrator, helping to diagnose mail server configuration issues.
|
|
- **Improved User Experience (UX)**:
|
|
- Added loading spinners for asynchronous operations like sending password reset links and updating email addresses, providing better visual feedback.
|
|
- Reworded the "Forgot Password" confirmation message to be more professional and secure.
|
|
- **Bug Fixes**:
|
|
- Fixed a critical bug where `MAIL_SUPPRESS_SEND="False"` was incorrectly evaluated, preventing emails from being sent.
|
|
- Corrected the `docker-compose.yml` to properly use environment variables from a `.env` file for mail configuration.
|
|
- Fixed an issue where the password reset token was not correctly parsed from the URL, preventing the reset view from being displayed.
|
|
- Fixed a `SyntaxError` in the `translations.py` file caused by a missing brace.
|
|
- **Localization**:
|
|
- Added missing German and English translations for all new features and messages (e.g., password change success/errors, loading states).
|
|
- **Configuration**:
|
|
- Added an `example.env` file to provide a clear template for all required environment variables.
|
|
|
|
## 21.12.2025
|
|
|
|
- Configurable Notification Details:** Administrators can now configure whether to include the username and list name in Gotify notifications via a new switch in the admin panel.
|
|
- Notification Logic:** Reworked the backend and frontend logic to support configurable notification details.
|
|
- Dark Theme:** Corrected CSS to ensure the notification setting's switch label is visible in dark mode.
|
|
- List Selection:** The selected shopping list no longer changes unexpectedly after adding an item to a newly created list.
|
|
- List Persistence:** The selected list is now correctly persisted and reloaded across browser sessions.
|
|
|
|
## 18.12.2025
|
|
|
|
- UI/UX improvements and bug fixes.
|
|
- Implemented support for multiple shopping lists.
|
|
- Added item editing functionality.
|
|
|
|
29.11.2025
|
|
|
|
- Implemented real-time updates for the shopping list.
|
|
- Added Gitea Issues link to README.md for support and feedback.
|
|
- Fixed an issue where the delete password prompt did not show for all users. |