Commit Graph

32 Commits

Author SHA1 Message Date
Cauê Faleiros
b9c23e32ec fix(deps): downgrade options-resolver to v6.4 for php 8.2 support
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m41s
2026-02-18 11:04:24 -03:00
Cauê Faleiros
0782f978c9 fix(ci): enable full git history fetch for sentry release tracking
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 26s
2026-02-18 10:49:42 -03:00
Cauê Faleiros
d0bad2fdb6 fix(deps): enforce php 8.2 compatibility for docker build
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 13s
2026-02-18 10:39:28 -03:00
Cauê Faleiros
79ee93d48c feat(monitoring): integrate sentry with tenant context and gitea actions
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 48s
2026-02-18 09:55:41 -03:00
Cauê Faleiros
4a59246398 Config: Add app.growuppro.com.br to central_domains
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m44s
Explicitly added 'app.growuppro.com.br' to the central_domains list in config/tenancy.php.
This ensures the production subdomain is recognized as the central application (Super Admin),
preventing 500 errors caused by the application attempting to resolve it as a tenant.
2026-02-06 15:49:29 -03:00
Cauê Faleiros
65e424904a Fix: Add core_config seeding to docker-entrypoint.sh
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m59s
Ensures that essential configuration (locale, timezone, etc.) is populated
in the database on container startup. This prevents the application from
crashing (showing 500 error page) when the core_config table is empty.
2026-02-06 15:39:32 -03:00
Cauê Faleiros
2e0ad12c2d Fix: Enable force seeding for tenants in production
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m18s
Uncommented the '--force' flag in config/tenancy.php seeder_parameters.
Without this, tenant databases are created but not seeded (no admin user)
in the production environment, preventing login.
2026-02-05 14:27:52 -03:00
Cauê Faleiros
151083ed22 Fix: Force add super-admin views to git
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m52s
The resources/views directory is ignored by .gitignore, so the custom super-admin
views were not being tracked or deployed, causing 'View [super-admin.session.login] not found'
errors in production. This commit forces them to be tracked.
2026-02-05 10:54:43 -03:00
Cauê Faleiros
16a39a2583 Fix: Add favicon.ico to Admin Vite config input
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m58s
The Super Admin layout references 'images/favicon.ico' via vite()->asset().
This file must be explicitly listed in the input array to be included in the
manifest, preventing a 500 error on the Super Admin login page.
2026-02-05 10:25:56 -03:00
Cauê Faleiros
0dba16d56c Fix: Correct asset path in published login view and force track it
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m10s
The published login view (resources/views/vendor/admin/sessions/login.blade.php)
was referencing 'resources/images/logo.svg', which caused a mismatch with the
Vite manifest (which has 'images/logo.svg').
Also force-added the file to git because 'resources/views/.gitignore' ignores everything.
2026-02-05 09:46:27 -03:00
Cauê Faleiros
3d568243ea Fix: Add logo images to Admin Vite config input
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m10s
The login page references 'images/logo.svg' via vite()->asset(), which requires
the file to be present in the build manifest. Adding it to the input array
ensures it is processed and listed in manifest.json.
2026-02-04 16:33:34 -03:00
Cauê Faleiros
ce6b7a529b Refactor: Rename volumes from krayin_* to growup_* in docker-compose
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m5s
2026-02-04 14:31:41 -03:00
Cauê Faleiros
ed0ddabc63 Config: Update docker-compose with dynamic variables and branding
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m37s
- Replaced hardcoded environment variables with dynamic references (e.g., ${APP_URL}) to allow Portainer configuration.
- Changed default database and username from 'krayin' to 'growup' for white-labeling.
2026-02-04 14:14:57 -03:00
Cauê Faleiros
9deea35c70 Fix: Rename vite.config.js to .mjs in all packages
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m20s
This ensures that Vite treats the configuration files as ESM, allowing them to
natively import 'laravel-vite-plugin' (which is ESM-only). This resolves the
build error where esbuild was converting imports to require() calls in CJS packages,
causing the build to fail.
2026-02-04 12:06:21 -03:00
Cauê Faleiros
2d12674d63 Fix: Resolve 500 error by building package assets in Docker
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m4s
- Added missing dependencies to root package.json for sub-package builds.
- Renamed Admin/tailwind.config.js to .cjs to fix ESM/CJS build conflict.
- Updated Dockerfile to run Vite build for Admin, Installer, and WebForm packages.
2026-02-04 12:01:07 -03:00
Cauê Faleiros
564da06e67 Fix: Copy admin images and update Vite config/view to resolve 500 error
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 25s
2026-02-04 10:13:31 -03:00
Cauê Faleiros
9fccf43003 Fix: Add Node.js build step to Dockerfile for Vite assets
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m1s
2026-02-04 09:40:43 -03:00
Cauê Faleiros
a5a048d581 Fix: Add core_config table for central admin login view
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m12s
2026-02-04 09:12:44 -03:00
Cauê Faleiros
afdda2dab0 Fix: Add central users table and correct login redirection
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m38s
- Copy users and roles migrations to central database context
- Redirect central domain root to /admin/login
- Fix SuperAdminSeeder to include required role_id
2026-02-03 16:39:35 -03:00
Cauê Faleiros
2fcc84c3c7 config: Add staging domain to central_domains and support env var
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m40s
2026-02-03 16:16:39 -03:00
Cauê Faleiros
9c45249cbd fix: Merge duplicate deploy keys in docker-compose and update registry URL
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
2026-02-03 16:05:38 -03:00
Cauê Faleiros
37be5e88c3 fix: Use manual secrets for registry auth to ensure write permissions
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 8m46s
2026-02-03 15:49:08 -03:00
Cauê Faleiros
0f143d0109 fix: Explicitly define container image to ensure Docker CLI availability
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m0s
2026-02-03 15:40:43 -03:00
Cauê Faleiros
3c258609d6 chore: Add debug step to investigate docker binary missing error
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 11s
2026-02-03 15:28:07 -03:00
Cauê Faleiros
c3eacf9c5f fix: csfr error on login
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m8s
2026-02-03 15:14:16 -03:00
Cauê Faleiros
747e15eedd fix: Update Gitea Registry domain to gitea.blyzer.com.br
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 3m43s
2026-02-03 12:03:17 -03:00
Cauê Faleiros
49f88ac50a add: Gitea Actions workflow for Docker Build and Deploy
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-02-03 11:50:20 -03:00
Cauê Faleiros
c93a0af3d7 update: super-admin page 2026-02-03 11:32:40 -03:00
Cauê Faleiros
e9333c8341 Add edit tenant functionality and UI improvements 2026-02-03 10:07:51 -03:00
Cauê Faleiros
1741f5cd35 Fix undefined slot variable in super-admin master layout 2026-02-03 09:44:44 -03:00
Cauê Faleiros
908bb05362 add: full multi-tenancy control 2026-02-02 15:34:08 -03:00
Cauê Faleiros
c6ec92802b add: full multi-tenancy control 2026-02-02 15:31:15 -03:00