I implemented a new API Endpoint /files/check that is queried before trying to upload the file to the MinIO backend.
This prevents the current issue where files exceeding the maximum file size would be uploaded to the storage backend but then fail to get registered, resulting in "dead" data invisible in the frontend but stored in the backend.
Additionally I added new toast notifications for the following errors that can happen while checking if the file is valid:
- filesizeExceeded: Displays a toast that the file is too large and shows the current MAX_FILESIZE
- insufficientStorage: Displays a toast with the error that not enough storage is available together with the currently available storage
- unauthorized: Displays a toast saying that the token is invalid
In this pull request, we're removing the default admin user that was previously created via seed. Instead, the initial user will now be created dynamically by whoever is installing Palmr., eliminating the need for a predefined seed. This change makes the setup process more fluid and secure.
commit 359d0a0403
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 14:11:09 2025 -0300
docs(installation): add command to generate .env file
Add a command to generate a .env file with the `server_ip` configuration to simplify the setup process for users. This command can be executed in the server terminal at the same path as the docker-compose.yaml file.
commit c3967eca72
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 13:42:26 2025 -0300
refactor(web): remove unused config fetch in layout metadata
Simplify the metadata generation in the layout component by removing the unnecessary fetch of app configurations. This reduces complexity and improves maintainability.
commit 6898dd8d1b
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 01:22:53 2025 -0300
refactor(layout): remove unused changeLayout prop from Banner component
The changeLayout prop was not utilized in the Banner component, so it has been removed to simplify the code and improve maintainability.
style(home): add version tag to the hero section title
Added a small version tag "v2.0.0-beta" to the hero section title for better visibility and user awareness of the current version.
commit e80de3576c
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 01:11:45 2025 -0300
build(docs): disable eslint and typescript checks during builds
To streamline the build process and avoid unnecessary interruptions, eslint and typescript checks are now ignored during builds
commit 17dd85241c
Merge: da64d65f7124ec
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 01:01:28 2025 -0300
Upgrade to v2.0.0-beta (#16)
commit f7124ec346
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 25 00:56:04 2025 -0300
chore: update environment and docker configurations
Update .env.example to include SERVER_IP, add metadata to docs layout, and switch docker-compose image tags to 'latest' for consistency and clarity.
commit b443fcb010
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 24 23:31:40 2025 -0300
docs: update image URLs in README.md
Update the image URLs in the README.md file to use the new Cloudinary links for better reliability and consistency
commit d106b5346f
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 24 23:28:30 2025 -0300
docs: update documentation links and README content
Update all documentation links from 'palmr-docs.kyantech.com.br' to 'palmr.kyantech.com.br' to reflect the new URL. Additionally, update the README.md to include the latest frontend technology stack and correct the screenshot image link. Also, add a hyperlink to the core maintainer's GitHub profile.
commit 7a6df51308
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 24 23:14:25 2025 -0300
refactor(home): update layout, image URLs, and documentation links
- Remove unnecessary spaces in JSX elements for cleaner code
- Add images configuration to next.config.mjs to support remote image sources
- Replace old image URLs with new Cloudinary-hosted images
- Update documentation links to include an icon for better UX
commit e40254fea6
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 24 20:17:04 2025 -0300
feat(home-page): redesign home page with interactive components
Added new interactive components like animated grids, pulsating buttons, and ripple effects to enhance the user experience. Updated the layout to include sections for features, architecture, and file sharing. Improved the overall design with modern animations and typography.
commit a3ed862ed9
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 24 12:12:11 2025 -0300
docs: add new documentation pages for Palmr 2.0.0-beta
This commit introduces several new documentation pages for the Palmr 2.0.0-beta release. The added pages cover topics such as SMTP configuration, available languages, GitHub sponsorship, starring the repository, opening issues, generating shares, and contributing to the project. These additions aim to provide comprehensive guidance for users and contributors, enhancing the overall user experience and supporting the project's growth.
commit 7904333b15
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 23 16:59:06 2025 -0300
docs: add API documentation and update meta.json for 1.1.7-beta and 2.0.0-beta
This commit introduces API documentation files for both 1.1.7-beta and 2.0.0-beta versions, including detailed guides on accessing and using Scalar and Swagger-based API documentation. Additionally, it updates the meta.json files for both versions to include the new API section and other relevant entries. The global.css file has also been updated to improve styling for code blocks and headings.
commit 57af56ff7e
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Tue Apr 22 17:46:31 2025 -0300
feat(docs): update and enhance documentation for v2.0.0-beta
Add new architecture, installation, and GitHub architecture documentation. Include new banner and architecture images. Refactor meta.json and index.mdx for better structure and clarity. Add sponsor and footer components to the docs layout. Update docker-compose.yaml with new environment variables and port configurations. Remove outdated files and streamline content for v2.0.0-beta release.
commit a2a5b6a88b
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 17 11:49:32 2025 -0300
refactor: replace Image component with img tag for app logo
The commit replaces the Next.js `Image` component with the standard HTML `img` tag in the app logo rendering. This change simplifies the implementation and removes unnecessary dependencies. Additionally, the `env` import was removed from the seed file, the docker-compose image tag was updated to a specific version, and remote image patterns were added to the Next.js config.
commit fccc9d559f
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 17 01:16:38 2025 -0300
chore: remove docker-compose-local.yaml file
The file was deleted as it is no longer needed for the local development setup. This change simplifies the project structure and reduces maintenance overhead.
commit c1fc52c302
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 17 01:15:19 2025 -0300
feat(docs): migrate documentation to Next.js with Fumadocs
This commit migrates the documentation site from Astro to Next.js, leveraging Fumadocs for enhanced functionality and maintainability. The migration includes:
- New Next.js configuration and setup
- Integration of Fumadocs for documentation rendering
- Addition of new documentation assets and images
- Removal of Astro-related files and configurations
The migration aims to improve the documentation site's performance, scalability, and developer experience.
commit dca252827c
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 15:24:20 2025 -0300
refactor: remove deprecated Makefile and generate-docker-compose.sh
The Makefile and generate-docker-compose.sh script were removed as they are no longer needed. The docker-compose.yaml file was updated to include inline comments and use the latest image tag for the palmr-app service. This cleanup simplifies the project structure and ensures clarity in the docker-compose configuration.
commit 32bc17c373
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 14:36:16 2025 -0300
chore: update .gitignore and docker-compose.yaml for better configuration
- Add `.env` to .gitignore to ignore environment variables file
- Update docker-compose.yaml to use environment variables for configuration
and improve comments for clarity
commit efba0b75dc
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 13:53:51 2025 -0300
refactor(web): restructure and clean up project files
Restructured the project by moving and deleting unused files, updating configurations, and organizing code for better maintainability. This includes removing deprecated models, updating environment settings, and consolidating utility functions.
commit a119ab4d46
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 13:40:54 2025 -0300
build(web): add Dockerfile and docker-compose.yml for production deployment
Refactor image handling in components to use Next.js Image component
Remove unused imports and disable ESLint during builds
Add error logging for i18n and login functionality
Update Next.js config for standalone output and build optimizations
commit d25f493c7a
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 11:17:48 2025 -0300
feat(i18n): add theme translation support for multiple languages
Add theme-related translations (toggle, light, dark, system) to JSON files for all supported languages. Update the mode-toggle component to use these translations for theme switching. Also, refactor API route files to improve code consistency and readability.
commit 78e2d05d6c
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 16 10:52:20 2025 -0300
refactor(api): migrate API endpoints to use proxy routes and update axios instance
This commit introduces proxy routes for all API endpoints and updates the axios instance to use the new proxy routes. The changes ensure that all API requests are routed through the Next.js API routes, improving security and consistency. Additionally, the axios instance is renamed to `apiInstance` to reflect its purpose more accurately. The metadata generation in layout files is also simplified by removing unnecessary API calls.
commit 564ff43843
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Tue Apr 15 10:21:30 2025 -0300
chore: remove unused SVG files and refactor login types
Clean up the codebase by deleting unused SVG assets and improve code readability by adding proper spacing and type definitions in the login module
commit 5aea36fd98
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 16:55:36 2025 -0300
feat: add forgot and reset password functionality
Implement forgot and reset password features, including form components, hooks for form handling, and layout/page components. This allows users to request a password reset and set a new password securely.
commit 7d6e484c2b
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 15:55:15 2025 -0300
feat(shares): add share management and public share components
This commit introduces new components and hooks for managing shares and viewing public shares. It includes the following key changes:
- Added components for share management, such as `SharesHeader`, `SharesSearch`, and `SharesTableContainer`.
- Implemented `useShares` hook to handle share data fetching and state management.
- Created `PublicSharePage` and related components for viewing public shares, including `ShareDetails`, `PasswordModal`, and `ShareNotFound`.
- Added `usePublicShare` hook to manage public share data and password handling.
- Updated layout and types to support the new features.
commit e50abf953e
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 15:21:31 2025 -0300
feat(shares): add shares page with search, table, and modals
Introduce a new shares page that includes a search bar, shares table, and various modals for managing shares. The page supports creating, editing, deleting, and generating links for shares. Additionally, it includes functionality for notifying recipients and viewing share details. The layout and components are designed to be reusable and maintainable.
commit 15dce5dab1
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 11:53:43 2025 -0300
feat(layout): add app name to page titles and implement favicon component
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.
commit 20fee6b449
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 10:37:00 2025 -0300
refactor(users-management): reorganize imports and clean up code for better readability
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.
commit e03ca7e0dc
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 14 10:30:45 2025 -0300
feat(users-management): add users management module
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.
commit ab6c634782
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 16:45:03 2025 -0300
feat(profile): add profile page with form, password, and image components
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.
commit 6a933891c8
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 16:43:51 2025 -0300
refactor(settings): reorganize imports and improve code readability
Restructured imports across multiple files to follow a consistent order and improve readability. Also, adjusted some code formatting for better maintainability.
commit 5cd7acc158
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 15:47:42 2025 -0300
feat(settings): add settings page with layout, form, and components
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.
commit b4cecf9e32
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 15:01:32 2025 -0300
style: reorganize imports and format code for consistency
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.
commit e55f090235
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 14:59:52 2025 -0300
feat(files): add file management components and hooks
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.
commit 0a738430e7
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 11 14:18:11 2025 -0300
feat: add new utility functions and UI components for file management
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.
commit 6c7117cc14
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 9 15:57:09 2025 -0300
style: format code and fix linting issues across multiple files
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.
commit 61cf88b41f
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Wed Apr 9 15:48:00 2025 -0300
feat(dashboard): add dashboard components and utilities
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
commit b077154c22
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Tue Apr 8 15:06:17 2025 -0300
feat(auth): add protected routes and enhance auth context
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.
commit 9e35d27497
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Mon Apr 7 16:14:18 2025 -0300
feat: add initial project setup with config, models, and assets
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
commit da64d65401
Merge: ca7bdef7b2f15d
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 23:40:35 2025 -0300
feat: enable reverse proxy support and add pnpm.lock for custom builds in apps/web (#13)
commit 7b2f15dcd5
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 23:37:08 2025 -0300
refactor: remove lock files from .gitignore and update vite config
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
commit ca7bdefcdb
Merge: 92b437e1768aa8
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 00:44:02 2025 -0300
Merge branch 'main' of github.com:kyantech/Palmr
commit 92b437ee36
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 00:41:55 2025 -0300
chore: bump version to 1.1.6 across all apps
commit fcaef88850
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 00:40:49 2025 -0300
docs: update installation guide with security and deployment details
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.
commit 68d6fd09af
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Fri Apr 4 00:12:02 2025 -0300
chore: add docker-compose.yaml and update .gitignore
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
commit 1768aa81b7
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 3 16:16:27 2025 -0300
Update README.md
commit 644fc7aa30
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 3 16:15:34 2025 -0300
Update README.md
commit cc6fe6d62e
Author: Daniel Luiz Alves <daniel.xcoders@gmail.com>
Date: Thu Apr 3 16:15:06 2025 -0300
Update README.md
Add a command to generate a .env file with the `server_ip` configuration to simplify the setup process for users. This command can be executed in the server terminal at the same path as the docker-compose.yaml file.
Simplify the metadata generation in the layout component by removing the unnecessary fetch of app configurations. This reduces complexity and improves maintainability.
The changeLayout prop was not utilized in the Banner component, so it has been removed to simplify the code and improve maintainability.
style(home): add version tag to the hero section title
Added a small version tag "v2.0.0-beta" to the hero section title for better visibility and user awareness of the current version.
Update all documentation links from 'palmr-docs.kyantech.com.br' to 'palmr.kyantech.com.br' to reflect the new URL. Additionally, update the README.md to include the latest frontend technology stack and correct the screenshot image link. Also, add a hyperlink to the core maintainer's GitHub profile.
- Remove unnecessary spaces in JSX elements for cleaner code
- Add images configuration to next.config.mjs to support remote image sources
- Replace old image URLs with new Cloudinary-hosted images
- Update documentation links to include an icon for better UX
Added new interactive components like animated grids, pulsating buttons, and ripple effects to enhance the user experience. Updated the layout to include sections for features, architecture, and file sharing. Improved the overall design with modern animations and typography.
This commit introduces several new documentation pages for the Palmr 2.0.0-beta release. The added pages cover topics such as SMTP configuration, available languages, GitHub sponsorship, starring the repository, opening issues, generating shares, and contributing to the project. These additions aim to provide comprehensive guidance for users and contributors, enhancing the overall user experience and supporting the project's growth.
This commit introduces API documentation files for both 1.1.7-beta and 2.0.0-beta versions, including detailed guides on accessing and using Scalar and Swagger-based API documentation. Additionally, it updates the meta.json files for both versions to include the new API section and other relevant entries. The global.css file has also been updated to improve styling for code blocks and headings.
Add new architecture, installation, and GitHub architecture documentation. Include new banner and architecture images. Refactor meta.json and index.mdx for better structure and clarity. Add sponsor and footer components to the docs layout. Update docker-compose.yaml with new environment variables and port configurations. Remove outdated files and streamline content for v2.0.0-beta release.
The commit replaces the Next.js `Image` component with the standard HTML `img` tag in the app logo rendering. This change simplifies the implementation and removes unnecessary dependencies. Additionally, the `env` import was removed from the seed file, the docker-compose image tag was updated to a specific version, and remote image patterns were added to the Next.js config.
The file was deleted as it is no longer needed for the local development setup. This change simplifies the project structure and reduces maintenance overhead.
This commit migrates the documentation site from Astro to Next.js, leveraging Fumadocs for enhanced functionality and maintainability. The migration includes:
- New Next.js configuration and setup
- Integration of Fumadocs for documentation rendering
- Addition of new documentation assets and images
- Removal of Astro-related files and configurations
The migration aims to improve the documentation site's performance, scalability, and developer experience.
The Makefile and generate-docker-compose.sh script were removed as they are no longer needed. The docker-compose.yaml file was updated to include inline comments and use the latest image tag for the palmr-app service. This cleanup simplifies the project structure and ensures clarity in the docker-compose configuration.
- Add `.env` to .gitignore to ignore environment variables file
- Update docker-compose.yaml to use environment variables for configuration
and improve comments for clarity
Restructured the project by moving and deleting unused files, updating configurations, and organizing code for better maintainability. This includes removing deprecated models, updating environment settings, and consolidating utility functions.
Refactor image handling in components to use Next.js Image component
Remove unused imports and disable ESLint during builds
Add error logging for i18n and login functionality
Update Next.js config for standalone output and build optimizations
Add theme-related translations (toggle, light, dark, system) to JSON files for all supported languages. Update the mode-toggle component to use these translations for theme switching. Also, refactor API route files to improve code consistency and readability.
This commit introduces proxy routes for all API endpoints and updates the axios instance to use the new proxy routes. The changes ensure that all API requests are routed through the Next.js API routes, improving security and consistency. Additionally, the axios instance is renamed to `apiInstance` to reflect its purpose more accurately. The metadata generation in layout files is also simplified by removing unnecessary API calls.
Implement forgot and reset password features, including form components, hooks for form handling, and layout/page components. This allows users to request a password reset and set a new password securely.
This commit introduces new components and hooks for managing shares and viewing public shares. It includes the following key changes:
- Added components for share management, such as `SharesHeader`, `SharesSearch`, and `SharesTableContainer`.
- Implemented `useShares` hook to handle share data fetching and state management.
- Created `PublicSharePage` and related components for viewing public shares, including `ShareDetails`, `PasswordModal`, and `ShareNotFound`.
- Added `usePublicShare` hook to manage public share data and password handling.
- Updated layout and types to support the new features.
Introduce a new shares page that includes a search bar, shares table, and various modals for managing shares. The page supports creating, editing, deleting, and generating links for shares. Additionally, it includes functionality for notifying recipients and viewing share details. The layout and components are designed to be reusable and maintainable.
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