Commit graph

4754 commits

Author SHA1 Message Date
qwerty287 8cdac56d8f
Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
qwerty287 bc18ccf721
Show all steps (#2190)
Closes #2178
2023-08-10 10:36:41 +02:00
6543 eb8fb407f9
Add TestCompilerCompile (#2183)
just add tests about compile frontend config into backend config
2023-08-10 09:52:52 +02:00
qwerty287 6e0def58a1
Switch to upstream ttlcache (#2187)
We've been using https://github.com/lafriks/ttlcache but it's archived.
It does work with the upstream library too, so its better to use it.
2023-08-10 09:17:12 +02:00
6543 11ba724bbf
bump xorm.io to db7c2640627d (#2185)
pull got merged so we can switch back to upstream
2023-08-10 02:39:41 +02:00
6543 23ad363c97
fix error message 2023-08-10 00:01:16 +02:00
Weblate 3e60ff9e2e Translated using Weblate (German)
Currently translated at 100.0% (318 of 318 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-08-09 19:10:41 +00:00
6543 63d5c40afd
Deprecate "platform" filter in favour of "labels" (#2181)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-09 16:09:44 +02:00
6543 71666f0500
Fail hard on deprecated pipeline keys (#2180)
so we can drop it in next minor version complete
2023-08-09 15:33:10 +02:00
qwerty287 4bed647000
Better blog title/desc (#2182) 2023-08-09 15:23:13 +02:00
Weblate f1f39584aa Translated using Weblate (French)
Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German)

Currently translated at 99.6% (317 of 318 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.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/
Translation: Woodpecker CI/UI
2023-08-09 10:29:06 +00:00
6543 ada3659eb7
make EqualStringSlice to generic EqualSliceValues (#2179)
just a fly-by refactoring
2023-08-09 09:00:12 +02:00
6543 b7af77685e
Add changelog v1.0.1 (#2150) (#2169) 2023-08-08 13:38:05 +02:00
Anbraten f02eaa115e
Pass netrc to trusted clone images (#2163)
closes #1975
2023-08-08 12:49:29 +02:00
qwerty287 3bdeb47d8c
Use Vue setup directive (#2165) 2023-08-08 12:22:39 +02:00
qwerty287 9cae5709f9
Fix pipeline config collapsing (#2166) 2023-08-08 11:47:21 +02:00
6543 db057b8d82
Release file lock on USR1 signal (#2151)
close #2136
2023-08-08 08:47:45 +02:00
Robert Kaussow 8f44ca3f3d
Use min/max width for pipeline step list (#2141)
I've also added a min-width to keep the sidebar a bit more readable
before the breakpoint is reached:

Before: 

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/4e76f487-0bfd-416b-9969-9aca42aed629)

After:

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f936c44e-9952-4eb0-8dc3-95d8c48e8dfb)
2023-08-07 23:32:36 +02:00
6543 17ab945825
Fix 'add-orgs' migration (#2117)
close  #2096

~~blocked by https://gitea.com/xorm/xorm/pulls/2320~~
2023-08-08 00:16:50 +03:00
Robert Kaussow 09ed637ee5
Add header to pipeline log and always show buttons (#2140)
Fixes:
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1649213999
(4.)


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/8544c683-b856-4938-bb8c-7cd9db0c2de9)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/53f7ec27-a0fd-4803-8bb4-e89e9ced3601)

That both buttons are shown in the screenshot is only for demonstration.
2023-08-07 22:23:47 +02:00
Robert Kaussow d28f4923e3
Use fix width for pipeline step list (#2138)
On larger monitors using dynamic width in percent, the step list can
become very wide which makes it hard to read.
2023-08-07 21:49:58 +02:00
6543 d253f8cc30
Make sure we dont have hidden options for backend and pipeline compiler (#2123)
move options based on **os.Getenv** into flags

---------
*Sponsored by Kithara Software GmbH*
2023-08-07 21:13:26 +02:00
6543 3d4758578a
Add opt save global log output to file (#2115)
close  #1933

---------
*Sponsored by Kithara Software GmbH*
2023-08-07 20:47:30 +02:00
Weblate 0b5f1a7c0d Translated using Weblate (French)
Currently translated at 100.0% (317 of 317 strings)

Translated using Weblate (German)

Currently translated at 100.0% (317 of 317 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.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/
Translation: Woodpecker CI/UI
2023-08-07 18:39:48 +00:00
qwerty287 4558f7c691
Fix vite server (#2134)
#1799 broke it
2023-08-07 17:03:26 +02:00
qwerty287 67b7de5cc2
Fix UI and backend paths with subpath (#1799)
I'm not sure if this is an ideal fix for this, but it seems to work for
me. If you have another idea just let me know.

Closes #1798 
Closes #1773
2023-08-07 16:05:18 +02:00
6543 10b1cfcd3b
Enhance local backend (#2017)
make local backend able to clone from private

---------
*Sponsored by Kithara Software GmbH*
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
2023-08-07 15:39:58 +02:00
qwerty287 0ecaa7074a
Fix missing translation (#2132) 2023-08-07 14:01:44 +02:00
qwerty287 e17d0da2c3
Don't show badge without information (#2130)
Was requested
[here](https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1477858832)
for queue, but this also applies to agents: Do not show badges that only
show `???` because they don't provide any useful information.
2023-08-07 13:19:51 +02:00
qwerty287 270de5f574
Fix workflows again (#2129)
Since it does not work this is mainly a revert of #2127
2023-08-07 13:03:23 +02:00
qwerty287 b485d1bf70
Fix docs workflow (#2128)
Some steps were not longer executed and some `when` conditions are not
longer necessary. Follow-up #2127
2023-08-07 11:14:30 +02:00
qwerty287 516bc475b6
Speed up pipelines (#2127)
- Use workflow-global conditions to also skip the `clone` step for
`docs` and `web` workflows
- never run `test` and `web` for pushes (they're running for PRs and
every change we do must pass checks on PRs, so they're unnecessary)

https://github.com/woodpecker-ci/woodpecker/issues/1910
2023-08-07 10:58:42 +02:00
Weblate cdb52015f4 Translated using Weblate (German)
Currently translated at 99.6% (316 of 317 strings)

Translated using Weblate (German)

Currently translated at 99.6% (316 of 317 strings)

Co-authored-by: Jan Marx <jcm@jcm.re>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-08-07 06:41:16 +00:00
Patrick Barrett 72c0c4fe63
docs: Environment Variable Seems to be DOCKER_HOST, not DOCKER_SOCK (#2122) 2023-08-07 01:27:28 +02:00
Weblate c37fab3dd7 Translated using Weblate (Indonesian)
Currently translated at 100.0% (317 of 317 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-08-06 11:39:03 +00:00
Weblate cfbb3b20fd Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-08-05 17:44:55 +00:00
qwerty287 4ad3968ff1
Fix swagger response code (#2119)
Closes #2118
2023-08-05 19:44:49 +02:00
Weblate fa747aa9ba Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-08-03 21:46:59 +00:00
6543 bc049aa22a
Only run docs workflow on main branch (#2105) 2023-08-03 23:46:55 +02:00
Weblate 432fbfc57e Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-08-03 21:11:58 +00:00
6543 c24eea494b
lint en.json locales file (#2108)
make sure we don't have another  #2107
2023-08-03 23:11:52 +02:00
Lauris BH 96d13b32bb
Fix en.json file syntax (#2107) 2023-08-03 22:55:23 +02:00
runephilosof-karnovgroup 6359df4c64
CLI repo sync: Show forge-remote-id (#2103)
Because you need the `forge-remote-id` to supply as an argument to `repo add`
2023-08-03 19:25:52 +02:00
qwerty287 d1c51f4af8
Lazy-load TimeAgo locales (#2094)
1. new translation docs
2. lazy-load TimeAgo locales (used for "x min ago" messages). This 1.
reduces size and 2. provides all languages without adding them manually.
3. Remove DayJS locales, they're unused.
2023-08-03 19:25:12 +02:00
Weblate 74a619ff5b Translated using Weblate (German)
Currently translated at 100.0% (312 of 312 strings)

Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-08-03 15:31:02 +00:00
runephilosof-karnovgroup 8487ed92cd
Forge Github Org: Use login instead of name (#2104)
For "woodpecker-ci" the `name` is "Woodpecker CI"
 and the `login` is "woodpecker-ci"

Fixes #2092

This was causing the organization lookup to fail, because it looks up
using the `login`, when it did not find the organization, it would try
to create it. The creation would fail, because it uses the `name`, and
an organization with that `name` already exists.
Resulting in:

```
pq: duplicate key value violates unique constraint "UQE_orgs_name"
```
2023-08-03 17:30:56 +02:00
qwerty287 d09c418941
Improve user settings (#2087)
Make the user settings tabbed as well, currently only holding "Settings"
(language) and "API". Can be extended with user secrets (#1739) etc.
later.
![Screenshot 2023-08-02 at 09-56-00
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/15d82800-8a4d-47fe-aa77-33462f63585e)
![Screenshot 2023-08-02 at 09-56-05
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/de2640be-144c-4190-adb6-56d43a38bdda)

---------

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-08-03 11:35:12 +02:00
Weblate cbbf5a0c19 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-08-03 08:48:45 +00:00
qwerty287 aca090bbb0
Fix version in FAQ (#2101)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-08-03 10:48:39 +02:00
Weblate 9383899f40 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-08-03 00:42:34 +00:00