Commit Graph

311 Commits

Author SHA1 Message Date
Copilot
193d9d0f75 Remove unnecessary global flag from regex in photo-asset.service (#139)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Innei <41265413+Innei@users.noreply.github.com>
2025-11-03 12:53:02 +08:00
Copilot
b4c196630c Replace fragile string matching with Symbol-based plugin detection (#140)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Innei <41265413+Innei@users.noreply.github.com>
2025-10-31 21:48:58 +08:00
Innei
751140a1b7 feat(reactions): add reactions table and integrate into database schema
- Introduced a new 'reactions' table with fields for tenant ID, creation timestamp, reference key, and reaction type.
- Updated the database schema to include the new reactions table.
- Enhanced the index and unique constraints for better data integrity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 21:47:46 +08:00
Copilot
90d70ad683 Remove unnecessary global flag from regex patterns in photo-asset.service.ts (#138)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Innei <41265413+Innei@users.noreply.github.com>
2025-10-31 21:47:22 +08:00
Innei
9caae3bdb6 Update be/apps/core/src/modules/photo/photo-asset.service.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 21:29:36 +08:00
Innei
718bf16a93 chore: update package dependencies across the project
- Bump @types/node to version 24.9.2 in multiple packages for improved type definitions.
- Update @types/pg to version 8.15.6 for better PostgreSQL type support.
- Upgrade next to version 16.0.1 and drizzle-kit to version 0.31.6 for enhanced functionality.
- Increment various dependencies including immer, ofetch, and react-router to their latest versions for performance and feature improvements.
- Adjust builder package dependencies, including updates to AWS SDK and exiftool-vendored for better compatibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 21:27:08 +08:00
Innei
d9b83e091c feat(photo): enhance thumbnail management in photo asset service
- Introduced methods for resolving thumbnail storage keys and remote prefixes.
- Implemented deletion of associated thumbnail files when photo assets are removed.
- Added constants for default thumbnail directory and content type.
- Updated the TenantStep component to reflect a new placeholder for tenant domain.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 20:43:12 +08:00
Innei
552947c2cd feat(dashboard): implement dashboard overview component and related services
- Added DashboardModule, DashboardController, and DashboardService to manage dashboard functionality.
- Created DashboardOverview component to display statistics and recent activity.
- Introduced API hooks for fetching dashboard data and handling state.
- Updated AGENTS.md to reflect new page structure for modular organization.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 20:18:36 +08:00
Innei
22ea1f97aa refactor: streamline storage provider handling in photo services
- Removed local and eagle storage provider configurations from the photo storage service.
- Updated the createStorageKey method to utilize storage configuration directly.
- Introduced utility methods for directory normalization and key path management.
- Adjusted the upload assets method to eliminate the directory parameter.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 19:33:34 +08:00
Innei
c1092425b0 refactor: replace GlassPanel with LinearBorderPanel in dashboard and super admin settings forms
- Updated components to use LinearBorderPanel for consistent styling.
- Removed unused background gradient styles from tailwind.css.
- Cleaned up UI schema by removing unnecessary labels in super admin settings.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 19:10:37 +08:00
Innei
c8bb715b22 feat(builder): upload thumbnails via storage plugin 2025-10-31 13:45:34 +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
7dd6c1c812 feat: sync photos from active storage provider (#135)
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 00:21:10 +08:00
Ailuntz
298c98efbd fix: add duplicate ID detection in toc-extractor to match remark-heading (#133) 2025-10-29 10:54:59 +08:00
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