Commit graph

63 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
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
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
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 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
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
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
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
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
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