Commit Graph

14 Commits

Author SHA1 Message Date
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
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
8f30883404 feat: update to v3.0-beta with new features and improvements
- Updated versioning across multiple components and documentation to v3.0-beta.
- Introduced new Docker Compose configurations for S3-compatible storage and MinIO support.
- Enhanced the documentation with new guides for API usage, architecture, and user management.
- Improved localization and user experience in the frontend with updated UI components and styles.
- Removed outdated Docker configurations and files to streamline the setup process.
- Added new utilities for key generation and improved error handling in various components.
- Updated license to reflect the new Kyantech-Permissive License.
2025-06-13 02:23:15 -03:00
Daniel Luiz Alves
998b690659 feat: implement OIDC authentication and enhance user management features
- Introduced OIDC authentication support with new OIDCService, controller, and routes for handling OIDC login and callback processes.
- Updated user management functionalities to integrate OIDC, allowing users to authenticate via external providers.
- Enhanced localization files to include new strings related to OIDC authentication across multiple languages.
- Refactored existing components and hooks to support the new authentication flow, improving user experience during login and registration processes.
- Added new UI components for handling OIDC login and callback, ensuring a seamless integration with the existing application structure.
2025-06-03 16:15:22 -03:00
Daniel Luiz Alves
2276ed5bd6 feat: update package.json for Palmr v2.1-beta release
- Updated version to "2.1-beta" for both server and frontend applications.
- Changed project names to "palmr-api" and "palmr-frontend".
- Added descriptions, author information, keywords, and license details.
- Specified package manager version as "pnpm@10.6.0" for both applications.
2025-05-30 14:09:16 -03:00
Daniel Luiz Alves
c780ea2f2a feat: enhance file storage capabilities with local filesystem support
Implement a new FilesystemStorageProvider to enable file uploads and downloads directly to a local encrypted filesystem. Update the application to support both S3 and local filesystem storage modes, allowing for flexible file handling based on environment configurations. Introduce timeout configurations for large file operations and ensure proper directory management for uploads. Update relevant routes and controllers to accommodate the new filesystem functionality.
2025-05-28 10:00:52 -03:00
Daniel Luiz Alves
615d203002 feat: implement S3-compatible storage support
Add support for S3-compatible storage by introducing a new S3StorageProvider. Update environment variables to replace MinIO configurations with S3 settings. Modify file service methods to utilize the new provider for generating presigned URLs and managing file operations. Update related documentation and API endpoints to reflect these changes, ensuring compatibility with various S3 providers.
2025-05-28 01:34:22 -03:00
Daniel Luiz Alves
d40ef51695 chore: add Dockerfile, docker-compose, and .dockerignore for multi-service setup
Introduce a Dockerfile for building the Palmr application with multi-stage builds for both server and web components. Update docker-compose.yaml to consolidate services under a single 'palmr' service, ensuring proper health checks and environment variable configurations. Add a .dockerignore file to optimize Docker builds by excluding unnecessary files. Include a Makefile for simplified build and deployment commands.
2025-05-27 00:50:46 -03:00
Daniel Luiz Alves
d3ae5ea10c build: update Node.js and dependencies in Dockerfiles and package.json
Update the base Node.js image from version 18 to 22-alpine in both web and server Dockerfiles to leverage the latest features and security patches. Additionally, update the @prisma/client dependency to version 6.4.1 in the server package.json and pnpm-lock.yaml to ensure compatibility and stability.
2025-05-19 18:08:19 -03:00
Daniel Luiz Alves
a12183d4a8 Squashed commit of the following:
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: da64d65 f7124ec
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: ca7bdef 7b2f15d
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: 92b437e 1768aa8
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
2025-04-27 23:23:49 -03:00
Daniel Luiz Alves
b957608425 chore: update version numbers and clean up code
- 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
2025-03-31 23:59:03 -03:00
Daniel Luiz Alves
44ce5b1f37 refactor(file-handling): replace multer with fastify multipart for file uploads
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.
2025-03-31 17:24:22 -03:00
Daniel Luiz Alves
168eae3294 feat: move logo and avatars to local upload 2025-03-14 13:14:30 -03:00
danielalves96
f583e4d6f6 feat: input developed code 2025-02-24 23:58:40 -03:00