Commit Graph

230 Commits

Author SHA1 Message Date
Innei
6a4f868a5a feat(docker): add Docker Compose configuration for database and caching services
- Introduced a new `docker-compose.yml` file to define services for PostgreSQL and Redis, facilitating local development and testing.
- Configured health checks for both services to ensure they are ready before the core application starts.
- Set up environment variables for the PostgreSQL service to manage user credentials and database initialization.
- Added volume mappings for persistent data storage in both PostgreSQL and Redis.

refactor(auth): streamline tenant context resolution and error handling

- Simplified the `AuthGuard` to throw a `BizException` with a detailed message when tenant IDs do not match.
- Removed unnecessary response header settings in the `TenantContextResolver` and middleware, improving clarity and maintainability.
- Updated various controllers and services to utilize the new tenant context handling logic, ensuring consistent behavior across the application.

feat(super-admin): implement builder debug functionality

- Added `SuperAdminBuilderDebugController` to handle image debugging requests with progress tracking.
- Introduced an in-memory storage provider for debugging purposes, allowing for temporary file uploads and processing.
- Enhanced the dashboard with a new debug page for super admins to test and validate image processing workflows.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 23:43:22 +08:00
Innei
936666d8a2 refactor: remove unnecessary window checks across components
- Eliminated checks for `typeof window !== 'undefined'` in various components and utility functions, simplifying the codebase.
- Updated logic to directly access `window` properties, assuming the code runs in a browser environment.
- Improved readability and maintainability by streamlining conditional checks related to window availability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 15:03:46 +08:00
Innei
42c217e2f8 chore(deps): update package versions across the project
- Bumped versions for several dependencies including `@types/node`, `eslint`, `sharp`, `vite`, and various `@tanstack/react-query` packages to their latest releases for improved stability and features.
- Updated Tailwind CSS related packages to version 4.1.17 for consistency across the project.
- Adjusted other dependencies such as `jotai`, `lucide-react`, and `tailwind-merge` to their latest versions to ensure compatibility and access to new features.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 23:57:37 +08:00
Innei
76d60fd672 feat(ui): introduce LinearBorderContainer component and enhance NotFound pages
- Added LinearBorderContainer component for improved UI styling with gradient borders.
- Refactored NotFound components in both web and dashboard to utilize LinearBorderContainer, enhancing visual presentation and user experience.
- Updated layout and messaging for 404 error pages to provide clearer navigation options.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 22:47:56 +08:00
Innei
9c4fe4155f chore(landing): update
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 23:21:54 +08:00
Innei
16d78812ee chore(landing): update landing
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 22:52:35 +08:00
Innei
2665778890 chore: landing init 2025-11-11 21:47:58 +08:00
Wenzhuo Liu
777e8cbbba feat: add support for motion photo (#153) 2025-11-10 23:23:09 +08:00
Innei
5fd3fcb1b5 fix(logging): enhance HTTP logging to include tenant information
- Updated the LoggingInterceptor to extract and log tenant information during HTTP requests.
- Improved log messages to include tenant slug for better traceability in multi-tenant environments.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-10 17:23:41 +08:00
Innei
8d0e5dfe6b feat(sdk): consolidate SDK functionality and update dependencies
- Introduced a new SDK package to replace the previous ssr-sdk, consolidating shared functionality for handling views and reactions.
- Updated package.json files across applications to reference the new @afilmory/sdk.
- Removed the old ssr-sdk package and its associated files, streamlining the codebase.
- Enhanced API routes for reactions and views to utilize the new SDK schemas and client methods.
- Updated dependencies in various packages to ensure compatibility and improved functionality.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 21:13:02 +08:00
Innei
caf47a4a01 feat(og): implement Open Graph image generation for photos
- Added OgModule with OgController and OgService to handle Open Graph image requests.
- Integrated Satori and Resvg for rendering images based on photo metadata.
- Created OgTemplate for structuring the Open Graph image layout.
- Enhanced error handling for photo retrieval and image generation processes.
- Updated package dependencies to include @resvg/resvg-js and satori for image processing.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 17:58:12 +08:00
Innei
44f9cbb376 feat(feed): implement RSS feed generation and caching mechanism
- Introduced a new FeedModule with FeedService and FeedController for managing RSS feed generation.
- Added CacheModule to handle caching of feed data, improving performance and reducing load.
- Implemented generateRSSFeed function to create RSS XML from photo manifest data.
- Enhanced static web service to include site metadata and configuration in the generated documents.
- Refactored existing modules to integrate new feed functionalities and ensure proper dependency management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 17:05:09 +08:00
Innei
51f586705c feat: integrate site configuration and enhance photo navigation
- Added site configuration injection to the document for dynamic site settings.
- Updated photo navigation links to include the correct path structure.
- Introduced a new page for displaying individual photos with enhanced viewer functionality.
- Refactored various components to utilize the new site configuration and improve code organization.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 14:31:13 +08:00
Innei
1dcb2945ca feat: implement site settings management and onboarding enhancements
- Added site settings management with a dedicated UI for configuration.
- Introduced new onboarding steps for site branding, including site name, title, and description.
- Updated API endpoints for site settings retrieval and updates.
- Enhanced the onboarding wizard to include site settings integration.
- Refactored related components and hooks for better state management and validation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 23:58:14 +08:00
Innei
c1d585d9ac feat: add build:serve script and update build:web command for server serving, fixed #147
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 01:15:34 +08:00
Whitewater
823a272974 refactor: enhance ColumnsPanel behavior (#144) 2025-11-03 12:53:52 +08:00
Innei
6cf5fd7c51 feat: add agents documentation for frontend and backend architecture
- Created AGENTS.md for the frontend detailing the glassmorphic depth design system, including design principles, color usage, component structure, and interactive elements.
- Added AGENTS.md for the backend outlining the architecture using Hono, core technologies, modular structure, and frontend integration.
- Enhanced photo asset service to handle video file uploads, including validation and processing of live photo pairs.
- Implemented a confirmation modal for photo uploads in the dashboard, allowing users to review selected files before uploading.
- Updated ESLint configuration to improve code quality and maintainability across the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-02 20:35:21 +08:00
Innei
71b925bd36 fix: static web proxy
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-01 23:14:49 +08:00
Innei
e27b45ec49 feat(builder): upload thumbnails via storage plugin (#137)
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-10-31 21:49:31 +08:00
Innei
ba68be802e feat: revamp dashboard photo management (#136)
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 02:07:13 +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
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
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
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
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
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
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
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