11 Commits

Author SHA1 Message Date
ec6c24464e Refactor logging mechanism across services and widgets
- Introduced a new `logSafe` function for consistent logging with sensitivity handling.
- Replaced direct logger calls with `logSafe` in `api_service.dart`, `app_initializer.dart`, `auth_service.dart`, `permission_service.dart`, and `my_image_compressor.dart`.
- Enhanced error handling and logging in various service methods to capture exceptions and provide more context.
- Updated image compression logging to include quality and size metrics.
- Improved app initialization logging to capture success and error states.
- Ensured sensitive information is not logged directly.
2025-06-25 12:10:57 +05:30
e6d05e247e Refactor logging implementation across controllers and services
- Replaced instances of the Logger package with a custom appLogger for consistent logging.
- Introduced app_logger.dart to manage logging with file output and storage permissions.
- Updated all controllers (e.g., DashboardController, EmployeesScreenController, etc.) to use appLogger for logging messages.
- Ensured that logging messages are appropriately categorized (info, warning, error) throughout the application.
- Implemented a file logging mechanism to store logs in a designated directory.
- Cleaned up old log files to maintain only the most recent logs.
2025-06-24 13:11:22 +05:30
d765b96df4 feat: Refactor user data fetching to use base URL from ApiEndpoints for improved maintainability 2025-06-13 11:01:05 +05:30
0ad8847b94 feat: Update application ID in build.gradle and refactor imports and methods in service files for improved clarity and organization 2025-06-13 10:51:23 +05:30
0b8a5364ae fix: Comment out unused base URL in API service files and update login redirection path 2025-06-06 12:25:12 +05:30
938bf58ff6 feat: Enhance ReportTaskController with image picking and form field management
- Added image picking functionality using ImagePicker for selecting images from camera or gallery.
- Refactored form field controllers in ReportTaskController for better management and disposal.
- Updated reportTask and commentTask methods to use the new controller references.
- Implemented image removal functionality in ReportTaskController.
- Modified ReportTaskBottomSheet to clear fields upon initialization and added a callback for successful reports.
- Updated attendance and regularization logs UI for better loading states and error handling.
- Improved logout functionality in LocalStorage and integrated it into layout and left bar components.
- Adjusted initial route logic in main.dart to redirect users based on authentication status.
2025-05-30 14:41:04 +05:30
2a91ccc323 added loggers 2025-05-05 16:56:58 +05:30
3b7dfd09ff displayed only accesable projects 2025-05-05 13:09:59 +05:30
29254dac11 configured the current user info for displaying on sidebar and topbar 2025-04-30 16:03:07 +05:30
ed0ebbb29b added dashboard page 2025-04-30 10:17:19 +05:30
c9a3805819 implemented permision controller functionallity 2025-04-26 12:27:31 +05:30