0b439d0268
Refactor and integrate face embedding API support
...
Refactored `EmployeeUploadPicture.cshtml.cs` to improve readability, maintainability, and modularity. Introduced `_httpClientFactory` for HTTP requests and added `SendEmbeddingsToApi` for Python API integration. Enhanced employee-related operations, including activation, image handling, and settings management.
Added `IFaceEmbeddingService` interface and implemented it in `FaceEmbeddingService` to manage face embeddings. Integrated with a Python API for generating, refining, deleting, and retrieving embeddings. Included robust error handling and detailed logging.
Improved code structure, reduced duplication, and added comments for better debugging and future development.
Add face embedding integration for employee management
Introduced `IFaceEmbeddingService` and its implementation to manage
face embeddings via a Python API. Integrated embedding generation
into `EmployeeApplication` and `EmployeeUploadPictureModel`,
enabling image uploads, embedding creation, and validation.
Refactored `EmployeeUploadPictureModel` for clarity, adding methods
to handle image processing, API interactions, and employee
activation/deactivation with embedding checks. Enhanced error
handling, logging, and user feedback.
Removed legacy code and updated dependencies to include
`IHttpClientFactory` and `IFaceEmbeddingService`. Added localized
error messages and improved maintainability by streamlining code.
2025-11-11 18:52:35 +03:30
adef1fc15a
feat: update workshop_name assignment in Index.cshtml.cs to use the directory name instead of the full path
2025-11-08 15:29:58 +03:30
597f54c062
feat: update workshop_id assignment in Index.cshtml.cs to use dynamic workshop name from directory path
2025-11-08 15:04:49 +03:30
c0ead0a917
feat: refactor CreateDadmehrWorkshopFaceEmbedding method to handle subdirectories and improve image processing logic
2025-11-08 12:37:23 +03:30
59284ffd29
feat: enhance CameraController with refined roll call enter/exit endpoints and HTTP client integration
2025-11-08 12:17:34 +03:30
5c7dd76e3f
feat: add roll call functionality to CameraController with enter and exit endpoints
2025-11-07 15:04:24 +03:30
22b67b344a
feat: update WorkshopEmbedding method and enhance EmployeeFaceEmbedding model with additional properties
2025-11-06 10:02:11 +03:30
f4853b6f39
feat: add EmployeeFaceEmbedding integration to CameraController and application logic
2025-11-05 17:56:37 +03:30
6ab418c4ab
feat: implement EmployeeFaceEmbedding model and application logic for managing embeddings
2025-11-05 14:50:44 +03:30
752c7c72ab
feat: add EmployeeFaceEmbedding model and related metadata classes
2025-11-03 20:06:28 +03:30
73da938bc9
feat: add authentication check to WorkshopEmbedding endpoint
2025-11-02 10:36:29 +03:30
08574b5bb5
fix: update application URL in launchSettings for local development
2025-10-28 09:34:13 +03:30
288e3a8988
feat: add workshop embedding endpoint to retrieve embeddings.json
2025-10-28 09:33:09 +03:30
026d8da74a
feat: implement camera login functionality and related API endpoints
2025-10-25 08:53:51 +03:30
ca6638d6a3
feat: enhance workshop query with additional filtering options and improved mapping
2025-10-22 19:26:10 +03:30
608fb824dc
refactor: remove unnecessary console logging in workshop selection
2025-10-22 17:23:17 +03:30
4686151bbb
Merge branch 'Main'
...
# Conflicts:
# CompanyManagment.EFCore/Repository/InstitutionContractRepository.cs
2025-10-22 17:04:59 +03:30
d7fae42e4f
Merge remote-tracking branch 'origin/master'
2025-10-22 17:01:12 +03:30
2cfe480733
fix: correct workshop ID reference in employee count calculation
2025-10-22 17:00:33 +03:30
syntax24
c574ce534d
Insurance Exept include = 0, Employee 1496
2025-10-22 16:55:11 +03:30
174edbf87d
Merge branch 'Feature/InstitutionContract/add-old-edit-api' into Main
...
# Conflicts:
# ServiceHost/Areas/Admin/Controllers/institutionContractController.cs
2025-10-22 15:29:43 +03:30
a827470831
feat: add API for editing old institution contracts with new properties
2025-10-22 15:19:17 +03:30
c9b61c3fc6
fix: validate Georgian date conversion in financial statement application
2025-10-22 12:07:26 +03:30
45002b88c4
fix: update absence terminology to 'عدم حضور' across multiple files
2025-10-22 11:18:55 +03:30
0bacb24aa2
Merge branch 'Feature/InstitutionContract/upgrade' into Main
2025-10-21 21:58:25 +03:30
7fd8851f71
refactor: optimize employee count calculation in InstitutionContractRepository
2025-10-21 21:57:04 +03:30
bc6ae854f8
Merge branch 'Feature/InstitutionContract/upgrade' into Main
...
# Conflicts:
# Company.Domain/InstitutionContractAgg/IInstitutionContractRepository.cs
# Company.Domain/InstitutionContractAgg/InstitutionContract.cs
2025-10-21 15:07:16 +03:30
68f1f81b53
feat: add BSON representation for Id property in InstitutionContractAmendmentTemp
2025-10-21 15:05:48 +03:30
d4c2ab939e
fix: correct workshop ID reference in employee count calculation
2025-10-21 14:55:23 +03:30
5822005b68
Merge branch 'master' into Feature/InstitutionContract/upgrade
...
# Conflicts:
# Company.Domain/InstitutionContractAgg/IInstitutionContractRepository.cs
# Company.Domain/InstitutionContractAgg/InstitutionContract.cs
# ServiceHost/Areas/Admin/Controllers/institutionContractController.cs
2025-10-21 14:45:22 +03:30
53aeb60861
Merge branch 'Feature/InstitutionContract/upgrade' into Main
2025-10-21 14:37:41 +03:30
c2a08d9c33
feat: add BsonRepresentation attribute to Id property for string representation in MongoDB
2025-10-21 14:37:11 +03:30
85e2481680
feat: enhance financial statement retrieval with contracting party validation and creation
2025-10-21 13:50:42 +03:30
b711e803a9
Merge branch 'master' into Main
...
# Conflicts:
# ServiceHost/Areas/Admin/Controllers/institutionContractController.cs
2025-10-21 11:50:45 +03:30
232a834dc9
feat: add resend verification link end point added
2025-10-21 11:41:23 +03:30
55f7b4f7c0
Merge branch 'Feature/InstitutionContract/upgrade' into Main
...
# Conflicts:
# Company.Domain/InstitutionContractAgg/IInstitutionContractRepository.cs
# Company.Domain/InstitutionContractAgg/InstitutionContract.cs
2025-10-21 11:10:06 +03:30
c5b521bc50
feat: add endpoints for inserting, removing, and retrieving amendment workshops and payment details
2025-10-21 11:04:46 +03:30
acdd7de4f6
feat: update InsertAmendmentTempWorkshops method to return detailed response and refactor related classes
2025-10-21 11:02:10 +03:30
78458f24e5
feat: add entry and exit time differences to roll call reports
2025-10-20 15:43:59 +03:30
fde58a7c75
feat: add temporary workshop management for institution contract amendments
2025-10-20 13:13:43 +03:30
syntax24
dbddccf011
add inew permission admin > workflow > institution-contract
2025-10-19 23:06:14 +03:30
488454d354
feat: add authorized bank details functionality with repository and application layers
2025-10-19 13:20:54 +03:30
4126a7370f
fix: handle nullable UidBank in account number conversion
2025-10-19 12:17:33 +03:30
7aff8ba59f
fix: fix url workflow institution contract
2025-10-18 19:55:06 +03:30
7d6b57affd
feat: make Workshops property public and update CalculateInstallment method visibility
2025-10-18 16:50:40 +03:30
950f2884ac
Merge branch 'Main'
2025-10-18 09:20:10 +03:30
2edf150ef6
Merge branch 'Feature/Registeration-workflow/add-existed-employer'
2025-10-18 09:03:26 +03:30
df9c268959
Merge branch 'Feature/contracting-party-bank-account/add-inquiry'
2025-10-18 09:03:18 +03:30
3c6303e817
feat: add financial contracts card to workflow page
2025-10-16 18:06:44 +03:30
23386fda76
Merge branch 'Feature/contracting-party-bank-account/add-inquiry' into Main
2025-10-16 16:02:40 +03:30