Commit Graph

124 Commits

Author SHA1 Message Date
lash
8d4d8a48e0
Fix compile errors, test errors 2024-12-14 11:56:31 +00:00
08ff1056d7 Validate aliases, addresses and phone numbers in the send menu (#176)
- Update the phone number regex
- Check whether the recipient is a valid phone number, alias or address

Reviewed-on: urdt/ussd#176
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2024-11-26 07:24:57 +01:00
2d6c434bde
feat: upgrade go-vise dep, minor cleanups to go.mod
* added stub for Dump()
2024-11-25 09:56:24 +03:00
66b5843b0d feat: dockerfile and github based CI build for Africastalking variant (#174)
## Summary

* fixed missing error handler in main
* add injectable build string in main
* add (dynamically linked) docker build
* add github CI workflow
* add extra but useful dev files in dev folder

* closes #93

## Notes

* We'll move to a self-hosted CI runner once it is installed on Gitea.

Reviewed-on: urdt/ussd#174
Co-authored-by: Mohammed Sohail <sohailsameja@gmail.com>
Co-committed-by: Mohammed Sohail <sohailsameja@gmail.com>
2024-11-19 15:15:24 +01:00
9af7b775a7
log directly to the terminal 2024-11-11 16:32:17 +03:00
574807d254
set the africastalking POST route using env 2024-11-08 16:52:19 +03:00
64a7b49218
Remove unused Warning logger 2024-11-08 00:21:11 +03:00
9c972ffa6b
add specific log files per binary 2024-11-07 16:46:12 +03:00
lash
35a090ef42 Merge branch 'pre-mock-remove' into lash/export-to-term 2024-11-02 14:00:16 +00:00
b2655b7f11
remove seed from executable 2024-10-31 20:59:11 +03:00
5abe9b78cc
attach an admin store for the phone numbers 2024-10-31 20:11:26 +03:00
lash
ff26ccc545
Expose api interface 2024-10-30 13:09:15 +00:00
dc418771a7
attach an admin store for phone numbers 2024-10-30 14:33:48 +03:00
41da099933
remove the admin flag,setup an admin store 2024-10-29 13:24:13 +03:00
aec0abb2b6
setup an admin flag 2024-10-28 16:34:33 +03:00
fb0d2db156 Merge branch 'master' into postgres-switch 2024-10-19 15:28:59 +03:00
6727bd3769
polished code 2024-10-17 12:55:47 +03:00
9f8fcf1ed0
attach account service to handler 2024-10-17 12:54:11 +03:00
a759f47c8e Merge branch 'master' into postgres-switch 2024-10-17 12:49:28 +03:00
1aeb18379c
added a db flag and Database to the context 2024-10-17 12:46:20 +03:00
09eac03e10
use env variables 2024-10-15 23:41:16 +03:00
368c25125a
set flag count to 128 2024-10-15 13:59:49 +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: urdt/ussd#77
2024-09-26 15:55:51 +02:00
2643c0c9ff
only have a -d for the engineDebug 2024-09-24 16:11:22 +03:00
b8852e1ab3
add engineDebug and stateDebug flags 2024-09-24 14:10:10 +03:00
lash
c18c40b1b8 Merge branch 'lash/thread-gdbm' into lash/ssh-2 2024-09-23 18:56:38 +01:00
lash
c02d70eaa4
Upgrade dep, improve logging 2024-09-23 17:35:17 +01:00
lash
c2b68231f5
Update gitignore 2024-09-22 16:15:40 +01:00
lash
3f3dbf414c
Clarify keyfile use in readme 2024-09-22 16:13:30 +01:00
lash
e4c3e9f015
Add ssh instructions, log host key 2024-09-22 16:09:57 +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
19372c17f4
Reinstate ssh executable 2024-09-22 03:06:24 +01:00
lash
1cc2f58ab3
Remove ssh 2024-09-22 03:03:03 +01:00
lash
e07f88b368
Settable ssh keyfile, host, port 2024-09-22 02:57:10 +01:00
lash
84422684c5
Rehabilitate all executables 2024-09-22 02:33:11 +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
5ed9d2643b
WIP can execute single session, but persister fails in next 2024-09-21 18:56:20 +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
e754773bce
remove need for initial Exec before loop 2024-09-20 22:16:43 +03:00
e6e701a609
remove init and use Exec 2024-09-20 13:13:20 +03:00
e581a1ad2f
factor out getflag 2024-09-19 21:04:09 +03:00
bc9dfe4f65
remove redundant code 2024-09-19 17:01:23 +03:00
ffa00ae15c
refactor code 2024-09-19 16:18:21 +03:00
13294b42d3
refactor code 2024-09-19 16:16:17 +03:00
81159e77d1
refactor code 2024-09-19 16:15:29 +03:00
71e1ae6e3c
add function registration service 2024-09-19 15:54:23 +03:00