Add app name to page titles by fetching it from the configs endpoint. Introduce a new `Favicon` component to handle dynamic favicon rendering based on the app logo. Remove manual favicon updates from the app info context as it is now handled by the `Favicon` component.
This commit focuses on improving the readability and maintainability of the users-management module by reorganizing imports, removing unnecessary whitespace, and standardizing code formatting. No functional changes were made.
Introduce a new users management module that includes features for creating, reading, updating, and deleting users. The module includes components for user tables, modals for user actions, and hooks for managing user state and interactions. This replaces the previous admin page with a more comprehensive and modular approach to user management.
Introduce a new profile page that includes forms for updating user profile information, changing passwords, and managing profile pictures. The page is protected and integrates with the existing authentication system. Additionally, update validation messages for better clarity and consistency.
Restructured imports across multiple files to follow a consistent order and improve readability. Also, adjusted some code formatting for better maintainability.
Introduce a new settings page with a structured layout, form components, and hooks for managing application settings. This includes the addition of settings-specific types, constants, and UI components such as `SettingsForm`, `SettingsGroup`, and `SettingsInput`. The `useSettings` hook handles configuration loading and updates, while the `LogoInput` component manages logo uploads and removal. The `Select` component from Radix UI is also added to support dropdown functionality.
Refactor import statements and code formatting across multiple files to improve readability and maintain consistency. This includes reordering imports, fixing linting issues, and standardizing code style.
Introduce new components and hooks for managing files, including file list, search bar, empty state, and modals. This includes the addition of a breadcrumb component for better navigation and the use of client-side rendering for specific components. The changes aim to improve the user experience and maintainability of the file management system.
This commit introduces several new utility functions and UI components to enhance file management capabilities. Key additions include:
- `generateSafeFileName` utility for creating safe file names.
- `customNanoid` utility for generating custom IDs.
- New UI components: `AspectRatio`, `Loader`, `Switch`, `ScrollArea`, and various modals for file actions, share management, and file preview.
- Updated translations and package dependencies to support new features.
Refactor code to improve readability and consistency by applying Prettier formatting rules. This includes fixing trailing commas, sorting imports, and ensuring consistent code style. No functional changes were made.
This commit introduces new components and utilities for the dashboard, including storage usage, quick access cards, recent files, and recent shares. It also adds file and share management hooks, along with new UI components like progress bars, separators, and avatars. The changes enhance the dashboard's functionality and improve user experience by providing quick access to essential features and better visual feedback.
The commit includes:
- New components for storage usage, quick access, recent files, and shares
- File and share management hooks for CRUD operations
- Utility functions for file size formatting and file icons
- New UI components like progress bars, separators, and avatars
- Updated translations and styles for consistency
Implement protected routes for admin and dashboard pages to restrict access based on authentication and admin status. Enhance the auth context to handle user data validation and improve error handling during authentication checks.
This commit introduces the initial project setup including configuration files, API models, and necessary assets. The changes include:
- Added Prettier and PostCSS configuration files
- Included favicon and public assets like SVGs
- Set up Next.js and theme provider configurations
- Added TypeScript models for API endpoints and responses
Remove unnecessary lock files from .gitignore to streamline version control. Update Vite configuration to allow all hosts in both development and preview modes for better accessibility
Add a new section "Quick Start with Default Docker Compose" to emphasize the risks of using default credentials and provide recommendations for secure deployment. Clarify the usage of Docker Compose for different environments (local, production) and update port configuration recommendations with a warning about ReactJS limitations.
Add docker-compose.yaml to define services for the application stack, including API, app, MinIO, and PostgreSQL. Remove docker-compose.yaml from .gitignore to track it in version control
Update the documentation and sponsor links in the site configuration to point to their new URLs. This ensures users are directed to the correct resources.
Include visual aids to improve clarity and user experience in the SMTP configuration documentation. The images help users better understand the steps involved in configuring the SMTP server.
The build command in the manual installation guide was incorrectly capitalized as "Build". This commit fixes it to "build" to ensure consistency and proper execution.
Add a new documentation page for configuring SMTP in Palmr, including step-by-step instructions and details on generating Gmail app passwords. Update the navigation menu to include a link to the new guide.
Update image file paths in the upload documentation to reflect the new directory structure. Remove the TODO comment from the navigation configuration as it is no longer needed.
Add detailed documentation for the "Creating a Share" feature, including step-by-step instructions and supporting images. This enhances user understanding and provides a comprehensive guide for managing shares in Palmr.
Move all static assets from `src/assets` to `public` directory to align with Astro's best practices for static file handling. Update all references in markdown files to point to the new public paths. Additionally, update the build script to copy the public directory to the dist folder and modify the dev script to specify host and port.
Update image paths in markdown files to reflect new directory structure. Add new documentation files for API, architecture, and GitHub architecture to enhance project documentation.
- Updated version numbers in server and web package.json files to 1.1.5
- Removed commented-out TODO items in astro.config.mjs
- Added version display to default-footer.tsx
- Cleaned up and simplified documentation text in index.md
This commit introduces a new documentation page (`upload.md`) that explains the file upload process in Palmr. It also includes several image assets to visually support the documentation. The changes aim to provide clear and comprehensive guidance for users on how to upload files from both the Home Page and the My Files Page.
Additionally, the commit updates the `astro.config.mjs` file to reflect the new documentation link for the "Uploading files" section.
This commit removes the dependency on multer and replaces it with fastify's built-in multipart handling for file uploads. The changes include:
- Removing multer and related dependencies from package.json.
- Refactoring logo and avatar services to handle base64 encoded images directly.
- Updating docker-compose configurations to reflect changes in file storage.
- Adding new documentation for file upload processes.
The refactor simplifies the file upload process, reduces dependencies, and improves maintainability.