[PR #142] [MERGED] Merge develop into main for v0.5.1-rc.1 #162

Closed
opened 2026-02-26 21:34:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eduardolat/pgbackweb/pull/142
Author: @eduardolat
Created: 10/6/2025
Status: Merged
Merged: 10/6/2025
Merged by: @eduardolat

Base: mainHead: develop


📝 Commits (10+)

  • 6ad60b5 Update FetchGoat name in support-project-v1.json
  • ada595e 💖 Update FetchGoat sponsorship details in support-project-v1.json
  • db60518 Add Hetzner logo to assets
  • c32c485 Add Hetzner referral link
  • 8054b12 Update Hetzner logo in support-project-v1.json and add new horizontal logo asset
  • 06aead0 Merge branch 'main' into develop
  • 2e0447d Adds support for path prefix configuration
  • e91d202 Refactors pathutil test suite for better isolation
  • 6965e14 Supports subdirectory deployment with configurable path prefix
  • 7658e21 Refactors URL paths using pathutil.BuildPath function

📊 Changes

71 files changed (+866 additions, -209 deletions)

View changed files

📝 .env.example (+4 -0)
.github/workflows/docs-deploy.yaml (+28 -0)
📝 .prettierignore (+1 -0)
📝 README.md (+36 -55)
assets/logos/hetzner-horizontal.png (+0 -0)
assets/logos/hetzner.png (+0 -0)
📝 assets/support-project-v1.json (+11 -5)
📝 cmd/app/main.go (+8 -2)
docs/_redirects (+15 -0)
docs/index.html (+132 -0)
📝 internal/config/env.go (+1 -0)
📝 internal/config/env_validate.go (+4 -0)
internal/util/pathutil/pathutil.go (+35 -0)
internal/util/pathutil/pathutil_test.go (+87 -0)
internal/validate/path_prefix.go (+43 -0)
internal/validate/path_prefix_test.go (+78 -0)
📝 internal/view/middleware/require_auth.go (+7 -4)
📝 internal/view/middleware/require_no_auth.go (+4 -2)
📝 internal/view/router.go (+17 -3)
internal/view/static/css/partials/sweetalert2.css (+0 -9)

...and 51 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Configurable path prefix for hosting under a subpath via env var; app links, redirects, and static assets honor it.
    • Replaced SweetAlert2 with a new lightweight in-app dialog system.
  • Documentation

    • Rebranded to “UFO Backup”; updated README, community landing page, redirects, and automated docs deploy to Cloudflare Pages.
    • Added sponsor/support updates.
  • Chores

    • Expanded formatter ignore list; updated asset scanning for styles/scripts.
  • Tests

    • Added validation and path-prefix utility tests.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eduardolat/pgbackweb/pull/142 **Author:** [@eduardolat](https://github.com/eduardolat) **Created:** 10/6/2025 **Status:** ✅ Merged **Merged:** 10/6/2025 **Merged by:** [@eduardolat](https://github.com/eduardolat) **Base:** `main` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`6ad60b5`](https://github.com/eduardolat/pgbackweb/commit/6ad60b50ab67544b1af13c2c607ab11f0cc16144) Update FetchGoat name in support-project-v1.json - [`ada595e`](https://github.com/eduardolat/pgbackweb/commit/ada595e47e88c417b5e27db2b8c6c339d17f9a92) 💖 Update FetchGoat sponsorship details in support-project-v1.json - [`db60518`](https://github.com/eduardolat/pgbackweb/commit/db60518f86a8726ae79394c15195379c54209bde) Add Hetzner logo to assets - [`c32c485`](https://github.com/eduardolat/pgbackweb/commit/c32c485aca2309aaf5a8b3f18dbce6907a19bd91) Add Hetzner referral link - [`8054b12`](https://github.com/eduardolat/pgbackweb/commit/8054b127e75372a501a8d34ab2c72e7abb367d8c) Update Hetzner logo in support-project-v1.json and add new horizontal logo asset - [`06aead0`](https://github.com/eduardolat/pgbackweb/commit/06aead0aaf78c7bd2a4754b5e5d9517e7c7d3776) Merge branch 'main' into develop - [`2e0447d`](https://github.com/eduardolat/pgbackweb/commit/2e0447d500018888779db7d9545569f6ee9a66ea) Adds support for path prefix configuration - [`e91d202`](https://github.com/eduardolat/pgbackweb/commit/e91d2026e655191e046c0466dfda470d9bc8d143) Refactors pathutil test suite for better isolation - [`6965e14`](https://github.com/eduardolat/pgbackweb/commit/6965e14a41647f34cab66c6c4f0e51e5839eb1c9) Supports subdirectory deployment with configurable path prefix - [`7658e21`](https://github.com/eduardolat/pgbackweb/commit/7658e21aaa147f65cad18ea1ab821efcc18291f7) Refactors URL paths using pathutil.BuildPath function ### 📊 Changes **71 files changed** (+866 additions, -209 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+4 -0) ➕ `.github/workflows/docs-deploy.yaml` (+28 -0) 📝 `.prettierignore` (+1 -0) 📝 `README.md` (+36 -55) ➕ `assets/logos/hetzner-horizontal.png` (+0 -0) ➕ `assets/logos/hetzner.png` (+0 -0) 📝 `assets/support-project-v1.json` (+11 -5) 📝 `cmd/app/main.go` (+8 -2) ➕ `docs/_redirects` (+15 -0) ➕ `docs/index.html` (+132 -0) 📝 `internal/config/env.go` (+1 -0) 📝 `internal/config/env_validate.go` (+4 -0) ➕ `internal/util/pathutil/pathutil.go` (+35 -0) ➕ `internal/util/pathutil/pathutil_test.go` (+87 -0) ➕ `internal/validate/path_prefix.go` (+43 -0) ➕ `internal/validate/path_prefix_test.go` (+78 -0) 📝 `internal/view/middleware/require_auth.go` (+7 -4) 📝 `internal/view/middleware/require_no_auth.go` (+4 -2) 📝 `internal/view/router.go` (+17 -3) ➖ `internal/view/static/css/partials/sweetalert2.css` (+0 -9) _...and 51 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Configurable path prefix for hosting under a subpath via env var; app links, redirects, and static assets honor it. - Replaced SweetAlert2 with a new lightweight in-app dialog system. - **Documentation** - Rebranded to “UFO Backup”; updated README, community landing page, redirects, and automated docs deploy to Cloudflare Pages. - Added sponsor/support updates. - **Chores** - Expanded formatter ignore list; updated asset scanning for styles/scripts. - **Tests** - Added validation and path-prefix utility tests. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#162
No description provided.