|
5f1ee396d8
|
Fix PIN being requested twice
|
2024-10-23 06:35:19 +03:00 |
|
|
637e107525
|
Merge branch 'master' into menu-voucherlist
|
2024-10-22 17:10:51 +03:00 |
|
|
59d0446020
|
Merge pull request 'postgres-switch' (#113) from postgres-switch into master
Reviewed-on: urdt/ussd#113
|
2024-10-22 16:04:56 +02:00 |
|
|
f37ec13c75
|
polish code
|
2024-10-22 16:31:29 +03:00 |
|
|
0547bc7e5f
|
added send menu test with dynamic max_amount
|
2024-10-22 14:24:22 +03:00 |
|
|
02cb75f97a
|
increase the size to resolve sink error
|
2024-10-21 17:14:59 +03:00 |
|
|
5909659fa9
|
Use dynamic balance
|
2024-10-21 16:52:07 +03:00 |
|
|
415c807464
|
include the Database in context
|
2024-10-21 09:22:07 +03:00 |
|
|
9f562fe53e
|
use postgres directly from go-vise
|
2024-10-19 23:06:58 +03:00 |
|
|
3bf2045f15
|
added FetchVouchers to the TestAccountService
|
2024-10-19 16:07:40 +03:00 |
|
|
aced3e4fc3
|
Merge branch 'master' into menu-voucherlist
|
2024-10-19 15:38:54 +03:00 |
|
|
fb0d2db156
|
Merge branch 'master' into postgres-switch
|
2024-10-19 15:28:59 +03:00 |
|
|
a40fc37da4
|
implement postgres for the state store
|
2024-10-19 15:27:23 +03:00 |
|
|
f13f5996c1
|
remove thread abstraction from postgres
|
2024-10-19 14:51:41 +03:00 |
|
|
00a2beae50
|
rename file
|
2024-10-19 13:41:19 +03:00 |
|
|
25bc7006a4
|
show a balance of 0 and prevent sending when no voucher exists
|
2024-10-18 18:31:40 +03:00 |
|
|
113f1a5b34
|
Merge pull request 'menu-traversal-v2' (#115) from menu-traversal-v2 into master
Reviewed-on: urdt/ussd#115
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
|
2024-10-18 15:38:56 +02:00 |
|
|
fd8bfae8c7
|
updated the vise version to include the updated column
|
2024-10-17 15:35:35 +03:00 |
|
|
eea3be3a39
|
resolve failing test
|
2024-10-17 13:49:56 +03:00 |
|
|
849a950fbc
|
Merge branch 'master' into menu-voucherlist
|
2024-10-17 13:44:31 +03:00 |
|
|
6727bd3769
|
polished code
|
2024-10-17 12:55:47 +03:00 |
|
|
9f8fcf1ed0
|
attach account service to handler
|
2024-10-17 12:54:11 +03:00 |
|
|
4a599b902d
|
define transaction
|
2024-10-17 12:49:51 +03:00 |
|
|
a759f47c8e
|
Merge branch 'master' into postgres-switch
|
2024-10-17 12:49:28 +03:00 |
|
|
d181c34946
|
update handler and move transaction struct to models
|
2024-10-17 12:49:28 +03:00 |
|
|
4968cdff37
|
switch to postgres once the flag is set
|
2024-10-17 12:47:57 +03:00 |
|
|
bfa6eac4c2
|
define a test account service
|
2024-10-17 12:47:44 +03:00 |
|
|
1aeb18379c
|
added a db flag and Database to the context
|
2024-10-17 12:46:20 +03:00 |
|
|
667a21d950
|
pass account service as a param
|
2024-10-17 12:37:15 +03:00 |
|
|
4416c008fc
|
add menu traversal tests
|
2024-10-17 12:36:24 +03:00 |
|
|
0a7389a71d
|
explicitly reset authorize flag
|
2024-10-17 12:36:02 +03:00 |
|
|
383e64776d
|
chore: change pin to PIN
|
2024-10-17 12:35:44 +03:00 |
|
|
a27c1790b8
|
setup test data file
|
2024-10-17 12:34:17 +03:00 |
|
|
f81e3508ca
|
define engine to run tests
|
2024-10-17 12:33:38 +03:00 |
|
|
127219f510
|
define build for running online and offline tests
|
2024-10-17 12:33:09 +03:00 |
|
|
54cc33c819
|
Delete connstr in threadgdbm global channel map on close
|
2024-10-17 12:32:31 +03:00 |
|
|
a51f739d06
|
pass account service as a param
|
2024-10-17 12:31:33 +03:00 |
|
|
8d047ebe05
|
define universal group driver
|
2024-10-17 12:30:58 +03:00 |
|
|
4e840ac17c
|
add uuid
|
2024-10-17 12:30:36 +03:00 |
|
|
e986eaa538
|
Merge pull request 'menu-api-errors' (#112) from menu-api-errors into master
Reviewed-on: urdt/ussd#112
|
2024-10-16 19:08:46 +02:00 |
|
|
d8db8df643
|
use go-vise v0.2.0
|
2024-10-15 23:42:39 +03:00 |
|
|
09eac03e10
|
use env variables
|
2024-10-15 23:41:16 +03:00 |
|
|
51122d0fc5
|
added an env.example file
|
2024-10-15 22:31:37 +03:00 |
|
|
d05c666513
|
Merge branch 'master' into menu-voucherlist
|
2024-10-15 17:08:48 +03:00 |
|
|
a336856c9b
|
use separate functions to process voucher data
|
2024-10-15 17:02:51 +03:00 |
|
|
0be570ae2d
|
add check for api call failure
|
2024-10-15 16:31:31 +03:00 |
|
|
6a36bc43b5
|
add check for api call failure
|
2024-10-15 16:31:15 +03:00 |
|
|
1d27a88908
|
add test on validate amount
|
2024-10-15 16:30:29 +03:00 |
|
|
f378f15422
|
updated tests
|
2024-10-15 16:29:51 +03:00 |
|
|
b2fb9faf6c
|
use the active balance to validate the amount
|
2024-10-15 16:17:33 +03:00 |
|