Commit Graph

153 Commits

Author SHA1 Message Date
372b2b5bf9 feat: add statistics and filtering options for user roles in dashboard
- Introduced a new `StatsCard` component to display statistics related to user roles, including total profiles and access levels.
- Implemented filtering options for user roles based on access level, enhancing the user experience in the dashboard.
- Improved the layout and styling of the dashboard, including adjustments to the filters and role display cards for better usability.
- Added derived state for active filters and statistics, ensuring real-time updates in the UI.
2025-11-04 02:19:09 -03:00
5d2df8077b feat: enhance email handling with improved error reporting and statistics
- Updated the `reenviarEmail` mutation to return detailed error messages for better user feedback.
- Added a new query to obtain email queue statistics, providing insights into email statuses.
- Enhanced the `processarFilaEmails` mutation to track processing failures and successes more effectively.
- Implemented a manual email processing mutation for immediate testing and control over email sending.
- Improved email validation and error handling in the email sending action, ensuring robust delivery processes.
2025-11-04 02:14:07 -03:00
e6105ae8ea fix: update email configuration handling and improve type safety
- Changed the mutation for testing SMTP connection to use an action for better handling.
- Introduced an internal mutation to update the test timestamp for email configurations.
- Enhanced type safety by specifying document types for user and session queries.
- Improved error handling in the SMTP connection test to provide clearer feedback on failures.
2025-11-04 01:59:08 -03:00
3b89c496c6 feat: enhance scheduling and management of email notifications
- Added functionality to cancel scheduled email notifications, improving user control over their email management.
- Implemented a query to list all scheduled emails for the current user, providing better visibility into upcoming notifications.
- Enhanced the email schema to support scheduling features, including a timestamp for scheduled delivery.
- Improved error handling and user feedback for email scheduling actions, ensuring a smoother user experience.
2025-11-04 00:43:13 -03:00
7fb1693717 feat: enhance email notification system with tracking and feedback
- Introduced a new feature to track email statuses by implementing a mapping of email IDs.
- Added a query to fetch email statuses based on tracked IDs, improving the monitoring of email delivery.
- Enhanced the logging system for email and chat notifications, providing detailed feedback on the sending process.
- Implemented user feedback messages for various actions, improving the overall user experience.
- Refactored the notification sending logic to support better error handling and status updates.
2025-11-04 00:19:35 -03:00
ce24190b1a feat: enhance email configuration and validation features
- Implemented mutual exclusivity for SSL and TLS options in the email configuration.
- Added comprehensive validation for required fields, port range, email format, and password requirements.
- Updated the backend to support reversible encryption for SMTP passwords, ensuring secure handling of sensitive data.
- Introduced loading states and improved user feedback in the email configuration UI for better user experience.
2025-11-03 23:51:57 -03:00
3d8f907fa5 feat: implement scheduling for notifications with enhanced validation
- Added functionality to schedule notifications for future delivery, including date and time selection in the UI.
- Implemented validation to ensure scheduled times are in the future and correctly formatted.
- Updated backend email handling to support scheduled sending, with appropriate checks for agendamentos.
- Enhanced user feedback for both immediate and scheduled notifications, improving overall user experience.
2025-11-03 23:11:27 -03:00
e59d96735a refactor: enhance notification management UI and improve data handling
- Refactored the notification management component to improve data extraction from queries, ensuring robust handling of loading states and errors.
- Introduced a modal for creating new templates, including validation and user authentication checks.
- Enhanced the notification sending logic to support bulk sending and provide detailed feedback on the sending process.
- Improved UI elements for better user experience, including loading indicators and dynamic user selection options.
2025-11-03 23:04:31 -03:00
35ff55822d login broken usuario 2025-11-03 17:01:19 -03:00
0d011b8f42 refactor: enhance role management UI and integrate profile management features
- Introduced a modal for managing user profiles, allowing for the creation and editing of profiles with improved state management.
- Updated the role filtering logic to enhance type safety and readability.
- Refactored UI components for better user experience, including improved button states and loading indicators.
- Removed outdated code related to permissions and streamlined the overall structure for maintainability.
2025-11-03 15:14:33 -03:00
c1d9958c9f refactor: update user role management and enhance UI components
- Updated the user role management logic to improve type safety and error handling, including better handling of role permissions and user associations.
- Refactored the UI components for user management, enhancing the layout and styling for better user experience.
- Removed outdated code related to menu permissions and streamlined the database schema for roles and profiles.
- Improved the overall structure and readability of the codebase, ensuring consistency across components.
2025-11-03 15:12:10 -03:00
5cb63f9437 refactor: improve type safety and error handling in vacation management components
- Updated the `AprovarFerias.svelte` component to use specific types for `solicitacao` and `gestorId`, enhancing type safety.
- Improved error handling by refining catch blocks to handle errors more accurately.
- Made minor adjustments to ensure consistent code formatting and readability across the component.
2025-10-31 13:39:41 -03:00
5dec7d7da7 refactor: optimize user seeding and database cleanup processes
- Streamlined user seeding logic by implementing a variable for the TI Master user ID and updating the admin user matricula.
- Enhanced the database cleanup function with improved logging and a more organized deletion process for various entities.
2025-10-31 11:08:58 -03:00
875b2ef201 refactor: update user seeding logic and enhance database cleanup process
- Modified user seeding logic to use a variable for the TI Master user ID and updated the admin user matricula.
- Improved the database cleanup function by adding detailed logging and restructuring the deletion process for various entities, ensuring a more organized and comprehensive cleanup.
2025-10-31 10:14:09 -03:00
f1b9860310 change dependencies 2025-10-31 08:44:11 -03:00
5469c50d90 feat: add svelte-sonner dependency and enhance NotificationBell component
- Added `svelte-sonner` to dependencies for improved notification handling.
- Refactored the `NotificationBell.svelte` component for better readability and maintainability, including code formatting and structure improvements.
- Updated `package.json` and `bun.lock` to reflect the new dependency.
2025-10-30 14:55:51 -03:00
Kilder Costa
bf67faa470 Merge pull request #5 from killer-cf/feat-ajuste-acesso
Feat ajuste acesso
2025-10-30 14:02:19 -03:00
1b751efc5e Remove outdated documentation files related to employee association, email notifications, vacation management, and monitoring system. This cleanup enhances project maintainability and reduces clutter in the repository. 2025-10-30 14:01:16 -03:00
ff9ca523cd Merge remote-tracking branch 'origin/master' into feat-ajuste-acesso 2025-10-30 14:01:08 -03:00
Kilder Costa
726004dd73 Merge pull request #4 from killer-cf/ajustes-cad_func
Ajustes cad func
2025-10-30 13:43:03 -03:00
23bdaa184a Add monitoring features and alert configurations
- Introduced new system metrics tracking with the ability to save and retrieve metrics such as CPU usage, memory usage, and network latency.
- Added alert configuration functionality, allowing users to set thresholds for metrics and receive notifications via email or chat.
- Updated the sidebar component to include a new "Monitorar SGSE" card for real-time system monitoring.
- Enhanced the package dependencies with `papaparse` and `svelte-chartjs` for improved data handling and charting capabilities.
- Updated the schema to support new tables for system metrics and alert configurations.
2025-10-30 13:36:29 -03:00
2841a2349d refactor: remove unused authentication module and related dependencies; update package.json and bun.lock for improved dependency management; enhance access control UI with expanded resource management features 2025-10-30 12:34:14 -03:00
fd445e8246 feat: enhance vacation management system with new employee association functionality, improved email notification handling, and comprehensive documentation; update dependencies and UI components for better user experience 2025-10-30 09:27:10 -03:00
21b41121db refactor: remove outdated avatar and chat update documentation files; streamline project structure for improved maintainability 2025-10-30 09:25:53 -03:00
ef20d599eb feat: implement professional avatar system with 30 3D realistic avatars inspired by cinema; enhance upload functionality and user experience with instant updates and improved UI components 2025-10-30 02:16:50 -03:00
16bcd2ac25 feat: implement vacation management system with request approval, notification handling, and employee training tracking; enhance UI components for improved user experience 2025-10-29 22:05:29 -03:00
1058375a90 refactor: remove unused authentication files and dependencies; update package.json to streamline dependencies and improve project structure 2025-10-29 18:57:05 -03:00
f219340cd8 Merge remote-tracking branch 'origin/feat-cotrole_acesso' into feat-funcionarios-ferias 2025-10-29 10:08:06 -03:00
6b14059fde feat: implement advanced access control system with user blocking, rate limiting, and enhanced login security; update UI components for improved user experience and documentation 2025-10-29 09:07:37 -03:00
9884cd0894 refactor: clean up schema definition by removing unnecessary spread operator and formatting for improved readability 2025-10-29 08:28:24 -03:00
d1715f358a remove arquivos desnecessarios 2025-10-28 14:53:25 -03:00
Kilder Costa
08cc9379f8 Merge pull request #3 from killer-cf/feat-chat
Feat chat
2025-10-28 12:05:03 -03:00
Kilder Costa
326967a836 Merge pull request #2 from killer-cf/feat-cadastro-funcinarios
Feat cadastro funcinarios
2025-10-28 12:01:44 -03:00
d41a7cea1b feat: enhance employee management UI with state management, responsive chart dimensions, and duplicate symbol removal functionality in backend 2025-10-28 11:58:45 -03:00
ee2c9c3ae0 feat: implement comprehensive chat system with user presence management, notification handling, and avatar integration; enhance UI components for improved user experience 2025-10-28 11:57:54 -03:00
81e6eb4a42 feat: integrate jsPDF and jsPDF-autotable for document generation; enhance employee management with print functionality and improved data handling in employee forms 2025-10-27 23:36:04 -03:00
3a1956f83b refactor: remove countdown timer and redirect logic from MenuProtection component to streamline access denial handling 2025-10-27 11:47:36 -03:00
42cb78e779 feat: add countdown timer and redirect functionality on access denial in MenuProtection component; enhance Sidebar menu item styling and active state handling 2025-10-27 11:21:23 -03:00
929633492d chore: remove bun.lock file, update package.json for workspace configuration, and adjust dependencies across apps and packages 2025-10-27 11:06:59 -03:00
6bfc0c2ced fix: improve role assignment logic and permission handling in dashboard components 2025-10-27 08:41:53 -03:00
2c2b792b4a feat: enhance employee and symbol management with new features, improved UI components, and backend schema updates 2025-10-26 22:21:53 -03:00
5dd00b63e1 refactor: update Sidebar and layout styles for improved responsiveness, adjust chart dimensions and remove tooltip functionality in employee reports 2025-10-25 07:53:08 -03:00
f0d3625045 feat: add employee management features including filtering, deletion, and improved layout 2025-10-25 01:24:40 -03:00
be3522ae74 feat: implement employee registration form with validation and data handling 2025-10-24 17:25:46 -03:00
316877e1bb Merge pull request #1 from killer-cf/feat-novo-botao
Ajuste de tela. Header, siderbar, criação de rodapé
2025-10-24 15:29:07 -03:00
d8996b8d5a refactor: enhance Sidebar layout with fixed header and footer, improve dashboard layout, and implement symbol management features including deletion and data display 2025-10-24 15:17:49 -03:00
441cda4246 fix: tipo state not change 2025-10-24 10:02:35 -03:00
1f9467acd4 update .env.em=xample 2025-10-24 09:58:52 -03:00
aafee4b654 adiciona funcionarios pagina 2025-10-24 08:53:15 -03:00
9d17ad1271 Add daisyui integration, remove Header and page components, and update layout structure 2025-10-23 11:20:55 -03:00