Commit graph

93 commits

Author SHA1 Message Date
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