Commit graph

699 commits

Author SHA1 Message Date
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
Anbraten
56f957b4e6
Improve favicons (#576)
- dark-mode favicon variants
- favicons based on pipeline state if opened build page

Co-authored-by: 6543 <6543@obermui.de>
2021-12-08 13:58:00 +01:00
Lukas
680d003a29
Add linter revive (#554)
* Add linter revive

* Add underscore to variable name to prevent shadowing

* Remove unnecessary leading underscore

* Revert changes to vendor file

* export ConfigFetcher as interface

* no 'yoda conditions'

* rename envsubst

Co-authored-by: 6543 <6543@obermui.de>
2021-12-01 14:22:06 +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
Nulo
34ff30010e
Show environ in every BuildProc (#526)
* Show environ in every BuildProc

* show environ next to build proc

Co-authored-by: Anbraten <anton@ju60.de>
2021-11-23 04:51:19 +01:00
Galen Abell
ee67e9adb4
Use monospace font for build logs (#527) 2021-11-22 20:15:14 +01:00
Anbraten
58838f225c
Rewrite of WebUI (#245)
Rewrite of the UI using Typescript, Vue3, Windicss and Vite. The design should  be close to the current one with some changes:
- latest pipeline in a sidebar on the right
- secrets and registry as part of the repo-settings (secrets and registry entries shouldn't be used as much so they can be "hidden" under settings IMO)
- start page shows list of active repositories with button to enable / add new ones (currently you see all repositories and in most cases you only add new repositories once in a while)
2021-11-03 17:40:31 +01:00
Anbraten
b10f10a290
pin ua-parser-js versions to ^0.7.30 (#467) 2021-10-24 12:58:56 +02:00
luzpaz
9b687a923e
Fix various typos (#416)
Fix various typos found via `codespell -q 3 -S vendor -L pullrequest,pullrequests`
2021-10-08 18:35:56 +02:00
Anbraten
ed6d3f3cea
Use go embed for web files and remove httptreemux (#382)
- replace togo with go embed
- replace httptreemux with gin

closes #308
2021-09-29 17:34:56 +02:00
Anbraten
894df351ee
Remove push, tag and deployment webhook filters (#281)
- remove `AllowPush`, `AllowTag`,  `AllowDeploy` options.
- keep `AllowPullRequest` option and disable it by default

---
close #265 
close #243
2021-09-18 16:28:35 +02:00
Anbraten
289f0c9ad6
Change pipeline config path resolution (#299)
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)

# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)

---
closes #133

---

* adjust config fetching mechanism

* default path empty

* remove fallback flag from ui and db
2021-09-17 21:40:43 +02:00
Anbraten
830b03619e
Fix: allow multi pipeline file to be named .drone.yml (#250) 2021-07-22 12:53:56 +02:00
Laszlo Fogas
9bf8e05fd0
Merge pull request #205 from alexef/filter-main-branch
Filter main branch
2021-05-27 16:10:21 +02:00
Alex Eftimie
59abb98449 Fix lint 2021-05-27 07:33:11 +02:00
Alex Eftimie
1c2d4aba3b attempt to fix lint 2021-05-27 07:17:11 +02:00
Alex Eftimie
2139ed8973 Fix lint 2021-05-27 07:06:55 +02:00
Alex Eftimie
943a308afe Allow configuring the URL to user documentation 2021-05-27 06:58:30 +02:00
Alex Eftimie
00045028c0 Filter default branch
Allow the user to view only builds from main/master.
2021-05-27 06:49:18 +02:00
Mykyta Solomko
b69359e046 Dark terminal background 2021-05-09 18:51:26 +03:00
Alex Eftimie
3d311b6859 Fix lint
https://wp.laszlo.cloud/laszlocph/woodpecker/103/6
2021-03-19 15:44:16 +01:00
Alex Eftimie
0531b105db Update build details - show author 2021-03-19 10:27:39 +01:00
Laszlo Fogas
34c170500a Not rendering multipipeline controls for non multipipeline jobs 2021-03-15 08:55:51 +01:00
CrabHo
b558e0b429 feat: improve ProvListHolder UI 2021-03-12 13:52:08 +08:00
CrabHo
87928d2600 fix: non multi pipline steps is not display 2021-03-11 16:57:53 +08:00
syntheticbit
250bbee699
Update titles.js 2021-03-08 07:28:05 -08:00
Kepler Vital
3b7147780b [multipipeline-group-ui] add collapse/expand feature to multipipeline group 2021-03-04 19:15:39 +01:00
Kepler Vital
1459f306eb [multipipeline-group-ui] reduce space between pipeline groups 2021-03-04 19:14:11 +01:00
Kepler Vital
f3a41bfbb6 [multipipeline-group-ui] do not capitilize multipipeline group name by default 2021-03-04 19:11:35 +01:00
Kepler Vital
a5959470b7 [multipipeline-group-ui] yarn install 2021-03-04 19:10:57 +01:00
Laszlo Fogas
b14abadbba Revert "Bump webpack-dev-server from 2.11.5 to 3.1.11 in /web"
This reverts commit 2bfa5732b6.
2021-02-26 08:49:19 +01:00
Laszlo Fogas
a200708a61
Merge pull request #140 from laszlocph/dependabot/npm_and_yarn/web/http-proxy-1.18.1
Bump http-proxy from 1.16.2 to 1.18.1 in /web
2021-02-19 09:27:52 +01:00
Laszlo Fogas
93485372d5
Merge pull request #152 from laszlocph/dependabot/npm_and_yarn/web/lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20 in /web
2021-02-19 09:27:40 +01:00
Laszlo Fogas
a19c92bbe9
Merge pull request #139 from laszlocph/dependabot/npm_and_yarn/web/handlebars-4.7.6
Bump handlebars from 4.1.2 to 4.7.6 in /web
2021-02-19 09:27:28 +01:00
dependabot[bot]
dbe0085ee1
Bump handlebars from 4.1.2 to 4.7.6 in /web
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 13:34:26 +00:00
dependabot[bot]
c999894ff8
Bump elliptic from 6.4.0 to 6.5.3 in /web
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 13:34:22 +00:00
dependabot[bot]
3fb3fd7924
Bump http-proxy from 1.16.2 to 1.18.1 in /web
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.16.2 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.16.2...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 13:33:41 +00:00
dependabot[bot]
f9760afd0f
Bump lodash from 4.17.15 to 4.17.20 in /web
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 13:33:22 +00:00
Laszlo Fogas
be172d61b2
Merge pull request #123 from laszlocph/dependabot/npm_and_yarn/web/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.2 to 0.1.4 in /web
2021-01-18 14:32:37 +01:00
Laszlo Fogas
c5e596b552
Merge pull request #146 from laszlocph/dependabot/npm_and_yarn/web/webpack-dev-server-3.1.11
Bump webpack-dev-server from 2.11.5 to 3.1.11 in /web
2021-01-18 14:32:07 +01:00
dependabot[bot]
d8d7c65015
Bump ini from 1.3.4 to 1.3.8 in /web
Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.4...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 01:03:07 +00:00
dependabot[bot]
2bfa5732b6
Bump webpack-dev-server from 2.11.5 to 3.1.11 in /web
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 2.11.5 to 3.1.11.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/commits/v3.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-18 08:08:24 +00:00
dependabot[bot]
80764a55b7
Bump websocket-extensions from 0.1.2 to 0.1.4 in /web
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.2 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.2...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 12:05:22 +00:00
Laszlo Fogas
824a206ee4 Updated project linter rules and ran it 2019-11-15 10:50:46 +01:00
Laszlo Fogas
12279686e8 Ran npx prettier --write "**/*.js" "*.js" 2019-11-15 10:46:33 +01:00
Laszlo Fogas
af4e65e994
Merge pull request #100 from laszlocph/dependabot/npm_and_yarn/web/sshpk-1.16.1
Bump sshpk from 1.13.1 to 1.16.1 in /web
2019-11-14 11:28:27 +01:00
Laszlo Fogas
d7df56e2bf
Merge pull request #104 from laszlocph/mkdocs
Mkdocs
2019-11-14 11:25:15 +01:00
Laszlo Fogas
c23ecea432 Relaunched the docs site 2019-11-13 20:14:15 +01:00
Laszlo Fogas
a63a74053e Administration articles moved 2019-11-13 20:04:14 +01:00
dependabot[bot]
36a8e68c5e
Bump sshpk from 1.13.1 to 1.16.1 in /web
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.1...v1.16.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-13 11:36:41 +00:00
Laszlo Fogas
57b906c3c7
Merge pull request #92 from laszlocph/dependabot/npm_and_yarn/web/lodash.merge-4.6.2
Bump lodash.merge from 4.6.0 to 4.6.2 in /web
2019-11-13 11:15:10 +01:00
Laszlo Fogas
bb1b72b8a4
Merge pull request #93 from laszlocph/dependabot/npm_and_yarn/web/macaddress-0.2.9
Bump macaddress from 0.2.8 to 0.2.9 in /web
2019-11-13 11:14:56 +01:00
Laszlo Fogas
b6d43e2613
Merge pull request #94 from laszlocph/dependabot/npm_and_yarn/web/marked-0.3.19
Bump marked from 0.3.6 to 0.3.19 in /web
2019-11-13 11:14:42 +01:00
Laszlo Fogas
0fcb1f1c43
Merge pull request #95 from laszlocph/dependabot/npm_and_yarn/web/stringstream-0.0.6
Bump stringstream from 0.0.5 to 0.0.6 in /web
2019-11-13 11:14:26 +01:00
Laszlo Fogas
3b83e0f0fe
Merge pull request #96 from laszlocph/dependabot/npm_and_yarn/web/diff-3.5.0
Bump diff from 3.3.1 to 3.5.0 in /web
2019-11-13 11:14:12 +01:00
Laszlo Fogas
bb88be5060 Lint fix 2019-11-12 21:48:19 +01:00
Laszlo Fogas
0970d3a971 Make version number visible in UI 2019-11-12 21:42:05 +01:00
Laszlo Fogas
8dee34878d Version is now a string coming from ldlags and git tags 2019-11-12 21:10:16 +01:00
dependabot[bot]
9e97157765
Bump diff from 3.3.1 to 3.5.0 in /web
Bumps [diff](https://github.com/kpdecker/jsdiff) from 3.3.1 to 3.5.0.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v3.3.1...v3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 14:04:10 +00:00
dependabot[bot]
315eb06829
Bump stringstream from 0.0.5 to 0.0.6 in /web
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 14:04:09 +00:00
dependabot[bot]
6a603ee9c6
Bump macaddress from 0.2.8 to 0.2.9 in /web
Bumps [macaddress](https://github.com/scravy/node-macaddress) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/scravy/node-macaddress/releases)
- [Commits](https://github.com/scravy/node-macaddress/compare/0.2.8...0.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 14:04:00 +00:00
dependabot[bot]
693e982396
Bump marked from 0.3.6 to 0.3.19 in /web
Bumps [marked](https://github.com/markedjs/marked) from 0.3.6 to 0.3.19.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.3.6...v0.3.19)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 14:04:00 +00:00
dependabot[bot]
a8a7a61574
Bump lodash.merge from 4.6.0 to 4.6.2 in /web
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 14:03:59 +00:00
dependabot[bot]
555adb7da7
Bump yarn from 1.6.0 to 1.17.3 in /web
Bumps [yarn](https://github.com/yarnpkg/yarn) from 1.6.0 to 1.17.3.
- [Release notes](https://github.com/yarnpkg/yarn/releases)
- [Changelog](https://github.com/yarnpkg/yarn/blob/v1.17.3/CHANGELOG.md)
- [Commits](https://github.com/yarnpkg/yarn/compare/v1.6.0...v1.17.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-12 13:58:34 +00:00
Laszlo Fogas
b200f5cadc Building frontend 2019-11-12 14:53:50 +01:00
Laszlo Fogas
61a14df51b Pull in frontend 2019-11-12 14:27:39 +01:00
Brad Rydzewski
0fb4aeda3f bump to 0.5 in master 2016-05-02 12:21:25 -07:00
Brad Rydzewski
53eac09f34 added org and open registration 2016-05-01 17:33:22 -07:00
Brad Rydzewski
ebd547deac refactoring remotes to remove deprecated variables, adding tests 2016-05-01 16:30:00 -07:00
Brad Rydzewski
4d4003a9a1 moved 0.5 out of feature flag, removed deprecated 0.4 code and features 2016-04-28 14:10:32 -07:00
Brad Rydzewski
8dc3c452e0 Merge pull request #1593 from bradrydzewski/master
implemented 0.5 in-memory stream multiplexer
2016-04-23 14:04:37 -07:00
Brad Rydzewski
f3709922b3 added code to manage secrets 2016-04-23 04:27:28 -07:00
Brad Rydzewski
b9037b9d7c converted stream reader to io.ReadCloser 2016-04-22 18:15:07 -07:00
Brad Rydzewski
34c3c92ec3 created custom stream implementation 2016-04-22 17:35:32 -07:00
Brad Rydzewski
fa76617c7c Merge pull request #1591 from bradrydzewski/master
use new 0.5 .drone.sig signature file
2016-04-21 17:42:48 -07:00
Brad Rydzewski
faf7ff675d use new .drone.sig signature file 2016-04-21 17:10:19 -07:00
Brad Rydzewski
a0f8457e87 Merge pull request #1586 from bradrydzewski/master
fully functioning builds using 0.5 agents, secrets and yaml (behind feature flag)
2016-04-21 00:30:41 -07:00
Brad Rydzewski
bcc768b157 fully functioning build using 0.5 agents 2016-04-21 00:25:30 -07:00
Brad Rydzewski
fd80216b74 improve branch filter logic for non-push hooks
this change alters the branch filter logic to not execute for tags or deployment hooks, which may contain the ref in the branch field and would otherwise be likely to fail the check.
2016-04-20 08:31:47 -07:00
Brad Rydzewski
fd63d6e03d refact yaml operations to yaml package 2016-04-19 13:02:28 -07:00
Brad Rydzewski
62ccf1bd60 added 0.5 yaml and runtime support through feature flag 2016-04-18 12:07:01 -07:00
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Brad Rydzewski
df7068ef32 stub for slash commands 2016-04-12 10:12:14 -07:00
Brad Rydzewski
380b205f83 backport branch, matrix parsing improvements 2016-04-11 11:15:53 -07:00
Jeff Storey
b7d537fc5d #1533 first cut to show only active repos initially 2016-03-31 20:16:33 -04:00
Brad Rydzewski
8251663686 create web package 2016-03-30 23:27:53 -07:00