Commit graph

253 commits

Author SHA1 Message Date
Tiago Yamamoto
24ee8d568f fix(i18n): Correct nesting of company object in es.json 2025-12-23 15:40:37 -03:00
Tiago Yamamoto
177aea113c fix(i18n): Add missing company registration keys to es.json 2025-12-23 15:35:08 -03:00
Tiago Yamamoto
2c27836245 feat: Add i18n support to company registration page 2025-12-23 15:29:47 -03:00
Tiago Yamamoto
f81a97a224 Fix 500 error: handle NULL company name in GetJobs 2025-12-23 15:17:36 -03:00
Tiago Yamamoto
0e265e64b8 Refactor backend to use string IDs for Job, Company, and Application 2025-12-23 14:46:17 -03:00
Tiago Yamamoto
5e714eeb4f
Merge pull request #29 from rede5/codex/fix-type-mismatch-in-query
Fix jobs query joins and scan order
2025-12-23 14:18:37 -03:00
Tiago Yamamoto
d36331140e Fix jobs query joins and scan order 2025-12-23 14:18:16 -03:00
Tiago Yamamoto
c0258e57b7 fix: correct getSalaryDisplay to use job.salaryMin/Max
The previous sed replacement incorrectly created salaryDisplayMin/Max.
Fixed to properly reference job.salaryMin and job.salaryMax.
2025-12-23 08:38:02 -03:00
Tiago Yamamoto
96c5b60e98 fix: update jobs page to use ApiJob properties
- Replace job.company with job.companyName
- Replace job.type with job.employmentType
- Replace job.postedAt with job.createdAt
- Add getSalaryDisplay helper for salaryMin/salaryMax
- Fixed type compatibility with ApiJob interface
2025-12-23 08:34:49 -03:00
Tiago Yamamoto
592af3216e feat: connect Apply Now to applications API
Frontend changes:
- Add applicationsApi with create() and getByJob() in api.ts
- Update apply/page.tsx to fetch job from API and submit to backend
- Fix job detail page requirements null check
- Use ApiJob type instead of mock Job type
- Replace job.company with job.companyName throughout

Note: Backend has type mismatch issues that need fixing:
- jobs endpoint: varchar vs integer comparison
- applications: null id constraint
2025-12-23 08:29:15 -03:00
Tiago Yamamoto
ce0531fefc feat: connect registration and jobs to real API
Backend fixes:
- Fix FK violation in candidate registration by creating company first
- Add CompanyRepository to RegisterCandidateUseCase
- Add handler integration tests for validation

Frontend improvements:
- Add registerCompany function in auth.ts
- Connect company registration form to backend API
- Replace mockJobs with API call in job detail page
- Add loading/error states to job detail page
- Add Jest tests for auth module
2025-12-23 08:19:49 -03:00
Tiago Yamamoto
b09bd023ed feat: security refactor, server-side pagination, and docs update
- impl(frontend): server-side pagination for jobs listing
- impl(frontend): standardized api error handling and sonner integration
- test(frontend): added unit tests for JobCard
- impl(backend): added SanitizeMiddleware for XSS protection
- test(backend): added table-driven tests for JobService
- docs: updated READMES, created ROADMAP.md and DATABASE.md
- fix(routing): redirected landing page buttons to /jobs
2025-12-23 00:50:51 -03:00
Tiago Yamamoto
743b2842c0 feat: Enhance platform with funny jobs, FAQ, Skeleton UI, and Tests 2025-12-22 23:48:56 -03:00
Tiago Yamamoto
407979c6dc fix(seeder): fix FK constraints for core_companies and core_users
- jobs.company_id now references core_companies.id (UUID)
- jobs.created_by now references core_users.id (UUID)
- Fixed parameter count in all INSERT statements
- All 13 fictional companies now seed correctly
2025-12-22 23:07:40 -03:00
bohessefmvb
2293fdc9d1
Update .drone.yml 2025-12-22 23:01:31 -03:00
Tiago Yamamoto
81a6515996 feat(seeder): add 9 epic fictional companies with 54 jobs
🛒 Buy n Large (Wall-E) - 3 jobs
🤖 Cyberdyne Systems (Terminator) - 3 jobs
🍫 Wonka Industries (Chocolate Factory) - 3 jobs
🦇 Wayne Enterprises (Batman) - 3 jobs
✈️ Oceanic Airlines (Lost) - 3 jobs
🦖 InGen Jurassic Park - 3 jobs
🦐 Bubba Gump Shrimp Co. (Forrest Gump) - 3 jobs
☣️ Umbrella Corporation (Resident Evil) - 3 jobs
🏪 Sprawl-Mart (Dystopian Parody) - 30 hilarious jobs

Total: 43 companies, 1129+ jobs
The ultimate job board parody collection!
2025-12-22 22:44:21 -03:00
Tiago Yamamoto
92c61d450f feat(seeder): add Stark Industries, Los Pollos Hermanos & Springfield Nuclear
🦸 Stark Industries (Marvel) - 8 vagas
   - Arquiteto de Cloud para J.A.R.V.I.S.
   - DevOps Engineer do Arc Reactor
   - ML Engineer para Iron Man Suits
   - Security Engineer Anti-Hydra

🐔 Los Pollos Hermanos (Breaking Bad) - 4 vagas
   - Engenheiro de Redes Air-Gapped
   - Dev Fullstack de Logística Fantasma
   - Pentester (Gus Fring approved)

☢️ Springfield Nuclear Power Plant (Simpsons) - 4 vagas
   - Admin COBOL/Mainframe (since 1970)
   - Dev PHP 4/jQuery (budget: $0)
   - Safety Officer: Homer J. Simpson

Total: 34 empresas, 1075+ vagas
2025-12-22 22:37:47 -03:00
Tiago Yamamoto
e6bc791ee8 feat(seeder): add ACME Corporation with 69 hilarious tech jobs
🏭 ACME Corp - Fornecedora Oficial do Coiote desde 1949

- Added acme.js seeder with 69 creative job postings
- Jobs include: Dev de TNT Inteligente, ML Engineer de Detecção de Papa-Léguas, Chief Explosion Officer, etc.
- Added Wile E. Coyote user (wile_e_coyote / MeepMeep@123)
- Updated README with ACME documentation
- Integrated ACME seeder into main flow

'Se não explodir, não é ACME!' ™
2025-12-22 22:32:17 -03:00
Marcus Bohessef
018ded2659 Merge branch 'dev' of github.com:rede5/gohorsejobs into dev 2025-12-22 22:29:20 -03:00
Marcus Bohessef
9ae211ee8c novo 2025-12-22 22:29:03 -03:00
Tiago Yamamoto
0117791929 docs: atualização de documentação e verificação de testes 2025-12-22 22:17:18 -03:00
Marcus Bohessef
a648c48d1a novo 2025-12-22 21:58:11 -03:00
Marcus Bohessef
ce1590917e novo 2025-12-22 21:44:49 -03:00
Marcus Bohessef
31b6c2896a novo 2025-12-22 21:29:01 -03:00
Marcus Bohessef
939df51412 Merge branch 'dev' of github.com:rede5/gohorsejobs into dev 2025-12-22 21:12:29 -03:00
Marcus Bohessef
803c5a3e0a ajustes no drone 2025-12-22 21:10:41 -03:00
Tiago Yamamoto
ca599e7605
Merge pull request #28 from rede5/codex/fix-undefined-dto.paginatedresponse-errors
Return API PaginatedResponse from ListUsers use case
2025-12-22 20:44:36 -03:00
Tiago Yamamoto
1de5d31815 Fix user list pagination response type 2025-12-22 20:44:13 -03:00
Marcus Bohessef
10d300bd1e ajustes no drone 2025-12-22 20:33:36 -03:00
Marcus Bohessef
59a7f646ac ajuste no drone 2025-12-22 20:21:50 -03:00
Tiago Yamamoto
4b51feeacd
Merge pull request #27 from rede5/codex/fix-loading-issue-with-users-j268w2
Add timeout handling for API requests
2025-12-22 19:52:33 -03:00
Tiago Yamamoto
aab5822f48 Add timeout to API requests 2025-12-22 19:51:54 -03:00
Tiago Yamamoto
3f87b61838
Merge pull request #26 from rede5/codex/add-dynamic-user-registration-data
Add dynamic candidate management API, seed legacy candidates and wire frontend
2025-12-22 19:32:23 -03:00
Tiago Yamamoto
e71fc361ac Add dynamic candidate management data 2025-12-22 19:18:15 -03:00
Tiago Yamamoto
6996e11f03
Merge pull request #25 from rede5/codex/fix-data-non-dynamic-issue
Load admin jobs from API in jobs dashboard
2025-12-22 19:03:47 -03:00
Tiago Yamamoto
b6ad6e77e2 Fetch admin jobs for dashboard list 2025-12-22 19:02:05 -03:00
Tiago Yamamoto
c22d40e3a1
Merge pull request #24 from rede5/codex/fix-console-errors-and-update-crud-operations
Add CRUD logging, stabilize dashboard dates, and guard Vercel Analytics
2025-12-22 18:56:01 -03:00
Tiago Yamamoto
5e99115df6 Add CRUD logging and stabilize dashboard dates 2025-12-22 18:55:43 -03:00
Tiago Yamamoto
fffe732776
Merge pull request #23 from rede5/codex/fix-eslint-configuration-error
Fix users refresh click handler
2025-12-22 18:30:10 -03:00
Tiago Yamamoto
c14dd3a890 Fix users refresh click handler 2025-12-22 18:29:49 -03:00
Tiago Yamamoto
81c170ed53
Merge pull request #22 from rede5/codex/fix-eslint-configuration-and-type-error
Fix candidate dashboard role check
2025-12-22 17:24:59 -03:00
Tiago Yamamoto
db8cadda98 Fix candidate dashboard role check 2025-12-22 17:24:34 -03:00
Tiago Yamamoto
78737b6a6f
Merge pull request #21 from rede5/codex/add-modal-for-job-creation
Add admin Add‑Job modal and company select
2025-12-22 17:17:30 -03:00
Tiago Yamamoto
30b634b770 Add admin job modal and company select 2025-12-22 17:17:13 -03:00
Tiago Yamamoto
470139da12
Merge pull request #20 from rede5/codex/implementar-paginacao-de-usuarios
Add paginated users listing (backend + frontend, 10 per page)
2025-12-22 16:44:48 -03:00
Tiago Yamamoto
9c17a7a15a Add paginated users listing 2025-12-22 16:43:54 -03:00
Tiago Yamamoto
749a83efa4
Merge pull request #19 from rede5/codex/add-backoffice-features-for-gohorse-jobs
Add admin backoffice: routes, audit logging, job workflow and dashboard UI
2025-12-22 16:37:31 -03:00
Tiago Yamamoto
58cfd76675 Add admin backoffice routes and dashboard 2025-12-22 16:37:05 -03:00
Tiago Yamamoto
96715d2722
Merge pull request #18 from rede5/codex/verificar-mudanca-de-idioma-na-pagina
Fix About page translations
2025-12-22 16:36:17 -03:00
Tiago Yamamoto
89462f5aa1 Fix About page localization 2025-12-22 16:36:00 -03:00