Commit Graph

305 Commits

Author SHA1 Message Date
6002b594c6 minimal registeration implementation 2026-01-09 06:35:22 -08:00
19ac718526 initial assessment implementation 2026-01-08 04:42:39 -08:00
7309a2bc83 updated the authentication method from username to email/phone_numner 2026-01-03 06:52:38 -08:00
d94774c138 schema adjustment and profile management fixes 2025-12-31 07:53:59 -08:00
8ed0a5f1c6 course management service 2025-12-30 07:00:02 -08:00
2c907a34db added inittal assessment feature 2025-12-29 07:59:24 -08:00
915185c317 user and otp schema modification, SMTP setup using resend, afro SMS changed to direct API integration instead of using afoSMS library, most authentications implemented using username instead of email or phone number 2025-12-23 18:57:48 +03:00
47d70b029f afro SMS and partial ArifPay Payment Gateway integrations 2025-12-18 18:06:26 +03:00
5e9046eb76 user and auth service refactoring, notification service SQL + repository adjustment 2025-12-16 18:05:57 +03:00
13c470079c virtual_game_providers based SQL queries primary ID data type mismatch fix 2025-11-27 17:56:52 +03:00
299825e797 favourtie game and virtual games + providers orchestration fixes 2025-11-18 16:39:37 +03:00
1c7e076be5 direct depost and veli games fix 2025-11-17 18:45:18 +03:00
ab1d85897e Merge remote-tracking branch 'origin/virtual_games' 2025-11-06 18:28:50 +03:00
d654d5f2ef veli games fixes 2025-11-06 16:37:41 +03:00
46d70d7c8c chapa minor fixes 2025-11-03 17:20:35 +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
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
857212d9ba enetpulse fixture and result fixes 2025-10-28 13:35:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
7d2db5801c veli games signature extraData field issue fix 2025-08-13 18:15:15 +03:00
5331798009 fix: disabling odds 2025-08-13 14:48:35 +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
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
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
f3e6e8c165 resolved conflict 2025-07-15 15:47:07 +03:00
472e4490f8 fix: web integration issues 2025-07-14 20:52:58 +03:00
e3545f3f8c flag too many outcomes 2025-07-14 19:30:37 +03:00
aa4bddef58 feat: branch location list 2025-07-13 13:46:38 +03:00