Commit graph

4244 commits

Author SHA1 Message Date
6543
0bad73860f
Remove old build api routes (#1283) 2022-10-18 07:51:12 +02:00
qwerty287
849e05bb8b
Rename build to pipeline in code (#1224)
Ref:  #745

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 03:24:12 +02:00
Avinil Bedarkar
493ec45be6
Return return 404 if registry to delete do not exist (#1278)
Closes #524

Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 01:48:04 +02:00
Mark Sharpley
755d9d37e4
Add "Gitea Pull Comment" plugin to index (#1270)
Signed-off-by: Mark Sharpley <698889+markopolo123@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-17 12:34:41 +02:00
qwerty287
cda18edeef Translated using Weblate (German)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-16 14:14:48 +00:00
Avinil Bedarkar
11f37f4649
Converting all inputs which are coming as secret to lowercase (#1276)
Closes #926

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-10-16 14:58:13 +02:00
Paul Tötterman
711f12ed27
More spelling & style fixes (#1275) 2022-10-15 21:25:07 +02:00
Yarden Shoham
4dbf3c671b
Fix typos in docs (#1273)
Did used [cspell](https://www.npmjs.com/package/cspell) to find typos and fixed it.

Also add cspell to gitpod.

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-10-15 20:25:55 +02:00
Yarden Shoham
e4fc1acd31
Add Code Review section to CONTRIBUTING.md (#1274)
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-10-15 19:09:39 +02:00
Yarden Shoham
05bd6b9903
Improve wording on homepage features (#1271)
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-10-15 18:47:39 +02:00
6543
51450f3085 Translated using Weblate (German)
Currently translated at 100.0% (206 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-14 17:50:07 +00:00
Lauris BH
8d6573a5f1
Refactor badge generation page, add HTML option (#1251)
* Adds HTML badge generation
* Allows to generate badge for specific branch
* Remembers last used option for badge syntax for current browser
* Fixes base URL when custom port is used

Screenshot:

![attels](https://user-images.githubusercontent.com/165205/195311734-6db0e85e-f659-486f-824f-4cabb659b81a.png)

Co-authored-by: 6543 <6543@obermui.de>
2022-10-14 19:50:01 +02:00
Anonymous
fe6706adb2 Translated using Weblate (Chinese (Simplified))
Currently translated at 85.9% (177 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-10-14 16:55:09 +00:00
Anonymous
3e320d4cfb Translated using Weblate (Italian)
Currently translated at 21.3% (44 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-10-14 16:55:09 +00:00
Anonymous
bc40f26b2d Translated using Weblate (French)
Currently translated at 87.8% (181 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-14 16:55:06 +00:00
Anonymous
6bbe5b9d76 Translated using Weblate (Spanish)
Currently translated at 0.0% (0 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
2022-10-14 16:55:05 +00:00
Anonymous
015c56b085 Translated using Weblate (Latvian)
Currently translated at 91.2% (188 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-14 16:55:03 +00:00
Anonymous
37332b8712 Translated using Weblate (German)
Currently translated at 91.2% (188 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-14 16:55:02 +00:00
Weblate
5ec31a1c4d Merge branch 'origin/master' into Weblate. 2022-10-14 16:54:24 +00:00
Paul Tötterman
efd2cf8a6f
Spelling consistently (#1267)
Since you gladly accepted my typo fix commit, I started doing some spell
and consistency checking for the docs.

Co-authored-by: 6543 <6543@obermui.de>
2022-10-14 16:57:45 +02:00
Lukas
7686d4c8c3
Use fallback icon on plugin page (#1268) 2022-10-14 16:20:54 +02:00
Paul Tötterman
47315eaac0
Fix typo (#1265) 2022-10-14 13:43:29 +02:00
6543
f56d0812c7
Partially Revert "CI: add branches filter (#1130)"
This partially reverts commit f9dd6518c0.
2022-10-14 13:41:43 +02:00
6543
7fede8ea1d
Partially Revert "CI: add branches filter (#1130)"
This partially reverts commit f9dd6518c0.
2022-10-14 13:39:46 +02:00
6543
0bc9f79f61 tmp 2022-10-14 13:38:03 +02:00
6543
9fae0dafaa
Update dep moby & golang.org/x/text (#1263)
* CVE-2022-36109
* CVE-2022-32149
2022-10-14 13:01:06 +02:00
6543
a94a3de4b5
Frontport Changelog v0.15.3 to v0.15.5 (#1256) 2022-10-13 20:21:18 +02:00
6543
47e212fd5e
bump DefaultCloneImage version to v1.6.0 2022-10-13 16:50:32 +02:00
Lauris BH
86bc8b46ed
Change build message column type to text (#1252)
Fixes #1115
Fixes #1194
2022-10-13 00:47:11 +02:00
6543
f9dd6518c0
CI: add branches filter (#1130)
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-10 12:49:30 +02:00
Lukas
6789e28df2
Create test repo on Gitpod start (#1248)
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-09 22:13:04 +02:00
Lukas
12ff74c4cb
Fix branch loading (#1249)
Fixes a panic I got while viewing the branches in the UI.

```
runtime error: index out of range [0] with length 0
/home/gitpod/go/src/runtime/panic.go:113 (0x44053e)
        goPanicIndex: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsIndex})
/workspace/woodpecker/server/remote/gitea/gitea.go:444 (0xd36764)
        (*Gitea).Branches.func1: result[i] = branches[i].Name
/workspace/woodpecker/server/remote/common/utils.go:34 (0xd3942a)
        Paginate[...]: batch, err := get(page)
/workspace/woodpecker/server/remote/gitea/gitea.go:439 (0xd36665)
        (*Gitea).Branches: branches, err := common.Paginate(func(page int) ([]string, error) {
/workspace/woodpecker/server/api/repo.go:202 (0xc823a1)
        GetRepoBranches: branches, err := r.Branches(c, user, repo)
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xc71d44)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/session/repo.go:148 (0xc71bba)
        MustPull: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xc71aee)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/session/repo.go:139 (0xc71aaa)
        SetPerm.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xc71251)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/session/repo.go:53 (0xc710ec)
        SetRepo.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xccb50f)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/token/token.go:50 (0xccb248)
        Refresh: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xc721fc)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/session/user.go:72 (0xc721e3)
        SetUser.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xcd069e)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/store.go:29 (0xcd0685)
        Store.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xccff47)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/logger.go:23 (0xccff2a)
        Logger.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xccaf99)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/header/header.go:38 (0xccaec4)
        Options: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xccae21)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/middleware/header/header.go:30 (0xccae06)
        NoCache: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xccf32a)
        (*Context).Next: c.handlers[c.index](c)
/workspace/woodpecker/server/router/router.go:39 (0xccf310)
        Load.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xa2e0c1)
        (*Context).Next: c.handlers[c.index](c)
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/recovery.go:101 (0xa2e0ac)
        CustomRecoveryWithWriter.func1: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 (0xa2cf30)
        (*Context).Next: c.handlers[c.index](c)
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:616 (0xa2cb98)
        (*Engine).handleHTTPRequest: c.Next()
/workspace/go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:572 (0xa2c6dc)
        (*Engine).ServeHTTP: engine.handleHTTPRequest(c)
/home/gitpod/go/src/net/http/server.go:2947 (0x79cc4b)
        serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/home/gitpod/go/src/net/http/server.go:1991 (0x797e66)
        (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/home/gitpod/go/src/runtime/asm_amd64.s:1594 (0x476d80)
        goexit: BYTE    $0x90   // NOP
```

Co-authored-by: Anbraten <anton@ju60.de>
2022-10-09 21:10:36 +02:00
Lukas
b3c816abbd
Add fallback plugin image and display plugins in 1 to 3 columns (#1247) 2022-10-09 19:31:53 +02:00
Lukas
9871b3cc8c
Add titles for IconButtons (#1245) 2022-10-08 19:06:53 +02:00
6543
c7fd1eb9d4
Introduce and use Pagination helper func (#1236) 2022-10-08 18:25:32 +02:00
Lukas
fd6923fe20
Replace yarn with pnpm (#1240)
Should resolve startup issues in gitpod and be a lot faster 🚀
2022-10-08 16:15:07 +02:00
Divya Jain
57ed64e1ea
Imporve Navbar UI (#1235)
- Improved padding
- Grouped links together on the left and icons on the right
- Updated navbar link hover effect
- Moved account icon to the rightmost place (as in almost every other
application)
- Rounded account icon to make it consistent with rest of the icon
buttons

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-08 15:51:12 +02:00
Lukas
6397965406
Remove unused eslint-disable directives (#1243) 2022-10-08 14:26:24 +02:00
Lukas
687611b682
Use html buttons to allow keyboard navigation (#1242) 2022-10-08 12:51:21 +02:00
Lukas
34419ae521
Respect preferred color scheme in docs (#1241) 2022-10-08 10:53:42 +02:00
Lukas
5365d51b12
Fix app and docs start directory (#1239) 2022-10-08 01:03:13 +02:00
Lukas
5da5580cba
Fix gitpod prebuild (#1237)
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-08 00:13:19 +02:00
[X]
3130a1c523
Fetch all branches from gitea (#1231)
Both repo branch view and manual branch selector were limited to the
stock pageSize of gitea client.

this add a loop to fetch all branches from gitea
2022-10-06 19:52:12 +02:00
6543
89466646d1
bump default clone image 2022-10-06 19:40:50 +02:00
Anbraten
287800ac62
Add when evaluate filter (#1213)
closes #312 
closes #224
closes #963

Have a look for

https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md
2022-10-06 01:49:23 +02:00
Anbraten
f1339412eb
Fix invalid service names for Kubernetes (#1234)
closes #1232
2022-10-05 13:39:48 +02:00
6543
da997fa34a
Add support sub-settings and secrets in sub-settings (#1221) 2022-10-03 19:25:43 +02:00
qwerty287
00898cb6be
Fix gitpod link (#1228) 2022-10-01 13:54:19 +02:00
qwerty287
9c12b321a1
Upload test-lib coverage results to codecov (#1227) 2022-10-01 11:51:04 +02:00
6543
612eee8269
Sort secret lists and events (#1223)
close  #1176
2022-09-29 22:46:20 +02:00