Commit Graph

297 Commits

Author SHA1 Message Date
Innei
33a56b629b feat: enhance storage provider management and settings
- Added functionality to manage storage providers, including adding, editing, and toggling active status.
- Introduced utility functions for normalizing and serializing storage provider configurations.
- Implemented masking of sensitive fields in storage provider settings.
- Updated the dashboard UI components to reflect the new storage provider management features.
- Added new constants and utility functions for better handling of storage provider data.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 23:49:16 +08:00
Innei
e99b211ac6 refactor: remove optional logger parameter from getFile methods across storage providers and update logging implementation
- Simplified getFile method signatures in StorageProvider and its implementations by removing the optional logger parameter.
- Updated logging calls to use a global logger instance instead of passing a logger as an argument.
- Ensured consistent logging behavior across different storage providers.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 20:03:22 +08:00
Innei
af170a43bb refactor!: builder pipe and plugin system
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 19:48:04 +08:00
Innei
ad0c8830a6 chore: lint
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 13:52:09 +08:00
Innei
7670d58aaa feat: unify dashboard design 2025-10-28 13:52:01 +08:00
Innei
e2d2345b78 feat: superadmin settings
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 02:35:34 +08:00
Innei
a4e506f51c feat(dashboard): provider init 2025-10-27 23:05:02 +08:00
Innei
223e90d4d2 feat(dashboard): design init
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 19:49:23 +08:00
Innei
addb2435c8 feat: onboarding ui adjust
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 16:56:30 +08:00
Innei
c300b5e86a feat(server): onboarding and login layout design
- Replaced the existing GNU AGPL v3 license with the new Attribution Network License (ANL) v1.0 in the LICENSE file.
- Updated package.json files to reflect the new license.
- Modified README.md to reference the new license.
- Adjusted various package.json files to remove outdated license entries.
- Added new dependencies and updated existing ones in pnpm-lock.yaml.
- Refactored onboarding components and improved UI consistency across the dashboard.
- Introduced new hooks and components for better onboarding experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 01:18:06 +08:00
Whitewater
68ab78b336 fix: correct variable name in EagleStorageProvider's copyToDist method (#129) 2025-10-26 21:41:22 +08:00
Innei
a3cfeca643 chore: disable pwa
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-26 18:58:14 +08:00
Innei
eda640aec4 fix: lockfile
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-26 18:51:50 +08:00
Innei
310e1c502e feat: adjust onboarding ui 2025-10-26 18:47:38 +08:00
Innei
bb3088208d feat(server): onboarding init 2025-10-26 18:37:56 +08:00
Innei
37a28d10c3 refactor: update spring parameters in HistogramChart for smoother animations
- Changed spring parameters to critically damped settings for improved deceleration without oscillation.
- Enhanced the springProgress function to handle critically damped and overdamped scenarios, ensuring a more natural animation feel.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 01:27:56 +08:00
Innei
55ec982272 fix: next build
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 01:23:39 +08:00
Innei
64f58aa19a chore: update import statements and add UI source
- Updated import statement in next-env.d.ts to use consistent quotation marks.
- Added import for @afilmory/ui in globals.css and tailwind.css for improved styling and component usage.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 01:17:45 +08:00
Innei
197135f530 chore: update dependencies and refactor imports
- Removed the deprecated @afilmory/components package and replaced it with @afilmory/ui and @afilmory/utils in the SSR app.
- Updated pnpm-lock.yaml to reflect the new dependencies.
- Refactored imports in PhotoItem, HistogramChart, LoadingIndicator, RawExifViewer, and MasonryPhotoItem components to use the new packages.
- Added new icons to the @afilmory/ui package.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 01:12:36 +08:00
Innei
d6ad6d17ab refactor: component move to monorepo (#128)
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 00:59:25 +08:00
Whitewater
d0f8f16bf4 feat: add distPath for local storage (#126) 2025-10-24 22:40:04 +08:00
Wenzhuo Liu
876929330f feat: add map projection mode support (#127) 2025-10-24 22:39:14 +08:00
Innei
74222cb555 chore: update package dependencies and configurations
- Upgraded pnpm from version 10.18.1 to 10.19.0.
- Downgraded @uswriting/exiftool from version 1.0.5 to 1.0.3 in multiple package.json files.
- Updated various packages in pnpm-lock.yaml to their latest beta versions, including rolldown and related bindings.
- Adjusted TypeScript configuration in apps/ssr to change JSX setting from "react-jsx" to "preserve".
- Modified loading animations in UI components to include a duration of 1000ms for smoother transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 23:57:00 +08:00
Innei
7469444c98 feat: new glassmorphic depth design system
- Introduced AGENTS.md to document development and database commands, animation guidelines, and design principles.
- Updated various UI components to implement glassmorphic design elements, including hover effects and background gradients.
- Enhanced the CommandPalette, DropdownMenu, and Tooltip components with improved styling and animations.
- Refactored PhotoViewer and ExifPanel to incorporate new design guidelines and improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 23:25:52 +08:00
Innei
c48d6b51c1 fix(feed-sitemap): parse EXIF tag generation and streamline date handling
- Updated EXIF tag generation to utilize PickedExif type for better type safety.
- Simplified date handling in generateExifTags function to improve readability.
- Removed redundant code and improved the handling of various EXIF properties.
- Enhanced GPS coordinate normalization and added utility functions for better clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-20 17:53:27 +08:00
Ricky Li
9b4278565f fix live photo detection with capital letter (#117)
Signed-off-by: Ricky Li <i@liqi.link>
2025-10-20 17:28:13 +08:00
Whitewater
834d730797 refactor: update generatePublicUrl to return a Promise for asynchronous handling (#121) 2025-10-20 17:21:34 +08:00
Whitewater
2ffcb5d04f fix(docs): correct GitHub storage configuration (#119)
Co-authored-by: Innei <tukon479@gmail.com>
2025-10-20 17:21:23 +08:00
Whitewater
c4448cef1e feat: add EagleStorageProvider (#122)
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-20 17:19:38 +08:00
Innei
b918d65fb9 chore: update license
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-20 16:52:07 +08:00
Whitewater
33ac07c583 fix(docs): replace Vite SVG icon with favicon.ico (#118) 2025-10-20 08:44:18 +08:00
Innei
32af836f42 chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-19 00:18:22 +08:00
Innei
f02dbe3244 fix(SharePanel): refactor embed code copying to use a ref for improved reliability
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-19 00:18:12 +08:00
Innei
43e90a7348 fix(PhotoMarkerPin): adjust EXIF display to use smaller text size
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-16 23:17:17 +08:00
Innei
8b07b1384e feat(image-conversion): add queue management for image conversion tasks and update loading states
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-16 22:07:12 +08:00
Magren
6c9406585d feat(gallery): implement global search functionality for photos (#115)
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-10-16 20:21:40 +08:00
MaxtuneLee
6b16b83e72 fix(webglviewer): fix tile render strategy and tile update inspector (#114) 2025-10-13 00:16:20 +08:00
Innei
791fccf244 chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-08 20:21:11 +08:00
Innei
bfe1537602 chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-02 17:58:43 +08:00
Chrys
9c96fea48b fix(PhotoViewerTransitionPreview): correct z-index on transition (#112) 2025-09-30 13:53:24 +08:00
Innei
517e943c93 chore: add LICENSE file and update copyright in README.md
- Introduced a new LICENSE file with the MIT License for the project.
- Updated the copyright notice in the README.md to reflect the Afilmory Team as the copyright holder for 2025.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 20:01:36 +08:00
ChrAlpha
7a49741c0a perf(PhotoViewer): try improving exit transition performance (#111) 2025-09-24 16:57:13 +08:00
Innei
793ed1ae14 chore: update package manager and dependencies across multiple packages
- Upgraded the package manager to pnpm@10.17.1 in package.json files for apps and packages.
- Updated eslint-plugin-react-refresh to version 0.4.21 in packages/docs/package.json.
- Upgraded typescript-eslint and vite to versions 8.44.1 and 7.1.7 respectively in packages/docs/package.json.
- Ensured consistency in package versions across the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:51:37 +08:00
Innei
18791ccd75 chore: disable specific react-hooks rules in ESLint configuration
- Temporarily turned off various react-hooks rules in the ESLint configuration to address current development needs.
- Updated the usePhotoViewerTransitions hook to encapsulate visibility handling in a new hideTriggerElement function for improved code clarity and reusability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:50:15 +08:00
ChrAlpha
eed6062388 feat(PhotoViewer): add entry/exit animation (#110)
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-24 00:43:46 +08:00
Innei
d62ecb34f1 chore: add Git LFS support for media files and update build scripts
- Introduced .gitattributes to manage large media files with Git LFS for various formats including HEIC, MOV, and JPG.
- Added a new build script in package.json for preparing demo data.
- Enhanced logging in the PhotoGalleryBuilder to include storage provider information.
- Updated the LocalStorageProvider to use the correct type for file stats.
- Added multiple new media files to the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:26:30 +08:00
Innei
6fafb5710e chore: update react version in pnpm-lock.yaml and package.json
- Updated the react dependency version to 19.1.1 in both pnpm-lock.yaml and package.json for consistency and to ensure compatibility with the latest features and fixes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-22 00:18:13 +08:00
Innei
29caf0f553 fix: update ExifPanel to calculate and display megapixels
- Removed the dependency on formatted EXIF data for megapixels and implemented a direct calculation based on image dimensions.
- Cleaned up the code by removing unnecessary comments and ensuring clarity in the rendering logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 18:35:57 +08:00
Innei
5d7a103175 chore: update react version in package.json and pnpm-lock.yaml
- Updated the react dependency version to ^19.1.1 in both package.json and pnpm-lock.yaml for consistency and to ensure compatibility with the latest features and fixes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 18:29:38 +08:00
Innei
d98049ded6 Revert "perf: image webgl perf"
This reverts commit 444468b862.
2025-09-21 18:29:31 +08:00