Commit graph

531 commits

Author SHA1 Message Date
Tiago Yamamoto
b1107864b5 Add payment gateway configs and lock credentials 2026-01-03 20:28:21 -03:00
Tiago Yamamoto
fa17b16b8b
Merge pull request #36 from rede5/codex/fix-data-editing-and-image-upload
Profile: persist phone/bio, support avatar public URLs, add password update and settings improvements
2026-01-03 20:21:51 -03:00
Tiago Yamamoto
aeb57f325a Fix profile updates, avatar upload, and settings 2026-01-03 20:21:29 -03:00
Yamamoto
a66c99cbfb feat: add deploy-frontend workflow for stable deployments 2026-01-03 20:07:34 -03:00
Tiago Yamamoto
1e1558aa3c
Merge pull request #35 from rede5/codex/ajustar-idioma-nos-formularios-e-dashboard
Sync post-job language with global locale and localize candidates dashboard
2026-01-03 19:57:26 -03:00
Tiago Yamamoto
ce26de6225 Fix locale sync for post job and candidates 2026-01-03 19:57:09 -03:00
Tiago Yamamoto
10d75e87ae
Merge pull request #34 from rede5/codex/fix-ticket-not-found-error
Allow admins to view and post on any support ticket
2026-01-03 19:41:57 -03:00
Tiago Yamamoto
1ad571e1c1 Allow admins to access ticket details 2026-01-03 19:41:44 -03:00
Tiago Yamamoto
3e530516e1
Merge pull request #33 from rede5/codex/remove-userid-from-table
Remove User ID column from admin tickets table
2026-01-03 19:37:39 -03:00
Tiago Yamamoto
f6c10e5332 Remove user ID from admin tickets table 2026-01-03 19:37:23 -03:00
Tiago Yamamoto
dd6d3f0b2a
Merge pull request #32 from rede5/codex/add-language-specific-button-placement
Localize home 'Post a job' button and add translations
2026-01-03 18:43:17 -03:00
Tiago Yamamoto
762df003fd Localize home post job button 2026-01-03 18:42:09 -03:00
Yamamoto
08efbe4f2b feat(frontend): improve login error handling and user avatar
- Implemented more specific error messages for the login page, distinguishing between invalid credentials and server errors.
- Updated i18n files with new translations for login error messages.
- Improved the avatar fallback to use the user's email initials if their name is not available.
- Removed frontend-source.tar.gz from tracking.
- Chore: Added debug logs to the seeder-api location loader.
2026-01-03 18:28:12 -03:00
Yamamoto
e59e15dd35 fix(seeder): use fully qualified table names for location seeding
docs: update DATABASE.md and DEVOPS.md for local environment setup
2026-01-03 16:55:45 -03:00
Yamamoto
c9fbcc22bb fix(i18n): add missing settings and seeder translations to all locales 2026-01-03 15:22:46 -03:00
Yamamoto
d5f6cdacff fix(seeder): import pool directly in tags.js instead of expecting as parameter 2026-01-03 14:53:45 -03:00
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
928997c9ce feat: enhance seeder ui, add logging stream and fix translations 2026-01-03 11:46:35 -03:00
Yamamoto
c8d4ff2726 fix: resolve migration 032 column size, update credentials, silence auth logs 2026-01-03 11:04:56 -03:00
Yamamoto
fbb218034e ci: remove build.yaml - builds are done locally, not on server 2026-01-03 10:23:41 -03:00
Yamamoto
655f779b11 feat(dashboard): add seeder page for database seed/reset
- Add /dashboard/seeder page with Seed and Reset buttons
- Add Seeder item to sidebar (superadmin only)
- Use seeder API endpoints POST /seed and POST /reset
- Add confirmation dialogs for destructive actions
2026-01-03 10:16:34 -03:00
Yamamoto
0238195723 fix(auth): suppress SSR warning during build + add deploy docs to FRONTEND.md
- Move 'No user found in storage' log inside window check to avoid SSR logs
- Add CI/CD deploy section with Forgejo pipeline instructions
- Update documentation date
2026-01-03 09:46:38 -03:00
Yamamoto
31fadc1b11 feat(auth): migrate sessionStorage to localStorage and add refreshSession()
- Replace sessionStorage with localStorage for user data persistence
- Add refreshSession() function to restore session from HTTPOnly cookie via /users/me
- Update tests to use localStorage mocks
- Add 3 new tests for refreshSession() functionality
- Update superadmin credentials in README.md and DEVOPS.md
2026-01-03 09:33:55 -03:00
Yamamoto
1f9aacf81b fix(seeder): update root response with actual endpoints (no /docs) 2026-01-02 20:23:34 -03:00
Yamamoto
ea79835415 feat(seeder): add standardized root response with IP, docs, health 2026-01-02 20:09:51 -03:00
Yamamoto
538c233354 fix(seeder): add missing fileURLToPath import 2026-01-02 20:01:10 -03:00
Yamamoto
fee83f52f6 feat(backoffice): standardize root response root json format 2026-01-02 19:50:47 -03:00
Yamamoto
caede0cfc7 ci: add build workflow for automatic image building 2026-01-02 19:26:45 -03:00
Yamamoto
340aa9665e docs: update FRONTEND.md with podman instructions 2026-01-02 19:11:02 -03:00
Yamamoto
672d2364cb docs: update BACKOFFICE.md with detailed API routes and Podman instructions 2026-01-02 19:06:38 -03:00
Yamamoto
6700d367f0 docs: update BACKEND.md with comprehensive API routes and removal of docker-compose 2026-01-02 18:58:08 -03:00
Yamamoto
60f46526e3 refactor: rename harbor secrets to forgejo secrets for consistency 2026-01-02 17:09:01 -03:00
Yamamoto
5ebf73ad73 fix: update pipeline to use public forgejo registry and direct image references 2026-01-02 17:00:47 -03:00
Yamamoto
3cd52accfb feat: infrastructure updates, storage verification, and superadmin reset
1. Auth: Implemented forced password reset for SuperAdmin and updated login logic.

2. Infra: Switched backend to internal Postgres and updated .drone.yml.

3. Storage: Added Test Connection endpoint and UI in Backoffice.

4. CI/CD: Updated Forgejo deploy pipeline to include Seeder and use Internal Registry.
2026-01-02 16:36:31 -03:00
Tiago Yamamoto
b5e9ef60ef
Merge pull request #31 from rede5/codex/convert-api-seeder-to-golang-and-create-dockerfile
Convert seeder API to Go with Node seeder support
2026-01-02 10:29:14 -03:00
Tiago Yamamoto
7c78632765 Convert seeder API to Go server 2026-01-02 10:29:00 -03:00
Tiago Yamamoto
c0e73cd1e2
Merge pull request #30 from rede5/codex/move-todos-to-a-folder
Move docs .txt reports into docs/txt
2026-01-02 09:26:11 -03:00
Tiago Yamamoto
ef713dab84 Move docs txt reports into folder 2026-01-02 09:24:21 -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
76e9845261 chore: cleanup and unify start.sh
- Remove docker-compose.yml (using podman/quadlet now)
- Remove my-auth.json (temporary auth file)
- Remove verify_frontend.sh (functionality in start.sh)
- Add Docker build option (a) to start.sh menu
- Add Forgejo registry push option (b) to start.sh menu
2026-01-02 08:53:47 -03:00
Tiago Yamamoto
6cd8c02252 feat: add test coverage and handler improvements
- Add new test files for handlers (storage, payment, settings)
- Add new test files for services (chat, email, storage, settings, admin)
- Add integration tests for services
- Update handler implementations with bug fixes
- Add coverage reports and test documentation
2026-01-02 08:50:29 -03:00
Tiago Yamamoto
1e830c513d docs: add full coverage and system report 2026-01-01 14:49:22 -03:00
Tiago Yamamoto
0b4a31faae chore: add comprehensive test report 2026-01-01 14:39:41 -03:00
Tiago Yamamoto
93ca6d64ef feat(tests): fix candidate dashboard and apply form tests 2026-01-01 11:56:00 -03:00
Tiago Yamamoto
812affb803 feat(tests): implement unit tests for job post and application forms and fix dashboard tests 2026-01-01 11:15:32 -03:00
Tiago Yamamoto
d79fa8e97a feat: increase test coverage backend/frontend and setup e2e 2026-01-01 10:54:58 -03:00
Tiago Yamamoto
18727f8c99 fix(frontend): remove duplicate credential handler functions in settings page 2025-12-31 17:21:54 -03:00
Tiago Yamamoto
895974878d refactor: move credentials to settings page and update sidebar 2025-12-31 16:44:29 -03:00
Tiago Yamamoto
1249c9a499 docs: add RSA_PRIVATE_KEY_BASE64 to backoffice .env.example 2025-12-31 16:34:59 -03:00