TC
synced commits to dependabot/go_modules/src/golang.org/x/crypto-0.45.0 at TC/arozos-mirror from mirror
537ea96424 Bump golang.org/x/crypto from 0.44.0 to 0.45.0 in /src
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
44fa50a2ff Updated photo viewing module to render ARW DNG and CR2 (#200)
* Added ARW CR2 and DNG support
Added ARW CR2 and DNG support
* Centralize RAW format definitions and fix filepath.Ext issue
Fixed two maintainability issues:
1. **Fixed potential panic in mediaserver.go**:
- Replaced unsafe string indexing: filepath[strings.LastIndex(filepath, "."):]
- Now uses filepath.Ext() which safely handles files without extensions
- Prevents index out of bounds panic
2. **Centralized RAW format definitions**:
Backend (Go):
- Added metadata.RawImageFormats constant
- Added metadata.IsRawImageFile() helper function
- Updated metadata.go to use constant
- Updated mediaserver.go to use helper function
- Single source of truth: src/mod/filesystem/metadata/metadata.go
Frontend (JavaScript):
- Created src/web/Photo/constants.js with RAW_IMAGE_EXTENSIONS
- Added isRawImage() helper function
- Updated all files to use shared constant:
* init.agi - module registration
* photo.js - main photo viewer
* backend/listFolder.js - folder listing
* embedded/listNearbyImage.js - embedded viewer
- Added script tags to index.html and embedded.html
Benefits:
- Single place to add new RAW formats in future
- Consistent behavior across frontend and backend
- No more scattered hardcoded extension lists
- Safer filepath handling (no panic on edge cases)
RAW formats remain: ARW, CR2, DNG, NEF, RAF, ORF
* Updated backend script
---------
Co-authored-by: Claude <noreply@anthropic.com>
3cb383bc81 V2.024 (#198)
* Removed neralnet and optimized folder thumbnail
- Removed neural net and its AGI components
- Improved folder rendering logic
* feat(login): add locale support for login page (#197)
* feat(login): add locale support for login page
* refactor: make login locale self-contained
---------
Co-authored-by: pi-dal <pi-dal@pi-dals-MacBook-Air.local>
* Updated Manga App design
- Updated Manga app design
- Optimized login locale deisgn
* Update viewComic.html
* Add EXIF extraction to image library and Manga UI improvements
- Photo app upgrade
- Manga app UI upgrade
- Added EXIF support in agi
* Add AGI module documentation
* Add zoom, pan, and hash-based photo restore
Introduces zoom and pan functionality for photo viewer images, including double-click, mouse wheel, drag, and touch gestures. Adds a zoom snackbar UI and reset button. Implements hash-based restoration of photo view state, allowing direct linking to specific photos and restoring viewer state on page load or navigation. Updates UI for mobile info panel toggling and improves menu and button styling.
---------
Co-authored-by: pi-dal <hi@pi-dal.com>
Co-authored-by: pi-dal <pi-dal@pi-dals-MacBook-Air.local>
5191409810 Merge branch 'master' of https://github.com/tobychui/arozos
14fbdb9c9f Update dependencies and remove NFS server module
Upgraded Go version and multiple dependencies in go.mod and go.sum for improved compatibility and security. Removed the deprecated NFS server module and related license file, added new locale JSON files, and updated several web and backend modules to reflect these changes.
- Salīdzināt šīs 10 revīzijas »
2 nedēļas atpakaļ