38 Commits

Author SHA1 Message Date
EUForest
4c753adaa6 fix: show redemption code entry for all users regardless of subscription status 2026-02-09 00:21:22 +08:00
EUForest
9765a0c742 🐛 fix: TypeScript build errors in redeem-code component
- Fix type error for accessing response.data.message with proper type assertion
- Remove invalid 'loading' prop from Button component
- Add conditional text rendering for loading state

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 21:52:43 +08:00
EUForest
1f9b7ea1db feat: add redemption code feature to user dashboard
- Add redemption code input component in dashboard
- Integrate redemption API endpoint
- Add i18n support for Chinese and English
- Display redemption section alongside subscriptions
2026-02-06 23:59:31 +08:00
EUForest
29f9aaae8c 🐛 fix: Invalid redemption code prompts system error message 2026-01-10 12:45:36 +08:00
EUForest
d38e8f1676 🐛 fix: announcement build error 2026-01-08 17:53:05 +08:00
EUForest
585874777f feat: improve redemption feature i18n and error code handling
- Complete internationalization for redemption records dialog
  - Add i18n for table headers and unit time translations
  - Optimize redemption form validation error messages with i18n
  - Add 50003 error code handling for coupon plan incompatibility
  - Fix TypeScript errors in redemption-related components
  - Fix TypeScript errors in user announcement page
2026-01-07 15:38:42 +08:00
EUForest
93926d9c99 🐛 fix: announcement manager 2026-01-06 23:09:48 +08:00
EUForest
22b24041a7 🔨 update: IP restrictions during development 2026-01-06 22:56:24 +08:00
EUForest
ef6044cfef fix bug: The client cannot be downloaded without a schema configured. 2026-01-06 21:08:20 +08:00
EUForest
2b708dbbcc fix bug: Repeatedly opening new tabs on the payment page. 2026-01-06 21:07:56 +08:00
EUForest
980bb2120d fix bug: Internationalized translation of document content 2026-01-06 21:07:29 +08:00
EUForest
45b9b523b1 feat: Device Bind Limit 2026-01-06 21:03:31 +08:00
web@ppanel
39ebd09f09 🐛 fix: Update getUserSubscribe function to accept short and token parameters for improved URL generation 2025-12-30 06:10:44 +00:00
web@ppanel
0253b62b63 🐛 fix: Set modal prop to false for DropdownMenu in multiple components for improved user experience 2025-12-29 09:54:34 +00:00
web@ppanel
51a98afcae 🐛 fix: Update SendCode parameters to use form.watch for email and telephone fields 2025-12-29 09:44:18 +00:00
web@ppanel
a2746073a6 🐛 fix: Update quantity handling in Purchase and Renewal components based on showOriginalPrice prop 2025-12-29 08:34:15 +00:00
web@ppanel
83d821a2dc 🐛 fix:: Update localization files and improve display logic for inventory handling 2025-12-29 08:08:31 +00:00
web@ppanel
d36a2c902b feat: Update Vite configuration to load environment variables for improved API proxy setup 2025-12-29 07:16:13 +00:00
web@ppanel
8d514dfd8f feat: Update API proxy target to use environment variable for improved configurability 2025-12-29 07:04:49 +00:00
web@ppanel
9f95cec876 feat: Added localized support for user subscription and deletion status, and optimized the subscription form and user interface. 2025-12-29 07:02:31 +00:00
web@ppanel
9559e003b7 feat: Update queryKey structure in Purchase and Renewal components for improved order creation 2025-12-29 06:07:19 +00:00
web@ppanel
543a7b9eb9 feat: Add original price display option and enhance inventory messages in subscription components 2025-12-29 05:34:01 +00:00
web@ppanel
7b5367a9a9 🐛 fix: Add onSuccess callback to Unsubscribe component and conditionally render Renewal component 2025-12-22 04:38:16 +00:00
web@ppanel
7a8c010295 🐛 fix: Update invite link format in auth forms and sidebar to include hash fragment for routing. 2025-12-22 04:26:27 +00:00
web
a8a3d18061 🐛 fix: Add the VITE_SHOW_LANDING_PAGE configuration to control the landing page display logic. 2025-12-16 07:03:13 -08:00
web
033af5c01a 🐛 fix: comment out favicon links in admin and user HTML files for clarity; update icon type to support all image formats in route files 2025-12-16 06:43:29 -08:00
web
69a89e0c39 🐛 fix: enhance logout functionality to support hash-based routing and improve redirect logic 2025-12-16 06:25:38 -08:00
web
227e922958 🐛 fix: replace anchor tags with Link components for improved routing in user subscription and footer 2025-12-15 06:50:17 -08:00
web
6ca8109251 🐛 fix: update logout redirection URL to use hash-based routing 2025-12-15 06:28:15 -08:00
web
3862007b54 🐛 fix: replace window.location with navigate for payment redirection in recharge, renewal, and reset-traffic components 2025-12-12 09:34:06 -08:00
web@ppanel
ae5e95477c ♻️ refactor: Refactor API endpoints to use dynamic API prefix from environment variables
- Updated all service files to replace hardcoded API paths with `${import.meta.env.VITE_API_PREFIX}` for better configurability.
- Ensured consistency across user, common, and gateway services by applying the new API prefix format.
- Removed unnecessary comments and maintained ESLint disable directives where applicable.
2025-12-11 03:58:26 +00:00
web
3cf6a5cfb4 feat: update localization files and improve system version management
- Changed output path for i18next configuration in admin and user apps to "public/assets/locales/{{language}}/{{namespace}}.json".
- Added new translation keys in English and Chinese for admin and user updates in tool.json files.
- Refactored SystemVersionCard component to utilize new service version checking and updating logic.
- Introduced basic service version checking and updating functions in the gateway service.
- Added typings for new API endpoints related to service version management.
- Updated Vite configuration to rewrite API paths.
- Added TypeScript error handling in various service files.
2025-12-01 03:00:47 -08:00
web
5f3354e948 ♻️ refactor(api): update endpoints to include '/api' prefix and add new types for IP location and withdrawal logs
- Updated all user and common service endpoints to include '/api' prefix for consistency.
- Added new API types for querying IP location and withdrawal logs.
- Introduced commission withdrawal functionality in user service.
- Enhanced user service typings to include rules and withdrawal log structures.
2025-11-30 18:20:06 -08:00
web
574c06c754 🐛 fix: Add version.lock plugin to generate version lock file after build 2025-11-30 02:38:44 -08:00
web
bfc1773226 🐛 fix: add hash history support for routing in admin and user applications 2025-11-30 01:02:25 -08:00
web
2ce0572283 feat: add new payment icons for Alipay and WeChat Pay, update asset paths
- Added SVG icons for Alipay and WeChat Pay in the payment assets directory.
- Updated paths for Lottie animations in various components to use relative paths.
- Changed QR code image sources in payment-related components to point to the new asset paths.
- Adjusted i18n configuration to load translation files from the updated assets directory.
2025-11-29 20:03:41 -08:00
web
4c774871a8 🐛 fix: update repository links and add environment configuration for admin and user apps 2025-11-28 17:53:06 -08:00
web
a801849fb2 🎉 feat: initialization 2025-11-26 19:56:16 -08:00