Skip to content

Commit 16ab031

Browse files
committed
Merge branch 'master' of https://github.com/raghavyuva/nixopus
2 parents b4017b5 + 91e8b39 commit 16ab031

File tree

117 files changed

+14638
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+14638
-51
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# [0.1.0-alpha.58](https://github.com/raghavyuva/nixopus/compare/v0.1.0-alpha.57...v0.1.0-alpha.58) (2025-11-02)
2+
3+
4+
### Features
5+
6+
* port linux server images to extension templates ([#556](https://github.com/raghavyuva/nixopus/issues/556)) ([c1bcb7e](https://github.com/raghavyuva/nixopus/commit/c1bcb7e79edb4819abe8ccef0704c2c841ca6671))
7+
8+
9+
10+
# [0.1.0-alpha.57](https://github.com/raghavyuva/nixopus/compare/v0.1.0-alpha.56...v0.1.0-alpha.57) (2025-11-02)
11+
12+
13+
### Features
14+
15+
* improve dashboard monitoring & reset cache feature flags ([#557](https://github.com/raghavyuva/nixopus/issues/557)) ([fdf26bb](https://github.com/raghavyuva/nixopus/commit/fdf26bb9d84d5499912a8ce5e88a07e9e95d8655))
16+
17+
18+
119
# [0.1.0-alpha.56](https://github.com/raghavyuva/nixopus/compare/v0.1.0-alpha.55...v0.1.0-alpha.56) (2025-10-30)
220

321

api/api/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"version": "v1",
55
"status": "active",
6-
"release_date": "2025-10-30T23:05:56.030438+05:30",
6+
"release_date": "2025-11-02T13:45:06.273828+05:30",
77
"end_of_life": "0001-01-01T00:00:00Z",
88
"changes": [
99
"Initial API version"

api/doc/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

api/internal/features/extension/controller/delete_extension.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ import (
55

66
"github.com/go-fuego/fuego"
77
"github.com/raghavyuva/nixopus-api/internal/features/logger"
8+
"github.com/raghavyuva/nixopus-api/internal/types"
89
)
910

10-
func (c *ExtensionsController) DeleteFork(ctx fuego.ContextNoBody) (*struct {
11-
Status string `json:"status"`
12-
}, error) {
11+
func (c *ExtensionsController) DeleteFork(ctx fuego.ContextNoBody) (*types.Response, error) {
1312
id := ctx.PathParam("id")
1413
if id == "" {
1514
return nil, fuego.HTTPError{Err: nil, Status: http.StatusBadRequest}
@@ -18,7 +17,5 @@ func (c *ExtensionsController) DeleteFork(ctx fuego.ContextNoBody) (*struct {
1817
c.logger.Log(logger.Error, err.Error(), "")
1918
return nil, fuego.HTTPError{Err: err, Status: http.StatusBadRequest}
2019
}
21-
return &struct {
22-
Status string `json:"status"`
23-
}{Status: "ok"}, nil
20+
return &types.Response{Status: "success", Message: "Fork deleted successfully"}, nil
2421
}

api/internal/features/extension/parser/validate.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ func (p *Parser) isValidCategory(category string) bool {
176176
validCategories := []string{
177177
"Security", "Containers", "Database", "Web Server",
178178
"Maintenance", "Monitoring", "Storage", "Network",
179-
"Development", "Other",
179+
"Development", "Media", "Game", "Utility", "Productivity", "Other",
180+
"Social",
180181
}
181182
for _, valid := range validCategories {
182183
if category == valid {

api/internal/types/extension.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ const (
2020
ExtensionCategoryStorage ExtensionCategory = "Storage"
2121
ExtensionCategoryNetwork ExtensionCategory = "Network"
2222
ExtensionCategoryDevelopment ExtensionCategory = "Development"
23+
ExtensionCategoryMedia ExtensionCategory = "Media"
24+
ExtensionCategoryGame ExtensionCategory = "Game"
25+
ExtensionCategoryUtility ExtensionCategory = "Utility"
2326
ExtensionCategoryOther ExtensionCategory = "Other"
27+
ExtensionCategoryProductivity ExtensionCategory = "Productivity"
28+
ExtensionCategorySocial ExtensionCategory = "Social"
2429
)
2530

2631
type ValidationStatus string

api/migrations/extensions/041_add_media_category_down.sql

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ALTER TYPE extension_category ADD VALUE IF NOT EXISTS 'Media';
2+
ALTER TYPE extension_category ADD VALUE IF NOT EXISTS 'Game';
3+
ALTER TYPE extension_category ADD VALUE IF NOT EXISTS 'Utility';
4+
ALTER TYPE extension_category ADD VALUE IF NOT EXISTS 'Productivity';
5+
ALTER TYPE extension_category ADD VALUE IF NOT EXISTS 'Social';
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ALTER TABLE extensions
2+
DROP CONSTRAINT IF EXISTS extensions_description_check;
3+
4+
ALTER TABLE extensions
5+
ADD CONSTRAINT extensions_description_check
6+
CHECK (LENGTH(description) BETWEEN 10 AND 500);
7+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ALTER TABLE extensions
2+
DROP CONSTRAINT IF EXISTS extensions_description_check;
3+
4+
ALTER TABLE extensions
5+
ADD CONSTRAINT extensions_description_check
6+
CHECK (LENGTH(description) BETWEEN 10 AND 2000);
7+

0 commit comments

Comments
 (0)