Commit graph

436 commits

Author SHA1 Message Date
Anbraten f44aa8a6fd
Remove plugin-only option from secrets (#2213) 2023-10-24 20:38:47 +02:00
qwerty287 69917c1a0d
Add "Repair all" button (#2642)
to the admin repo list

ref #2639
2023-10-24 14:12:55 +02:00
qwerty287 45bff3f49f
Some mobile UI fixes (#2624)
- hide event badges on secret lists
- fix margin on admin users
2023-10-23 09:36:46 +02:00
renovate[bot] da61c6a4ba
chore(deps): lock file maintenance (#2595) 2023-10-17 20:25:51 +02:00
Weblate e38ee28a8b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (350 of 350 strings)

Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-10-16 09:46:06 +00:00
Weblate be460a46ac Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (350 of 350 strings)

Translated using Weblate (German)

Currently translated at 100.0% (350 of 350 strings)

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-10-13 17:14:47 +00:00
Weblate a95f1bc625 Translated using Weblate (Indonesian)
Currently translated at 100.0% (350 of 350 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (350 of 350 strings)

Translated using Weblate (French)

Currently translated at 100.0% (350 of 350 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: yeziruo <i@yeziruo.com>
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/zh_Hans/
Translation: Woodpecker CI/UI
2023-10-11 12:46:06 +00:00
Anbraten f54cc2f853
Fix fetch request content type (#2562) 2023-10-10 16:26:56 +02:00
Anbraten 284fb99194
UI cleanups and improvements (#2548) 2023-10-08 17:49:13 +02:00
Michalis Zampetakis 259ff78a62
Fix PR event trigger and list for bitbucket repos (#2539)
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-10-08 14:18:49 +02:00
qwerty287 22dfd2ef62
Refactor pipeline parsing and forge refreshing (#2527)
- refactor pipeline parsing
- do not parse the pipeline multiple times to perform filter checks, do
this once and perform checks on the result directly
    - code deduplication
- refactor forge token refreshing
    - move refreshing to a helper func to reduce code

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-10-08 14:05:06 +02:00
Weblate cbd0c26a0c Translated using Weblate (German)
Currently translated at 100.0% (349 of 349 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-10-07 17:03:56 +00:00
Weblate 7c52358443 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (349 of 349 strings)

Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-09-22 05:59:35 +00:00
Weblate 4e1db732e9 Translated using Weblate (French)
Currently translated at 100.0% (349 of 349 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-09-20 16:46:02 +00:00
qwerty287 78ebd55acc
Some UI enhancement (#2468)
- Closes #2001 
-
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussioncomment-6666895
- shows prettyRef for deployments
2023-09-17 12:32:23 +02:00
renovate[bot] d3e9866d41
fix(deps): update dependency ansi_up to v6 (#2431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-15 09:18:04 +01:00
Weblate 7e8db144d3 Translated using Weblate (French)
Currently translated at 98.5% (344 of 349 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-09-12 02:52:47 +00:00
Weblate 16bfa4d80b Translated using Weblate (Czech)
Currently translated at 100.0% (349 of 349 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (349 of 349 strings)

Translated using Weblate (French)

Currently translated at 98.2% (343 of 349 strings)

Translated using Weblate (Latvian)

Currently translated at 87.9% (307 of 349 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Zakarisz Ghent <zakarisz@users.noreply.translate.woodpecker-ci.org>
Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
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/
Translation: Woodpecker CI/UI
2023-09-10 22:14:01 +00:00
renovate[bot] a93027b9b5
chore(deps): update dependency prettier to v3 (#2420) 2023-09-10 11:01:52 +02:00
Weblate b4060c26c4 Translated using Weblate (Czech)
Currently translated at 24.7% (86 of 348 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
Translation: Woodpecker CI/UI
2023-09-09 06:44:21 +00:00
Robert Kaussow 5c2f02c4a1
Harmonize pipeline status information and add a review link to the approval (#2345)
Ref:
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussioncomment-6666864

Adds a `PipelineInfo` view to harmonize pipeline status information and
add a review link to the approval view.


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/41062b5f-0f15-4c3c-b72c-e22092804072)


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/4cfb1bc8-8bfd-4217-bce3-c9a1378f58ee)


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f3b22a07-464e-4d29-85f0-de122bce1bbe)

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-09 08:35:53 +02:00
Weblate 9e1ea770c9 Translated using Weblate (Czech)
Currently translated at 9.3% (32 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
Translation: Woodpecker CI/UI
2023-09-08 11:27:24 +00:00
qwerty287 d04bb72e5e
Add repos list for admins (#2347) 2023-09-08 12:26:20 +02:00
Robert Kaussow e21a41de8c
Add option to render button as link (#2378)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1259

Work from https://github.com/woodpecker-ci/woodpecker/pull/1602/files

With this approach, existing buttons are still working and buttons with
`to="https://..."` are rendered as `a` tag. Not sure about the
"recursive render" issue from the original PR, have not seen any
rendering issue, any idea about this?


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/2e87be21-3d3d-47b3-a2c4-1ffe5cfee592)
2023-09-08 08:44:22 +02:00
Robert Kaussow 718ec6141c
close sidebar on outside click (#2325)
[record.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f797be2c-09a9-4699-be85-7d5925e146ed)

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-07 22:28:36 +02:00
Weblate 632bd1fd34 Translated using Weblate (Czech)
Currently translated at 3.2% (11 of 342 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.8% (338 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.woodpecker-ci.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-09-07 09:46:01 +00:00
Weblate e549f630a2 Added translation using Weblate (Czech)
Co-authored-by: mondstern <mondstern@monocles.de>
2023-09-05 19:49:10 +00:00
Weblate cdb25a64c9 Translated using Weblate (French)
Currently translated at 99.4% (340 of 342 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-09-05 08:46:01 +00:00
Weblate 503252df38 Translated using Weblate (Indonesian)
Currently translated at 100.0% (342 of 342 strings)

Translated using Weblate (German)

Currently translated at 100.0% (342 of 342 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
2023-09-03 19:57:57 +00:00
qwerty287 56b8ba151a
Delete repos/secrets on org deletion (#2367) 2023-09-02 15:00:13 +02:00
Weblate cf16d0ce2d Translated using Weblate (German)
Currently translated at 100.0% (342 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-09-01 18:46:00 +00:00
Weblate 482aae6c0b Translated using Weblate (Indonesian)
Currently translated at 100.0% (342 of 342 strings)

Translated using Weblate (French)

Currently translated at 99.4% (340 of 342 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-08-31 09:46:00 +00:00
qwerty287 971534929c
Only show commit title (#2361)
https://github.com/woodpecker-ci/woodpecker/issues/2359
2023-08-30 17:08:56 +02:00
Robert Kaussow 91192a900a
Truncate commit message in pipeline log view header (#2356) 2023-08-30 16:17:01 +02:00
qwerty287 9718791eac
Increase header padding again (#2348)
From #2327
(https://github.com/woodpecker-ci/woodpecker/pull/2327#pullrequestreview-1600673521)

This probably needs some discussion first, but I think it looks ugly
with the current padding.

**Before**
![Screenshot 2023-08-29 at 17-17-00
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/0f4df035-b10e-4309-b119-2044fad1d534)

**After**
![Screenshot 2023-08-29 at 17-16-48
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/c45328c1-c3bf-401d-83fa-1b4b1b96d0c0)
2023-08-29 18:31:25 +02:00
Robert Kaussow 81aa9b1439
Use full width header on pipeline view and show repo name (#2327)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: 6543 <m.huber@kithara.com>
2023-08-29 15:57:58 +02:00
Weblate c613664753 Translated using Weblate (Indonesian)
Currently translated at 100.0% (341 of 341 strings)

Translated using Weblate (German)

Currently translated at 100.0% (341 of 341 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
2023-08-29 13:07:01 +00:00
Robert Kaussow d155dfdecb
Use html list for changed files list (#2346)
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/743317fa-cce6-4eb5-aaa4-7f38aadfcb66)
2023-08-29 15:06:56 +02:00
qwerty287 5bd12aa646
Show that repo is disabled (#2340)
And allow to show badges for disabled repos

Fixes 3rd checkbox from
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussion-5498655

![Screenshot 2023-08-28 at 11-13-23
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/d881f0c5-6225-4921-9d05-a26f27ad5365)
2023-08-28 18:57:44 +02:00
qwerty287 479ced3b25
Add org list (#2338)
![Screenshot 2023-08-28 at 10-08-20
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/e3248b05-7899-43ca-a0cf-4834eae078d8)
Closes #2307
2023-08-28 11:15:16 +02:00
Robert Kaussow 15bd20d58b
Show correct event in pipeline step list (#2334)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2207


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e1a1dcf9-c47b-4089-8187-789bfd54e1a7)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/5432cf7d-fe31-4182-87f7-5622fc1abe3c)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-28 08:08:53 +02:00
Robert Kaussow e139abf15a
Add min height to mobile pipeline view and fix overflow (#2335)
The mobile pipeline view in landscape view is not really usable. The
idea is to add a min-height to use the screen a bit better for the main
content. Before:


[before.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/c4f38da6-c0f2-4549-9f80-90a4b02ddc94)

After:


[after.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a0397d52-aeda-4edf-9200-953ca4738daa)
2023-08-28 00:36:48 +02:00
Robert Kaussow c5c01ddd19
Fix grid column size in pipeline log view (#2336)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1832

Before:

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/cdb91f9e-98b9-4e66-9c64-b90d4e59fb73"
width="500">

After:

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/ec5e0c4d-545b-4ba0-8550-9e3f6701551f"
width="500">
2023-08-28 00:35:41 +02:00
Robert Kaussow 2f6909847f
Fix mobile login view (#2332)
Before:

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/27a97d84-1aea-4edd-8816-65693429caf9"
width="300">

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/efcba454-515c-453e-abce-6cfd63b30dc7"
width="500">

After:

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/3fa4ee48-f230-4cdb-bdb9-8527477cb4e2"
width="300">

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/2b327f53-8a33-4506-adb3-1f7ccb64c702"
width="500">
2023-08-27 20:58:06 +02:00
Robert Kaussow c5240d8ce0
Fix button loading spinner when activating repos (#2333)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2234

There is no internal `repo.id` for not enabled repos. Use the remote
forge repo id instead.
2023-08-27 17:54:33 +02:00
Weblate 2e7f969fac Translated using Weblate (French)
Currently translated at 99.3% (331 of 333 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-08-27 09:46:00 +00:00
Robert Kaussow 336c41dd33
add spacing to pipeline feed spinner (#2326)
Ref:
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussioncomment-6666893

## Before

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/d58b5b1d-92e8-4e06-bcf2-4f726fc606e4)

## After

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/2474992c-988c-4775-ac5f-e38ed05530a4)
2023-08-26 02:27:24 +02:00
Weblate c4e28e304f Translated using Weblate (Indonesian)
Currently translated at 100.0% (333 of 333 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.1% (327 of 333 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.1% (327 of 333 strings)

Translated using Weblate (French)

Currently translated at 98.1% (327 of 333 strings)

Translated using Weblate (German)

Currently translated at 100.0% (333 of 333 strings)

Co-authored-by: IamIpanda <xinguangyao@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.woodpecker-ci.org>
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/zh_Hans/
Translation: Woodpecker CI/UI
2023-08-25 15:46:04 +00:00
qwerty287 81ead7cbf2
Support user secrets (#2126) 2023-08-21 15:04:12 +02:00
qwerty287 06d1f3c92e
Create settings-panel vue component and use InputFields (#2177)
Co-authored-by: 6543 <6543@obermui.de>
2023-08-21 10:23:16 +02:00
Weblate 2a157cfe7b Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 24.5% (78 of 318 strings)

Co-authored-by: Herman Ronk <woodpecker@hermanronk.nl>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/nl/
Translation: Woodpecker CI/UI
2023-08-21 07:29:49 +00:00
qwerty287 35baaa8224
Use browser-native tooltips (#2189)
Replace the `floating-vue` library with the browser-native tooltips.
Reduces `dist` size by 45KB.
2023-08-20 15:07:27 +02:00
Anbraten 479e500b1b
Move hook and events-stream routes to use /api prefix (#2212)
- move hook and events-stream routes to use `/api` prefix
- rename build to pipeline
2023-08-16 02:42:37 +02:00
qwerty287 f5e9b3df2e
Small improvements to mobile interface (#2202)
1. pipeline step list: do not have a separate scroll container on step
list
2. merge title bars on logs (probably regression of #2140)
2023-08-12 12:36:25 +02:00
Weblate cbb1c46df8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (318 of 318 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-12 00:33:53 +00:00
qwerty287 bc18ccf721
Show all steps (#2190)
Closes #2178
2023-08-10 10:36:41 +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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
qwerty287 1a7f7a9427
Allow to disable swagger (#2093)
https://github.com/woodpecker-ci/woodpecker/issues/1944
2023-08-03 02:42:30 +02:00
Weblate f06e0acdc6 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:39:42 +00:00
Weblate f9ec800481 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:35:08 +00:00
Weblate 0314cb5ada 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:06:08 +00:00
Weblate 957cb95484 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-02 12:26:36 +00:00
Robert Kaussow c36cb9da65
Fix alt text contrast in code boxes (#2089) 2023-08-02 10:36:14 +02:00
Robert Kaussow dca01e6817
Use consistent woodpecker color scheme (#2003)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1079

What do you think about using a consistent `woodpecker` color scheme?
Right now, the `lime` color scheme from windicss is used that does not
really fit the primary color used for the documentation website. I have
used the primary color `#4CAF50` from the docs and created a color
palette with https://palettte.app/:

<details>
  <summary>JSON source</summary>

```Json
[
  {
    "paletteName": "New Palette",
    "swatches": [
      {
        "name": "New Swatch",
        "color": "166E30"
      },
      {
        "name": "New Swatch",
        "color": "248438"
      },
      {
        "name": "New Swatch",
        "color": "369943"
      },
      {
        "name": "New Swatch",
        "color": "4CAF50"
      },
      {
        "name": "New Swatch",
        "color": "68C464"
      },
      {
        "name": "New Swatch",
        "color": "8AD97F"
      }
    ]
  }
]
```

</details>


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a254f1e0-ce17-43a9-9e8b-72252296fd6f)

I have added this color scheme to the windicss config and replaced the
use of `lime` in the UI. While `woodpecker-300` would be the primary
color that is used for the docs, I currently use `woodpecke-400` as
primary color for the UI to fix some contrast issues.


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/7bf751e1-f2a6-481c-bee7-a27d27cf8adb)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e5673dc7-81c1-4fd4-bef9-14494bc5aa27)

What do you think? If you would like to stay with the current colors,
that's fine for me, I can just use the custom CSS feature in this case.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-08-02 09:09:12 +02:00
Robert Kaussow b824693b0a
Fix wrong repo url used by badges (#2037)
---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-27 02:08:06 +02:00
Robert Kaussow 2e954801b8
Always use a static back route (#2028)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1998

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-24 20:06:26 +02:00
Robert Kaussow c0216deb43
Return to users list after creating a new user (#2029)
Fixes:
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1503635132
2023-07-24 19:05:18 +02:00
Anbraten e5d5ec8b47
Use id to access orgs (#1873)
closes #1743 

fixes: setting secrets for own user namespace

- create org in database
- use orgID for org related APIs

Co-authored-by: 6543 <6543@obermui.de>
2023-07-21 19:45:32 +02:00
6543 572449b845
make pending pipelines cancable (#2013)
in some edgecases we get pipelines that we can not cancle via WebUI.

fix https://codeberg.org/Codeberg-CI/feedback/issues/126
2023-07-18 06:12:17 +02:00
Robert Kaussow 37fcc26330
Use unified rounded corners for all elements in the nav bar (#2000)
Nav bar:
![Bildschirmfoto vom 2023-07-15
13-43-18](https://github.com/woodpecker-ci/woodpecker/assets/3391958/addb0064-b230-412c-9aae-fbfa8c39b839)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/21e08079-864d-425a-a4e3-17009094b2c6)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/433bf33b-2124-434b-9f16-e5f586f4d4ec)

Other icon buttons:
![Bildschirmfoto vom 2023-07-15
13-50-18](https://github.com/woodpecker-ci/woodpecker/assets/3391958/c070b09d-2700-4eac-97ed-b4bef42ea3e6)
2023-07-15 15:47:15 +02:00
Patrick Schratz 004d72a853
Link swagger in navbar (#1984)
fix point 1 from #1944 

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-07-13 20:34:02 +02:00
qwerty287 a778b5fb90
Do not use window.WOODPECKER_* variables directly (#1992)
use the config helper instead
2023-07-13 15:57:50 +02:00
qwerty287 570f5044e8
Drop support for Bitbucket Server (#1994)
Closes #1962
2023-07-13 15:47:25 +02:00
Patrick Schratz a4c791c6e5
Correct wording (#1982) 2023-07-12 13:49:18 +02:00
6543 b54f6ebad6
Let pipeline-compiler export step types (#1958) 2023-07-11 15:53:05 +02:00
Weblate a3b9cae759 Translated using Weblate (Latvian)
Currently translated at 100.0% (310 of 310 strings)

Co-authored-by: Lauris BH <lauris@nix.lv>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
Translation: Woodpecker CI/UI
2023-07-09 20:44:58 +00:00
6543 1d6b073ca5
Make secrets with "/" in name editable / deletable (#1938)
close #1937

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-07-08 20:10:47 +02:00
runephilosof-karnovgroup 5d72060bbd
Fix selected line highlighting (#1922)
Also, extract logic to function
2023-07-06 19:49:21 +02:00