Commit Graph

108 Commits

Author SHA1 Message Date
AMiR 948a240282 "fix(param):prevent admin to get password in login response" 2024-05-21 19:03:08 +03:30
AMiR fc040db1c0 "fix(repository):fixed scanner benefactor" 2024-05-21 19:03:08 +03:30
AMiR 16b8093e8c "fix(niki):fixed some small bugs" 2024-05-21 19:03:07 +03:30
Iman Mirazimi ec08823901 fix(niki): update admin routes with authorization's permissions 2024-05-18 18:15:29 +03:30
Erfan Mohammadi 26d44dd7eb fix(niki): major refactoring and bug fixes 2024-05-17 23:46:28 +03:30
mehdi 51693db30d fix(niki): Completion of swagger 2024-05-15 11:08:39 +03:30
mehdi b039bfcb95 feat(niki): add swagger not completed 2024-05-14 16:37:09 +03:30
Iman Mirazimi 28ee6babd3 feat(niki): add admin authorization service. 2024-05-08 23:00:47 +03:30
Iman Mirazimi 17b7c4beb2 feat(service): add admin kind_box_req assign sender agent endpoint. 2024-05-08 22:50:31 +03:30
Iman Mirazimi 0d54a3765b feat(service): get kind_box_req ready to deliver. 2024-05-08 19:45:07 +03:30
Erfan Mohammadi 47649e9952 fix(delivey): change StatusCreated to StatusOk where there is nothing created 2024-04-28 11:52:25 +00:00
Erfan Mohammadi 5f43b90b2b fix(benefactor): reorder imports in file to follow convention 2024-04-28 11:52:25 +00:00
Erfan Mohammadi 9de9fc8e45 fix(benefactor): fix path parameter binding in kind box request GetByID handler 2024-04-28 11:52:25 +00:00
Erfan Mohammadi d405c01b7b fix(benefactor): fix getting benefactor kind box request by id 2024-04-28 11:52:25 +00:00
Sasan 8521cdbf20 feat(delivery): getting benefactor kind box request by id 2024-04-28 11:52:25 +00:00
mehdi 0d9f98a2e0 feat(repo): add pagination to getallkindboxreq (#32)
Co-authored-by: mohammad mahdi rezaei <rezaei_21@yahoo.com>
Reviewed-on: ebhomengo/niki#32
Co-authored-by: mehdi <lmehdirezl@gmail.com>
Co-committed-by: mehdi <lmehdirezl@gmail.com>
2024-04-28 11:27:23 +00:00
Alireza Mokhtari Garakani 93b0f51911 Merge pull request 'feat(niki): add migrate flag to main for running migrations' (#47) from stage/erfan/73-add-flag-to-main-for-migration into develop
Reviewed-on: ebhomengo/niki#47
2024-04-28 10:51:37 +00:00
Erfan Mohammadi 02c16595b1 feat(niki): add migrate flag to main for running migrations 2024-04-28 14:09:21 +03:30
mohammad mahdi rezaei 659cba01d3 feat(niki): dockerize niki 2024-04-28 11:28:33 +03:30
mehdi 9fc2b59014 fix(docker): change port redis 2024-04-26 23:00:35 +03:30
mehdi 235283284f feat(niki): update RTX to mise 2024-04-26 22:52:36 +03:30
mohammad mahdi rezaei 58c48dfccc feat(niki): add test for add benefactor kind_box_req 2024-04-24 14:19:57 +03:30
hossein 748dee60e2 add supervisor 2024-03-09 05:48:33 +00:00
Masood Keshvari 74c1d223d1 feat(niki): dockerize app 2024-02-18 14:12:21 +03:30
Abolfazl Nourzad bc9a625c03
minor change 2024-02-12 11:26:28 +03:30
miaad shahrokhi 430bd9a95c refactor: Clean up and modularize service initialization in main.go
- Organize service initialization into helper functions
- Improve code readability and maintainability
2024-02-03 05:05:30 +00:00
Abolfazl Nourzad 4943e90d77 🔥 fix(repository) multiple insert data & remove prepare statement (#28)
Reviewed-on: ebhomengo/niki#28
Co-authored-by: Abolfazl Nourzad <abolfazlnorzad78@gmail.com>
Co-committed-by: Abolfazl Nourzad <abolfazlnorzad78@gmail.com>
2024-02-03 05:03:58 +00:00
Masood Keshvari 3b3815ccec feat(service): add get all kindboxreq by admin (#26)
Reviewed-on: ebhomengo/niki#26
Reviewed-by: hossein <h.nazari1990@gmail.com>
Co-authored-by: masoodk <keshvari.developer@gmail.com>
Co-committed-by: masoodk <keshvari.developer@gmail.com>
2024-02-03 04:56:27 +00:00
Alireza Mokhtari Garakani 0aba9e6cbb Merge pull request 'feat(service) : Accept/Reject kind box request' (#25) from stage/abolfazl/62-accept-reject-kind-box-req into develop
Reviewed-on: ebhomengo/niki#25
2024-01-28 06:28:18 +00:00
Abolfazl Nourzad aae314436f
Merge remote-tracking branch 'origin/stage/abolfazl/62-accept-reject-kind-box-req' into stage/abolfazl/62-accept-reject-kind-box-req 2024-01-27 17:52:48 +03:30
Abolfazl Nourzad 8f658433cc
fix issue 2024-01-27 17:52:13 +03:30
Abolfazl Nourzad 154f6e9857
remove comment 2024-01-27 15:32:03 +03:30
Abolfazl Nourzad d09d7f068a
fix linter error 2024-01-27 13:18:28 +03:30
Abolfazl Nourzad 52f9a4aac2
Removing from the output of the method. 2024-01-27 11:57:16 +03:30
Abolfazl Nourzad 2e9bc7c241
remove CountAccepted from param/admin/kind_box_req/reject.go 2024-01-27 10:35:56 +03:30
Abolfazl Nourzad 06acc01e64
pull from dev & fix conflicts 2024-01-26 09:47:38 +03:30
Abolfazl Nourzad ed5c165040
Deleting the commented codes 2024-01-26 09:32:25 +03:30
Abolfazl Nourzad 85b9a7254e
fix error handling defer close in repo layer 2024-01-26 09:22:57 +03:30
Abolfazl Nourzad 6853ddaf64
fix linter errors 2024-01-25 21:29:18 +03:30
Abolfazl Nourzad 96eb93bb69
minor change validation Accept/Reject kind box request 2024-01-25 21:17:10 +03:30
Abolfazl Nourzad 79be4d0a0e
pull from dev 2024-01-25 20:24:42 +03:30
Abolfazl Nourzad e4a3c5464a
RollbackKindBoxRequestStatus 2024-01-25 18:45:53 +03:30
Masood Keshvari bbc31ee48f fix(service): remove duplicated auth service and use it in both of admin and benefactor side 2024-01-25 15:13:39 +03:30
mohammad mahdi rezaei aa129a870e 🔒fix(delivery): fixed the security problem of the create benefactor kinfboxreq 2024-01-24 18:44:13 +03:30
Abolfazl Nourzad a18da64cf9
Using goroutines to create multiple kind-box 2024-01-23 14:45:36 +03:30
Abolfazl Nourzad befdad0c50
create kind box after accepting request 2024-01-23 13:51:56 +03:30
mohammad mahdi rezaei d829192bd6 fix(delivery): fix domain address benefactor 2024-01-23 11:45:59 +03:30
Abolfazl Nourzad dc9d931227
add kind box migration and service 2024-01-23 11:09:58 +03:30
Abolfazl Nourzad 1823191c4e
rejecting kind-box-request 2024-01-22 18:51:13 +03:30
Abolfazl Nourzad 5708f0c414
add validation for accepting kind-box-req 2024-01-22 17:37:51 +03:30