qwerty287
0f9188597e
Initiate Pagination Implementation for API and Infinite Scroll in UI ( #1651 )
...
- Add pagination support to the API endpoints that return lists of items
- Adjust UI to enable infinite scrolling via pagination
2023-04-30 03:40:13 +02:00
John Olheiser
26f3877913
Changelog 0.15.8 ( #1723 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-04-29 23:30:07 +02:00
qwerty287
b90e7904a5
Support path prefix ( #1714 )
...
closes #1636
closes #1429
supersedes #1586
Uses a different approach: just take the index.html compiled by vite and
replace the paths to js and other files using regex. This is not
compatible with the dev proxy which is also the reason why we can't use
go templates for this.
2023-04-29 17:51:50 +02:00
Weblate
4384344c22
Translated using Weblate (German)
...
Currently translated at 100.0% (309 of 309 strings)
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-04-29 13:30:33 +00:00
Weblate
8b66f982ae
Translated using Weblate (German)
...
Currently translated at 100.0% (309 of 309 strings)
Co-authored-by: 6543 <6543@obermui.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-04-29 13:28:42 +00:00
6543
204d05f447
Implement YAML Map Merge, Overrides, and Sequence Merge Support ( #1720 )
...
close #1192
2023-04-29 14:49:41 +02:00
qwerty287
cfdb32ae45
Fully support .yaml
( #1713 )
...
Follow-up to https://github.com/woodpecker-ci/woodpecker/pull/1388
Closes https://github.com/woodpecker-ci/woodpecker/issues/1073
---------
Co-authored-by: 6543 <6543@obermui.de>
2023-04-29 10:12:36 +02:00
6543
2dd1b4f777
Correct label argument parsing in agent code ( #1717 )
...
close #1704
2023-04-28 20:41:05 +02:00
Weblate
5833236b84
Translated using Weblate (Ukrainian)
...
Currently translated at 70.5% (218 of 309 strings)
Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/uk/
Translation: Woodpecker CI/UI
2023-04-23 21:07:41 +00:00
Felix Kröner
5abba554b6
Remove unnecessary parenthesis ( #1710 )
...
Came across this while reading the docs.
2023-04-20 15:56:40 +02:00
6543
80d5d233b3
Local Backend should create SubDirs ( #1706 )
...
close #1705
2023-04-20 00:56:03 +02:00
Thomas Anderson
de033176fd
Improved Usage documentation ( #1709 )
...
Hello.
I fixed [Project Settings documentation
page](https://woodpecker-ci.org/docs/next/usage/project-settings ).
Review, please.
2023-04-19 19:52:54 +02:00
Weblate
f7df4506ab
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 59.8% (185 of 309 strings)
Co-authored-by: lzw-723 <lzw-723@qq.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-04-18 15:08:24 +00:00
qwerty287
9b32d021b3
Consistent status on delete ( #1703 )
...
Closes #1675
2023-04-15 15:22:39 +02:00
qwerty287
a06d3e1a61
Stable sort order for DB lists ( #1702 )
2023-04-11 09:33:27 +02:00
6543
c40a6d884f
Adjust documentation of "CI_PIPELINE_LINK" to reflect actual behavior. ( #1701 )
...
close #1537
2023-04-09 19:26:03 +02:00
Anbraten
36b5ae3459
Add env for workflow and step name ( #1693 )
...
closes #1681
2023-04-08 13:15:28 +02:00
Julien Palard
6af9371011
Docs: The WOODPECKER_ADMIN environment variable is singular. ( #1699 )
2023-04-08 01:34:36 +02:00
qwerty287
4b4d078377
Fix Bitbucket Server branches ( #1698 )
...
Closes #1695
2023-04-07 18:09:17 +02:00
Weblate
0fb978fa98
Translated using Weblate (Portuguese)
...
Currently translated at 11.9% (37 of 309 strings)
Co-authored-by: Adjamilton Junior <jr@handzon.dev>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pt/
Translation: Woodpecker CI/UI
2023-04-04 11:08:24 +00:00
6543
44a1cd8782
Refactor plugin-index plugin for docs ( #1694 )
...
- delete NewPluginPanel as it's not used
- useRef for fuse
2023-04-03 17:09:05 +02:00
Weblate
49e5f77631
Added translation using Weblate (Portuguese)
...
Co-authored-by: Adjamilton Junior <jr@handzon.dev>
2023-04-03 10:33:08 +00:00
Anbraten
81998b7001
Add backend label to agents ( #1692 )
...
closes #708
Allows users to filter for a specific backend type.
2023-04-03 12:30:52 +02:00
6543
6d022712e8
Fix docs build ( #1690 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2023-04-03 12:30:01 +02:00
6543
d98e566de2
docs: update pnpm-lock.yaml of woodpecker-plugins
...
yes it would had made sense to create a pull looking at the last 2 commits ...
2023-04-03 00:33:43 +02:00
6543
d240c1dd02
docs: update pnpm-lock.yaml
2023-04-03 00:27:30 +02:00
6543
e8d33998d3
add "midnight_docs" cron job, so plugin info gets refreshed each midnight in any case
2023-04-03 00:20:30 +02:00
Bruno BELANYI
ea95d5aa76
Set 'HOME' during local pipeline step ( #1686 )
...
close #1685
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-04-02 16:47:22 +02:00
Lauris BH
6bf72cbeaf
Update pnpm lock file version ( #1688 )
...
Fixes CI fronted failure
https://ci.woodpecker-ci.org/woodpecker-ci/woodpecker/pipeline/5309/7
Also update frontend dependecies
2023-04-02 13:03:23 +02:00
Weblate
e408c1ba27
Translated using Weblate (Russian)
...
Currently translated at 100.0% (309 of 309 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (309 of 309 strings)
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-03-26 07:08:16 +00:00
Weblate
e7ca28026b
Translated using Weblate (French)
...
Currently translated at 100.0% (309 of 309 strings)
Translated using Weblate (German)
Currently translated at 100.0% (309 of 309 strings)
Translated using Weblate (Latvian)
Currently translated at 100.0% (309 of 309 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (308 of 308 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (308 of 308 strings)
Translated using Weblate (Latvian)
Currently translated at 100.0% (308 of 308 strings)
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-03-24 18:22:14 +00:00
陈杨文
799bb42ddd
docs: add woodpecker-feishu-bot to plugins.json ( #1679 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-03-24 19:22:08 +01:00
Dhanu Saputra
e9fc5ebd0e
Docs: make sure shell examples can be copied ( #1670 )
...
close #1656
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-03-24 18:18:14 +01:00
Jany
3a5e912a6e
Use i18n-t instead of v-html directive ( #1676 )
...
Use i18n-t component to avoid v-html directive
and to make localization easier
2023-03-24 09:13:46 +01:00
Marcin Puc
3a475ce210
Fix faulty hardlink in release tarball ( #1669 )
...
Fixes #1664
The cause was a duplicate entry in the `tar` makefile invocation, as
well as `tar` itself happily producing an additional bogus hardlink in
the archive.
2023-03-22 12:55:39 +01:00
qwerty287
0970f35df5
Do not store inactive repos ( #1658 )
...
Do not sync repos with forge if the repo is not necessary in DB.
In the DB, only repos that were active once or repos that are currently
active are stored. When trying to enable new repos, the repos list is
fetched from the forge instead and displayed directly. In addition to
this, the forge func `Perm` was removed and is now merged with `Repo`.
Solves a TODO on RepoBatch.
---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-03-21 23:01:59 +01:00
Neil Hanlon
a95a5b43bf
fix(backend/kubernetes): Ensure valid naming of name field ( #1661 )
...
- Kubernetes v1.26 on VKE causes error when creating persistent volume
claim because of uppercase characters in name field
This patch is trivial just in order to get it working - happy to
implement differently.
The error in question:
```
The PersistentVolumeClaim "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0" is invalid: metadata.name: Invalid value: "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
```
2023-03-21 20:00:45 +01:00
Weblate
7c56d7246d
Translated using Weblate (Russian)
...
Currently translated at 100.0% (302 of 302 strings)
Translated using Weblate (German)
Currently translated at 100.0% (302 of 302 strings)
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-03-21 16:31:32 +00:00
qwerty287
88d2486ab2
Various UI improvements ( #1663 )
...
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1475128683
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1477858832
(2.)
and the last two tasks from
https://github.com/woodpecker-ci/woodpecker/issues/1314#issue-1418804461
---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-03-21 17:31:24 +01:00
Anbraten
f13ffc2c8f
Save agent-id for tasks and add endpoint to get agent tasks ( #1631 )
...
Save which agent is running a task. This is now visible in the admin UI
in the queue and in the agent details screen.
# changes
- [x] save id of agent executing a task
- [x] add endpoint to get tasks of an agent for #999
- [x] show assigned agent-id in queue
- [x] (offtopic) use same colors for queue stats and icons (similar to
the ones used by pipelines)
- [x] (offtopic) use badges for queue labels & dependencies
![image](https://user-images.githubusercontent.com/6918444/226541271-23f3b7b2-7a08-45c2-a2e6-1c7fc31b6f1d.png )
2023-03-21 15:10:43 +02:00
Lauris BH
46452fbd84
Update Go dependencies and minimal Go version to 1.20 ( #1650 )
...
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
2023-03-21 00:48:15 +01:00
Weblate
60733c5cb9
Translated using Weblate (Russian)
...
Currently translated at 100.0% (295 of 295 strings)
Translated using Weblate (German)
Currently translated at 100.0% (295 of 295 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (285 of 285 strings)
Translated using Weblate (Latvian)
Currently translated at 100.0% (285 of 285 strings)
Translated using Weblate (German)
Currently translated at 100.0% (285 of 285 strings)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-03-20 20:17:56 +00:00
6543
e28b43ab19
Only inject netrc to trusted clone plugins ( #1352 )
...
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: 6543 <6543@obermui.de>
2023-03-20 21:17:49 +01:00
Lauris BH
7870c29f5f
Implement visual display of queue statistics ( #1657 )
...
Light mode:
![attels](https://user-images.githubusercontent.com/165205/226354030-5769ddce-3727-441a-8ecb-c6cc3cf70529.png )
Dark mode:
![attels](https://user-images.githubusercontent.com/165205/226353854-51b2da0a-b35a-4f61-bf28-e21179164a05.png )
2023-03-20 18:08:53 +01:00
Anbraten
2337f1854a
Add queue details UI for admins ( #1632 )
...
# Changes
- Adds an admin view to see the whole work-queue of the server.
- The admin can also pause / resume the queue.
- The view is reloading data every 5 seconds automatically.
- The task model from queue got removed in favor of the one from models.
2023-03-20 04:50:56 +01:00
Lauris BH
4d5c59556e
Update frontend dependencies ( #1655 )
...
Also fixes bug that wrong message is displayed when updating user
2023-03-20 00:07:18 +01:00
6543
ed78ba78fc
gofump don't touch code generated files ( #1654 )
...
`make format` did touch code generated files witch creates a mess from
time to time ...
this change it ...
2023-03-19 22:56:16 +01:00
6543
92614dfb1e
Agent check gRPC version against server ( #1653 )
...
close #1114
As long as the `VersionResponse` type is not changed the check will
fail/pass gracefully
example output:
```
{"level":"error","error":"GRPC version mismatch","time":"2023-03-19T19:49:09+01:00","message":"Server version next-6923e7ab does report grpc version 2 but we only understand 1"}
GRPC version mismatch
```
2023-03-19 22:42:21 +01:00
qwerty287
f582ad3159
Various enhancements in configuration ( #1645 )
...
- backends: move to cli flags instead of os.Getenv
- ssh: support 2fa with key and password
- allow to set grpc jwt secret (solves todo)
- allow to set default and max timeout (solves todo)
Closes https://github.com/woodpecker-ci/woodpecker/issues/896
Closes https://github.com/woodpecker-ci/woodpecker/issues/1131
2023-03-19 20:24:43 +01:00
6543
56e6639396
Refactor nits ( #1652 )
...
-
https://github.com/woodpecker-ci/woodpecker/pull/1641/files#r1141405630
-
ade8e6d010 (r105091268)
-
https://github.com/woodpecker-ci/woodpecker/pull/1647/files#r1141410010
---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-03-19 18:32:19 +01:00