Commit graph

159 commits

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