Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
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
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
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
2ac66308d3 fix: merge fixes 2025-09-09 19:25:08 +03:00
e3a24d6bb1 resolve conflict 2025-09-09 15:24:20 +03:00
d78a100f27 raffle service implementation 2025-09-03 16:06:01 +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
6d74cb8c28 feat: refactoring entire system to be multi-tenant 2025-08-22 12:54:48 +03:00
192cdb3b26 fix: minor fixes 2025-08-13 22:49:20 +03:00
c08b786803 feat: odd and event history 2025-08-07 19:04:54 +03:00
3fb3da6cc8 fix: result log and notification 2025-07-30 16:55:57 +03:00
472e4490f8 fix: web integration issues 2025-07-14 20:52:58 +03:00
c83130394b fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00
d1770eceb6 fix: refactored bet to remove unnecessary fields 2025-07-09 21:48:36 +03:00
a5ea52b993 multi-currency support 2025-06-16 17:54:42 +03:00
edec72dfcd fix: fixed odd and issues while integrating 2025-06-11 23:01:30 +03:00
fbe2dfd5a3 fix: event and league disabling 2025-06-10 06:41:11 +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
eb4f267142 refactor events table 2025-06-05 01:56:40 +03:00
6d6b574c0b fix marge conflict 2025-05-30 01:12:08 +03:00
11a70ec1dc fetch events from betfair 2025-05-23 13:09:44 +03:00
6a06b399c7 fix: notification integration issues 2025-05-22 00:15: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
95fb33c9d4 fix: result service evaluation issues 2025-05-15 01:01:09 +03:00
b4e20a274d basketball and fixes 2025-05-03 20:22:57 +03:00
9e4b0d9942 limiting the crons because of the request limit 2025-04-29 10:35:39 +03:00
Samuel Tariku
14de6859b3 adding result 2025-04-25 15:01:30 +03:00
8c536a6d2f company management 2025-04-23 03:44:17 +03:00
991199c3dc events pagination + ticket and bet validation 2025-04-22 03:20:52 +03:00
0879527c9d Merge remote-tracking branch 'refs/remotes/origin/auth' into auth 2025-04-12 16:29:19 +03:00
OneTap Technologies
6c478df2b4 adding upcoming data 2025-04-12 15:55:42 +03:00
OneTap Technologies
1726cfd63b adding upcoming 2025-04-12 14:43:09 +03:00
6f28299a2e fix ticket issue 2025-04-12 12:57:19 +03:00
OneTap Technologies
92250d61a8 event and odd data 2025-04-10 16:42:26 +03:00