Skip to content

Commit 96d9ba5

Browse files
committed
refactor(api): move to modular architecture
1 parent ac511ba commit 96d9ba5

213 files changed

Lines changed: 9039 additions & 12271 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,18 @@ app/modules/players/README.md
258258
League-Data-Scraping-And-Analytics-master/ProStaff-Scraper/
259259
DOCS/ELASTICSEARCH_SETUP.md
260260
DOCS/deployment/QUICK_DEPLOY_VPS.md
261+
262+
263+
#Ignore cursor AI rules
264+
.cursor/rules/codacy.mdc
265+
/DOCS/claude
266+
/.pentest
267+
codacyissues.md
268+
/scripts
269+
/DEVDOCS
270+
.github/webhookgitcoolify.md
271+
zgo.txt
272+
oldsemgrep-report.json
273+
MODULAR_MIGRATION_GUIDE.md
274+
metaintelligence.md
275+
CRITICAL_DATA_LOSS_INCIDENT.md

app/channels/application_cable/connection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def find_verified_user
3030

3131
reject_unauthorized_connection if token.blank?
3232

33-
payload = Authentication::Services::JwtService.decode(token)
33+
payload = JwtService.decode(token)
3434

3535
# Only accept access tokens — reject refresh tokens
3636
if payload[:type] != 'access'
@@ -52,7 +52,7 @@ def find_verified_user
5252

5353
logger.info "[ActionCable] Connected: user=#{user.id} org=#{user.organization_id}"
5454
user
55-
rescue Authentication::Services::JwtService::AuthenticationError => e
55+
rescue JwtService::AuthenticationError => e
5656
logger.warn "[ActionCable] JWT rejected: #{e.message}"
5757
reject_unauthorized_connection
5858
end

app/controllers/api/v1/admin/audit_logs_controller.rb

Lines changed: 0 additions & 71 deletions
This file was deleted.

app/controllers/api/v1/admin/organizations_controller.rb

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)