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
b5932df206
-
2025-10-11 11:32:27 +03:00
160e1f6ed5
chore: uncommenting out crons
2025-10-10 17:21: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
0bab186a8f
fix: uncommenting out crons
2025-10-08 12:54:11 +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
49768e8b2d
fix updating version number
2025-09-25 23:03:36 +03:00
1ea1ab1666
fix: uncommenting crons for 1.0dev16 deployment
2025-09-25 22:59:09 +03:00
6401c3fe0d
fix: minor fix
2025-09-25 21:58:27 +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
0eac6e363d
merge conflict fix
2025-09-25 16:39:14 +03:00
423ae69fb0
atlas orchestration + .env fixes
2025-09-25 16:37:53 +03:00
9b56131f79
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-09-24 21:33:10 +03:00
f5f2ab995f
enetpulse port.go fix
2025-09-24 21:22:46 +03:00
01c7f98a72
Merge branch 'enetpulse'
2025-09-24 21:07:08 +03:00
87b7841373
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-09-24 21:04:08 +03:00
927eb887ce
fix: minor issues
2025-09-24 21:03:56 +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
a2d75cf114
fix: minor result fix
2025-09-23 18:43:07 +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
7b768e5086
Merge branch 'main' into enetpulse
2025-09-17 21:20:04 +03:00
65df6b9ff1
fix: popok-id on orchestrator
2025-09-17 21:19:48 +03:00
7415eb1d7a
fix: cron
2025-09-17 21:19:06 +03:00
6ad31550ac
fix: lastStartTime instead of firstStartTime
2025-09-17 21:18:19 +03:00
3bcd880e90
fix: modified event_id so that its segregated from the betapi id
2025-09-17 20:17:56 +03:00
af1cb4023e
fixing issues with fetching event
2025-09-17 17:25:49 +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
7336dcfb5d
Merge branch 'ticket-bet'
2025-09-15 13:50:20 +03:00
b7f3170d20
fix: removed 'popok' from the virtual game orchestrator game_id
2025-09-15 13:41:40 +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
90f6921082
chore: updating version to 1.0.dev14
2025-09-12 16:45:37 +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
5c482b4d62
fix: remove auth from veli games
2025-09-09 19:21:43 +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
38c3b13956
Merge branch 'main' into ticket-bet
2025-09-08 17:12:13 +03:00
895c652ae0
fix: commenting out providers check
2025-09-08 17:08:39 +03:00
e229ac911e
fix: refactoring referral
2025-09-08 17:05:09 +03:00
9900113e33
fix: result report email
2025-09-06 13:42:27 +03:00
144cb0a42c
fix: sending daily result report instead of hourly
2025-09-03 22:26:12 +03:00
d78a100f27
raffle service implementation
2025-09-03 16:06:01 +03:00
c77355ad4c
hotfix:commenting provider code for demo
2025-09-03 10:01:22 +03:00
632c3061e7
Merge branch 'production'
2025-09-03 09:55:39 +03:00
edc15952c8
hotfix: commenting out providers for demo
2025-09-03 09:55:25 +03:00
6f4229d556
fix: fetching full event list
2025-09-03 03:35:34 +03:00
180a940b58
chore: changed the verison to v1.0dev13.1
2025-09-03 03:22:00 +03:00
6b09c3c8d2
fix: resolved issue on event, odds and creating a bet
2025-09-03 03:16:37 +03:00
1c7c7e5731
uncommenting crons for deployment
2025-09-02 04:27:29 +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
89e3d7de78
raffle service structure
2025-09-01 23:47:27 +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
556860e932
minor fix
2025-08-27 21:35:03 +03:00
70f33f1fa9
refresh providers list fix
2025-08-26 22:01:04 +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
6425196115
report query fixes
2025-08-20 15:56:50 +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
6347984102
feat: custom odd and disabling odds
2025-08-19 17:15:31 +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
5283efeb1e
swagger fix
2025-08-17 12:34:20 +03:00
f1a4f5e6f9
Arifpay webhook fixes
2025-08-17 12:13:29 +03:00
440d1928a5
Merge branch 'main' into ticket-bet
2025-08-14 17:26:19 +03:00
192cdb3b26
fix: minor fixes
2025-08-13 22:49:20 +03:00
8331ea11b4
Merge branch 'main' of https://github.com/SamuelTariku/FortuneBet-Backend
2025-08-13 18:15:33 +03:00
7d2db5801c
veli games signature extraData field issue fix
2025-08-13 18:15:15 +03:00