Commit Graph

156 Commits

Author SHA1 Message Date
4ca97c55b2 added comparison of phone number length if it is 4 elements it means empty 2024-06-24 11:49:53 +03:00
e19ac46db1 added comparison of phone number length if it is 4 elements it means empty 2024-06-24 11:27:48 +03:00
99aa82959d replace space from title and field name always 2024-06-23 18:17:28 +03:00
35e57bdb80 replace space from title and field name always 2024-06-23 17:52:17 +03:00
09a4271a9a add logs and debug logic with contacts 2024-06-23 16:48:44 +03:00
135217fc38 fix amo client and bad sql query with in 2024-06-23 13:23:53 +03:00
c12eac62a0 scary horror logic with link need test with amo 2024-06-21 20:36:15 +03:00
2429ab34bf add scary horror logic without linked 2024-06-21 19:05:52 +03:00
8f2851b7e4 add scary horror logic without linked 2024-06-21 19:03:37 +03:00
a90cf2fa09 add amo client methods for update contact and linked contact to contact 2024-06-21 15:52:11 +03:00
40c6194230 add amo clietn contact method for ctrate contact 2024-06-21 14:54:43 +03:00
e8e6dd91c9 fix matching error in webhookCreate svc 2024-06-20 15:11:28 +03:00
8485991916 add retutn error in webhook controller method 2024-06-20 15:06:12 +03:00
f71a339e59 fix matching error in webhookCreate svc 2024-06-20 15:04:41 +03:00
f7d46e644a fix tags change matching amoid with our id, now in tag rule AMOID and matching with TAG AMOID 2024-06-19 22:53:35 +03:00
744741ad36 fix: text fields to textarea fields 2024-06-19 18:41:23 +03:00
3d79db0d18 add test for testing contact rule parse confing and show for adding or for created, now all cool 2024-06-18 23:34:02 +03:00
42fb5de634 add replace all spaaaace 2024-06-18 23:02:40 +03:00
9a5930581a if custom field value (ans content) == empty string, we added default value 2024-06-18 14:11:38 +03:00
aaf4e7cb45 added opportunity re-login in webhook 2024-06-18 13:48:07 +03:00
4afda000dc if que title is nil string we added title 2024-06-18 11:39:17 +03:00
b4e095de9f add more checks for construct field rules 2024-06-15 13:33:35 +03:00
85371f47db changes after local testing 2024-06-12 18:10:44 +03:00
3f033e3a5f save for test after separate table users 2024-06-12 17:34:37 +03:00
100c36a075 now tag success 2024-06-08 21:48:13 +03:00
2b7e7fa945 add getting drive url and save it, and use it in saving fields type file 2024-06-08 18:13:09 +03:00
e3a390617a add privilege user check 2024-06-08 17:35:17 +03:00
b1ee091533 add privilege user check 2024-06-08 17:34:23 +03:00
57a4f69e18 add tags to creating deals 2024-06-08 16:59:13 +03:00
d7fd0c002c merge domain to fixPagination 2024-06-08 15:02:29 +03:00
a4e90a79d7 add custom encoder (need testing with amo) and delete double logic for save status deals, for future connect to tg trashlog 2024-06-08 14:40:47 +03:00
4b1d689fd7 fix panic if update deal return error 2024-06-05 21:40:01 +03:00
96369a8190 add domain to amo clients 2024-06-05 16:27:14 +03:00
5ad4017cdb remove service errors, now use package from common 2024-06-05 11:47:37 +03:00
0a23c9ad66 Merge branch 'fixAmo' into 'staging'
Fix amo

See merge request backend/quiz/amocrm!8
2024-06-04 23:07:38 +00:00
d901c1e34a Merge branch 'envAdding' into 'staging'
Добавление переменной окружения для редиректа после успешной авторизации в амо

See merge request backend/quiz/amocrm!7
2024-06-04 21:14:37 +00:00
6dc56a9a2d add validate errors in rule methods 2024-06-04 19:07:46 +03:00
558711eb04 add validate errors in rule methods 2024-06-04 19:05:53 +03:00
53769438ba fix deleting head account amo 2024-06-02 16:44:58 +03:00
93a77ed399 adding redirect url to enviroment 2024-06-02 14:17:48 +03:00
e5e60e2ee2 ci: own docker images 2024-05-31 00:19:16 +03:00
2185e3b438 debug: add check nil authCode 2024-05-30 21:16:31 +03:00
a010a2840b Merge branch 'fixScalar' into 'staging'
fix in all data update event, if len new tokens = 0, dont go another methods

See merge request backend/quiz/amocrm!5
2024-05-30 17:39:27 +00:00
1adb8c6e8a add redirect for accoun linking 2024-05-29 20:40:48 +03:00
c4a92ebf12 Update user.go 2024-05-29 17:13:53 +00:00
71718438d6 Update user.go 2024-05-29 17:10:40 +00:00
13cf22d740 fix in all data update event, if len new tokens = 0, dont go another methods 2024-05-27 09:36:38 +03:00
1c1b55f22c Update user.go 2024-05-26 23:12:16 +00:00
2d2ede9a7e Update user.go 2024-05-26 23:09:13 +00:00
fa78b96d0e Update user.go 2024-05-26 23:05:41 +00:00