Releases: hsa00000/Urocissa
0.4.3
Changelog
[0.4.3] - 2024-12-09
Changed
- Improved Redirection: After logging in, users are now redirected to the page they were originally visiting, instead of always being redirected to the homepage.
Fixed
- Docker Path Issue: Fixed an issue where absolute paths in the
.env
file were not being watched correctly in Docker. - Navigation Issue: Fixed an issue where users could not return to the homepage by pressing the back button from within an album.
Full Changelog: Compare 0.4.2...0.4.3
0.4.2
Changelog
[0.4.2] - 2024-12-07
Changed
- Optimized Docker and One-Click Startup Script: Thanks to
cargo-chef
, Docker's one-click startup is now faster, and the image files are significantly smaller. (Implemented by KiringYJ) - Flexible Input for Tags and Album Names: You can now use any string as a tag or album name, offering greater flexibility in naming.
Breaking Changes
- Renamed Docker Script: The one-click Docker installation and startup script has been renamed to
run_urocissa_docker.sh
(formerlyscript.sh
). Please refer to the updated README.md for usage instructions. - Search Syntax Update: Search queries now require enclosing keywords (identifiers) in double quotes. For example, use
tag: "some_tag"
instead oftag: some_tag
. More examples can be found at SEARCH.md.
Full Changelog: Compare 0.4.1...0.4.2
0.4.1
Changelog
[0.4.1] - 2024-12-05
Changed
- Optimized Docker and One-Click Startup Script: Improved Docker startup speed with a more effective caching mechanism. The one-click startup script (
script.sh
) no longer generates atemp.env
file. You can safely deletetemp.env
after this update.
Full Changelog: 0.4.0...0.4.1
0.4.0
Changelog
[0.4.0] - 2024-12-04
Added
- Docker One-Click Setup: You can now use Docker to launch Urocissa with just one click! No more manual builds for frontend and backend—it's all automated for both new and existing users. This feature is backward-compatible. (Implemented by KiringYJ)
Note: Docker offers a quick and convenient setup but is still in the early stages of development, leading to lower efficiency. It's recommended for testing or trial purposes. For best performance, building from source is advised.
Changed
- Optimized Monitoring: Replaced all instances of the hot loop monitoring mechanism with asynchronous listeners, making Urocissa significantly faster.
- Improved Memory Efficiency: The backend no longer regenerates identical cache files when refreshing pages, resulting in more efficient memory usage.
- Scroll Misclick Prevention: Enhanced mobile user experience by preventing accidental photo taps during scrolling.
Fixed
- Frontend Fetch Order Issue: Resolved an issue where the frontend was incorrectly fetching rows in the wrong order. #d4fd34d
- Album Cover Photo Issue: Fixed a problem where photos not within an album could still be assigned as the album cover.
Full Changelog: 0.3.1...0.4.0
0.3.1
Changelog
[0.3.1] - 2024-12-01
Fixed
- Video Queue Display Issue: Fixed an issue where the video queue message was not displaying correctly.
- Password Login Issue: Addressed a bug that prevented login with valid passwords in certain cases. #13
- Incorrect Version Number: Corrected the displayed version number.
- Database Deletion Issue: Fixed an issue where files were not properly removed from the database after deletion.
- Upload Panel Visibility: Resolved an issue where the upload panel was not appearing as expected.
Full Changelog: 0.3.0...0.3.1
0.3.0
Changelog
[0.3.0] - 2024-11-20
Breaking Changes
Starting with this version, the backend configuration file config.json
is deprecated. Previously, this file contained sensitive information such as passwords, private folder paths, and Discord hooks, which were mixed with other general configurations. To enhance security, sensitive configurations must now be moved to .env
. Users upgrading from version 0.2.0 must make the following changes to continue using the application.
How to Migrate to Version 0.3.0:
Locate your config.json file in ./Urocissa/gallery-backend/
and move the settings from config.json
to .env
. For example, if your config.json
looks like this:
{
"password": "your_password_here",
"readOnlyMode": false,
"syncPath": ["./upload", "./folder"],
"disableImg": false,
"discordHookUrl": null
}
The new config.json
should be:
{
"readOnlyMode": false,
"disableImg": false
}
Then, create a .env
file in the same directory with the following contents:
PASSWORD=your_password_here
SYNC_PATH=./upload,./folder
DISCORD_HOOK_URL=
Your app can now start up normally, just like before.
Added
- Album Features: Added album features that allow users to create albums, add photos, and edit album titles.
Changed
- Configuration Management: Replaced
config.default.json
with environment variables. - Optimistic Updates: Tags and albums now update immediately without requiring a refresh.
- Removed Dynamic Imports: Page transitions are now smoother when navigating through the menu, reducing lag.
- Restricted Special Characters: Users are now restricted from using overly special characters when editing tags.
- Logging: Improved logging format for better readability and organization.
Fixed
- Display Issue: Fixed incorrect display of the last row of photos in an album.
- Scrollbar Issue: Resolved incorrect scrollbar behavior when there are too few photos.
- Toolbar Consistency: Padding at the top and bottom of the toolbar is now evenly balanced.
- Photo Size Error: Fixed an issue where switching between photos would temporarily display incorrect sizes.
Full Changelog: 0.2.0...0.3.0
0.2.0
Changelog
[0.2.0] - 2024-11-06
Added
- JWT Authentication: Replaced the custom authentication mechanism with JWT for improved security and access control.
- Pending Status for Video Conversion: Added "pending" status display for videos awaiting conversion.
Changed
- Dedicated Thread for Video Conversion: Video conversion now runs on a separate thread for better performance.
- File Upload Refactoring: The upload modal has been simplified.
- Logger Updates: Standardized logging with
INFO
andWARN
levels for consistent log output. - Concurrency in File Uploads: Used
tokio::task::spawn_blocking
for non-blocking file compression. - Optimized Scrollbar: Improved desktop scrollbar to match mobile’s smooth performance.
Fixed
- Scrollbar Year Display: Fixed inaccurate year display in
scrollbarDataArrayYear
. - File Metadata Preservation: Ensured that file upload processes retain the original "last modified" date and time.
- Firefox Image Display Issue: Resolved an issue where photos with decimal width/height values displayed incorrectly in Firefox.
- Compressed Files Access Issue: Fixed a security issue requiring users to log in to access compressed files.
- Token Expiration Redirect: Now immediately redirects to the login page upon detecting an expired token.
- Separate Secret for JWT Signing: Resolved a security issue by using a separate, server-only secret for JWT signing, distinct from the user password. This prevents unauthorized JWT creation and signing by users with password access.
Full Changelog: 0.1.0...0.2.0
0.1.0
[0.1.0] - 2024-10-17
Added
- Initial beta release
Full Changelog: https://github.com/hsa00000/Urocissa/commits/0.1.0