Commit Graph

130 Commits

Author SHA1 Message Date
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
e4d8bfad7b
moved the mocks package 2024-09-19 17:17:28 +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
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
3f3e98e637
add pin reset handlers 2024-09-16 14:39:01 +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
1e9c9cf6ad
removed AT specific code 2024-09-14 15:57:16 +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
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
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
0cdb23fbea
setupmock for user datastore 2024-09-09 17:15:35 +03:00
ca655b0cdc
add tests 2024-09-09 17:15:04 +03:00
deb4706b1d
Test commit 2024-09-07 17:51:30 +03:00
e14fd5e496
Return the response and the error 2024-09-07 17:41:05 +03:00
dd97531861
remove uimplemented tests 2024-09-07 16:24:37 +03:00
be33b7458f
cleanup code 2024-09-07 16:22:08 +03:00
4c3f63a48f
create an account only if not found in gdbm 2024-09-07 10:36:00 +03:00
d1d5c897d1
refactor 2024-09-07 09:55:59 +03:00
04ea11dd6d
setup db mock 2024-09-07 09:55:47 +03:00
5722552395
remove old mocks 2024-09-07 09:55:13 +03:00
421fbe5543
setup mock for the acccount service 2024-09-07 09:55:00 +03:00
de24ca0648
Mock the gdm nd updated the TestSaveFirstname and TestSaveFamilyname 2024-09-07 09:30:20 +03:00
175cbd1983
setup template test 2024-09-06 17:51:07 +03:00
8175d6ac12
setup db mock 2024-09-06 17:50:33 +03:00
eb9f470ac5
Update the GetProfileInfo to get data from gdbm 2024-09-06 16:17:26 +03:00
2cc85379cc
update log 2024-09-06 11:02:33 +03:00
d001c5a7fc
Write and read data from gdbm 2024-09-06 09:33:39 +03:00
lash
cad8e86c8b
Remove manual init calls in handler funcs 2024-09-05 23:55:54 +01:00
lash
0feb013c78
Ensure handler init when state and cache is available 2024-09-05 20:40:40 +01:00
643b4d87a9
read account pin of gdbm store 2024-09-05 20:30:28 +03:00
17804e7641
Save the actual PIN and verify it 2024-09-05 19:50:02 +03:00
lash
db3ec1991d
Remove obsolete store and persister global 2024-09-05 16:45:35 +01:00
lash
6fa5f49bc0
Remove impossible nil check in handler 2024-09-05 15:28:53 +01:00