Commit Graph

447 Commits

Author SHA1 Message Date
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
63cee42261 Merge pull request 'wip-code-check' (#44) from wip-code-check into master
Reviewed-on: urdt/ussd#44
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-09-10 14:25:50 +02:00
9f034967b5
remove resource directory 2024-09-10 12:32:19 +03: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
0cdb23fbea
setupmock for user datastore 2024-09-09 17:15:35 +03:00
ca655b0cdc
add tests 2024-09-09 17:15:04 +03:00
da93444d3f
remove deprecated code 2024-09-09 10:14:40 +03:00
c2564a9b8f
remove go-vise subdirectory 2024-09-09 10:12:29 +03:00
33c6b35f8f
Merge branch 'origin/master' into wip-code-check 2024-09-09 09:56:00 +03:00
ba72b3bf44
Merge branch 'master' into wip-code-check 2024-09-09 09:45:29 +03:00
e961b6cb6a
Merge branch 'wip-code-check' 2024-09-09 09:22:08 +03:00
2c059afa7d
resolve 2024-09-07 22:05:09 +03:00
9aab7d3a9b
Merge branch 'master' into wip-code-check 2024-09-07 22:04:30 +03:00
a25beb5b80
Merge branch 'wip-code-check' 2024-09-07 21:54:00 +03:00
39d27209cd
Merge remote-tracking branch 'refs/remotes/origin/wip-code-check' into wip-code-check 2024-09-07 18:10:40 +03:00
16a56ef29d
add go-vise 2024-09-07 18:09:55 +03:00
6d02ea79ec
add go-vise 2024-09-07 18:09:13 +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
01c13ec581
make packKey accessible from tests 2024-09-07 16:25:29 +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
d4bae50ff0
Merge remote-tracking branch 'refs/remotes/origin/wip-code-check' into wip-code-check 2024-09-06 16:54:41 +03:00
d7376a4196
format error 2024-09-06 16:53:22 +03:00
eb9f470ac5
Update the GetProfileInfo to get data from gdbm 2024-09-06 16:17:26 +03:00
7a12588744
remove deprecated code 2024-09-06 12:42:24 +03:00
6947b1e4a4
rename getflags to getparser 2024-09-06 11:03:01 +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
de8c7ce34a
Added user data to db.go util 2024-09-06 08:35:01 +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
5abaf28f49
remove explicit attachment of state to engine 2024-09-05 20:26:52 +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