Commit Graph

97 Commits

Author SHA1 Message Date
f8878cd8b3 chore: updating version to v1.0.2 2025-10-14 04:47:41 +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
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
d997cde387 fix: integration fixes 2025-10-07 13:39:36 +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
1ea1ab1666 fix: uncommenting crons for 1.0dev16 deployment 2025-09-25 22:59:09 +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
7415eb1d7a fix: cron 2025-09-17 21:19:06 +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
90f6921082 chore: updating version to 1.0.dev14 2025-09-12 16:45:37 +03:00
e5f42f1928 fix: refactor bonus and bonus settings; added welcome bonus 2025-09-12 16:28:39 +03:00
e229ac911e fix: refactoring referral 2025-09-08 17:05:09 +03:00
144cb0a42c fix: sending daily result report instead of hourly 2025-09-03 22:26:12 +03:00
edc15952c8 hotfix: commenting out providers for demo 2025-09-03 09:55:25 +03:00
1c7c7e5731 uncommenting crons for deployment 2025-09-02 04:27:29 +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
42788e6f9f Merge branch 'main' into ticket-bet 2025-08-27 21:37:15 +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
8ca4758917 Merge branch 'main' into ticket-bet 2025-08-23 21:56:31 +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
192cdb3b26 fix: minor fixes 2025-08-13 22:49:20 +03:00
2ce6255908 Merge branch 'main' into ticket-bet 2025-08-13 16:28:26 +03:00
607e0d28b5 fix: temporarily stopping fetching 2025-08-13 16:21:15 +03:00
3fb3da6cc8 fix: result log and notification 2025-07-30 16:55: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
d43b12c589 integration issues 2025-07-22 17:39:53 +03:00
65bd5ab3f5 fix: added wallet type to wallet and other minor fixes 2025-07-20 22:40:50 +03:00
bbd73576af fix: getting it ready for v1.0dev10 deployment 2025-07-14 21:00:40 +03:00
5614958c5b Merge branch 'ticket-bet' 2025-07-13 03:49:26 +03:00
d5bfe98900 twick cron job interval for cashback 2025-07-10 15:24:53 +03:00
fd55639c02 Merge branch 'cashback' 2025-07-10 15:22:47 +03:00
b84027ea04 cashback implementation 2025-07-10 08:25:30 +03:00
d1770eceb6 fix: refactored bet to remove unnecessary fields 2025-07-09 21:48:36 +03:00
c438248e6a fix odd fetching issue 2025-07-06 00:06:33 +03:00
bbf9e816a0 fix: getting ready for v1.0dev8.5 2025-07-04 00:14:34 +03:00
3e4e9eead7 fix: added message to wallet_transfers and gave it a detailed view 2025-06-29 21:51:23 +03:00
10a49b4571 fix: added message to transfer and more filter routes 2025-06-29 18:00:23 +03:00