Commit Graph
793 Commits
Author SHA1 Message Date
qwerty287andWeblate 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
qwerty287andWeblate 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
qwerty287andGitHub d94769fb13 Fix prettier on locales (#1117) 2022-08-20 11:13:38 +02:00
Lauris BHandWeblate 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
qwerty287andWeblate 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
adminandWeblate 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 BHandWeblate 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
qwerty287andGitHub 22214f5a43 Do not show pipeline name if it's a single file (#1069) 2022-08-15 15:53:36 +02:00
Lauris BHandGitHub a627968b73 Install missing peer dependency (#1106) 2022-08-14 15:37:50 +02:00
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 BHandGitHub 4d390104bd Hide log container if step does not have logs (#1086) 2022-08-10 09:53:55 +02:00
Lauris BHandGitHub 2e8f9e17e6 Add syntax highlighting for pipeline config (#1082) 2022-08-09 17:39:45 +02:00
AnbratenandGitHub 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
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
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 BHandGitHub f654e1f316 Add pipeline log output download (#1023) 2022-07-17 21:51:10 +02:00
Florian MärklandGitHub 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
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 BHandGitHub 415dfb9c46 Fix tabs URLs to be language agnostic (#995) 2022-06-20 19:47:33 +02:00
Lauris BHandGitHub 2153425230 Add Latvian language translation (#992)
Add Latvian language translation (#992)
2022-06-19 07:31:16 +02:00
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
qwerty287andGitHub 42c745362b Show forge icons in UI (#987) 2022-06-17 20:14:01 +02:00
Lauris BHandGitHub 14b3cfff1b Improve dark style text color for better readibility (#985) 2022-06-17 02:00:31 +02:00
AnbratenandGitHub 3c4d451b72 Use xterm.js for log outputs (#846)
- use xterm
- improve error showing
- show build erro
2022-06-16 19:24:27 +02:00
AnbratenandGitHub 3d8ea2e2c9 Return to page after clikcing login at navbar (#975) 2022-06-16 14:38:57 +02:00
Egor TensinandGitHub 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
qwerty287andGitHub 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
AnbratenandGitHub 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
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 ShotanandGitHub 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
AnbratenandGitHub 3064975afd fix: ansi logging (#879) 2022-04-13 22:40:13 +02:00
AnbratenandGitHub 90dcc77870 fix secret updating (#828) 2022-03-03 15:24:20 +01:00
AnbratenandGitHub 2f6f44417d Add editing of secrets and registries (#823) 2022-03-02 00:19:33 +01:00
qwerty287andGitHub 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
AnbratenandGitHub 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
9p4andGitHub 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
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
valentinleistnerandGitHub 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
6543andGitHub 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
AnbratenandGitHub 097676fe47 tiny ui fixes (#702) 2022-01-17 13:48:53 +01:00
AnbratenandGitHub 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
AnbratenandGitHub 6eecfa4b88 Show changed files of pipeline in UI (#650) 2022-01-09 19:28:02 +01:00
AnbratenandGitHub 37c82b905c Show yml config of pipeline in UI (#649)
closes #89
2022-01-09 03:59:45 +01:00
AnbratenandGitHub ce222dfe0e Add registries docs (#679) 2022-01-09 02:50:25 +01:00
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
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
AnbratenandGitHub bed69f9f72 Improve dev docs (#636) 2021-12-21 10:52:10 +01:00
ktprogramsandGitHub 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
6543andGitHub 1d66cd1d0d fix event type deployment for ui (#613) 2021-12-18 20:16:45 +01:00