4f04362835
pass error description to error response
2024-10-17 16:08:18 +03:00
6727bd3769
polished code
2024-10-17 12:55:47 +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
667a21d950
pass account service as a param
2024-10-17 12:37:15 +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
f73b7a8b04
setup api responses
2024-10-16 22:40:40 +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
4889e6d18b
Merge remote-tracking branch 'origin' into menu-api-errors
2024-10-15 14:04:45 +03:00
bec7e5c69f
update: fetch balances in a sepate function,show profile information in swahili and english
2024-10-15 13:57:05 +03:00
d638aba85e
update tests
2024-10-15 13:50:28 +03:00
df7788dd0b
return actual reponses on the api calls
2024-10-15 13:48:14 +03:00
4a62773098
add handler fetching custodial balances
2024-10-15 13:44:50 +03:00
be6391686f
update return type
2024-10-14 23:17:57 +03:00
lash
2a93ea7a0c
Remove out-of-context extend key
2024-09-27 21:16:08 +01:00
lash
f89b1acc6c
Merge branch 'master' into lash/subprefix
2024-09-27 21:15:17 +01:00
lash
1dc8b054eb
Add sub-prefix db wrapper
2024-09-27 21:10:03 +01:00
a3ff3be5b1
clean up
2024-09-27 16:32:47 +03:00
ea52a7cf0a
update tests
2024-09-26 23:11:37 +03:00
a993026380
update tests
2024-09-26 23:07:48 +03:00
lash
4ee241714b
Attempt 2 revert changes from ssh
2024-09-26 15:08:15 +01:00
0dc322729f
Merge pull request 'SSH server entry point.' ( #77 ) from lash/ssh-2 into master
...
Reviewed-on: #77
2024-09-26 15:55:51 +02:00
6dbd250694
remove extra spaces
2024-09-25 09:29:26 +03:00
0dea34daab
resolve confilict
2024-09-24 09:18:21 +03:00
8057313c78
Merge remote-tracking branch 'remotes/origin/master' into menu-profile-edit
2024-09-24 09:10:17 +03:00
bbfe46f162
use current rendering symbol for case selection
2024-09-24 09:01:19 +03:00
eff2cbde8b
setup check for unused code
2024-09-24 09:00:31 +03:00
5c85ecffd1
remove unused code
2024-09-24 09:00:13 +03:00
lash
c18c40b1b8
Merge branch 'lash/thread-gdbm' into lash/ssh-2
2024-09-23 18:56:38 +01:00
lash
6112ca175f
Merge branch 'master' into lash/thread-gdbm
2024-09-23 18:54:18 +01:00
4a447fbb45
update profile update
2024-09-23 20:10:37 +03:00
lash
c02d70eaa4
Upgrade dep, improve logging
2024-09-23 17:35:17 +01:00
lash
e4c3e9f015
Add ssh instructions, log host key
2024-09-22 16:09:57 +01:00
lash
9b71244391
Merge branch 'lash/thread-gdbm' into lash/ssh-2
2024-09-22 15:43:18 +01:00
lash
ada1f26b68
Add keystore class, separate keystore tool executable
2024-09-22 15:41:55 +01:00
lash
935b777e57
Factor out ssh service code
2024-09-22 14:41:01 +01:00
lash
7d3ff690f0
Remove useless 'registered' member in thread gdbm
2024-09-22 03:10:58 +01:00
lash
a455cfb854
Return if duplicate connect
2024-09-22 03:09:53 +01:00
lash
28fc7a0462
Implement threaded gdbm in storageservice
2024-09-22 02:28:00 +01:00
lash
78d349ccc7
Add threaded gdbm wrapper
2024-09-22 02:21:56 +01:00
lash
0813a619b4
Add hacky db closer function in ssh
2024-09-21 21:32:02 +01:00
lash
8dcba67fe9
WIP can execute single session, but persister fails in next
2024-09-21 18:49:11 +01:00
lash
5cac17676a
WIP adapt ssh server sketch to urdt setup
2024-09-21 00:32:39 +01:00
63c7c65a00
rename all WriteResult to Flush
2024-09-20 22:15:24 +03:00
a1056cf287
removed unused code
2024-09-20 13:54:23 +03:00
e6e701a609
remove init and use Exec
2024-09-20 13:13:20 +03:00
5c5f4cbc8e
Merge branch 'master' into wip-main-refactor
2024-09-19 20:19:06 +02:00
e581a1ad2f
factor out getflag
2024-09-19 21:04:09 +03:00
3fe66466c5
renamed test file and added server.go tests
2024-09-19 18:52:13 +03:00
f6979868e5
added at_session_handler tests
2024-09-19 17:19:09 +03:00
e8be64ae28
added http related mocks
2024-09-19 17:18:14 +03:00
e4d8bfad7b
moved the mocks package
2024-09-19 17:17:28 +03:00
96358959b4
remove unused code
2024-09-19 17:04:08 +03:00
bc9dfe4f65
remove redundant code
2024-09-19 17:01:23 +03:00
5bd51b280e
add storage service for menu
2024-09-19 15:57:11 +03:00
71e1ae6e3c
add function registration service
2024-09-19 15:54:23 +03:00
10de039da0
remove obsolete code
2024-09-18 15:42:56 +03:00
27aa71e0ee
only set the code to 200 if no error exists
2024-09-18 15:11:49 +03:00
a9a429824c
return if the sessionId cannot be retrieved from the request
2024-09-18 14:52:56 +03:00
2982f08b41
Merge branch 'master' into change-language
2024-09-17 18:30:52 +02:00
75ab9c66a3
run TestSetLanguage with execPath instead of input
2024-09-17 18:54:07 +03:00
599f7a2857
add more tests
2024-09-17 15:44:22 +03:00
065c8e5c1d
use a single set_language function for setting and changing language
2024-09-17 15:26:50 +03:00
06e23565df
added the SetNewLanguage function
2024-09-16 17:29:27 +03:00
2ed9f083bb
add quit with helpline info
...
add quit with helpline info
2024-09-16 15:17:56 +01:00
a3f410875a
define temporary key value
2024-09-16 14:39:42 +03:00
3f3e98e637
add pin reset handlers
2024-09-16 14:39:01 +03:00
78c033e61c
remove deprecated code
2024-09-14 20:59:08 +03:00
b5ef483f34
clean up tests
2024-09-14 20:07:17 +03:00
e99a788c60
add tests
2024-09-14 20:01:58 +03:00
f4f475bd45
Merge pull request 'africas-talking' ( #50 ) from africas-talking into lash/async-driver
...
Reviewed-on: #50
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-09-14 16:28:05 +02:00
6fe2e7287f
Update the func name to Output
...
Signed-off-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-09-14 16:01:18 +02:00
1e9c9cf6ad
removed AT specific code
2024-09-14 15:57:16 +03:00
3cb0b099e4
use the new AtSessionHandler
2024-09-14 15:55:45 +03:00
b53658e038
have AtOutput as an option
2024-09-13 16:03:31 +03:00
512460fdeb
Added Custom AtOutput to append CON or END to output
2024-09-13 16:02:04 +03:00
762f90adf6
Added Continue bool to track whether the execution should be terminated
2024-09-12 23:52:35 +03:00
lash
9b4a4eeaf4
Temporary solution for make sure storage object gets put back in all cases of execution
2024-09-12 16:46:11 +01:00
lash
b31d3b907a
Add shutdown to async, rehabilitate http cmd
2024-09-12 04:13:57 +01:00
lash
d49f866ca4
Factor out methods common to http and async cli
2024-09-12 04:07:55 +01:00
lash
dde9f552a6
Isolate http specific parts to minimal
2024-09-12 03:30:23 +01:00
lash
514e043e38
Fix symptom of handler missing persister
2024-09-11 17:53:12 +01:00
lash
836e5fe8ee
Revert africas talking changes in http
2024-09-11 17:32:55 +01:00
44015b1c76
Parse the request body to get the PhoneNumber and Input text
2024-09-11 15:40:49 +03:00
lash
681f293d3c
Externalize requestparser, flush persister on http request end
2024-09-10 23:09:10 +01:00
lash
8e3ff27bb8
Ensure db close on http signal shutdown, correct stores to provider
2024-09-10 20:44:10 +01:00
lash
dd2468a4d7
Http server harness
...
Add storage retrieval solution for http handler
Successfully executed account regisration using http
Set upstream go-vise dependency version in go.mod
Adapt menuhandler to upstream
2024-09-10 13:59:36 +01:00
ad48890a9f
remove deprecated code
2024-09-10 11:24:09 +03:00
c0a3ad7e2b
delete deprecated code
2024-09-10 11:23:41 +03:00
a3dffdf4e9
match code refactor
2024-09-10 11:23:25 +03:00
47d39a1c6f
remove commented test
2024-09-09 17:24:43 +03:00
f5f1cbaaba
cleanup
2024-09-09 17:18:07 +03:00
134aa96194
implement db for user datastore
2024-09-09 17:16:08 +03:00