Skip to content

Releases: Bulletdev/prostaff-api

1.0.3

23 Mar 14:42

Choose a tag to compare

[1.0.3] - 2026-03-23

Added

Support System

  • Full support ticket lifecycle: create, view, update, close, reopen
  • Support ticket messages with types: user, staff, system, chatbot
  • Staff dashboard with real-time stats (open, in_progress, waiting_user, urgent, unassigned, my tickets)
  • Staff analytics: tickets created/resolved, avg response time, avg resolution time, resolution rate, trending issues by category
  • Ticket assignment and resolution by staff members with audit logging
  • Chatbot integration (OpenAI) on ticket creation with FAQ suggestions and LLM solution

File Attachments (S3)

  • POST /api/v1/support/uploads — authenticated file upload endpoint
  • Supabase S3-compatible storage via aws-sdk-s3
  • Validation: allowed MIME types (image/*, PDF, TXT, CSV), max 10MB per file
  • Pre-signed URL generation (1h expiry) on message serialization
  • Attachments stored as JSONB on support_ticket_messages

Internal Messenger

  • Real-time team chat via Action Cable (WebSockets)
  • JWT authentication over WebSocket query param
  • Organization-scoped message streams
  • REST endpoint for message history

Mailer

  • Contact form email delivery via SMTP
  • Conditional mailer (no-op when SMTP not configured)

Feedback

  • POST /api/v1/feedbacks — user feedback submission
  • POST /api/v1/feedbacks/:id/vote — upvote feedback items

AI Intelligence Module

  • Draft analysis and insights powered by OpenAI
  • Aggressive timeout (<10s) to prevent blocking requests

Changed

  • Support ticket category validation now includes getting_started
  • Support ticket status field uses waiting_user (renamed from waiting_client)
  • SupportTicketMessage#create_system_message falls back to ticket owner when no staff assigned
  • tickets_controller serializer now includes attachments with signed URLs on all messages
  • message_params strong params updated to accept structured attachment objects (%i[key filename content_type size])

Fixed

  • SupportTicket#ticket_number — removed unsafe navigation chain causing RuboCop SafeNavigationChainLength offense
  • StaffController#calculate_dashboard_stats — corrected waiting_client to waiting_user key
  • UploadsController — corrected unless modifier style per RuboCop Style/IfUnlessModifier
  • Mail logger warning in production (conditional SMTP setup)

Security

  • Upload endpoint requires authentication (authenticate_request! via BaseController)
  • File type whitelist enforced server-side (rejects application/octet-stream and other binary types)
  • S3 credentials stored exclusively in environment variables, never in source code

What's Changed

Full Changelog: 1.0.2...1.0.3

1.0.2

17 Oct 19:33

Choose a tag to compare

MVP INICIAL

  • SISTEMA MODULAR
  • CODEBASE PRONTA PARA TIMES TIER 3
  • TODAS AS FUNCIONALIDADES OK

DASHBOARD
ROSTER
ANALYTICS
SCOUTING
SCHEDULE
VOD REVIEW

ROADMAP

  • ADICIONAR SEPARAÇÃO PARA TIMES TIER 1 E 2
  • ANÁLISES DE JOGOS COMPETITIVOS
  • ADICIONAR MODULO DE COMPARAÇÃO DE TIMES
  • MELHORAR VOD REVIEW, PLAYER INTERNO E ETC
  • ADICIONAR CHAT DE TEXTO E VOZ PROPRIO

What's Changed

Full Changelog: 1.0.1...1.0.2

1.0.1

17 Oct 06:52
c3309d1

Choose a tag to compare

Criar release antes de modularizar a aplicação

Estado Atual:

app/
├── controllers/api/v1/ (18 controllers)
├── models/ (16 models)
├── services/ (2 services)
├── jobs/ (3 jobs)
├── serializers/ (11 serializers)
└── modules/ (70+ pastas vazias)

Estado Desejado:

app/
├── controllers/
│ └── application_controller.rb
├── models/
│ └── application_record.rb
└── modules/
├── authentication/
├── players/
├── matches/
├── analytics/
├── scouting/
├── schedules/
├── vod_reviews/
├── team_goals/
└── riot_integration/

Players → Gestão de jogadores
Matches → Partidas e estatísticas
Analytics → Métricas e análises
Scouting → Descoberta de talentos
VOD Reviews → Análise de vídeos
Schedules → Calendário
Team Goals → Objetivos

What's Changed

New Contributors

Full Changelog: 1.0.0...1.0.1

1.0.0

10 Oct 03:19

Choose a tag to compare

First stable release of the ProStaff.gg esports team management API

Core Modules

  • ✅ Authentication & Authorization (JWT)
  • ✅ Dashboard with statistics and metrics
  • ✅ Player management and statistics
  • ✅ Scouting system and talent discovery
  • ✅ Analytics and performance reporting
  • ✅ Match data integration
  • ✅ Schedule management
  • ✅ VOD reviews with timestamps
  • ✅ Team goals tracking

Integrations

  • ✅ Riot Games API integration
  • ✅ Real-time player data import
  • ✅ Match history synchronization

Infrastructure

  • Ruby 3.4.5 + Rails 7.2
  • PostgreSQL 14+ with optimized indexes
  • Redis caching (5min TTL)
  • Sidekiq background jobs
  • Docker support

Security & Testing

  • OWASP security compliance
  • Brakeman code analysis
  • k6 performance tests (p95 < 880ms)

Ready for production!

What's Changed

  • Add architecture diagram with auto-update CI/CD workflow for modular monolith by @Copilot in #1
  • chore(deps): bump rack from 3.2.1 to 3.2.2 by @dependabot[bot] in #2

New Contributors

  • @Copilot made their first contribution in #1
  • @dependabot[bot] made their first contribution in #2

Full Changelog: https://github.com/Bulletdev/prostaff-api/commits/1.0.0