Commit Graph
918 Commits
Author SHA1 Message Date
Carlosokumu eddadb6491 go to root on retry 2024-12-13 18:02:09 +03:00
Carlosokumu b014cf0dcc remove all non-incmp statements after HALT 2024-12-13 17:01:01 +03:00
Carlosokumu a3d63e8bf5 use next node on profile edit 2024-12-13 09:15:01 +03:00
Carlosokumu 2c57535a4e check for back 2024-12-12 15:48:54 +03:00
Carlosokumu be9d039ef1 update go-vise dep 2024-12-12 15:47:40 +03:00
Carlosokumu a799e19afc remove check for '0' input 2024-12-12 15:47:07 +03:00
lash 43892f0d8c Merge pull request 'profile-edit-traverse' (#199) from profile-edit-traverse into master
release / docker (push) Has been cancelled
Reviewed-on: urdt/ussd#199
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
v0.4.0-beta
2024-12-05 16:37:37 +01:00
Carlosokumu 8e6b1e6f52 Merge branch 'master' into profile-edit-traverse 2024-12-05 18:34:29 +03:00
Carlosokumu 9cbbdff993 chore: use profileDataKeys as an array 2024-12-05 18:25:51 +03:00
lash 316358765d Merge pull request 'data-items-cleanup' (#203) from data-items-cleanup into master
Reviewed-on: urdt/ussd#203
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-12-05 16:03:50 +01:00
alfred-mk 14737b5f12 Removed redundant naming of transfer related data 2024-12-05 17:58:51 +03:00
alfred-mk caff27b43d Replace IntToBytes(value int) and ToBytes() with a single ToBytes() function 2024-12-05 17:50:40 +03:00
alfred-mk 589a94216b Use the DATATYPE_USERDATA as the prefix for the NewSubPrefixDb func 2024-12-05 17:02:26 +03:00
alfred-mk a659fb06fa Added a function to convert int to []byte 2024-12-05 16:58:03 +03:00
alfred-mk f733fe5636 Start the sub prefix data at 256 (0x0100) 2024-12-05 16:31:47 +03:00
alfred-mk 18423fcd9c updated the name of the voucher related data 2024-12-05 16:26:56 +03:00
Carlosokumu 72a3681767 add test data. 2024-12-05 16:03:08 +03:00
Carlosokumu 160ccbb220 read test file from test run arg 2024-12-05 14:05:32 +03:00
Carlosokumu 22f96363ba add test files 2024-12-05 14:04:56 +03:00
Carlosokumu 3e7f90733e update test names 2024-12-05 12:22:29 +03:00
Carlosokumu 321f038c7c iterate over a map for the set profile items 2024-12-05 10:52:45 +03:00
alfred-mk 7a9de79aae return nil with error 2024-12-04 21:07:11 +03:00
alfred-mk 862830e9de renamed internal/storage/db.go -> internal/storage/sub_prefix_db.go for clarity 2024-12-04 20:59:46 +03:00
alfred-mk bc0e536d3d updated failing tests 2024-12-04 20:55:03 +03:00
alfred-mk 82884a75a3 Merge branch 'master' into data-items-cleanup 2024-12-04 20:45:38 +03:00
alfred-mk 93c44861e0 Use numeric prefixes 2024-12-04 20:42:47 +03:00
alfred-mk 4ecfc9de38 removed DATATYPE_USERSUB and replaced with DATATYPE_USERDATA 2024-12-04 20:38:52 +03:00
Carlosokumu a84c3e0852 update menu traversal test data 2024-12-04 09:46:16 +03:00
Carlosokumu 8efed966a0 set flag when location is set 2024-12-04 09:08:47 +03:00
Carlosokumu e7c4b5bca7 update tests 2024-12-04 09:08:25 +03:00
Carlosokumu ed632248c5 add doc lines and check for back naviagtions 2024-12-04 08:30:07 +03:00
Carlosokumu 5c202741d6 add handler for catching back navigations 2024-12-04 08:20:43 +03:00
Carlosokumu c5ebdbf85b catch back navigations 2024-12-04 08:20:09 +03:00
Carlosokumu c4282a870e add flag to catch back navigations 2024-12-04 08:19:20 +03:00
Carlosokumu 91cd6077ce Merge branch 'master' into profile-edit-traverse 2024-12-03 22:25:47 +03:00
Carlosokumu c0ed6fa9c8 catch incorrect pin entries 2024-12-03 21:43:24 +03:00
lash 22c9c3e0f0 Merge pull request 'minor-bug-fixes' (#177) from minor-bug-fixes into master
Reviewed-on: urdt/ussd#177
2024-12-03 18:18:23 +01:00
lash a709d24520 Merge branch 'master' into minor-bug-fixes 2024-12-03 18:16:19 +01:00
lash e56138e416 Merge pull request 'Clear persister from handler in outer code aswell' (#200) from lash/persister-freakout into master
Reviewed-on: urdt/ussd#200
2024-12-03 17:18:11 +01:00
lash d516584d90 Clear persister from handler in outer code aswell 2024-12-03 16:16:53 +00:00
Carlosokumu b420a9bba0 set flag if profile data is set 2024-12-03 17:41:06 +03:00
Carlosokumu a20ab79355 explicit reload save gender 2024-12-03 17:38:20 +03:00
Carlosokumu e0ec15b272 allow sequential profile edit 2024-12-03 14:40:57 +03:00
Carlosokumu 9e998f9a29 add a zero pad value to unfilled profile item 2024-12-03 14:37:55 +03:00
Carlosokumu 1c7c0af712 catch next unset profile item 2024-12-03 14:36:48 +03:00
alfred-mk d40a4a171f formatted code 2024-12-03 14:12:47 +03:00
alfred-mk ba430a5849 add a separate function to handle ConstructName 2024-12-03 14:10:05 +03:00
alfred-mk 0f21b01813 resolved error in the TestViewVoucher 2024-12-03 13:37:00 +03:00
alfred-mk 10586baf0d resolved error in the TestCheckBalance 2024-12-03 13:35:14 +03:00
alfred-mk e979742424 resolved error in the TestValidateRecipient 2024-12-03 13:32:18 +03:00