Commit Graph

19 Commits

Author SHA1 Message Date
1eb454815f Merge remote-tracking branch 'origin/master' into ajustes_final_etapa1 2025-12-18 14:58:03 -03:00
551a2fed00 refactor: streamline authentication logic in dashboard and login routes by removing unnecessary error handling and improving user session validation, enhancing code clarity and maintainability 2025-12-17 11:28:08 -03:00
60b53dac74 refactor: update fichaPontoPDF and processamento to enhance legend styling and accumulate saldo for all days, improving report accuracy 2025-12-15 11:50:51 -03:00
bd0ac0a3b4 Merge remote-tracking branch 'origin' into feat-pedidos 2025-12-11 10:08:12 -03:00
d27c0b6f91 feat: enhance vacation approval process by adding notification system for employees, including email alerts and in-app notifications; improve error handling and user feedback during vacation management 2025-12-10 06:27:25 -03:00
7637cd52f1 refactor: optimize login attempt logging in Sidebar component to avoid timeouts by deferring user retrieval; enhance MessageList component with improved message processing and state management to prevent unnecessary re-renders 2025-12-09 01:49:18 -03:00
4bd9e21748 feat: Add 'atas' (minutes/records) management feature, and implement various improvements across UI, backend logic, and authentication. 2025-12-02 16:37:48 -03:00
553fc578a6 fix: foto perfil url 2025-11-12 14:26:51 -03:00
6087990eaf refactor: improve user retrieval and formatting in auth component
- Enhanced the getCurrentUser function to include the user's profile picture URL.
- Cleaned up formatting for better readability and consistency across the auth.ts file.
- Maintained existing functionality while improving code organization.
2025-11-12 12:15:43 -03:00
Kilder Costa
caff7035f7 Revert "Feat many fixes" 2025-11-11 16:41:40 -03:00
d3d7744402 Refactor backend code style and improve user profile handling
- Standardize import formatting and indentation in auth and funcionarios
  modules
- Enhance getCurrentUser query to include photo URL retrieval from
  storage
- Add getCurrent funcionario query based on authenticated user
- Update controller logic to avoid redundant local state for profile
  photos
- Upgrade dependencies: convex 1.28.2, svelte 5.43.6, vite 7.2.2, rollup
  4.53.2, tailwindcss 4.1.17, and others
2025-11-11 16:01:18 -03:00
28107b4050 refactor: enhance Sidebar component with Better Auth integration
- Replaced the use of `useConvexClient` with `useQuery` for fetching the current user.
- Updated avatar URL retrieval to utilize the current user data from Better Auth.
- Refactored login and logout functions to use the new `authClient` methods for improved authentication flow.
- Cleaned up the component structure and styling for better readability and maintainability.
- Adjusted sidebar and footer styles for consistency with the new design system.
2025-11-08 09:48:12 -03:00
3a32f5e4eb refactor: remove authentication module and integrate Better Auth
- Deleted the `autenticacao.ts` file to streamline the authentication process.
- Updated the `auth.ts` file to include new functions for user management and password updates.
- Modified the schema to enforce the presence of `authId` for users, ensuring integration with Better Auth.
- Refactored the seed process to create users with Better Auth integration, enhancing user management capabilities.
- Cleaned up the `usuarios.ts` file to utilize the new authentication functions and improve code clarity.
2025-11-07 23:33:09 -03:00
57dd9492ef refactor base auth 2025-11-07 10:33:48 -03:00
6f4df44a00 refactor: simplify auth component configuration
- Removed the local schema configuration from the auth component, streamlining the integration with Better Auth.
- Updated the client creation to focus solely on the DataModel, enhancing clarity and maintainability.
2025-11-07 09:18:41 -03:00
ca51839082 initial better auth config 2025-11-06 11:42:48 -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
6bfc0c2ced fix: improve role assignment logic and permission handling in dashboard components 2025-10-27 08:41:53 -03:00
577261bf67 Add better-auth integration and update dependencies in package.json and bun.lock 2025-10-22 15:13:34 -03:00