Commit graph

238 commits

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