Commit Graph

447 Commits

Author SHA1 Message Date
Daniel Luiz Alves
4d101fbdeb feat: add LogoInput component to settings input for app logo configuration
- Integrated LogoInput component into the SettingsInput to allow users to upload and manage the application logo.
- Updated the renderInput function to handle the new appLogo configuration, enhancing the settings interface.
2025-07-07 16:38:25 -03:00
Daniel Luiz Alves
008f19b8b0 Release: v3.1.0-beta (#128) v3.1.0-beta 2025-07-07 12:02:00 -03:00
Daniel Luiz Alves
1294329083 docs: update PALMR_UID and PALMR_GID comments in quick-start documentation for consistency
- Revised comments for PALMR_UID and PALMR_GID environment variables in the quick-start guide to align with recent changes in Docker Compose files, ensuring clarity on their purpose and usage.
- Removed outdated comments to streamline the documentation and improve user understanding of UID and GID settings.
2025-07-07 10:56:05 -03:00
Daniel Luiz Alves
1999949129 Merge branch 'feat/multi-oidc-providers' into next 2025-07-07 10:55:47 -03:00
Daniel Luiz Alves
f1cb7a6216 fix: remove --force-reset option from prisma db push commands in server-start.sh
- Updated the database schema push commands to eliminate the --force-reset option for both root and non-root users, ensuring a safer schema update process without unintended data loss.
2025-07-07 10:45:24 -03:00
Daniel Luiz Alves
b908dcf69d chore: clean up project configuration and dependencies
- Removed unused Turborepo configuration files and updated the .gitignore to exclude unnecessary directories.
- Simplified package.json scripts by removing redundant entries related to Turborepo.
- Updated dependencies in pnpm-lock.yaml and package.json for various packages, ensuring compatibility and improved performance.
- Enhanced pnpm workspace configuration by removing obsolete entries and ensuring consistency across applications.
- Added new lint log files for server and web applications to track linting processes.
2025-07-07 01:29:58 -03:00
Daniel Luiz Alves
82842508ef refactor: enhance StorageService with filesystem detection and improved error handling
- Simplified number validation and parsing methods for better clarity and performance.
- Introduced new methods for retrieving mount information and detecting mount points, improving filesystem handling.
- Replaced direct disk space command execution with a unified filesystem information retrieval approach.
- Enhanced error logging and removed unnecessary console outputs to streamline the service's operation.
2025-07-07 00:00:34 -03:00
Daniel Luiz Alves
c466bba77a docs: enhance SMTP configuration documentation with detailed options and testing features
- Updated the SMTP configuration section to include new fields for trusting self-signed certificates and advanced connection security options.
- Improved the documentation structure by adding subsections for basic SMTP configuration, email sender configuration, and advanced options.
- Introduced a testing feature for SMTP connections, detailing the process and expected outcomes for users.
- Removed outdated images and added new visuals to better illustrate the configuration steps and user interface elements.
- Enhanced translations for various languages to support the new SMTP features.
2025-07-06 23:49:17 -03:00
Daniel Luiz Alves
91b6a9913b docs: update UID and GID comments in Docker Compose files for clarity
- Enhanced comments for PALMR_UID and PALMR_GID environment variables across multiple Docker Compose files to indicate that users can change these values to match the UID and GID of the user running the container.
- Added a note in the quick-start documentation to guide users on adjusting UID and GID for file upload issues, including commands to find the current UID and GID in Linux systems.
2025-07-06 02:14:07 -03:00
Daniel Luiz Alves
84dc949d5c docs: enhance OIDC authentication documentation with new images and improved notes
- Added ZoomableImage components to illustrate OIDC provider options and settings, enhancing visual guidance for users.
- Updated the documentation to clarify the configuration process and recommended practices for using multiple OIDC providers.
- Introduced a new image showcasing all OIDC providers to improve user understanding of available options.
2025-07-06 01:58:06 -03:00
Daniel Luiz Alves
0329829185 docs: simplify OIDC provider titles for consistency
- Updated titles for Auth0, Authentik, Discord, Frontegg, GitHub, Google, Kinde Auth, and Zitadel documentation by removing "Provider Configuration" for a cleaner presentation.
- Added new images to enhance the documentation for custom OIDC provider setup, improving user understanding and visual guidance.
2025-07-06 01:48:14 -03:00
Daniel Luiz Alves
8ddfa382b4 docs: update OIDC provider titles to include "Provider Configuration" for clarity
- Modified titles for Auth0, Authentik, Discord, Frontegg, GitHub, Google, Kinde Auth, and Zitadel documentation to include "Provider Configuration" for improved clarity and consistency.
- Enhanced the Frontegg documentation with additional images and detailed setup instructions to aid user understanding.
- Introduced new images for Kinde Auth setup, showcasing application details and configuration steps.
2025-07-06 01:09:58 -03:00
Daniel Luiz Alves
95939f8f47 refactor: rename temp-chunks to temp-uploads and update related configurations
- Changed references from 'temp-chunks' to 'temp-uploads' across .dockerignore, Dockerfile, and various configuration files for consistency.
- Introduced a new directories configuration file to manage directory paths more effectively.
- Updated file handling in the server code to utilize streaming for uploads and downloads, improving performance and memory management.
- Enhanced cleanup processes for temporary directories to maintain a tidy file structure.
2025-07-06 00:06:09 -03:00
Daniel Luiz Alves
c9a9f1d6cf docs: enhance Frontegg authentication documentation with detailed setup instructions and visual aids
- Expanded the Frontegg section to include comprehensive setup steps, benefits, and troubleshooting guidance.
- Introduced multiple new images to illustrate the configuration process, application settings, and user interface elements for better clarity.
- Improved overall documentation structure to facilitate easier navigation and understanding for users integrating Frontegg with Palmr.
2025-07-05 01:39:35 -03:00
Daniel Luiz Alves
6f9813c2c7 docs: enhance Authentik authentication documentation with detailed setup instructions and visual aids
- Expanded the Authentik section to include comprehensive setup steps, benefits, and troubleshooting guidance.
- Introduced multiple new images to illustrate the configuration process, application settings, and user interface elements for better clarity.
- Improved overall documentation structure to facilitate easier navigation and understanding for users integrating Authentik with Palmr.
2025-07-05 00:41:30 -03:00
Daniel Luiz Alves
d63b2ab053 docs: enhance Zitadel authentication documentation with detailed setup instructions and visual aids
- Expanded the Zitadel authentication section to include comprehensive setup steps, benefits, and troubleshooting guidance.
- Introduced multiple new images to illustrate the configuration process, application settings, and user interface elements for better clarity.
- Improved overall documentation structure to facilitate easier navigation and understanding for users integrating Zitadel with Palmr.
2025-07-04 22:13:17 -03:00
Daniel Luiz Alves
9fa138a417 feat: update Auth0 authentication documentation and add new images
- Enhanced the Auth0 setup instructions with additional configuration details and clearer steps.
- Introduced new images for application settings, URLs configuration, and enabling the Auth0 provider to improve user understanding.
- Removed outdated images to streamline the documentation and ensure relevance.
2025-07-04 01:38:09 -03:00
Daniel Luiz Alves
82861d91e9 feat: enhance OIDC authentication documentation and add visual aids
- Updated the Auth0, Discord, GitHub, and Google authentication documentation to include detailed setup instructions and benefits of using each provider.
- Introduced ZoomableImage components for better visual representation of setup steps.
- Added troubleshooting sections for common issues encountered during authentication processes.
- Improved security best practices and next steps for users configuring OIDC providers.
- Included new images for various authentication providers to enhance user understanding.
- Updated translation files to support new icon picker features and improve localization.
2025-07-04 00:47:23 -03:00
Daniel Luiz Alves
1d2caa9e34 refactor: remove unused translation hook from ImagePreview component
- Eliminated the useTranslations hook from the ImagePreview component as it was not utilized, streamlining the code and improving performance.
2025-07-03 15:20:42 -03:00
Daniel Luiz Alves
4ea799ae80 feat: add total storage usage label in multiple languages and enhance storage usage component
- Introduced a new "total" label in various language translation files for storage usage.
- Updated the StorageUsage component to display the total storage size alongside the progress bar.
- Improved layout and styling in the QuickAccessCards component for better visual consistency.
2025-07-03 14:55:53 -03:00
Daniel Luiz Alves
3265f9d1a2 refactor: optimize file upload handling in GlobalDropZone component
- Converted generateFileId and createFileUpload functions to use useCallback for improved performance and memoization.
- Updated dependencies in useEffect hooks to include createFileUpload, ensuring proper functionality during file uploads and pasting events.
2025-07-03 11:13:09 -03:00
Daniel Luiz Alves
5e82e8c709 feat: implement global drop zone for file uploads across the application
- Introduced a new GlobalDropZone component to handle file drag-and-drop uploads, enhancing user experience.
- Updated dashboard and files pages to utilize the GlobalDropZone, allowing users to easily upload files by dragging them into designated areas.
- Added support for pasting images directly into the application, with success notifications for completed uploads.
- Enhanced localization by adding relevant messages for various languages in the translation files.
2025-07-03 11:06:34 -03:00
Daniel Luiz Alves
961d7b4f45 fix: update Brazilian Portuguese translations for consistency
- Corrected capitalization in various keys within pt-BR.json to ensure consistent styling, including titles and action labels.
- Updated the color of the markdown file icon in file-icons.tsx for improved visual distinction.
2025-07-03 02:08:31 -03:00
Daniel Luiz Alves
cc97a8e60d fix: update text color in QuickAccessCards for improved readability
- Changed the text color of card descriptions in quick-access-cards.tsx from gray to a muted foreground color, enhancing visual clarity.
2025-07-03 01:50:54 -03:00
Daniel Luiz Alves
5e367b67fa feat: enhance FilesTable and Textarea components for improved user interaction and styling
- Updated the FileIcon in FilesTable to include a hover effect and click handler for file preview functionality.
- Adjusted the background color in Textarea for better visual consistency with the overall design.
2025-07-03 01:49:11 -03:00
Daniel Luiz Alves
0b87c6e803 fix: remove unnecessary margin from icons in various components for improved layout consistency
- Adjusted icon classes in DeleteReverseShareModal, EmptyReverseSharesState, ReverseShareCard, StorageUsage, AddProviderForm, AuthProviderDeleteModal, AuthProvidersSettings, FilesView, Navbar, DeleteConfirmationModal, ShareFileModal, and ShareMultipleFilesModal to remove the right margin, enhancing visual alignment.
2025-07-03 01:29:48 -03:00
Daniel Luiz Alves
1ea4115578 feat: update global styles and layout for improved typography and card interaction
- Replaced Geist font with Outfit for both sans-serif and mono styles in globals.css and layout.tsx.
- Enhanced card hover effect in quick-access-cards.tsx to improve user interaction feedback.
- Adjusted card component structure in card.tsx for better styling and layout consistency.
2025-07-03 01:09:12 -03:00
Daniel Luiz Alves
d5918c3088 feat: enhance API configuration and file handling for improved performance
- Added experimental server actions and increased body size limits in next.config.ts to support larger payloads.
- Updated the download route to directly use the response body from the API, optimizing data handling.
- Modified the upload route to utilize the request body directly and adjusted content length handling for better compatibility.
2025-07-03 00:23:11 -03:00
Daniel Luiz Alves
3551732aa3 feat: enhance development scripts for improved workflow
- Added new development scripts in package.json for specific applications (web, server, docs) to streamline the development process using Turborepo.
- Updated the name of the frontend application in apps/web/package.json to align with the new naming convention.
2025-07-02 16:47:19 -03:00
Daniel Luiz Alves
6b0972c2ea chore: update package dependencies and scripts for improved validation
- Modified package.json files across multiple applications to streamline validation scripts by removing unnecessary formatting checks.
- Updated dependencies in server and docs applications to their latest versions, enhancing functionality and security.
- Adjusted development scripts in package.json to ensure consistency in linting and type-checking processes.
2025-07-02 15:57:37 -03:00
Daniel Luiz Alves
0ff4661ccd feat: integrate Turborepo for improved build and development workflow
- Added Turborepo configuration in turbo.json to streamline task management for development, building, linting, and formatting.
- Updated package.json scripts to utilize Turborepo for running development and build tasks across applications.
- Included .pnpm-workspace.yaml to define workspace structure for managing multiple applications.
- Enhanced .gitignore to exclude Turborepo's cache directory, ensuring cleaner repository management.
- Adjusted development scripts in apps/docs and apps/web to specify port numbers for local development.
2025-07-02 15:44:07 -03:00
Daniel Luiz Alves
75d6049b87 feat: enhance pre-push validation and update ESLint configurations
- Updated the Husky pre-push hook to validate all applications (web, docs, and server) before pushing changes, improving code quality checks.
- Modified ESLint configurations for the docs app to include additional ignored directories, ensuring cleaner linting results.
- Refactored the HomePage component in the docs app to improve structure and readability, while reintroducing the Highlight component for better content presentation.
- Added a .prettierignore file in the server app to exclude specific directories from formatting, enhancing development workflow.
- Updated various import statements across multiple files for consistency and clarity.
2025-07-02 14:53:23 -03:00
Daniel Luiz Alves
4fb7007db2 chore: update ESLint and Prettier configurations for improved code quality
- Removed the outdated .eslintrc.json file and replaced it with a new eslint.config.mjs file for better configuration management.
- Added .prettierrc.json to enforce consistent code formatting and included a .prettierignore file to exclude specific directories from formatting.
- Updated components.json to streamline alias definitions and ensure proper icon library usage.
- Enhanced package.json with new linting, formatting, and validation scripts to improve development workflow.
- Made various formatting adjustments across multiple files for consistency and clarity.
2025-07-02 12:01:59 -03:00
Daniel Luiz Alves
2c6699b604 feat: update documentation and configuration for v3.1-beta release
- Enhanced package.json with new linting, formatting, and type-checking scripts to improve code quality.
- Updated pnpm-lock.yaml to reflect dependency changes and ensure compatibility with the latest versions.
- Removed deprecated documentation files from the 1.1.7-beta version and added new content for the 3.1-beta release, including OIDC authentication guides and S3 provider configurations.
- Improved layout and styling in the documentation for better user experience.
- Updated the default version in constants to v3.1-beta, ensuring accurate routing in the application.
2025-07-02 12:01:45 -03:00
Daniel Luiz Alves
8db3304b56 feat: enhance file upload modal with success toast and file size formatting
- Added a success toast notification to the file upload modal, improving user feedback upon completion of uploads.
- Implemented a utility function to format file sizes for better readability in the upload status display.
- Reset the success toast flag in various scenarios to ensure accurate notifications during multiple upload sessions.
- Updated the favicon.ico file to reflect recent design changes.
2025-07-01 11:10:48 -03:00
Daniel Luiz Alves
8a954e14fa feat: enhance file upload section and reverse shares components
- Updated the file upload section to use axios for file uploads, enabling progress tracking during uploads.
- Removed unnecessary validation checks for optional fields in the reverse shares form, allowing both fields to be truly optional.
- Added refresh functionality to the reverse shares page, improving user experience by allowing data to be reloaded easily.
- Enhanced the reverse shares search component with a refresh button, providing a more intuitive interface for users.
2025-07-01 02:37:13 -03:00
Daniel Luiz Alves
00174fd9af fix: remove unnecessary loading state check in useFilePreview hook
- Eliminated the check for state.isLoadingPreview in the loadPreview function to simplify the loading logic.
- Cleaned up the parameters passed to the useFilePreview hook by removing the unused loading state, enhancing code clarity.
2025-07-01 01:59:24 -03:00
Daniel Luiz Alves
bb7872eed1 chore: add missing newline at end of package.json file 2025-07-01 01:44:26 -03:00
Daniel Luiz Alves
96f098f343 chore: fix missing newline at end of package.json file 2025-07-01 01:42:50 -03:00
Daniel Luiz Alves
fa0684ebbd feat: configure Husky with pre-push validation 2025-07-01 01:42:19 -03:00
Daniel Luiz Alves
5b04dd6415 feat: add Husky pre-push hook and validation script
- Introduced a pre-push hook in the Husky configuration to run validation checks for the web app before pushing changes.
- Added a validation script in package.json that includes formatting, linting, and type-checking tasks to ensure code quality.
- Updated pnpm-lock.yaml to include Husky as a dependency, enhancing the development workflow.
2025-07-01 01:36:25 -03:00
Daniel Luiz Alves
7e05724a2a chore: update configuration files and translations
- Modified ESLint and Next.js configuration files for improved code quality and performance.
- Updated package.json and pnpm-lock.yaml to reflect dependency changes and ensure compatibility.
- Added new translations for multiple languages, enhancing localization support across the application.
- Cleaned up unused or deprecated model files in the HTTP endpoints, streamlining the codebase.
2025-07-01 01:27:24 -03:00
Daniel Luiz Alves
b4e29294d9 refactor: replace fetch calls with API endpoint functions for authentication and provider management
- Updated OIDCCallbackPage to use getCurrentUser for fetching user data, improving code clarity and maintainability.
- Refactored MultiProviderButtons to utilize getEnabledProviders for loading authentication providers, enhancing consistency in API calls.
- Modified useLogin hook to replace fetch with getAppInfo for retrieving application information, streamlining authentication checks.
- Adjusted useAuthProviders to leverage new API functions for managing authentication providers, improving error handling and response management.
- Removed deprecated types and streamlined imports related to authentication provider management.
2025-06-30 14:02:26 -03:00
Daniel Luiz Alves
48019df81a feat: add SECURE_SITE environment variable to Docker Compose files
- Introduced SECURE_SITE variable in all Docker Compose files to allow configuration for reverse proxy usage.
- This addition enhances flexibility for deployment scenarios where a reverse proxy is utilized, improving security configurations.
2025-06-30 11:53:29 -03:00
Daniel Luiz Alves
9e1c6c0e9a refactor: standardize API base URL usage across proxy routes
- Introduced a consistent API_BASE_URL variable in all proxy route files to streamline API endpoint construction.
- Updated fetch calls to utilize the new variable, enhancing maintainability and reducing redundancy in URL definitions.
- This change improves code clarity and ensures that the base URL can be easily modified in one place if needed.
2025-06-30 11:53:05 -03:00
Daniel Luiz Alves
7eaae9fcb4 fix: update database schema push command to include force-reset option
- Modified the database schema push command in server-start.sh to include the --force-reset flag for both root and non-root users.
- This change ensures that the database schema is reset and applied correctly, improving the initialization process for the application.
2025-06-27 18:22:43 -03:00
Daniel Luiz Alves
099546d525 refactor: streamline share management in SharesPage component
- Removed local state for shareToViewDetails and integrated it with shareManager for better state management.
- Updated the onCloseViewDetails handler to utilize shareManager's method, enhancing code clarity and maintainability.
- Adjusted the useShares hook to eliminate unnecessary state, simplifying the overall logic.
2025-06-27 17:49:53 -03:00
Daniel Luiz Alves
d1de4c78c5 feat: standardize UID/GID configuration across Docker Compose files
- Added PALMR_UID and PALMR_GID environment variables to all relevant Docker Compose files to ensure consistent user and group ID settings for container processes.
- Updated documentation in quick-start guide to reflect these changes, enhancing clarity for users regarding UID/GID configurations.
2025-06-27 17:34:29 -03:00
Daniel Luiz Alves
69b808ef5e feat: add version update functionality and update package versions
- Introduced a new Makefile target `update-version` to streamline version updates across all package.json files.
- Added a script `update-versions.sh` to automate the version number update process.
- Updated package versions in `apps/docs`, `apps/server`, and `apps/web` to `3.1-beta` for consistency.
- Enhanced the build process to include version updates before building the Docker image.
2025-06-27 16:57:53 -03:00
Daniel Luiz Alves
503ab4055f feat: implement authentication provider management UI and functionality
- Added new UI components for managing authentication providers, including forms for adding, editing, and deleting providers.
- Integrated drag-and-drop functionality for reordering providers in the settings interface.
- Enhanced user experience with modals for confirming deletions and displaying callback URLs.
- Updated translation files to include new keys for authentication provider management, ensuring localization support.
- Refactored existing components to streamline the integration of new provider management features.
2025-06-27 15:23:37 -03:00