Commit graph

53 commits

Author SHA1 Message Date
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
qwerty287 8b7ca464cf
Always use rounded quadrat user avatars (#1350)
To stay consistent with the header.
2022-10-27 16:11:37 +02:00
Lukas 9ece7a1c49
Change locale in user settings (#1305)
Closes #1109
2022-10-27 02:42:39 +02:00
Lukas 6ea23c1aac
Fix display of long pipeline and job names (#1346) 2022-10-27 00:49:26 +02: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
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 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
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
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
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
Lukas 9871b3cc8c
Add titles for IconButtons (#1245) 2022-10-08 19:06:53 +02:00
Lukas 6397965406
Remove unused eslint-disable directives (#1243) 2022-10-08 14:26:24 +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
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
qwerty287 22214f5a43
Do not show pipeline name if it's a single file (#1069) 2022-08-15 15:53:36 +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
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
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
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
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
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
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
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 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 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 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
6543 ff8ad5bb83
Fix registry delete (#532)
- Make make it possible to delete `"§4fda`
- Reject non urls for registry-address
- Fix #520
2021-11-25 19:04:36 +01:00
Anbraten 57db3227ab
Fix overflowing commit messages (#528) 2021-11-23 17:15:50 +01:00