Andras Bacsai
582bdc3739
test: Add comprehensive preview deployment port and path tests
...
Add missing edge case test for root path (/) and expand test coverage
for preview FQDN generation. Tests verify that ports and paths are
correctly preserved in preview URLs while excluding root paths.
Fixes #2184
2025-12-17 21:35:54 +01:00
Andras Bacsai
7c1f230bd3
fix: remove {{port}} template variable and ensure ports are always appended to preview URLs
...
The {{port}} template variable was undocumented and caused a double port bug
when used in preview URL templates. Since ports are always appended to the final
URL anyway, we remove {{port}} substitution entirely and ensure consistent port
handling across ApplicationPreview, PreviewsCompose, and the applicationParser helper.
Also fix PreviewsCompose.php which wasn't preserving ports at all, and improve
the Blade template formatting in previews-compose.blade.php.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 21:53:47 +01:00
Andras Bacsai
7fe6a4198d
fix(previews): simplify FQDN generation logic by removing unnecessary empty check
2025-08-28 10:11:56 +02:00
Andras Bacsai
73cdbd501c
fix(ApplicationPreview): change null check to empty check for fqdn in generate_preview_fqdn method
2025-08-17 15:34:36 +02:00
Andras Bacsai
13f10028db
feat(previews): implement soft delete and cleanup for ApplicationPreview, enhancing resource management in DeleteResourceJob
2025-07-14 21:17:40 +02:00
Andras Bacsai
5bdf2e8481
refactor(previews): move preview domain generation logic to ApplicationPreview model for better encapsulation and consistency across webhook handlers
2025-07-14 19:12:57 +02:00
Andras Bacsai
a9e542bc4b
fix(previews): enhance domain generation logic for application previews, ensuring unique domains are created when none are set
2025-07-14 15:42:01 +02:00
Andras Bacsai
95da765a9e
fix(deployment): improve docker-compose domain handling and environment variable generation
2025-07-07 16:07:08 +02:00
Andras Bacsai
ca7c214775
fix: new way to update container statuses
2024-11-03 09:02:14 +01:00
Andras Bacsai
cfc6518157
refactor: Update parse method in Advanced, All, ApplicationPreview, General, and ApplicationDeploymentJob classes
2024-08-29 12:39:37 +02:00
Andras Bacsai
5525c02c7f
fix: delete preview deployments + cleanup stucked
...
fix: parser
2024-08-28 22:05:49 +02:00
Andras Bacsai
fe89269b4b
rename parser functions
2024-08-23 20:57:22 +02:00
Andras Bacsai
e6e48c5812
fix: only append docker network if service/app is running
2024-08-01 13:47:58 +02:00
andrasbacsai
96c4f5b8da
Fix styling
2024-07-25 11:31:59 +00:00
Andras Bacsai
6a4aa492c0
fix: random generated uuid will be full length (not 7 characters)
2024-07-25 13:31:01 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
7fd0deedb1
feat: able to add several domains to compose based previews
2024-06-05 15:14:44 +02:00
Andras Bacsai
c1710c8f7b
moar fixes
2023-11-27 15:25:15 +01:00
Andras Bacsai
3fa53556f4
better emails
2023-09-01 15:52:18 +02:00
Andras Bacsai
f2228cec7b
testing php storm code cleanup and styling
2023-08-08 11:51:36 +02:00
Andras Bacsai
8dbe3cfe0c
preview comments
2023-06-13 15:01:11 +02:00
Andras Bacsai
232d2ccf79
mostly css
2023-05-31 10:19:29 +02:00
Andras Bacsai
0f50d1accd
updates
2023-05-30 15:52:17 +02:00