What's Changed
1. Translation Management Documentation
- New file:
apps/docs/content/docs/3.0-beta/translation-management.mdx
- Adds comprehensive documentation for Palmr’s new translation management system, including usage instructions, workflows, command examples, best practices, and troubleshooting.
- Modified file:
apps/docs/content/docs/3.0-beta/meta.json
- Adds the new "translation-management" documentation page to the beta documentation summary.
2. Database Schema (Prisma)
- Modified file:
apps/server/prisma/schema.prisma
- In the
ReverseShare
table:- Adds two new fields:
nameFieldRequired
andemailFieldRequired
of enum typeFieldRequirement
(HIDDEN
,OPTIONAL
,REQUIRED
).
- Adds two new fields:
- Creates the new enum
FieldRequirement
. - These changes allow configuring the visibility/requirement of the "Name" and "Email" fields for uploads via Reverse Share.
- In the
3. File Download Improvements
- Modified file:
apps/server/src/modules/filesystem/controller.ts
- Implements support for partial downloads via HTTP Range, allowing for resumable downloads and downloading only parts of large files.
- Improves handling of large files and sets proper HTTP responses for downloads.
4. Reverse Share: Routes and Logic
- Modified files:
apps/server/src/modules/reverse-share/controller.ts
- Adds a new endpoint to copy files from a Reverse Share to the authenticated user’s personal files.
apps/server/src/modules/reverse-share/dto.ts
- Updates DTOs to include name/email field requirement settings.
apps/server/src/modules/reverse-share/routes.ts
- New POST route
/reverse-shares/files/:fileId/copy
to copy Reverse Share files to user files. - Expands validation schemas to reflect new fields.
- New POST route
apps/server/src/modules/reverse-share/service.ts
- Implements the business logic for copying Reverse Share files to the user, including permission checks, size limits, and storage quota checks.
- Updates response serialization methods to include new fields.
5. Internationalization (i18n)
- Adds translations for new features:
- UI texts and labels related to the required/visibility status of name and email fields.
- New UI messages for multi-file ZIP download, feedback for file copy-to-"My Files", improved accessibility, and status updates.
- Improved translations for bulk actions, error/success messages for download/copy operations, and field options in forms.
Summary of Key Features and Improvements
- New translation management system: Scripts for syncing, auto-translating, checking, and reporting on language files, with full documentation.
- Customizable Reverse Share fields: It’s now possible to configure whether the uploader’s name and email fields are hidden, optional, or required.
- Copy files from Reverse Share to personal files: Users can copy files received via Reverse Shares directly into their own files, respecting limits and permissions.
- Large file download improvements: Support for resumable (partial) downloads, more robust large file handling.
- Expanded i18n: New and improved translations for Arabic and German, covering new features and UI actions.
🔗 See all files and details on the PR:
https://github.com/kyantech/Palmr/pull/101/files
If you need details for any specific file or change, just let me know!
Full Changelog: v3.0.0-beta.9...v3.0.0-beta.10