Commit Graph

140 Commits

Author SHA1 Message Date
Reza Mobaraki 79b054e09f
Refactor(benefactor-kindBoxReqs-test): move data to setupTest
Addressed #140

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
2024-08-24 13:46:44 +03:30
Reza Mobaraki ae4854070c
Merge branch 'develop' into stage/rezoo/benefactor/test-e2e-kind-box-req 2024-08-24 12:21:01 +03:30
Ruhollah 013fd8cf5c fix(niki): end2end test seed cleanup problem 2024-08-24 01:29:41 +03:30
Reza Mobaraki 1c3156fe3a
Chore(benefactor-kindBoxReqs-test): add testify/suit in order to handle
Resolves #140

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
2024-08-23 19:14:54 +03:30
Reza Mobaraki b132249ffc
Chore(benefactor-kindBoxReqs-test): add testify/suit in order to handle
- test Update benefactorKindBoxReqs

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
2024-08-23 19:05:30 +03:30
Reza Mobaraki 15f37001db
Chore(benefactor-kindBoxReqs-test): make it cleaner
Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
2024-08-23 17:58:44 +03:30
Reza Mobaraki 6c78c8098a
Chore(benefactor-kindBoxReqs-test): add tests
- Get_Success
- GetAll_Success
- Create_Success

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
2024-08-23 15:54:27 +03:30
hossein 180306641b Merge branch 'develop' into stage/ruhollahh01/implement-notifications-for-benefactor 2024-08-18 05:05:03 +00:00
Ruhollah f0001975ea feat(niki): setup and implement sample end2end test (#109) 2024-08-17 21:26:08 +03:30
Ruhollah 41164f6cee feat(niki): implement notification for benefactor (#119) 2024-08-16 21:09:01 +03:30
Erfan Mohammadi a906601d12 feat(niki): implement admin sms notifications 2024-08-07 01:24:00 +03:30
Iman Mirazimi 705adda09b fix(niki): internal, validator and structure refactor 2024-08-03 14:37:16 +03:30
Erfan Mohammadi f2a9e61352 feat(niki): implement kind box req accepted notification 2024-07-30 18:05:50 +03:30
Ruhollah feee5c43ff feat(niki): partially implemented kind box req accepted notification 2024-07-27 20:49:53 +03:30
Erfan Mohammadi 86a962b0c9 style(niki): apply code formatting and linting (#85) 2024-07-25 03:15:04 +03:30
hossein 64246aa749 Merge branch 'develop' into stage/fatemeh/93-benefactor-edit-kindboxreq 2024-07-24 06:28:43 +00:00
Fatemeh Javadi b6ed899b89 feat(kindboxreq): added edit kindboxreq by benefactor 2024-07-24 02:51:24 +03:30
Erfan Mohammadi 96d9c679dc feat(niki): admin enumerate(count) kindbox amount (#80) 2024-07-24 01:10:12 +03:30
Ruhollah dcf901f519 feat(niki): return kindbox from benefactor by agent (#83) 2024-07-21 19:42:51 +03:30
Ruhollah 0a553ffbbd feat(niki): agent get all return awaiting kindboxes (#82) 2024-07-21 18:52:15 +03:30
Ruhollah b119b08830 feat(niki): agent get return awaiting kindbox (#81) 2024-07-21 18:08:47 +03:30
Ruhollah cd18bd2e71 feat(niki): implement get kind box req by id for admin 2024-07-21 17:53:38 +03:30
Ruhollah 4e75ebc012 feat(niki): implement validation and generate swagger docs 2024-07-21 13:52:22 +00:00
Iman Mirazimi 4c52cd18c1 feat(niki): benefactor get/getall kindbox sort/filter/pagination 2024-07-21 17:08:54 +03:30
Iman Mirazimi b6eca45519 feat(niki): agent deliver kindboxreq (transactional) 2024-07-17 05:45:41 +00:00
AMiR ecb3e9aedc "feat(niki): add update kind box request by admin" 2024-07-10 09:45:11 +03:30
Erfan Mohammadi bf9f79a524 feat(niki): get all kindboxes by admin 2024-07-09 20:47:04 +03:30
Iman Mirazimi ec769748fe feat(niki): get-getall kindboxreq with page-filter-sort by benefactor 2024-07-03 21:24:24 +03:30
Erfan Mohammadi 47bc77baee feat(niki): admin assign kindbox to a agent 2024-07-03 15:52:53 +03:30
Erfan Mohammadi 8a66e43789 feat(niki): admin get kindbox 2024-07-03 14:32:07 +03:30
alikafy 36d34b2b6b feat(kindbox_req): Add API for adding kindbox req by admin 2024-07-03 10:17:56 +03:30
alikafy 4185ef594b fix: rebase 2024-07-03 10:17:54 +03:30
Erfan Mohammadi 620db23582 feat(niki): benefactor requests emptying a KindBox 2024-07-03 06:27:51 +00:00
Erfan Mohammadi 857d26fd10 feat(niki): agent get all delivery awaiting kindboxreqs 2024-06-19 18:02:28 +03:30
Erfan Mohammadi ad916d7ae7 feat(niki): add get an awaiting-for-delivery kindbox request by agent 2024-06-12 17:46:08 +00:00
Erfan Mohammadi d60e4d605e fix(niki): benefactor update address 2024-06-12 14:43:23 +03:30
Erfan Mohammadi ba905cf334 feat(niki): add benefactor edit address 2024-06-12 13:55:45 +03:30
Erfan Mohammadi 3e39c9b5e9 feat(niki): add get all agents by admin 2024-06-10 18:19:13 +03:30
Erfan Mohammadi d5add40d9e feat(niki): add benefactor delete address 2024-06-08 17:13:04 +00:00
Iman Mirazimi b7d5eb522b fix(niki): add refer time duration when creating kind box req by benefactor 2024-06-08 20:31:36 +03:30
hossein 4aec4d8ecb Merge pull request 'feat(niki): add benefactor get and get all addresses' (#53) from stage/erfan/98-benefactor-get-and-get-all-address into develop
Reviewed-on: ebhomengo/niki#53
Reviewed-by: hossein <h.nazari1990@gmail.com>
2024-06-05 05:38:10 +00:00
Erfan Mohammadi e66a7355e2 feat(niki): add benefactor get all addresses 2024-06-01 21:31:00 +03:30
Iman Mirazimi 51a401f066 feat(niki): add `delete kind_box_req by benefactor` 2024-06-01 19:17:22 +03:30
Erfan Mohammadi b0f5d5e2f4 feat(niki): add benefactor get address 2024-06-01 03:59:11 +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
mohammad mahdi rezaei 58c48dfccc feat(niki): add test for add benefactor kind_box_req 2024-04-24 14:19:57 +03:30
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
Abolfazl Nourzad 8f658433cc
fix issue 2024-01-27 17:52:13 +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 6853ddaf64
fix linter errors 2024-01-25 21:29:18 +03:30
Abolfazl Nourzad 79be4d0a0e
pull from dev 2024-01-25 20:24:42 +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 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
Abolfazl Nourzad 12a8e0ecf5
minor change & delete description field from param.KindBoxReqAcceptRequest 2024-01-22 14:13:16 +03:30
Abolfazl Nourzad e3109b1972
add service and repo layer for accepting kind box request 2024-01-22 11:44:57 +03:30
Masood Keshvari 6e0d616036 feat(service): add admin login and register 2024-01-20 15:08:55 +00:00
mohammad mahdi rezaei 085989538d feat(benefactor): add address 2024-01-19 20:07:15 +03:30
mohammad mahdi rezaei bd0a2084d7 feat(service): Get all cities 2024-01-18 13:46:36 +03:30
mohammad mahdi rezaei 3d9590000e feat(service): Get all province 2024-01-17 23:47:06 +03:30
Masood Keshvari 1a4db87c73 feat(middleware): add benefactor authorization middleware 2024-01-17 11:16:57 +03:30
mohammad mahdi rezaei 91409f0275 feat(niki): add kindboxreq benefactor 2024-01-16 19:43:06 +03:30
Masood Keshvari f622b6edd0 feat(niki): add benefactor logn or register - run server 2024-01-15 14:03:24 +03:30
Masood Keshvari 866c5b42e1 feat(benefactor): add login and register 2024-01-14 19:23:37 +03:30
mohammad mahdi rezaei 052f062cca fix(niki): linter errors fixed 2024-01-11 10:43:37 +03:30
Iman Mirazimi 8841987502 fix(httpserver): change PUT http method to PATCH 2024-01-03 15:20:18 +03:30
Iman Mirazimi 7de5d5fdae fix(niki): patch linter errors 2024-01-02 19:05:26 +03:30
Iman Mirazimi 7e5f49e63e feat(niki): add handlers for kind_box and kind_box_req domains 2024-01-02 17:35:37 +03:30
Iman Mirazimi bc440a26ad fix(niki): path linter errors 2024-01-01 10:52:14 +03:30
mohammad mahdi rezaei 359cfc3244 feat(niki): added rtx-linter-format 2023-12-20 19:09:25 +03:30
imirazimi b2337b621d fix(niki): update folder structure 2023-12-20 12:17:03 +03:30
Alireza Mokhtari Garakani f28c3a6c42 new_sample_structure 2023-12-16 10:50:01 +03:30
Alireza Mokhtari Garakani c9810e1f90 make sample structure 2023-12-16 09:39:50 +03:30