Commit Graph

63 Commits

Author SHA1 Message Date
Daniel Luiz Alves
15dce5dab1 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.
2025-04-14 11:53:43 -03:00
Daniel Luiz Alves
20fee6b449 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.
2025-04-14 10:37:00 -03:00
Daniel Luiz Alves
e03ca7e0dc 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.
2025-04-14 10:30:45 -03:00
Daniel Luiz Alves
ab6c634782 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.
2025-04-11 16:45:03 -03:00
Daniel Luiz Alves
6a933891c8 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.
2025-04-11 16:43:51 -03:00
Daniel Luiz Alves
5cd7acc158 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.
2025-04-11 15:47:42 -03:00
Daniel Luiz Alves
b4cecf9e32 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.
2025-04-11 15:01:32 -03:00
Daniel Luiz Alves
e55f090235 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.
2025-04-11 14:59:52 -03:00
Daniel Luiz Alves
0a738430e7 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.
2025-04-11 14:18:11 -03:00
Daniel Luiz Alves
6c7117cc14 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.
2025-04-09 15:57:09 -03:00
Daniel Luiz Alves
61cf88b41f 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
2025-04-09 15:48:00 -03:00
Daniel Luiz Alves
b077154c22 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.
2025-04-08 15:06:17 -03:00
Daniel Luiz Alves
9e35d27497 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
2025-04-07 16:14:18 -03:00
Daniel Luiz Alves
da64d65401 feat: enable reverse proxy support and add pnpm.lock for custom builds in apps/web (#13) v1.1.7-beta 2025-04-04 23:40:35 -03:00
Daniel Luiz Alves
7b2f15dcd5 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
2025-04-04 23:37:08 -03:00
Daniel Luiz Alves
ca7bdefcdb Merge branch 'main' of github.com:kyantech/Palmr v1.1.6-beta 2025-04-04 00:44:02 -03:00
Daniel Luiz Alves
92b437ee36 chore: bump version to 1.1.6 across all apps 2025-04-04 00:41:55 -03:00
Daniel Luiz Alves
fcaef88850 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.
2025-04-04 00:40:49 -03:00
Daniel Luiz Alves
68d6fd09af 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
2025-04-04 00:12:02 -03:00
Daniel Luiz Alves
1768aa81b7 Update README.md 2025-04-03 16:16:27 -03:00
Daniel Luiz Alves
644fc7aa30 Update README.md 2025-04-03 16:15:34 -03:00
Daniel Luiz Alves
cc6fe6d62e Update README.md 2025-04-03 16:15:06 -03:00
Daniel Luiz Alves
253b533a3b Update README.md v1.1.5-beta 2025-04-03 11:29:24 -03:00
Daniel Luiz Alves
eb4e9212a6 Update README.md 2025-04-03 11:00:24 -03:00
Daniel Luiz Alves
286388f744 Update README.md 2025-04-03 01:43:28 -03:00
Daniel Luiz Alves
fcd3b4e613 refactor(config): update docs and sponsor links to new URLs
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.
2025-04-03 01:22:24 -03:00
Daniel Luiz Alves
a7adb17700 docs(configuring-smtp): add images to SMTP configuration guide
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.
2025-04-03 01:17:13 -03:00
Daniel Luiz Alves
01c424e583 fix(docs): correct typo in build command
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.
2025-04-02 18:16:19 -03:00
Daniel Luiz Alves
11d9f1a33d docs: add SMTP configuration guide and update navigation
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.
2025-04-02 18:13:16 -03:00
Daniel Luiz Alves
e5158618c0 docs: update site title in astro config
Update the title in the Astro configuration file to include an emoji and a more descriptive name for better branding and user engagement
2025-04-02 17:10:10 -03:00
Daniel Luiz Alves
cb5e41bbf8 docs: update file paths and remove TODO comment
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.
2025-04-02 17:08:29 -03:00
Daniel Luiz Alves
b8058f5c11 docs(shares): add documentation and images for creating and managing shares
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.
2025-04-02 16:31:34 -03:00
Daniel Luiz Alves
f25f4df2f7 refactor(docs): simplify dev and start scripts in package.json
Remove redundant host and port flags from the dev script and update the start script to use astro preview for consistency
2025-04-01 16:03:39 -03:00
Daniel Luiz Alves
178ec15637 refactor(docs): move static assets to public directory and update references
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.
2025-04-01 15:55:38 -03:00
Daniel Luiz Alves
1d8fe69618 refactor(config): remove unused sidebarIcons configuration
The sidebarIcons configuration was removed as it is no longer used in the application. This cleanup improves maintainability by reducing unused code.
2025-04-01 14:22:57 -03:00
Daniel Luiz Alves
287e2a8524 docs: update image paths and add new documentation files
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.
2025-04-01 12:19:15 -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
22810ba3a3 docs: add upload.md and related assets for file upload documentation
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.
2025-03-31 18:12:19 -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
35d1c2d697 Update CONTRIBUTING.md 2025-03-22 01:05:49 -03:00
Daniel Luiz Alves
f0b8112eac Create CONTRIBUTING.md 2025-03-22 01:04:06 -03:00
Daniel Luiz Alves
a3ada3a19f Delete apps/docs/.DS_Store 2025-03-22 00:56:48 -03:00
Daniel Luiz Alves
878d7bbf8e Delete apps/.DS_Store 2025-03-22 00:56:35 -03:00
Daniel Luiz Alves
c0194c6bff Delete .DS_Store 2025-03-22 00:56:19 -03:00
Daniel Luiz Alves
7d0b0d3235 chore: remove unused README 2025-03-22 00:44:27 -03:00
Daniel Luiz Alves
5eef288395 Merge branch 'main' of github.com:kyantech/Palmr 2025-03-22 00:40:55 -03:00
Daniel Luiz Alves
7f40946d61 docs: improve documentation 2025-03-22 00:39:56 -03:00
Daniel Luiz Alves
5df88f5c56 Update FUNDING.yml 2025-03-21 14:09:37 -03:00
Daniel Luiz Alves
28c10a0740 Create FUNDING.yml 2025-03-21 13:49:51 -03:00
Daniel Luiz Alves
93b6f2e3f5 feat: create core documentation 2025-03-20 16:25:38 -03:00