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
Tiago Yamamoto
c26ad578b9
feat: migrate credentials management to backoffice nestjs
2025-12-31 16:25:32 -03:00
Tiago Yamamoto
2e7da0b28e
feat: add backoffice credentials page and backend support
2025-12-31 16:13:27 -03:00
Tiago Yamamoto
e637117f40
feat(security): migrate auth to httpOnly cookies - Frontend: remove localStorage tokens, use sessionStorage for user data, add credentials include - Backend: add logout endpoint to clear cookie
2025-12-31 15:16:45 -03:00
Tiago Yamamoto
54a77382b7
chore: remove legacy language store (cleanup i18n)
2025-12-31 14:07:51 -03:00
Tiago Yamamoto
c1ab5004bf
chore: trigger frontend deploy
2025-12-31 13:39:35 -03:00
Tiago Yamamoto
549ddd0a4e
chore: trigger i18n frontend deploy
2025-12-31 13:31:58 -03:00
Tiago Yamamoto
33e7bbb334
feat(i18n): internationalize sidebar and dashboards
2025-12-31 13:20:04 -03:00
Tiago Yamamoto
3e81ae40e7
fix(frontend): add version marker (v2) to debug deployment
2025-12-31 12:08:32 -03:00
Tiago Yamamoto
3cb1db81c0
feat(frontend): i18n for admin users page
2025-12-31 11:47:15 -03:00
Tiago Yamamoto
e845ba63c8
fix(frontend): language switcher focus styles and debug logs
2025-12-31 10:35:51 -03:00
Tiago Yamamoto
798031420e
fix(frontend): language switcher cursor and persistence logic
2025-12-31 10:27:33 -03:00
Tiago Yamamoto
8dbcd01336
fix(frontend): use correct language switcher in dashboard header
2025-12-31 10:16:03 -03:00
Tiago Yamamoto
5f5afbaf43
fix(frontend): robust runtime config loading in api layer
2025-12-31 10:06:11 -03:00
Tiago Yamamoto
1eb3da814d
fix(frontend): block access until runtime config is loaded
2025-12-31 09:56:01 -03:00
Tiago Yamamoto
e1bbd94224
fix(frontend): usage of runtime config in HomePage
2025-12-31 09:42:07 -03:00
Tiago Yamamoto
4577310c75
feat(frontend): use runtime env vars for config endpoint
...
Changed /api/config to read API_URL (without NEXT_PUBLIC_ prefix)
which allows runtime configuration without rebuilding the image.
Priority order:
1. API_URL (runtime env var)
2. NEXT_PUBLIC_API_URL (build-time fallback)
3. Default localhost values
2025-12-31 09:39:02 -03:00
Tiago Yamamoto
0da936550b
feat(frontend): add runtime config for environment variables
...
- Add /api/config endpoint for runtime env var fetching
- Add config.ts service with sync getters (getApiUrl, getBackofficeUrl, etc.)
- Add ConfigContext for React components
- Update api.ts, auth.ts, storage.ts to use runtime config
- Update layout.tsx to wrap app with ConfigProvider
- Fix Dockerfile default port from 8080 to 8521
This allows the frontend to read environment variables at runtime
instead of baking them in during build time.
2025-12-31 08:48:32 -03:00
Tiago Yamamoto
2e8a12682c
docs: update backend documentation with current date
2025-12-29 10:41:03 -03:00
Tiago Yamamoto
a62464457d
fix: ignore prune errors when images are in use
2025-12-29 10:38:53 -03:00
Tiago Yamamoto
8ba5e9e8e0
chore: simplify deploy workflow to pull-only with podman
2025-12-29 10:23:32 -03:00
Tiago Yamamoto
1058b7005f
chore: update deploy workflow and frontend Dockerfile
2025-12-28 23:28:44 -03:00
bohessefmvb
808ef3524f
Update .drone.yml
...
Ajuste
2025-12-28 21:55:19 -03:00
Tiago Yamamoto
59b1b5ea6a
fix: add --no-cache and correct API URLs to frontend build
2025-12-28 16:07:51 -03:00
Tiago Yamamoto
a65259688f
fix(docker): Increase NODE_OPTIONS memory for build
...
The docker build was failing due to a JavaScript heap out of memory error.
This commit increases the --max-old-space-size in NODE_OPTIONS from 384MB to 2048MB
in the builder stage of the Dockerfile to provide more memory for the build process,
resolving the memory allocation failure during
> backoffice@0.0.1 build /home/yamamoto/lab/gohorsejobs/backoffice
> nest build.
2025-12-28 13:48:22 -03:00
Tiago Yamamoto
d894012af6
perf(docker): ultra-optimize backend build
...
- Use scratch base image (< 20MB final vs ~50MB alpine)
- Add BuildKit cache for go modules and build cache
- Selective COPY (cmd, internal, migrations, docs) instead of COPY . .
- Remove HEALTHCHECK (not supported by Podman OCI)
- Update .gitignore with more binary patterns
- Optimize .dockerignore to exclude tests and binaries
2025-12-28 12:05:12 -03:00