e5fdd33a52
fix: Refactored and moved store ports into separate folder
...
- Added stats service
2025-10-29 01:33:50 +03:00
0ffba57ec5
feat: Refactor report generation and management
...
- Removed detailed event routes from the API.
- Added new report request routes for creating and fetching report requests.
- Introduced new domain models for report requests, including metadata and status handling.
- Implemented report request processing logic, including CSV generation for event interval reports.
- Enhanced company statistics handling with new domain models and service methods.
- Updated repository interfaces and implementations to support new report functionalities.
- Added error handling and logging for report file operations and notifications.
2025-10-28 00:51:52 +03:00
e98477d6cc
virtual game provider report
2025-10-25 17:53:36 +03:00
4104d7d371
Chapa Fixes
2025-10-20 15:16:39 +03:00
18689ea124
feat: Add EventWithSettings domain model and related conversion functions
...
- Introduced EventWithSettings and EventWithSettingsRes structs for enhanced event data handling.
- Implemented conversion functions for creating and updating event settings.
- Added support for fetching events with settings from the database.
- Created new report data structures for comprehensive reporting capabilities.
- Implemented event statistics retrieval and filtering by league and sport.
- Added handlers for event statistics endpoints in the web server.
- Introduced DateInterval type for managing time intervals in reports.
2025-10-18 11:50:17 +03:00
e0e4ff4b64
Atlas Gaming Fixes
2025-10-17 11:30:33 +03:00
fc69ca3f52
Enetpulse fixture and preodds
2025-10-15 16:42:00 +03:00
e429810ebc
Enetpulse fixture and preodds
2025-10-15 16:41:45 +03:00
9cb008225b
Enetpulse fixes
2025-10-14 14:21:27 +03:00
a9025ca844
feat: Add number_of_outcomes to odds market queries and models
...
- Updated SQL queries to include number_of_outcomes in GetAllOdds, GetOddByID, GetOddsByEventID, and GetOddsByMarketID.
- Modified data structures in domain and repository layers to accommodate number_of_outcomes.
- Enhanced event models to track total odd outcomes.
- Introduced new SQL scripts for development data seeding.
2025-10-14 04:39:27 +03:00
3dfa1255b0
Refactor result notification service and remove redundant code
...
- Removed the CheckAndSendResultNotifications method from the result service.
- Consolidated notification logic into a new notification.go file.
- Updated email and in-app notification formatting to include event processing periods.
- Added error handling for wallet operations to check if wallets are active before processing transfers.
- Introduced new error for disabled wallets.
- Updated cron jobs to comment out unnecessary tasks.
- Added bulk update functionality for bet outcomes by odd IDs in the odd handler.
- Renamed ticket handler methods for clarity and consistency.
- Updated API version in routes.
2025-10-10 14:59:19 +03:00
80129828e0
fix: removed kafka and redis and added integration changes
2025-10-08 12:46:50 +03:00
0121b31838
feat: Update cron job scheduling and user wallet creation logic; increment API version to 1.0.dev17
2025-10-07 13:49:29 +03:00
5fc8540eda
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-10-07 13:41:13 +03:00
d997cde387
fix: integration fixes
2025-10-07 13:39:36 +03:00
62258b7ecb
raffle ticket limit
2025-10-06 14:49:25 +03:00
c00110a503
feat: Enhance league, odds, events and bets functionality
...
- Updated league handling to ensure valid page size checks and improved error handling for sport ID parsing.
- Introduced new endpoint to update global league settings with comprehensive validation and error logging.
- Refactored odds settings management, including saving, removing, and updating odds settings with enhanced validation.
- Added tenant slug retrieval by token, ensuring proper user and company validation.
- Improved middleware to check for active company status and adjusted route permissions for various endpoints.
- Added SQL script to fix auto-increment desynchronization across multiple tables.
2025-10-05 23:45:31 +03:00
af7c792dee
Enetpulse tournament+tournament_stages imlementations + mergeconflict fixes
2025-09-28 18:28:00 +03:00
76bf4ed75a
Enetpulse tournament+tournament_stages imlementations
2025-09-28 18:26:34 +03:00
91c929c7a2
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-09-25 21:27:36 +03:00
e49ff366d5
feat: Implement wallet notification system and refactor related services
...
- Added new notification handling in the wallet service to notify admins when wallet balances are low or insufficient.
- Created a new file for wallet notifications and moved relevant functions from the wallet service to this new file.
- Updated the wallet service to publish wallet events including wallet type.
- Refactored the client code to improve readability and maintainability.
- Enhanced the bet handler to support pagination and status filtering for bets.
- Updated routes and handlers for user search functionality to improve clarity and organization.
- Modified cron job scheduling to comment out unused jobs for clarity.
- Updated the WebSocket broadcast to include wallet type in notifications.
- Adjusted the makefile to include Kafka in the docker-compose setup for local development.
2025-09-25 21:26:24 +03:00
6ceff2843e
enetpulse 1st phase repo and cron job implementation
2025-09-25 20:58:25 +03:00
01c7f98a72
Merge branch 'enetpulse'
2025-09-24 21:07:08 +03:00
e41ce709a3
enetpulse service + atlas orchestrator
2025-09-24 21:00:13 +03:00
5bccf28c57
enetpulse service + atlas orchestrator
2025-09-24 20:58:22 +03:00
34109b6af4
create raffle ticket with filter
2025-09-22 10:06:30 +03:00
ee27ec7f10
add raffle filters
2025-09-21 16:14:08 +03:00
6f5de3a0e5
merge with main
2025-09-18 22:36:30 +03:00
723ca34660
fix: fixed company override settings and raffle routes
2025-09-18 22:34:56 +03:00
3bcd880e90
fix: modified event_id so that its segregated from the betapi id
2025-09-17 20:17:56 +03:00
2875e9b85c
fix: top-league not showing up
2025-09-17 15:43:27 +03:00
156f83ddc5
Merge branch 'main' into ticket-bet
2025-09-17 12:58:03 +03:00
999b8d6591
fix: minor changes
2025-09-17 12:57:37 +03:00
28b59e8081
create raffle ticket on every bet
2025-09-17 12:07:16 +03:00
c8edbd07a5
resolve conflict
2025-09-13 21:22:27 +03:00
a5dfd6c70d
raffle standing and winners per point
2025-09-13 21:06:56 +03:00
ab6c1acdc6
fix veli orchestration error
2025-09-12 20:56:07 +03:00
c49e191657
fix: change logger in veli handler
2025-09-12 17:11:13 +03:00
a443f9e05b
Merge remote-tracking branch 'origin/atlas_gaming'
2025-09-12 16:37:33 +03:00
e5f42f1928
fix: refactor bonus and bonus settings; added welcome bonus
2025-09-12 16:28:39 +03:00
ea986b538e
atlas gaming + veli credit balance route
2025-09-12 16:03:13 +03:00
215eb5a1d8
fix: refactoring bonus
2025-09-10 23:27:11 +03:00
5595600ede
fix: referral handlers and integration issues
2025-09-09 23:44:02 +03:00
266363a827
Merge branch 'main' into ticket-bet
2025-09-09 19:24:53 +03:00
3313c3833b
fix: more referral fixes
2025-09-09 19:19:35 +03:00
e3a24d6bb1
resolve conflict
2025-09-09 15:24:20 +03:00
e229ac911e
fix: refactoring referral
2025-09-08 17:05:09 +03:00
d78a100f27
raffle service implementation
2025-09-03 16:06:01 +03:00
edc15952c8
hotfix: commenting out providers for demo
2025-09-03 09:55:25 +03:00
6b09c3c8d2
fix: resolved issue on event, odds and creating a bet
2025-09-03 03:16:37 +03:00
6ecc6f0428
Refactor event and league domain models to include default settings, enhance odds handling, improve API routes, fixed get global settings and Incremented API version to 1.0.dev13.
2025-09-02 04:24:37 +03:00
0b03bfaa42
Merge branch 'main' into ticket-bet
2025-08-31 13:32:45 +03:00
910d592bef
fixes while integrating
2025-08-31 13:30:26 +03:00
fc49eefe40
list all and filter virtual games feature
2025-08-30 20:26:28 +03:00
3624acbacb
data type and enable/disable provider fixes
2025-08-29 15:27:02 +03:00
82497ffc64
provider enable/disable fix
2025-08-29 15:20:59 +03:00
42788e6f9f
Merge branch 'main' into ticket-bet
2025-08-27 21:37:15 +03:00
858fd6ce24
virtual game orchestration
2025-08-26 21:07:12 +03:00
aaf14fedcf
fix: global setting, company override settings, bet and ticket fixes for multi tenant
2025-08-25 07:23:55 +03:00
8ca4758917
Merge branch 'main' into ticket-bet
2025-08-23 21:56:31 +03:00
6d74cb8c28
feat: refactoring entire system to be multi-tenant
2025-08-22 12:54:48 +03:00
0779cd35fe
report query fixes
2025-08-20 15:56:44 +03:00
8aefd54562
/cancel callback nil dereference fix
2025-08-19 19:21:44 +03:00
c5fe2b8297
veli games and popok callback identifiers fix
2025-08-19 17:50:30 +03:00
437780f3e9
Merge branch 'main' into ticket-bet
2025-08-18 18:49:58 +03:00
d40bdcf33c
santimpay direct payment
2025-08-18 16:35:33 +03:00
f32331bcdb
veli games report API fix
2025-08-18 14:06:45 +03:00
f1a4f5e6f9
Arifpay webhook fixes
2025-08-17 12:13:29 +03:00
2ce6255908
Merge branch 'main' into ticket-bet
2025-08-13 16:28:26 +03:00
5331798009
fix: disabling odds
2025-08-13 14:48:35 +03:00
3310e01ccc
veli games .env + signature fixes
2025-08-13 14:45:05 +03:00
5615c93fbb
feat: added settings routes
2025-08-11 21:10:33 +03:00
696b713699
Merge branch 'main' into ticket-bet
2025-08-08 14:26:27 +03:00
c08b786803
feat: odd and event history
2025-08-07 19:04:54 +03:00
49d0e73b6f
telebirr service
2025-08-04 14:27:52 +03:00
354989e6e1
Merge: resolved conflicts
2025-08-01 20:10:47 +03:00
5815381a21
santimpay + direct depoist
2025-08-01 20:08:57 +03:00
7d8d824a94
fix: added loggers to the event and result service. Fixes to the notification
2025-07-28 20:35:06 +03:00
a35d4b37d3
5 min report fix + arifpay integration
2025-07-23 14:03:38 +03:00
d8de92e7d6
5 min report fix + arifpay integration
2025-07-23 14:02:52 +03:00
d43b12c589
integration issues
2025-07-22 17:39:53 +03:00
6e6ed2c9a9
fix: notifications for win bet and wallet balance low
2025-07-21 04:31:38 +03:00
65bd5ab3f5
fix: added wallet type to wallet and other minor fixes
2025-07-20 22:40:50 +03:00
b692a3b317
fix: use afrosms for now
2025-07-16 15:46:30 +03:00
472e4490f8
fix: web integration issues
2025-07-14 20:52:58 +03:00
aa4bddef58
feat: branch location list
2025-07-13 13:46:38 +03:00
ae56d253c2
merge fixes
2025-07-13 03:59:43 +03:00
5614958c5b
Merge branch 'ticket-bet'
2025-07-13 03:49:26 +03:00
c83130394b
fix: version on route, better logs, error display, cleaning up code
2025-07-13 01:23:08 +03:00
fff88bb4b9
accumulator bonus
2025-07-12 16:21:23 +03:00
95926dbe6a
fast code requires amount
2025-07-12 12:42:36 +03:00
2b9302b10b
transaction maker-checker fixes
2025-07-11 15:48:59 +03:00
d1770eceb6
fix: refactored bet to remove unnecessary fields
2025-07-09 21:48:36 +03:00
a06d77da01
fix: fixing issues on transaction
2025-07-04 00:09:03 +03:00
1a5b545f37
fix: minor fixes
2025-07-02 23:12:51 +03:00
beea3ab54e
Merge branch 'main' into ticket-bet
2025-07-02 19:41:55 +03:00
c2a9de6671
fix: company filter
2025-07-02 19:41:29 +03:00
c4328dedf0
fix: get bet using cashout id
2025-07-02 17:48:16 +03:00
745e701fec
Merge branch 'fast-code'
2025-07-02 16:58:45 +03:00
d9f7cde114
create bet with fast code
2025-07-02 16:57:36 +03:00
d678b4e9d3
fix: refactored the transactions into shop_transactions
2025-07-02 03:19:59 +03:00
f27a75eb66
Merge branch 'main' into ticket-bet
2025-07-01 14:17:46 +03:00
3e9c707f00
fix: deposit for customer
2025-06-30 18:58:18 +03:00
317a22ca07
popok 502 fix
2025-06-30 18:54:19 +03:00
3768ff857a
popok 502 fix
2025-06-30 18:53:19 +03:00
0e42facebf
Merge branch 'referral-promotion'
2025-06-30 18:16:49 +03:00
8218790292
control over referral settings
2025-06-30 12:23:14 +03:00
19b7a151d6
balance amount cap for deposit bonus
2025-06-29 22:57:50 +03:00
3e4e9eead7
fix: added message to wallet_transfers and gave it a detailed view
2025-06-29 21:51:23 +03:00
c5796b07f0
CSV report fix + popok hash
2025-06-29 19:53:32 +03:00
77a7428b48
CSV report fix + popok hash
2025-06-29 19:51:30 +03:00
74941bc535
Merge branch 'main' into ticket-bet
2025-06-29 18:00:47 +03:00
10a49b4571
fix: added message to transfer and more filter routes
2025-06-29 18:00:23 +03:00
e47f0c9d5d
Merge branch 'referral-promotion'
2025-06-29 15:20:24 +03:00
eca084f7f8
deposit bonus service
2025-06-28 20:43:17 +03:00
bd0859d3ad
more veli-games endpoints
2025-06-28 12:47:12 +03:00
b0a651fd38
more veli-games endpoints
2025-06-28 12:44:38 +03:00
d6abaac828
Merge branch 'main' into ticket-bet
2025-06-25 22:48:59 +03:00
4d5c90ab05
feat: bet and branch filters, admin company, customer wallet
2025-06-25 22:47:06 +03:00
53ef3ee1f0
fix: minor issues
2025-06-25 14:24:40 +03:00
b1c3b73d9c
issue reporting service
2025-06-24 18:45:34 +03:00
25230e3fcf
fetch company and branch by wallet ID methods
2025-06-24 17:41:04 +03:00
bdf057e01d
institution service + more PopOK callback
2025-06-22 21:49:16 +03:00
448d8c73c1
Merge branch 'main' into ticket-bet
2025-06-21 22:09:39 +03:00
12855f3690
CSV reports + live metrics + redis service
2025-06-21 21:48:11 +03:00
9ec7d0cfc1
feat: finished the setting service
2025-06-21 17:44:34 +03:00
5cd5d2f143
player Info fix
2025-06-20 23:14:06 +03:00
0ef3a25ee7
popok external token fix + game list endpoint + recommedation fix
2025-06-20 21:08:52 +03:00
1e49afc5ee
Merge branch 'main' into ticket-bet
2025-06-19 19:12:32 +03:00
b0803c968a
fix: moving ticket logic into service
2025-06-19 19:11:19 +03:00
b1a97bc31b
game list
2025-06-19 15:04:23 +03:00
7c70b23a3d
game list
2025-06-19 15:02:28 +03:00
5cfb23cf96
Merge branch 'main' into ticket-bet
2025-06-19 12:49:05 +03:00
1c7ae8232c
fix: outcome and league optimization
2025-06-19 00:27:39 +03:00
22ec5d3ff8
merger + auth fix
2025-06-18 11:22:02 +03:00
2bd8181494
PopOk Auth fix
2025-06-18 11:04:44 +03:00
76518fcbd1
Merge branch 'main' into ticket-bet
2025-06-17 20:36:12 +03:00
808d7b9eeb
twilio sms support - (trial version)
2025-06-17 12:07:12 +03:00
49d8782617
resolve conflict
2025-06-17 01:24:12 +03:00
5461feaa0b
resolve conflict
2025-06-17 01:22:34 +03:00
78d351cae9
bet on same bet only twice
2025-06-17 01:17:22 +03:00
bfba23bc69
fix: mongo fail issue
2025-06-16 23:59:24 +03:00
cfced1951c
Merge branch 'main' into ticket-bet
2025-06-16 21:34:34 +03:00
dc2144a91e
resolve conflict
2025-06-16 20:04:28 +03:00
a5ea52b993
multi-currency support
2025-06-16 17:54:42 +03:00
1557a3141b
fix: transfer not showing online bet issue
2025-06-16 16:24:42 +03:00
2a6e892f5e
Merge branch 'main' into ticket-bet
2025-06-12 19:11:35 +03:00
c374fd7a96
feat: removing odds when event is removed
2025-06-12 19:09:19 +03:00
2f2ba65abd
PopOK callback fix + API credentials
2025-06-12 16:12:57 +03:00
35a03e1959
Merge branch 'main' into ticket-bet
2025-06-12 14:10:13 +03:00
2f593c8430
Merge branch 'main' of https://github.com/SamuelTariku/FortuneBet-Backend
2025-06-12 09:40:53 +03:00
6d5bdd8a56
Chapa webhook + popok fix
2025-06-12 09:40:11 +03:00
edec72dfcd
fix: fixed odd and issues while integrating
2025-06-11 23:01:30 +03:00
Asher Samuel
5c048466e8
Merge branch 'forgot-password'
2025-06-10 10:49:26 +03:00
Asher Samuel
4c865d4d91
forgot password - sms and email
2025-06-10 09:56:54 +03:00
fbe2dfd5a3
fix: event and league disabling
2025-06-10 06:41:11 +03:00
8f2713b920
duplicate user creation fix + sender balance check during wallet refill
2025-06-09 21:33:58 +03:00
788e3ee9a6
mongoLogger to bet service
2025-06-09 13:14:59 +03:00
62f7dd24eb
fix: integrating issues
2025-06-07 20:54:49 +03:00
0a668a65f1
report_service + wallet_monitoring
2025-06-07 17:52:17 +03:00
c22a1bd6c4
report_service + wallet_monitoring
2025-06-07 17:48:06 +03:00
73c1db14c1
Merge branch 'main' into ticket-bet
2025-06-07 08:15:17 +03:00
efc51e3b72
fix: result and event service fixes
2025-06-07 07:58:39 +03:00
Asher Samuel
9807e8ed14
handler for fetching leagues and update league status
2025-06-06 15:19:42 +03:00
Asher Samuel
d3506fd03a
resolve conflict
2025-06-06 03:43:41 +03:00
eb4f267142
refactor events table
2025-06-05 01:56:40 +03:00
f2ec267347
wallet security+log file
2025-06-02 17:22:07 +03:00
49d9dafccb
CrateTransaction+merge conflict fixes
2025-05-31 21:34:11 +03:00
75d469be8c
createTransaction+createTransfer fix
2025-05-31 21:29:39 +03:00
c0680537db
fix: event and odd fetching for all sports
2025-05-31 20:34:10 +03:00
b4609cdd5b
more chapa fix
2025-05-30 23:59:55 +03:00
aef5c4410d
chapa integration fix
2025-05-30 21:54:22 +03:00
542400bcaf
feat: add the bet winning to user wallet
2025-05-30 19:38:59 +03:00
95eaed18ad
unit test bet outcome
2025-05-28 22:18:27 +03:00
c637ddb321
recommendation service
2025-05-28 13:46:28 +03:00
c9dcb3949d
merge
2025-05-28 13:10:26 +03:00
5dcefa377f
recommendation service
2025-05-28 13:07:58 +03:00
9c849fe50d
Merge branch 'main' onto origin
2025-05-27 18:24:19 +03:00
1b6fbebddf
fix: get bet by users for online betting
2025-05-27 14:57:35 +03:00
25ded17b09
manager resp struct fix+merge conflict fix
2025-05-25 14:11:46 +03:00
ee07d469eb
Veli Games
2025-05-24 19:39:24 +03:00
eafd68d3c2
fix: restricting search
2025-05-23 21:43:34 +03:00
9793854596
authmiddleware fix
2025-05-23 20:37:29 +03:00
9dd566417e
Alea Play Service
2025-05-23 20:11:26 +03:00
1be3ffdc3c
fix: customer auth integration
2025-05-23 18:21:37 +03:00
991359f805
chapa models+swagger+unit_test
2025-05-23 16:26:32 +03:00
16768ad924
fix: Update integration issues
2025-05-23 12:00:04 +03:00
66a7affeba
chapa integration 1st phase
2025-05-22 18:35:20 +03:00
6a06b399c7
fix: notification integration issues
2025-05-22 00:15:30 +03:00
ccdfc537c2
Merge remote-tracking branch 'origin/dev' into ticket-bet
2025-05-20 19:11:30 +03:00
e838fea020
fix: get total
2025-05-20 05:21:04 +03:00
cdc40397b9
fix: date filter
2025-05-19 15:38:52 +03:00
4c6fb73342
integration issues
2025-05-16 22:38:10 +03:00
95fb33c9d4
fix: result service evaluation issues
2025-05-15 01:01:09 +03:00
KidusAlemayehu
4a2ae14a64
add notification retrieval endpoint; refactor middleware for company role validation
2025-05-13 22:43:51 +03:00
KidusAlemayehu
6177b8cf92
refactor notification service to use Gorilla WebSocket; implement WebSocket authentication middleware and notification hub
2025-05-13 16:44:31 +03:00
b7b17fa8d2
create random bet
2025-05-08 07:29:00 +03:00
b4e20a274d
basketball and fixes
2025-05-03 20:22:57 +03:00
ae571d51a6
fixed company-id, admin-id optional parameters for creating company and branch
2025-04-30 18:43:46 +03:00
98e30b5051
small fixes and getting it ready for deployment
2025-04-29 21:11:25 +03:00