Commit graph

17 commits

Author SHA1 Message Date
Yamamoto
5155fa853d fix: Auth URL race, Seeder Reset 500, and UI confirmation modal
- auth.ts: await initConfig() before refreshSession to fix localhost fallback
- server.js: optional chaining req.body?.password for reset endpoint
- seeder/page.tsx: replace confirm() with elegant AlertDialog for reset
2026-01-03 14:21:29 -03:00
Yamamoto
621e4594c6 fix: resolve seeder connection, backoffice scroll and auth session refresh 2026-01-03 12:11:38 -03:00
Yamamoto
538c233354 fix(seeder): add missing fileURLToPath import 2026-01-02 20:01:10 -03:00
Tiago Yamamoto
2ed84f6d56 refactor(seeder): convert to API service and fix SSL connection
- Refactored seeder to Express API with /seed and /reset endpoints
- Updated Dockerfile to run server.js
- Fixed DB connection for managed postgres (stripped sslmode)
- Fixed tags seeder export syntax
- Preserved CLI functionality
2026-01-02 09:19:01 -03:00
Tiago Yamamoto
2b9b57e059 chore: update seeders with tickets and company profile data 2025-12-26 16:50:30 -03:00
Tiago Yamamoto
3d7612901d feat(seeder): add job tags seeder
- Created seeders/tags.js with area, level, and stack categories
- Area: Engineering, Design, Product, Marketing, Sales, etc.
- Level: Intern, Junior, Mid, Senior, Lead, Staff, Manager, etc.
- Stack: JavaScript, Python, Go, React, Node.js, AWS, Docker, etc.
- 79+ tags in total
2025-12-26 01:04:29 -03:00
Tiago Yamamoto
3ab04c5fd7 feat(seeder): interleave users and companies before heavy city seeding 2025-12-24 18:25:50 -03:00
Tiago Yamamoto
4b3eb2feee feat(seeder): add detailed execution timers (stopwatch) for location data 2025-12-24 18:22:40 -03:00
Tiago Yamamoto
d3c06f5564 feat: expand testing, add fast seeder options, hardcode superadmin
- start.sh: Add options 8 (Seed LITE - skip cities) and 9 (Run All Tests)
- seeder: Add seed:lite, seed:fast scripts and --skip-locations flag
- seeder: Remove superadmin creation (now via backend migration)
- backend: Update 010_seed_super_admin.sql with hardcoded hash (Admin@2025! + pepper)
- backend: Expand jwt_service_test.go with 5 new tests (+10% coverage)
- frontend: Fix api.test.ts URL duplication bug, add error handling tests
- seeder: Add SQL data files to .gitignore
2025-12-24 17:07:45 -03:00
Tiago Yamamoto
1018da8036 feat(location): add comprehensive geographic hierarchy (continents, countries, states, cities)
- Add migration 021_location_hierarchy.sql with new table structure
- Add location-loader.js seeder to import SQL dumps
- Update all seeder files to use country_id instead of region_id
- Rename companies.region_id to country_id
2025-12-24 15:04:21 -03:00
Tiago Yamamoto
c1078563df refactor(roles): rename companyAdmin->admin and jobSeeker->candidate 2025-12-24 13:30:50 -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
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
Tiago Yamamoto
93b413d256 docs(seeder): 📊 updated summary because numbers matter 2025-12-15 08:56:25 -03:00
Tiago Yamamoto
1c7ef95c1a first commit 2025-12-09 19:04:48 -03:00