Commit Graph

498 Commits

Author SHA1 Message Date
e66ef8a740 chore: Updated version to v1.0.3
- Uncommented event service Crons
2025-11-01 23:34:54 +03:00
b90dc516be Merge remote-tracking branch 'refs/remotes/origin/production' into production 2025-11-01 23:30:36 +03:00
8d3127ff53 fix: disabling all odds market 2025-11-01 23:24:01 +03:00
aa893ddf74 feat: added new odd markets to football 2025-10-30 00:46:47 +03:00
Kerod-Fresenbet-Gebremedhin2660
f037ac584c Empty commit to trigger CI/CD - 10 2025-10-29 17:24:48 +03:00
Kerod-Fresenbet-Gebremedhin2660
370923abfc Empty commit to trigger CI/CD - 9 2025-10-29 17:21:14 +03:00
Kerod-Fresenbet-Gebremedhin2660
93288e63b4 Empty commit to trigger CI/CD - 8 2025-10-29 13:16:47 +03:00
Kerod-Fresenbet-Gebremedhin2660
bd8b38e776 Empty commit to trigger CI/CD - 8 2025-10-29 13:16:35 +03:00
Kerod-Fresenbet-Gebremedhin2660
00c64372d2 Empty commit to trigger CI/CD - 8 2025-10-29 13:16:19 +03:00
Kerod-Fresenbet-Gebremedhin2660
54af324266 Empty commit to trigger CI/CD - 7 2025-10-29 12:50:49 +03:00
Kerod-Fresenbet-Gebremedhin2660
42a9ead3ae Empty commit to trigger CI/CD - 6 2025-10-29 12:47:40 +03:00
Kerod-Fresenbet-Gebremedhin2660
df26c2f71c Empty commit to trigger CI/CD - 4 2025-10-29 12:44:34 +03:00
Kerod-Fresenbet-Gebremedhin2660
89f8f63e4f Empty commit to trigger CI/CD - 2 2025-10-29 12:40:29 +03:00
Kerod-Fresenbet-Gebremedhin2660
6a6a799ac8 Empty commit to trigger CI/CD - 1 2025-10-29 12:35:06 +03:00
485cba3c9c feat: Add new stat stores and reporting functionalities for bets, branches, and wallets
- Introduced BetStatStore, BranchStatStore, and WalletStatStore interfaces for handling statistics.
- Implemented repository methods for fetching and updating bet, branch, and wallet statistics.
- Created reporting services for generating interval reports for bets, branches, companies, and wallets.
- Enhanced CSV writing functionality to support dynamic struct to CSV conversion.
- Added cron jobs for periodic updates of branch and wallet statistics.
- Updated wallet handler to include transaction statistics in the response.
2025-10-29 07:14:38 +03:00
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
5af3c5d978 Merge branch 'main' into stats 2025-10-18 13:42:57 +03:00
797cba4920 hotfix: wallet deducting logic 2025-10-18 11:54:37 +03:00
f6348576a2 - 2025-10-18 11:51:27 +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
528a948f20 Merge branch 'main' into stats 2025-10-15 21:19:43 +03:00
065e66e820 fix: removed user_id, type unique for wallets 2025-10-15 21:11:41 +03:00
459ebcc63b fix: supported operations viwe 2025-10-15 20:56:14 +03:00
0875298792 - 2025-10-15 16:57:22 +03:00
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
b5932df206 - 2025-10-11 11:32:27 +03:00
5086e88d1f build: redeploying 2025-10-10 19:41:27 +03:00
ce863cbe0e fix: added exclude-table 2025-10-10 19:07:37 +03:00
348aa03e8c fix: redeploying 2025-10-10 19:01:18 +03:00
Kerod-Fresenbet-Gebremedhin2660
0132a7bbb7 Empty commit to trigger CI/CD - 2 2025-10-10 18:58:11 +03:00
Kerod-Fresenbet-Gebremedhin2660
0f8918c180 Empty commit to trigger CI/CD - 1 2025-10-10 18:55:27 +03:00
4395c9fd6a fix: pgdump fix 2025-10-10 18:42:46 +03:00
5dd822eb87 fix: redeploying 2025-10-10 18:32:48 +03:00
c829cb166e fix: changed pgdump for backup to data only 2025-10-10 18:30:21 +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
e401d1d82f Merge branch 'production' 2025-09-30 17:14:36 +03:00
9c02ec711f Merge remote-tracking branch 'refs/remotes/origin/production' into production 2025-09-30 17:13:40 +03:00
Kerod-Fresenbet-Gebremedhin2660
391bf89ea8 removed cicd test 2025-09-30 16:43:17 +03:00
Kerod-Fresenbet-Gebremedhin2660
7377e50a26 CICD Test Version Change 2025-09-30 16:26:42 +03:00
Kerod-Fresenbet-Gebremedhin2660
feccbe5269 Empty commit to trigger CI/CD - 2 2025-09-30 16:03:26 +03:00