Commit Graph

77 Commits

Author SHA1 Message Date
Robert Kaussow
572f1e1861 Rework background colors for light/dark theme (#5411) 2025-08-14 11:42:06 +02:00
Anbraten
966c417286 Add pipeline log fullscreen (#5377) 2025-08-04 13:17:36 +02:00
Anbraten
c659128f31 Show changed files as file-tree (#5379) 2025-07-31 23:49:42 +02:00
Anbraten
49d112a210 Add and edit additional forges in UI (#5328)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-07-19 08:49:19 +02:00
Anbraten
b1e54c5333 Fix loading icons and add missing loading indicators (#5329) 2025-07-15 07:53:22 +02:00
Robert Kaussow
4f26f6dbbc Add missing icon for changes files tab (#5068) 2025-04-04 10:23:29 +02:00
Anbraten
2aecfdc8ba Use pointer cursor for icon buttons (#5002)
Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-03-26 13:51:16 +01:00
Robert Kaussow
cb4ab62e11 Use badge value instead of label for single values (#5010) 2025-03-25 01:10:29 +01:00
Robert Kaussow
597ecb1a4b Fix queue badge list (#5008) 2025-03-25 01:46:21 +02:00
Robert Kaussow
296bd5b437 Add icons to all tabs (#4421) 2025-03-24 13:01:53 +01:00
renovate[bot]
981d5fc55b fix(deps): update dependency tailwindcss to v4 - abandoned (#4778)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-02-14 09:12:16 +02:00
renovate[bot]
115135b3f4 chore(deps): update dependency @antfu/eslint-config to v4.1.0 (#4780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2025-01-27 11:08:39 +01:00
Patrick Schratz
a8e450f0bb Fix typo causing Bitbucket icon to be missing (#4700) 2025-01-11 08:09:09 +02:00
Robert Kaussow
025ecdd631 Add priority menu to tabs (#4641) 2025-01-10 07:38:31 +01:00
Patrick Schratz
2d3db3de28 Migrate from Windi to Tailwind (#4614)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-01-07 08:52:44 +01:00
Patrick Schratz
5b0d788737 Add vscode tailwind extensions & prettier tailwind linter, sort tailwind classes (#4622)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-12-31 14:03:21 +01:00
Patrick Schratz
c9b80cf282 Refactor icons: harmonize contextually, use filled status icons (#4584)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-30 10:51:29 +01:00
Patrick Schratz
bf751199c3 Add lighter red shades for error messages (#4611)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-28 15:26:37 +01:00
Patrick Schratz
887e5d985e Use icon sizes relative to font size (#4575) 2024-12-21 20:37:08 +01:00
qwerty287
7189cd61bf Some UI improvements (#4497)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-12-01 20:39:00 +01:00
Robert Kaussow
7109f3c6d1 Change default icon size to 20 (#4458)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-11-26 20:02:29 +01:00
Robert Kaussow
4904cd059a Add visibility icon to repo list (#4460) 2024-11-25 21:30:52 +01:00
Robert Kaussow
068893d525 Unify pipeline status icons (#4414)
Co-authored-by: 6543 <6543@obermui.de>
2024-11-22 10:14:00 +01:00
Robert Kaussow
350082cd19 Add count badge to visualize counters in tab title (#4419) 2024-11-20 22:02:59 +01:00
Robert Kaussow
b906a3337c Fix responsiveness of the settings template (#4383) 2024-11-16 01:02:01 +01:00
Robert Kaussow
a1193f0fb4 Improve linter messages in UI (#4351) 2024-11-11 23:34:20 +01:00
qwerty287
059cb93d06 Remove unplugin-icons (#3809) 2024-07-17 08:13:56 -07:00
Anbraten
1a39d57f71 Enhance authentication UX (#3807) 2024-06-21 09:55:30 +02:00
Anbraten
fbb96ff8f5 Add api for forges (#3733) 2024-06-20 13:08:54 +02:00
renovate[bot]
22414744b0 chore(deps): update dependency eslint to v9 - abandoned (#3594)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-06 15:16:59 +02:00
qwerty287
91b122e1ce Native forgejo support (#3684)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2024-06-01 11:23:19 +02:00
Thor Anker Kvisgård Lange
364d708923 Add bitbucket datacenter (server) support (#2503)
This pull-requests re-introduces the Bitbucket Server support with a
more or less complete rewrite of the forge implementation. We have a lot
of on-premises git repositories hosted in Bitbucket Server and need a CI
solution for running that and Woodpecker looks promising.

The implementation is based on external Bitbucket Server REST client
library which we are maintaining and have created in another context.
Besides the original support for Bitbucket the re-implementation also
adds support for handling Bitbucket pull-request events.
2024-02-20 15:58:02 +01:00
Lukas
94b882fb95 Add spellcheck config (#3018)
Part of #738 

```
pnpx cspell lint --gitignore '{**,.*}/{*,.*}'
```

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-27 21:15:10 +01:00
Lukas
f8a4d72381 Add loading spinner and no pull request text (#3113) 2024-01-03 19:39:45 +01:00
Anbraten
f01ac3f0a3 Add pull request closed event (#2684)
- [x] updates docs
- [x] adjust UI
  - [x] show correct icon
  - [x] show correct link (to pr)
  - [x] add as option in secret edit
- [x] parse webhook
- [x] update tests
  - [x] github merged
  - [x] github closed
  - [x] gitea merged
  - [x] gitea closed
  - [x] bitbucket merged
  - [x] bitbucket closed
  - [x] gitlab merged
  - [x] gitlab closed

closes #286
2023-12-26 19:22:52 +01:00
Anbraten
ba21f29c27 Update pipeline icons (#2783)
![image](https://github.com/woodpecker-ci/woodpecker/assets/6918444/1da704e0-f160-44f4-8b23-e223313c0f11)
2023-12-19 06:00:56 +01:00
Anbraten
16803d6217 Show secrets from org and global level (#2873)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-16 10:29:13 +01:00
Lauris BH
9f9127b093 Revert to previous red colors but do not use red color for text (#2786)
Revert red colors back introduced by #2778 

But do not use red color for text on dark background anywhere

example:

![attels](https://github.com/woodpecker-ci/woodpecker/assets/165205/39f008fe-3d43-495f-b956-ea5bf4a5fa16)
2023-11-09 23:00:52 +02:00
Lauris BH
6f07f2acf2 Fix error color contrast in dark theme (#2778) 2023-11-09 07:07:20 +01:00
Robert Kaussow
4c2dbca2e9 Replace linter icons to match theme (#2765)
@qwerty287 @anbraten What do you think about this approach? This way the
icons fit more into the existing design. I've also moved the icon in the
tab to the end as this looks IMO a bit better on mobile view, but open
for discussions.


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f56a9688-4ca2-4b7b-a053-3e74effe6976)
<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/93cd4dd6-4e22-4210-9fee-f8d134d3df42"
width=350> <img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/6128fec9-3dc5-4483-abde-5a911b236138"
width=350>

Alternative idea for errors:

<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/bee8b1ea-8d27-43cc-9fb1-2df0031d3551"
width=350>

Or just use one symbol and only change the color for errors/warnings?
2023-11-09 00:03:36 +02:00
qwerty287
aeb7bcb26a Remove WOODPECKER_DOCS config (#2647) 2023-10-25 15:05:19 +02:00
Anbraten
284fb99194 UI cleanups and improvements (#2548) 2023-10-08 17:49:13 +02:00
Robert Kaussow
e21a41de8c Add option to render button as link (#2378)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1259

Work from https://github.com/woodpecker-ci/woodpecker/pull/1602/files

With this approach, existing buttons are still working and buttons with
`to="https://..."` are rendered as `a` tag. Not sure about the
"recursive render" issue from the original PR, have not seen any
rendering issue, any idea about this?


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/2e87be21-3d3d-47b3-a2c4-1ffe5cfee592)
2023-09-08 08:44:22 +02:00
qwerty287
3bdeb47d8c Use Vue setup directive (#2165) 2023-08-08 12:22:39 +02:00
Robert Kaussow
dca01e6817 Use consistent woodpecker color scheme (#2003)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1079

What do you think about using a consistent `woodpecker` color scheme?
Right now, the `lime` color scheme from windicss is used that does not
really fit the primary color used for the documentation website. I have
used the primary color `#4CAF50` from the docs and created a color
palette with https://palettte.app/:

<details>
  <summary>JSON source</summary>

```Json
[
  {
    "paletteName": "New Palette",
    "swatches": [
      {
        "name": "New Swatch",
        "color": "166E30"
      },
      {
        "name": "New Swatch",
        "color": "248438"
      },
      {
        "name": "New Swatch",
        "color": "369943"
      },
      {
        "name": "New Swatch",
        "color": "4CAF50"
      },
      {
        "name": "New Swatch",
        "color": "68C464"
      },
      {
        "name": "New Swatch",
        "color": "8AD97F"
      }
    ]
  }
]
```

</details>


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a254f1e0-ce17-43a9-9e8b-72252296fd6f)

I have added this color scheme to the windicss config and replaced the
use of `lime` in the UI. While `woodpecker-300` would be the primary
color that is used for the docs, I currently use `woodpecke-400` as
primary color for the UI to fix some contrast issues.


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/7bf751e1-f2a6-481c-bee7-a27d27cf8adb)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e5673dc7-81c1-4fd4-bef9-14494bc5aa27)

What do you think? If you would like to stay with the current colors,
that's fine for me, I can just use the custom CSS feature in this case.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-08-02 09:09:12 +02:00
Robert Kaussow
37fcc26330 Use unified rounded corners for all elements in the nav bar (#2000)
Nav bar:
![Bildschirmfoto vom 2023-07-15
13-43-18](https://github.com/woodpecker-ci/woodpecker/assets/3391958/addb0064-b230-412c-9aae-fbfa8c39b839)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/21e08079-864d-425a-a4e3-17009094b2c6)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/433bf33b-2124-434b-9f16-e5f586f4d4ec)

Other icon buttons:
![Bildschirmfoto vom 2023-07-15
13-50-18](https://github.com/woodpecker-ci/woodpecker/assets/3391958/c070b09d-2700-4eac-97ed-b4bef42ea3e6)
2023-07-15 15:47:15 +02:00
qwerty287
a778b5fb90 Do not use window.WOODPECKER_* variables directly (#1992)
use the config helper instead
2023-07-13 15:57:50 +02:00
Anbraten
f13ffc2c8f Save agent-id for tasks and add endpoint to get agent tasks (#1631)
Save which agent is running a task. This is now visible in the admin UI
in the queue and in the agent details screen.

# changes
- [x] save id of agent executing a task
- [x] add endpoint to get tasks of an agent for #999 
- [x] show assigned agent-id in queue
- [x] (offtopic) use same colors for queue stats and icons (similar to
the ones used by pipelines)
- [x] (offtopic) use badges for queue labels & dependencies


![image](https://user-images.githubusercontent.com/6918444/226541271-23f3b7b2-7a08-45c2-a2e6-1c7fc31b6f1d.png)
2023-03-21 15:10:43 +02:00
Anbraten
2337f1854a Add queue details UI for admins (#1632)
# Changes
- Adds an admin view to see the whole work-queue of the server. 
- The admin can also pause / resume the queue. 
- The view is reloading data every 5 seconds automatically.
- The task model from queue got removed in favor of the one from models.
2023-03-20 04:50:56 +01:00
Anbraten
277a839157 Add users UI for admins (#1634)
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-03-18 21:21:20 +01:00