Commit Graph

156 Commits

Author SHA1 Message Date
e0caf399c6 add error if user not found 2024-05-24 21:36:50 +03:00
e44f181478 Merge branch 'fixpanic' into 'staging'
Fixpanic

See merge request backend/quiz/amocrm!4
2024-05-20 18:48:06 +00:00
b18d3586f1 second to nanosecond 2024-05-20 12:36:04 +03:00
337fa4607a fix panic reset tiker 2024-05-20 12:26:21 +03:00
c2cf928f8a add logic for utm saving to deal stats 2024-05-19 15:59:53 +03:00
7ca82fc00a rework with out utms 2024-05-17 22:13:22 +03:00
cbe5832fdc update method getting steps, now we need pipeline id 2024-05-15 20:58:14 +03:00
309ecbc67a fix mw no wokr for group webhook 2024-05-15 00:07:39 +03:00
018febf728 mw 2024-05-14 23:13:13 +03:00
6dd5085bf6 rework with files upload in amo 2024-05-11 19:42:58 +03:00
74dfb8d4be add fields with files need work 2024-05-10 18:34:34 +03:00
75970295b3 create field text or file 2024-05-10 11:51:56 +03:00
8097e79fed scary logic error 2024-05-08 19:50:25 +03:00
19299af077 scary logic error 2024-05-08 19:47:49 +03:00
439677ca3c add client for creating customers in amo 2024-05-08 12:33:03 +03:00
7a2e8c3a0b add amo data validate 2024-05-07 21:46:14 +03:00
72854b0ad0 update logic creating contact in deal 2024-05-07 18:56:02 +03:00
1c14e841ac update returning error 2024-05-07 14:24:59 +03:00
4ebca588e2 update showDown 2024-05-06 23:35:08 +03:00
0967dd996d add logic with redis for update and restorung data 2024-05-06 23:30:59 +03:00
747cee3da9 add fields worker for fetch msg from redis 2024-05-06 18:42:43 +03:00
8c719784c7 add fields worker for fetch msg from redis 2024-05-06 18:42:12 +03:00
8b9089429b delete unnecessary struct 2024-05-06 18:15:07 +03:00
245e55cfb6 add redis methods to deals worker 2024-05-06 18:12:57 +03:00
43db9572f2 add redis for cashing fields data 2024-05-06 17:40:27 +03:00
5ba2d6d5dd add restrincs for count deal for create now <= 49 2024-05-06 16:04:32 +03:00
6f16251af7 update logic tokens updating 2024-05-06 14:22:05 +03:00
e2fa6e7743 add logic for saving created deals in db 2024-05-06 13:45:21 +03:00
c9caa9b947 add logic for saving created deals in db 2024-05-06 13:44:02 +03:00
e7a06144ae serch emoji and add them unicod 2024-05-06 11:48:38 +03:00
7526915645 update contact struct 2024-05-05 19:06:49 +03:00
02263b0ed0 refactor logic for posting deals 2024-05-05 15:22:54 +03:00
f21dadfd01 some update 2024-05-05 00:06:17 +03:00
1b49e59cd3 add base logic for posting fields data 2024-05-04 21:41:04 +03:00
57414433b9 add base logic for posting fields data 2024-05-04 21:38:36 +03:00
eaf8ec63db future with sync map 2024-05-03 18:25:50 +03:00
712c44458e update openapi 2024-05-03 12:25:43 +03:00
cda118155d predict bugs 2024-05-03 12:07:38 +03:00
3cca7e9363 update after pagination tests 2024-05-03 11:51:47 +03:00
db27d4b964 fix error json scalar 2024-05-02 20:02:03 +03:00
3841028457 add logic for update and create fields quiz rules 2024-05-02 18:30:12 +03:00
cf4ae8e9ba fix after bug catching 2024-04-30 01:36:49 +03:00
eb70c134bf change kafka message, add todo and change amo types 2024-04-29 17:09:40 +03:00
1a3be6594a add check and creating fields if utm do not have it 2024-04-29 15:23:40 +03:00
e07ee3c16a add todo for rules 2024-04-28 23:51:00 +03:00
422d8c17af update tools construct with fieldType 2024-04-28 16:12:25 +03:00
1287652759 update config and kafka init 2024-04-26 19:37:56 +03:00
c8297108e5 separate kafka producer and add data updater sendig task to queue update for update all data in 4am 2024-04-26 19:26:59 +03:00
514058724d add amo signature encrypter need test 2024-04-23 20:53:33 +03:00
0335801464 update 2024-04-23 17:00:51 +03:00
707e25aa9b tests passed 2024-04-23 16:15:34 +03:00
e8642a1077 add crud for rule 2024-04-23 15:22:12 +03:00
16a3779df5 update openapi 2024-04-23 14:18:45 +03:00
f669d1cc71 add crud for utm 2024-04-22 18:25:23 +03:00
f8f983cb5b move limeter to workers packages 2024-04-22 10:49:46 +03:00
bb095a5942 pagination methods update 2024-04-21 18:24:13 +03:00
6e73be47c2 add kafka consumer and producer, separate wc methods and add new worker for fetching kafka messages 2024-04-21 17:52:55 +03:00
ddb6e946be commented token updater change to data updater 2024-04-21 13:21:03 +03:00
bd04264f13 test get list user passed 2024-04-20 22:03:46 +03:00
c90d1dfb31 test get list user passed 2024-04-20 22:02:13 +03:00
c3d20a9d5f update 2024-04-20 15:57:37 +03:00
5bc08a830a cleaning 2024-04-19 19:14:06 +03:00
d4fa90ae26 refactor after testing with real data 2024-04-19 19:05:42 +03:00
bea9cfc432 update need test with new sql query in sqlc amo common repo 2024-04-18 21:14:00 +03:00
febeb74b35 some update with common quiz amo repo 2024-04-18 14:13:03 +03:00
f1bf31a302 some update with amo repo in common repo 2024-04-17 21:23:19 +03:00
02ca38860e commented creating acc in db when account connect only after accept from webhook 2024-04-17 19:34:31 +03:00
37cd008dab postgres prepare 2024-04-17 15:21:06 +03:00
29222e8f23 update models and openapi 2024-04-17 11:35:56 +03:00
487fc8bdf0 update service models 2024-04-16 22:10:53 +03:00
abdddc20a8 error delete to update 2024-04-15 20:34:44 +03:00
c8a2978429 error delete to update 2024-04-15 20:02:41 +03:00
fbcc1e6799 init utms methods 2024-04-15 18:44:04 +03:00
7c3fd42b0c add repository tests for current repo methods 2024-04-14 18:02:26 +03:00
8f3b0e5489 add pagination methods 2024-04-12 19:39:51 +03:00
4a952cb3e5 add user updater 2024-04-12 17:51:26 +03:00
17a08df610 add admin token config 2024-04-12 16:18:16 +03:00
1d7f794068 add check update/insert fields 2024-04-12 14:52:38 +03:00
8b1bd1a892 add methods for update/insert tags in mongo 2024-04-12 11:57:19 +03:00
fa11f63432 add base logic for getting lists tags need mongo method update insert 2024-04-11 20:02:44 +03:00
b36a3e67b4 update 2024-04-11 19:32:53 +03:00
94e901d231 add method CheckSteps in DataUpdater 2024-04-11 18:54:24 +03:00
14a740a13d add method CheckSteps in DataUpdater 2024-04-11 18:50:27 +03:00
4e1c80579a add method CheckPipelines 2024-04-11 18:08:54 +03:00
2a44c0fb0d add get user by id in amo client 2024-04-11 17:01:09 +03:00
3c70c13edc add get user by id in amo client 2024-04-11 16:58:31 +03:00
ae64ee452e add timer for data updater worker 2024-04-11 15:45:01 +03:00
7f144124e8 remake refresh updater to all tokens updater 2024-04-11 14:19:06 +03:00
7421bb255d init rote method account 2024-04-11 12:55:26 +03:00
f78cc486ab some update user moodels and openapi 2024-04-11 12:29:17 +03:00
aea73037fb change conver requests logic 2024-04-11 10:43:08 +03:00
8cba6131ae refresh token updater add 2024-04-10 19:50:41 +03:00
6349c3d12d add CreatedAt to type token for serching and updating refresh token 2024-04-10 14:31:06 +03:00
63a1a68b99 change max requests for rate limit x2 2024-04-10 13:56:47 +03:00
3d948e9040 add rate limiter for amoclients 2024-04-10 13:53:19 +03:00
5476a96284 add createdat ro acc create repo method 2024-04-10 12:12:22 +03:00
a1c11206e9 add new client for getting user info, add tokens to db and update acc info need review 2024-04-10 11:54:18 +03:00
4010a6e899 add encrypt accid to state and decrypt in webhook 2024-04-09 19:53:23 +03:00
46447ecdc9 some update and add base logic for webhook 2024-04-09 18:52:37 +03:00
3d88dcad04 reworked add pena-social-auth client for gen aurhamourl 2024-04-09 15:13:21 +03:00