Commit Graph

1091 Commits

Author SHA1 Message Date
konstantinmds
5734011f96 refactor: rename ussd package to application (#24)
- Rename internal/handlers/ussd directory to application
- Update all imports and references to use new package name
2025-01-08 13:40:00 +01:00
f40e11c267 Merge pull request 'account-pin-block-v2' (#256) from account-pin-block-v2 into master
Reviewed-on: urdt/ussd#256
2025-01-08 13:30:39 +01:00
Carlosokumu
b698f08136 chore: add space after punctuation 2025-01-08 15:27:10 +03:00
Carlosokumu
efdb52bccd chore: add space after punctuation 2025-01-08 14:54:58 +03:00
Carlosokumu
2ff9fed3c5 chore: rename countIncorrectPINAttempts to incrementIncorrectPINAttempts 2025-01-08 14:54:57 +03:00
Carlosokumu
477b4cf8f6 chore : rename remainingPINAttempts to currentWrongPinAttemptsCount 2025-01-08 14:54:57 +03:00
Carlosokumu
ed6651697a chore : add variable description to AllowedPINAttempts 2025-01-08 14:54:56 +03:00
carlos
c359d99075 Merge branch 'master' into account-pin-block-v2 2025-01-08 10:00:46 +01:00
Carlosokumu
8d477356f3 update tests 2025-01-08 11:47:55 +03:00
Carlosokumu
7f3294a8a2 update tests 2025-01-08 11:47:41 +03:00
f49e54a562 Merge pull request 'Space after comma' (#259) from lash/helpcomma into master
Reviewed-on: urdt/ussd#259
2025-01-08 07:57:18 +01:00
lash
5081b6d4ce Space after comma 2025-01-08 06:48:35 +00:00
Carlosokumu
4d72ae0313 add handler showing a message for a blocked account 2025-01-08 09:30:51 +03:00
Carlosokumu
4fe64a7747 show message for a blocked account 2025-01-08 09:29:00 +03:00
Carlosokumu
3004698d5b add a message for a blocked account 2025-01-08 09:28:31 +03:00
Carlosokumu
50c7ff1046 register handler to show blocked account message 2025-01-08 09:27:45 +03:00
Carlosokumu
07b061a68b remove blocked account templates 2025-01-08 09:26:53 +03:00
Carlosokumu
64fba91670 catch blocked account 2025-01-07 14:38:44 +03:00
Carlosokumu
c15958a1ad reset incorrect pin attempts on correct entry 2025-01-07 14:32:44 +03:00
Carlosokumu
ee442daefa add blocked account node 2025-01-07 14:03:53 +03:00
656052dc74 Merge pull request 'trim any leading whitespace in the input' (#258) from send-input-fix into master
Reviewed-on: urdt/ussd#258
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2025-01-07 10:33:20 +01:00
alfred-mk
6c5873da6f trim any leading whitespace in the input 2025-01-07 12:15:15 +03:00
Carlosokumu
11d30583a4 map content of reset_incorrect and catch blocked account 2025-01-07 10:50:30 +03:00
Carlosokumu
f83f539046 add node to show remaining pin attempts 2025-01-07 10:48:59 +03:00
Carlosokumu
562bd4fa24 check for incorrect pin 2025-01-06 22:54:31 +03:00
Carlosokumu
90df0eefc3 add value for allowed number of PIN attempts 2025-01-06 22:53:59 +03:00
Carlosokumu
b37f2a0a11 add flag for when an account has been blocked 2025-01-06 21:06:54 +03:00
Carlosokumu
68e4c9af03 add key for incorrect pin attempts 2025-01-06 21:00:34 +03:00
80b96e9bf6 Merge pull request 'Add gettext capability to template and menu resources' (#239) from lash/gettext into master
Reviewed-on: urdt/ussd#239
2025-01-06 09:49:53 +01:00
b5561decd1 Merge branch 'master' into lash/gettext 2025-01-06 09:48:33 +01:00
f3d4f35718 Merge pull request 'Factor out db dump formatting' (#243) from lash/dump-format into master
Reviewed-on: urdt/ussd#243
2025-01-06 09:44:29 +01:00
52787bdb4d Merge branch 'master' into lash/dump-format 2025-01-06 09:42:26 +01:00
824d39908b ci: fix missing ssh dir 2025-01-06 11:19:36 +03:00
a312ea5b84 feat: inject build string in ssh binary, expose default ssh port 2025-01-06 11:09:51 +03:00
4836162f40 ci: add ssh build 2025-01-06 10:51:20 +03:00
lash
2024cc96e2 Bring up-to-date with refactor 2025-01-06 07:22:58 +00:00
lash
d2d878d5d7 Merge branch 'master' into lash/ssh-4 2025-01-06 07:12:00 +00:00
c995143543 Merge pull request 'log-session-id-at-sessionid' (#251) from log-session-id-at-sessionid into master
Reviewed-on: urdt/ussd#251
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2025-01-06 08:01:20 +01:00
Carlosokumu
44570e20ef remove unused context key :- at-session-id 2025-01-06 09:59:47 +03:00
Carlosokumu
362eb209ef add SessionId to context key 2025-01-06 09:54:28 +03:00
Carlosokumu
c69d3896f1 pass context as an argument,rename context keys 2025-01-06 08:52:53 +03:00
Carlosokumu
974af6b2a7 pass context as an argument 2025-01-06 08:50:53 +03:00
lash
bb4037e73f Add languages env example 2025-01-05 21:25:09 +00:00
lash
83857026d3 Merge branch 'master' into lash/dump-format 2025-01-04 10:00:25 +00:00
lash
349051b5ef Merge branch 'master' into lash/gettext 2025-01-04 09:59:26 +00:00
47b5ff0435 Merge pull request 'Improve separation of concerns in all modules, phase 1' (#246) from lash/purify into master
Reviewed-on: urdt/ussd#246
2025-01-04 10:56:17 +01:00
lash
25867cf05e Rehabilitate voucher test 2025-01-04 09:42:36 +00:00
Carlosokumu
d5a2680500 make context accessible 2025-01-04 12:02:45 +03:00
lash
d950b10b50 Move prefix db spec to separate package 2025-01-04 08:37:28 +00:00
lash
bcb3ab905e Move db related to own package 2025-01-04 08:09:18 +00:00