refactor: rename module to pipely and migrate web UI to MUI

- Rename Go module from onixbyte.com/message-converter-manifest to onixbyte.com/pipely
- Replace shadcn UI with Material UI components across all pages
- Add axios-based API client in shared/web-client with credentials management
- Organise API calls into feature modules: auth, devices, deployments, artefacts, users
- Add .env.example with VITE_API_BASE_URL pointing to pipely.onixbyte.com
- Fix deprecated FormEvent → MouseEvent in dialog submit handlers
This commit is contained in:
2026-07-07 14:40:09 +08:00
parent 5b0f33320e
commit 033082954a
44 changed files with 4240 additions and 1152 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ import (
"github.com/gin-gonic/gin"
"gorm.io/gorm"
"onixbyte.com/message-converter-manifest/internal/database"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/database"
"onixbyte.com/pipely/internal/model"
)
type Handler struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strconv"
"github.com/gin-gonic/gin"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/model"
)
// -- Admin user management handlers --
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"github.com/gin-gonic/gin"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/model"
)
type Handler struct {
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"github.com/golang-jwt/jwt/v5"
"gorm.io/gorm"
"onixbyte.com/message-converter-manifest/internal/database"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/database"
"onixbyte.com/pipely/internal/model"
)
var (
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/logger"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/model"
)
// Connect opens a PostgreSQL connection via GORM. If the target database does
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/model"
)
// -- Admin Users --
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"github.com/gin-gonic/gin"
"gorm.io/gorm"
"onixbyte.com/message-converter-manifest/internal/database"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/database"
"onixbyte.com/pipely/internal/model"
)
type Handler struct {
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"github.com/gin-gonic/gin"
"gorm.io/gorm"
"onixbyte.com/message-converter-manifest/internal/database"
"onixbyte.com/message-converter-manifest/internal/model"
"onixbyte.com/pipely/internal/database"
"onixbyte.com/pipely/internal/model"
)
type Handler struct {
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"github.com/gin-gonic/gin"
"gorm.io/gorm"
"onixbyte.com/message-converter-manifest/internal/database"
"onixbyte.com/message-converter-manifest/internal/middleware"
"onixbyte.com/pipely/internal/database"
"onixbyte.com/pipely/internal/middleware"
)
// Handler manages artefact downloads with bandwidth throttling and Range support.
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings"
"github.com/gin-gonic/gin"
"onixbyte.com/message-converter-manifest/internal/auth"
"onixbyte.com/pipely/internal/auth"
)
func AuthMiddleware(authSvc *auth.Service) gin.HandlerFunc {