Commit graph

436 commits

Author SHA1 Message Date
Alexander Matyushentsev
d35ab57f80
Add confirm for secret deletion (#1604)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1483

PR adds a confirmation dialog that warns user before deleting a secret. 


https://user-images.githubusercontent.com/426437/222985225-9e14ddac-6c5a-4aed-ac89-cc6562180ac6.mov


Using just basic
[window.Confirm](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)
since it is used in
[other](https://github.com/search?q=repo%3Awoodpecker-ci%2Fwoodpecker+confirm%28&type=code)
places. Any objections to switch to proper dialog component in a
separate PR?

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2023-03-06 07:07:40 +01:00
Hayden
73c47bd2ff
Add collapsable support to panel elements (#1601)
Closes #1312

Updates the `Panel` component to support collapsing 

## Example



https://user-images.githubusercontent.com/64056131/222880570-6611fdd7-4577-4ed5-9798-fce829a4a752.mp4

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-03-05 07:50:04 +01:00
Hayden
0148151f3d
Add cancel button on secrets tab (#1599) 2023-03-04 13:03:35 +01:00
Weblate
15a50bc0a3 Translated using Weblate (Polish)
Currently translated at 97.3% (254 of 261 strings)

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
Translation: Woodpecker CI/UI
2023-03-01 17:29:37 +00:00
Weblate
0940223472 Translated using Weblate (Polish)
Currently translated at 87.7% (229 of 261 strings)

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
Translation: Woodpecker CI/UI
2023-02-28 15:29:36 +00:00
smainz
156b321c2d
Sort repos by org and name (#1548)
Ensure that repos are sorted in the UI after doing a search.

See #1466

Co-authored-by: Anbraten <anton@ju60.de>
2023-02-28 11:14:19 +01:00
Weblate
003773540b Translated using Weblate (Polish)
Currently translated at 84.6% (221 of 261 strings)

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
Translation: Woodpecker CI/UI
2023-02-26 20:28:52 +00:00
Weblate
7c4972a16f Translated using Weblate (Russian)
Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-02-07 07:29:29 +00:00
Weblate
fe97d37c92 Translated using Weblate (Russian)
Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2023-02-04 14:29:28 +00:00
Weblate
18ea3a3569 Translated using Weblate (French)
Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2023-02-02 20:03:50 +00:00
Weblate
e13792bff6 Translated using Weblate (Indonesian)
Currently translated at 100.0% (261 of 261 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-02-01 09:03:48 +00:00
Anbraten
4c97a0104e
Hide not owned repos from sidebar and repo list (#1453)
Co-authored-by: Lukas <lukas@slucky.de>
2023-01-31 09:37:11 +01:00
Lauris BH
420ac54e62
Show platform, backend and capacity as badges in agent list (#1568)
Screenshots:

![attels](https://user-images.githubusercontent.com/165205/215585911-37813edc-05fc-4be8-9bc0-5bed80b0faf2.png)

![attels](https://user-images.githubusercontent.com/165205/215586019-360d49c5-069f-4735-ad58-698e8f14780a.png)
2023-01-30 21:53:59 +01:00
Anbraten
71d6c03ca7
Add agent no-schedule flag (#1567)
This flag allows an agent owner / admin to stop the agent from taking
new workflows / pipelines.
2023-01-30 20:18:48 +01:00
Weblate
5f818e933b Translated using Weblate (Indonesian)
Currently translated at 100.0% (256 of 256 strings)

Translated using Weblate (Latvian)

Currently translated at 98.0% (251 of 256 strings)

Co-authored-by: Lauris BH <lauris@nix.lv>
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/lv/
Translation: Woodpecker CI/UI
2023-01-30 15:03:53 +00:00
Anbraten
d96032349a
Store an agents list and add agent heartbeats (#1189)
Co-authored-by: 6543 <6543@obermui.de>
2023-01-28 14:13:04 +01:00
Weblate
fbbfd61aac Translated using Weblate (Polish)
Currently translated at 54.0% (128 of 237 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (237 of 237 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Marcin Puc <tranzystorek.io@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/pl/
Translation: Woodpecker CI/UI
2023-01-24 17:03:47 +00:00
Weblate
f0371c0463 Added translation using Weblate (Polish)
Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
2023-01-21 16:41:37 +00:00
Simon Vieille
03f4b05768
Dont require secret value on secret edit (#1552) (#1553)
Co-authored-by: Simon Vieille <simon.vieille@trinaps.com>
2023-01-19 18:22:30 +01:00
smainz
b0fd99ec01
Consistent and more descriptive naming of parameters in index.ts (#1455)
Parameter naming has been made more descriptive and consistent:
- Change `number: number` to `pipelineNumber: number`.
- Rename `pipeline` to `pipelineNumber` when it refered to a pipeline number.
2023-01-15 16:33:12 +01:00
Weblate
264e3649be Translated using Weblate (Russian)
Currently translated at 100.0% (237 of 237 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 77.2% (183 of 237 strings)

Co-authored-by: Leo Li <66leo66china@gmail.com>
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-01-09 02:03:43 +00:00
Weblate
5d0c7b2200 Translated using Weblate (French)
Currently translated at 100.0% (237 of 237 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2023-01-05 15:03:40 +00:00
Weblate
0923aa2624 Translated using Weblate (French)
Currently translated at 99.5% (236 of 237 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2022-12-29 22:03:40 +00:00
Lukas
72df167d2d
Lazy load locales (#1362)
Closes #1345 

`index.js` size reduction: `538.71 KiB` -> `382.74 KiB`

Also sets correct html `lang` attribute.
2022-12-29 13:41:59 +01:00
Weblate
5cd15c80e6 Translated using Weblate (Russian)
Currently translated at 81.8% (194 of 237 strings)

Translated using Weblate (Russian)

Currently translated at 81.8% (194 of 237 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (237 of 237 strings)

Co-authored-by: Ernest Shefer <shef-er@ya.ru>
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
2022-12-25 12:03:35 +00:00
Weblate
3fa2a8c139 Translated using Weblate (Russian)
Currently translated at 71.7% (170 of 237 strings)

Translated using Weblate (Russian)

Currently translated at 71.7% (170 of 237 strings)

Co-authored-by: Ernest Shefer <shef-er@ya.ru>
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2022-12-24 11:38:02 +00:00
Weblate
3672864844 Added translation using Weblate (Russian)
Co-authored-by: Leonid Maslakov <root@lcomrade.su>
2022-12-24 05:49:38 +00:00
smainz
cfb288201f
Add button to trigger deployments (#1415)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-01 21:41:36 +01:00
Lukas
5d1ec770c9
Improve button and input contrast in dark mode (#1456)
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-11-29 00:44:00 +01:00
Weblate
a884e13885 Translated using Weblate (French)
Currently translated at 100.0% (228 of 228 strings)

Translated using Weblate (Spanish)

Currently translated at 23.2% (53 of 228 strings)

Translated using Weblate (Spanish)

Currently translated at 23.2% (53 of 228 strings)

Co-authored-by: Julio Loayza <julio+woodpecker@loayzameneses.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: Roger Steve Ruiz <roger@0p9.co>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2022-11-25 17:02:54 +00:00
Weblate
f41e3e1438 Translated using Weblate (Spanish)
Currently translated at 18.8% (43 of 228 strings)

Co-authored-by: Roger Steve Ruiz <roger@0p9.co>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
Translation: Woodpecker CI/UI
2022-11-23 21:55:45 +00:00
Weblate
a0f24ff203 Translated using Weblate (Indonesian)
Currently translated at 100.0% (228 of 228 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2022-11-23 14:02:54 +00:00
Weblate
cbe74dee34 Translated using Weblate (Indonesian)
Currently translated at 100.0% (216 of 216 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2022-11-22 13:02:57 +00:00
Lukas
1786c0554a
Dismiss popups with escape (#1426)
Co-authored-by: Anbraten <anton@ju60.de>
2022-11-18 11:42:04 +01:00
Lukas
2dfa231184
Unify buttons, links and improve focus styles (#1317) 2022-11-18 08:10:43 +01:00
Divya Jain
d785d05718
Use pipeline wrapper and improve scaffold UI (#1368)
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-11-15 10:13:52 +01:00
Anbraten
cab996608e
Use icons for step and workflow states (#1409)
Co-authored-by: 6543 <6543@obermui.de>
2022-11-14 12:25:58 +01:00
Josh Soref
023d03dd61
Spelling (#1405)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-09 08:12:17 +01:00
Divya Jain
bb99d5cb6d
Match notification font size to rest of the UI (#1399) 2022-11-06 22:51:06 +01:00
Epsilon_02
b417edf8c1
Fix cut of woodpecker animation (#1402)
the woodpecker svg was cut on top and bottom when moving during an active pipeline.
2022-11-06 21:00:28 +01:00
6543
db1ec4d33f
web: remove unused @meforma/vue-toaster (#1403)
CVE-2022-37601
2022-11-06 20:52:13 +01:00
Divya Jain
a94b756cc4
Show workflow state in ui and collapse completed workflows (#1383)
Fixes #1371

Co-authored-by: Anbraten <anton@ju60.de>
2022-11-05 02:18:16 +01:00
qwerty287
3372d1a87c
Rename remote to forge (#1357)
As of #745

Co-authored-by: Anbraten <anton@ju60.de>
2022-11-05 00:35:06 +01:00
Weblate
07b143864a Translated using Weblate (French)
Currently translated at 100.0% (216 of 216 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2022-11-01 18:08:31 +00:00
qwerty287
f2a37ce801
Fix redirects (#1325)
Not a very elegant solution, but it should work.

Co-authored-by: 6543 <6543@obermui.de>
2022-10-31 17:06:21 +01:00
Lukas
8593b756b8
Use html landmark elements (#1361)
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-31 15:04:19 +01:00
Divya Jain
280d27d723
Fix pipeline cancel API endpoint and update Web and CLI clients (#1372)
Fixes #1369 

Co-authored-by: Anbraten <anton@ju60.de>
2022-10-30 14:39:01 +01:00
Weblate
9756542cae Translated using Weblate (Dutch)
Currently translated at 22.7% (49 of 215 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (215 of 215 strings)

Translated using Weblate (French)

Currently translated at 100.0% (215 of 215 strings)

Translated using Weblate (Spanish)

Currently translated at 17.2% (37 of 215 strings)

Translated using Weblate (German)

Currently translated at 100.0% (215 of 215 strings)

Co-authored-by: Julio Loayza <julio+woodpecker@loayzameneses.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: Michel <woodpecker-ci@pseudonymous.email>
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/es/
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/nl/
Translation: Woodpecker CI/UI
2022-10-29 07:08:31 +00:00
Harikesh00
36e42914fa
Renamed procs/jobs to steps in code (#1331)
Renamed `procs` to `steps` in code for the issue #1288

Co-authored-by: Harikesh Prajapati <harikesh.prajapati@druva.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-28 17:38:53 +02:00
Divya Jain
e2ab8a46ed
Header and Tabs UI Improvements (#1290)
Some improvements to the Page Header and Tab UI.

Original |  New
:--------:|:-------:

![image](https://user-images.githubusercontent.com/62170586/197360886-046f1016-ca39-4b69-8134-99ba88e3a0c2.png)
|
![image](https://user-images.githubusercontent.com/62170586/197360819-7efd0d82-1412-465d-aefa-039164f97465.png)

![image](https://user-images.githubusercontent.com/62170586/197360872-f2ece5fd-7c0b-4e2c-8629-31524a412af5.png)
|
![image](https://user-images.githubusercontent.com/62170586/197360830-49f09e0d-619e-4fa9-8e38-8d05d9404185.png)

![image](https://user-images.githubusercontent.com/62170586/197281776-e3de6441-9417-4614-8b25-1aaef0b8da61.png)
|
![image](https://user-images.githubusercontent.com/62170586/197281698-40c66d34-76f3-4fd5-97e3-1c422b74844c.png)

![image](https://user-images.githubusercontent.com/62170586/196609248-ff150c6e-2995-4bcc-8573-49ffaf388446.png)
|
![image](https://user-images.githubusercontent.com/62170586/197323734-7c1a1b79-0f41-4bf2-96a3-dd38df9e1415.png)

![image](https://user-images.githubusercontent.com/62170586/196609329-b7a6f37e-e8c2-4004-a98b-73f837122ff8.png)
|
![image](https://user-images.githubusercontent.com/62170586/197323882-10141ffd-7411-4493-8291-b8000adc3cc5.png)


What?
- Create a new Scaffold component, which includes the header and tabs
required for a page.
- Use this component to wrap all the views that have a header.
- Ensures consistency in headers between different pages.
- [x] Add support to use custom html/component in place of title (for
repo page, pipeline page, etc)
- [x] Add support of right icon buttons (for repo page, pipeline page,
etc)
- [x] Refactor tabs handling using compositions (useTabsProvider, useTabsClient)
- [x] Make new header ui resposive
2022-10-28 00:55:07 +02:00
qwerty287
8b7ca464cf
Always use rounded quadrat user avatars (#1350)
To stay consistent with the header.
2022-10-27 16:11:37 +02:00
qwerty287
e568c42e84
Support plugin-only secrets (#1344)
Closes #1071
2022-10-27 04:21:07 +02:00
Lukas
9ece7a1c49
Change locale in user settings (#1305)
Closes #1109
2022-10-27 02:42:39 +02:00
Weblate
2023518552 Added translation using Weblate (Chinese (Traditional))
Co-authored-by: admin <owners@woodpecker-ci.org>
2022-10-26 23:54:11 +00:00
6543
1dad681027
rename zh-Hans 2022-10-27 01:51:25 +02:00
Weblate
50f66cfe11 Translated using Weblate (Indonesian)
Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (German)

Currently translated at 100.0% (212 of 212 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
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/
Translation: Woodpecker CI/UI
2022-10-26 23:47:19 +00:00
Lukas
6ea23c1aac
Fix display of long pipeline and job names (#1346) 2022-10-27 00:49:26 +02:00
Michael
cc803a589d Translated using Weblate (French)
Currently translated at 96.2% (203 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-25 23:23:34 +00:00
qwerty287
de4e62cfcf
Allow to run cron manually (#1338)
Closes #1154
2022-10-26 01:23:28 +02:00
Divya Jain
d7c2fdd05f
Update pipeline steps and logs background (#1330) 2022-10-24 22:36:53 +02:00
mondstern
4fdf3c98cb Translated using Weblate (Ukrainian)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/uk/
2022-10-24 16:18:03 +00:00
qwerty287
4ae042624b Translated using Weblate (German)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-24 16:17:58 +00:00
Jose Segura
27ee8ef97d
Add pipeline build number into Pipeline list (#1301)
Closes #1299

Co-authored-by: Jose Segura segux <jsegura@bit2me.com>
Co-authored-by: qwerty287 <ndev@web.de>
2022-10-23 11:19:12 +02:00
qwerty287
bdf0a59bea
Use system font stack (#1326)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1316

Applied suggestion by @silverwind
2022-10-23 04:33:39 +02:00
admin
784f92eed1 Translated using Weblate (Spanish)
Currently translated at 0.4% (1 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
2022-10-23 00:21:59 +00:00
6543
60a22f3731 Translated using Weblate (German)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-23 00:18:05 +00:00
mondstern
a511808234 Translated using Weblate (Ukrainian)
Currently translated at 14.6% (31 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/uk/
2022-10-23 00:18:04 +00:00
mondstern
4aa9d0aff4 Translated using Weblate (Dutch)
Currently translated at 3.3% (7 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/nl/
2022-10-23 00:18:04 +00:00
mondstern
8e10b9cd61 Translated using Weblate (Latvian)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-23 00:18:04 +00:00
Weblate
6bcfa8bb57 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
aa1ca2fe4d Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
21ae7fa20e Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
ec3b37c93d Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
b81f161a25 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
44c86cae97 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
09a252a825 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:02 +00:00
Weblate
fae2f31be3 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:02 +00:00
6543
a595847a2c Added translation using Weblate (Hungarian) 2022-10-22 23:04:16 +00:00
qwerty287
486c8473fc
Fix approval on mobile (#1320)
Closes #1096
2022-10-23 00:30:25 +02:00
mondstern
b7b1b94ab4 Added translation using Weblate (Ukrainian) 2022-10-22 19:02:51 +00:00
Linerly
80695f56eb Translated using Weblate (Indonesian)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
2022-10-22 16:59:01 +00:00
mondstern
719fea7261 Added translation using Weblate (Dutch) 2022-10-22 16:31:08 +00:00
qwerty287
27585d42b1
Don't show workflow name if it's only one (#1319)
Regression of #1304.

If there's only one workflow, don't make it collapsible and don't show the name of it.
2022-10-22 17:57:14 +02:00
6543
a6f3746c52
Fix redirect from build to pipeline
regression of #1224
2022-10-22 16:58:26 +02:00
qwerty287
f88c70b55e
Rename to pipeline in DB and JSONs (#1296)
Closes #1282 

Follow-up to #1224, addresses #745

- changes JSON fields
- adds migration to rename columns
- fixes some comments
2022-10-22 15:54:43 +02:00
Linerly
1114595078 Added translation using Weblate (Indonesian) 2022-10-22 08:42:39 +00:00
Lukas
a441281bf9
Make submit buttons green and add forms (#1302)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-22 08:56:23 +02:00
Lukas
5bcb939bce
Make pipeline steps collapsible (#1304)
Closes #948
2022-10-21 22:09:36 +02:00
Lukas
44a63b928d
Add title to docs links (#1298) 2022-10-21 18:57:58 +02:00
Divya Jain
dcedddb2f2
Fix pipeline manual trigger on web (#1307)
Fixed broken `Run pipeline` button on repo

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-21 17:39:19 +02:00
Lauris BH
76ecb9cd92 Translated using Weblate (Latvian)
Currently translated at 100.0% (210 of 210 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-21 02:11:20 +00:00
6543
e8f993bde6 Translated using Weblate (German)
Currently translated at 100.0% (210 of 210 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-21 02:11:20 +00:00
qwerty287
f1d6607db2 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-19 12:10:50 +00:00
admin
e76b542cd7 Translated using Weblate (Chinese (Simplified))
Currently translated at 86.1% (180 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-10-19 12:10:50 +00:00
admin
016f85abeb Translated using Weblate (French)
Currently translated at 85.6% (179 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-19 12:10:50 +00:00
admin
456500a2ef Translated using Weblate (Italian)
Currently translated at 21.0% (44 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-10-19 12:10:50 +00:00
Divya Jain
ed7ecb060e
Navbar Icons Improvements (#1246)
Some improvements to the navbar icons.

Changes Implemented:
- Increase touch target size for navbar icons.
- Make icon colors and hover effect consistent with navbar links 
- Added title for all navbar icons
- New key (user.settings) in locales
- Updated Dark and Light Mode values in locales
- Minor tweaks in active builds indicator
- New component NavbarIcon (because trying to match IconButton size and
colors felt hacky at best)

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-19 14:10:40 +02:00
qwerty287
38198f83c4
Update all dependencies (#1291) 2022-10-19 10:15:58 +02:00
admin
aba8b9bd1e 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-19 07:26:57 +00:00
Lauris BH
143425f2b4 Translated using Weblate (Latvian)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-18 13:39:41 +00:00
admin
6fec0c08c4 Translated using Weblate (Latvian)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-18 13:39:41 +00: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
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
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
Lukas
9871b3cc8c
Add titles for IconButtons (#1245) 2022-10-08 19:06:53 +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
[X]
b4d89a1cce
Add ability to trigger manual builds (#1156)
closes #83 
closes #240 

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-27 11:05:00 +02:00
Michael
1f3b6f717b Translated using Weblate (French)
Currently translated at 96.2% (181 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-23 14:11:00 +00:00
Anbraten
54fd85a980 Merge remote-tracking branch 'weblate/master' 2022-09-20 20:05:19 +02:00
qwerty287
00a475f605
Don't show "changed files" if event can't have them (#1191)
Closes #1190
2022-09-16 17:04:44 +02:00
胡昂
927d1cdddc Translated using Weblate (Chinese (Simplified))
Currently translated at 94.1% (177 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-15 12:11:00 +00:00
Daniele Tricoli
66f666ab35 Translated using Weblate (Italian)
Currently translated at 23.4% (44 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-15 12:11:00 +00:00
Michael
8fa3b48c51 Translated using Weblate (French)
Currently translated at 88.2% (166 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-15 12:11:00 +00:00
IamIpanda
4cbee0fde2 Translated using Weblate (Chinese (Simplified))
Currently translated at 93.6% (176 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-11 02:42:28 +00:00
sbchild
c52939e464 Translated using Weblate (Chinese (Simplified))
Currently translated at 43.0% (81 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-09 05:42:27 +00:00
qwerty287
b3ac79d499 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-09 05:42:26 +00:00
Michael
6d51ba426a Translated using Weblate (French)
Currently translated at 51.0% (96 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-09 05:42:26 +00:00
sbchild
876cbce0f5 Added translation using Weblate (Chinese (Simplified)) 2022-09-07 13:55:30 +00:00
Daniele Tricoli
05d660f27a Translated using Weblate (Italian)
Currently translated at 18.6% (35 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-05 21:42:30 +00:00
Dylan
80cb032606 Translated using Weblate (French)
Currently translated at 26.0% (49 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-05 21:42:30 +00:00
Lauris BH
dbfa966943 Translated using Weblate (Latvian)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-09-05 21:42:29 +00:00
admin
9379fdc066 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287
fc9a9d1fc5 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287
52d3652f2e
Fetch repositories with remote ID if possible (#1078)
Use IDs of the forge to fetch repositories instead of their names and owner names. This improves handling of renamed and transferred repos.

TODO

- [ ] try to support as many forges as possible
    - [x] Gogs (no API)
    - [ ] Bitbucket Server
    - [x] Coding (no API?)
- [x] update repo every time it is fetched or received from the forge
- [x] if repo remote IDs are not available, use owner / name to get it
- [x] handle redirections (redirect a renamed repo to its new path)
- [x] ~~pull all repos once during migration to update ID (?)~~ issue fixed by on-demand loading of remote IDs
- [x] handle redirections in web UI
- [ ] improve handling of hooks after a repo was renamed (currently it checks for a redirection to the repo)
- [x] tests
- [x] `UNIQUE` constraint for remote IDs after migration shouldn't work (all repos have an empty string as remote ID)

close #854
close #648 partial
close https://codeberg.org/Codeberg-CI/feedback/issues/46

Possible follow-up PRs
- apply the same scheme on everything fetched from the remote (currently only users)

Co-authored-by: 6543 <6543@obermui.de>
2022-09-05 17:08:51 +02:00
6543
7778f7dc64 Translated using Weblate (German)
Currently translated at 99.4% (187 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-04 18:03:34 +00:00
admin
05dc58e667 Added translation using Weblate (Italian) 2022-09-03 21:23:43 +00:00
admin
c31d88acbd Added translation using Weblate (French) 2022-09-03 19:29:07 +00:00
admin
e2521485d2 Added translation using Weblate (Spanish) 2022-09-03 19:29:06 +00:00
Anbraten
297732eab8
Sort pipelines based on creation date (#1159) 2022-09-03 19:58:34 +02:00
6543
4afddc2821
Extract commit message from branch creation (#1150)
if commit already exist

close https://codeberg.org/Codeberg-CI/feedback/issues/52
2022-09-02 16:41:51 +02:00
Lauris BH
efdad4a9fc
Add option to turn on and off automatic log scrolling (#1149)
* Add option to turn on and off log automatic scrolling

* Use vueuse storage helper
2022-09-01 20:35:34 +02:00
6543
383f273392
Add cron feature (#934)
https://woodpecker-ci.org/docs/usage/cron

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-01 00:36:32 +02:00
6543
08a99152d6
Dedup code and migrate away from deprecated funcs (#1141)
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-30 01:14:07 +02:00
qwerty287
7e18e69563 Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-28 18:42:21 +00:00
qwerty287
770cd1bd95 Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-21 07:42:18 +00:00
qwerty287
d94769fb13
Fix prettier on locales (#1117) 2022-08-20 11:13:38 +02:00
Lauris BH
0799906af9 Translated using Weblate (Latvian)
Currently translated at 98.8% (166 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-08-16 07:42:21 +00:00
qwerty287
26c391683c Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-16 07:42:21 +00:00
admin
61acfdf5ed Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-16 07:42:21 +00:00
Lauris BH
a5b2565dd5 Translated using Weblate (English)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/en/
2022-08-16 07:42:17 +00:00
qwerty287
22214f5a43
Do not show pipeline name if it's a single file (#1069) 2022-08-15 15:53:36 +02:00
Lauris BH
a627968b73
Install missing peer dependency (#1106) 2022-08-14 15:37:50 +02:00
Lauris BH
1ac2c42652
Add global and organization secrets (#1027)
* Implement database changes and store methods for global and organization secrets

* Add tests for new store methods
* Add organization secret API and UI
* Add global secrets API and UI

* Add suggestions

* Update warning style

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Fix lint warning

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 13:48:53 +02:00
Lauris BH
4d390104bd
Hide log container if step does not have logs (#1086) 2022-08-10 09:53:55 +02:00
Lauris BH
2e8f9e17e6
Add syntax highlighting for pipeline config (#1082) 2022-08-09 17:39:45 +02:00
Anbraten
66be4923d2
Update dependencies and tiny adjustments to UI (#1083)
- updated all web/ dependencies
- fixed icon positioning issue
- changed text color of pipeline message
- add hover underline effect to breadcrumb org name
2022-08-09 14:13:32 +02:00
Lauris BH
2f5e5b8e2c
Remove xterm and use ansi converter for logs (#1067)
* Steaming works without flickering
* Text can be correctly copied
* Show only selected step output when streaming
* Improved exit code colors for better readability
* Adds time display on right side

When compiled assets/Build.js size was 355K, now it is 26K

Fixes #1012 
Fixes #998

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-08 15:29:52 +02:00
eleith
b9e1de33c5
Make ListItem component more accessible by using a button tag when clickable (#1044)
Co-authored-by: eleith <eleith@lemon.localdomain>
2022-07-25 04:18:50 +02:00
Lauris BH
f654e1f316
Add pipeline log output download (#1023) 2022-07-17 21:51:10 +02:00
Florian Märkl
3f73d5bf53
Fix logs view existing multiple times (#1000)
* Fix terminal DOM existing multiple times

When switching between the tasks/config/changed files tabs in the build
view, the DOM for the log xterm would be inserted multiple times,
causing the current terminal to be shifted down weirdly.
This fixes this behavior by cleaning any custom DOM before the log is
unmounted.

* Use ref
2022-06-25 19:52:37 +02:00
6543
716d55a370
Add German Translation (#997)
* Add German Translation

* Fix visibility description

* fix lint

* Registries or Registry

* Update web/src/assets/locales/de.json

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Update web/src/assets/locales/de.json

Co-authored-by: Anbraten <anton@ju60.de>

* Update web/src/assets/locales/de.json

Co-authored-by: Anbraten <anton@ju60.de>
2022-06-21 18:18:02 +02:00
Lauris BH
415dfb9c46
Fix tabs URLs to be language agnostic (#995) 2022-06-20 19:47:33 +02:00
Lauris BH
2153425230
Add Latvian language translation (#992)
Add Latvian language translation (#992)
2022-06-19 07:31:16 +02:00
Lauris BH
570aaa4235
Move all static texts to locale file (#989)
* Move all static texts to locale file

* Fix message

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-18 10:48:18 +02:00
qwerty287
42c745362b
Show forge icons in UI (#987) 2022-06-17 20:14:01 +02:00
Lauris BH
14b3cfff1b
Improve dark style text color for better readibility (#985) 2022-06-17 02:00:31 +02:00
Anbraten
3c4d451b72
Use xterm.js for log outputs (#846)
- use xterm
- improve error showing
- show build erro
2022-06-16 19:24:27 +02:00
Anbraten
3d8ea2e2c9
Return to page after clikcing login at navbar (#975) 2022-06-16 14:38:57 +02:00
Egor Tensin
a2ca657631
Improve UI colors to have more contrast (#943)
* web: improve contrast in BuildProcList component
* White text on gray instead of gray on gray.
* web: improve contrast in Panel component
* White header text on dark gray instead of gray on gray.
* Gray body text on white instead of gray on gray.
* Align header padding with the body.
2022-06-01 04:16:26 +02:00
qwerty287
7d7d75d7e5
Support localized web UI (#912)
* Add support for localization
* Add docs & format code
* Add lib to docs
2022-05-16 21:18:48 +02:00
Anbraten
70af29f9a2
fix redirect after login (#824)
if you are in buildView and login, go back to this buildView again
2022-05-14 17:45:01 +02:00
Zav Shotan
acbcc53872
Added support for step errors when executing backend (#817)
When executing a backend step, in case of failure of the specific step, the run is marked as errored but the step error is missing.

Added:
1. Log for the backend error (without trace)
2. Mark the step as errored with exit code 126 (Could not execute).

Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
Co-authored-by: Anton Bracke <anton@ju60.de>
2022-05-11 13:40:44 +02:00
Zav Shotan
7313de2b1d
Add support for superseding runs (#831)
closes #11

Added support:
1. Environment variable `WOODPECKER_DELETE_MULTIPLE_RUNS_ON_EVENTS` (Default pull_request, push)
2. Builds will be marked as killed when they "override" another build
2022-05-09 11:26:09 +02:00
Anbraten
3064975afd
fix: ansi logging (#879) 2022-04-13 22:40:13 +02:00
Anbraten
90dcc77870
fix secret updating (#828) 2022-03-03 15:24:20 +01:00
Anbraten
2f6f44417d
Add editing of secrets and registries (#823) 2022-03-02 00:19:33 +01:00
qwerty287
13030b3d19
Increase margin for "No pipeline steps available!" (#777)
Just a simple UI improvement, set margin to `1rem` on the "No pipeline steps available!" message.
2022-02-14 15:21:28 +01:00
Anbraten
637291db4e
Follow-up for date tooltip (#766)
- ​load the Tooltip component on demand
- to show date in format same to Github and Gitea use it for commit ago time tooltips
2022-02-14 11:02:17 +01:00
9p4
7521336627
Show date time on hover over time items (#756)
Adds a tooltip that shows the date and time when hovering over "created at" times.
2022-02-08 17:41:16 -05:00
9p4
8ce41788e8
Add repo-link to badge markdown in UI (#753)
Co-authored-by: Anbraten <anton@ju60.de>
2022-02-06 22:05:02 +01:00
valentinleistner
6bb964921e
Add page to view all projects of a user / group (#741)
* ReposOwner view

shows all repos owned by a person or organization
uses /:repoOwner urls (e. g. ci.example.org/example-org)
also includes a link from the repo page to the owner page
related to #468

* ReposOwner remove add btn; msg if no projects; grid

implements the changes suggested by @anbraten:
- removed the `add repository` button
- now shows a message `This organization / user does not have any projects yet.`
  when appropriate

now uses `grid` instead of `flex` on desktop to keep the search bar
centered and always in the same place
2022-02-06 20:59:45 +01:00
6543
85d70266d9
fix: ui: calculate build running time 2022-01-31 16:58:11 +01:00
6543
2a5159f7fe
Fix pipeline timestamps (#730)
* only calculate time on running builds

* Add updated timestamp into database and use it in frontend

* add more trace logging

* refactor (move grpc unrelated func into related package)

* fix xorm schema

* add todo
2022-01-31 15:38:39 +01:00
Anbraten
097676fe47
tiny ui fixes (#702) 2022-01-17 13:48:53 +01:00
Anbraten
549996cbcd
Fix some ui issues and mobile view (#695)
* fix ui issues and improve mobile view

* show proc errors

* auto open logs on md screens
2022-01-16 18:42:10 +01:00
Anbraten
6eecfa4b88
Show changed files of pipeline in UI (#650) 2022-01-09 19:28:02 +01:00
Anbraten
37c82b905c
Show yml config of pipeline in UI (#649)
closes #89
2022-01-09 03:59:45 +01:00
Anbraten
ce222dfe0e
Add registries docs (#679) 2022-01-09 02:50:25 +01:00
Anbraten
9d17e26671
Update build layout (#678)
* show yml config of build in UI

* fix after merge

* improve build configs

* fix approve & decline build

* improve build layout

* undo un-related changes

* fix type

* move icon back to right side

Co-authored-by: 6543 <6543@obermui.de>
2022-01-09 02:21:30 +01:00
ktprograms
b76606308c
Add field for image list in Secrets Repo Settings (Web UI) (#638)
- Add field for image list in Secrets Repo Settings (Web UI)
  Simple comma separated input field, split into images array
- validate secret images in backend
- trim spaces and filter empty list items

Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
2021-12-30 07:26:36 +01:00
Anbraten
bed69f9f72
Improve dev docs (#636) 2021-12-21 10:52:10 +01:00
ktprograms
d0da1a104e
Use Woodpecker theme colors on Safari Tab Bar / Header Bar (#632)
Add theme-color <meta> tag and dynamically change the theme-color when
switching into / out of dark mode.

It use the same colours as in the nav-bar component, but I don't think it's possible to access the Windi CSS colour definitions, so I had to hard core the hex values.

The theme-colour <meta> tag needs to be present in the HTML, otherwise `querySelector` returns null.
2021-12-21 02:26:42 +01:00
6543
1d66cd1d0d
fix event type deployment for ui (#613) 2021-12-18 20:16:45 +01:00
Anbraten
fe6c999160
Let remove be a remove (#593)
* UI: let remove be a remove
* UI: add deactivate repo btn
* Store: DeleteRepo also delete related
* Store: more test coverage

Co-authored-by: 6543 <6543@obermui.de>
2021-12-11 16:03:14 +01:00
Anbraten
cb97b39c82
Fix pr secret event names (#592)
* Fix pr secret event names
* Add validation for secret events
2021-12-11 02:37:40 +01:00
Anbraten
e49f2e6061
fix live logging (#588)
* fix live logging
* add comment
2021-12-10 20:11:29 +01:00
Lukas
f0f70dd3f2
Replace deprecated eslint airbnb typescript config (#587) 2021-12-10 03:54:47 +01:00
Anbraten
fe2f269bce
Show icon and index of a pull request in pipelines triggered by pull requests (#575)
Co-authored-by: 6543 <6543@obermui.de>
2021-12-08 14:15:24 +01:00
Anbraten
db2fbc699a
Add security hint to secrets configuration (#574)
`'Please be careful with this option as a bad actor can submit a malicious pull request that exposes your secrets.'`
2021-12-08 14:12:42 +01:00
Anbraten
581f0ecba9
fix back links (#529)
* fix back links

* disable back navigation for now
2021-12-08 14:01:33 +01:00