qwerty287
239b00ca20
Fix UI and backend paths with subpath ( #1799 ) ( #2133 )
2023-08-07 18:43:14 +02:00
qwerty287
d3965faae9
Fix translation key ( #2098 )
...
Backport from #2094
2023-08-03 17:15:50 +02:00
6543
196af159f8
Fix wrong repo url used by badges ( #2037 ) ( #2039 )
...
backport #2037
Co-authored-by: Robert Kaussow <mail@thegeeklab.de >
2023-07-27 15:27:49 +02:00
Robert Kaussow
c0216deb43
Return to users list after creating a new user ( #2029 )
...
Fixes:
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1503635132
2023-07-24 19:05:18 +02:00
Anbraten
e5d5ec8b47
Use id to access orgs ( #1873 )
...
closes #1743
fixes: setting secrets for own user namespace
- create org in database
- use orgID for org related APIs
Co-authored-by: 6543 <6543@obermui.de >
2023-07-21 19:45:32 +02:00
Robert Kaussow
37fcc26330
Use unified rounded corners for all elements in the nav bar ( #2000 )
...
Nav bar:



Other icon buttons:

2023-07-15 15:47:15 +02:00
Patrick Schratz
004d72a853
Link swagger in navbar ( #1984 )
...
fix point 1 from #1944
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
2023-07-13 20:34:02 +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
runephilosof-karnovgroup
5d72060bbd
Fix selected line highlighting ( #1922 )
...
Also, extract logic to function
2023-07-06 19:49:21 +02:00
runephilosof-karnovgroup
a4cfa3a242
Jump to linked log line ( #1852 )
...
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
2023-07-03 15:06:10 +02:00
Timo Tomasini
eb5c48a85f
Store agent ID in config file ( #1888 )
2023-07-02 17:22:05 +02:00
qwerty287
0e25d6d35a
pnpm update (#1902 )
...
Using a simple `pnpm update` didn't fix any of the issues in #1900 but
it fixes some vulnerabilities shown with `pnpm audit`. I didn't try to
force-update `semver` to fix the security vulnerability there.
---------
Co-authored-by: 6543 <6543@obermui.de >
2023-07-02 12:47:36 +02:00
Anbraten
3d435a9cb7
Fix log view ( #1874 )
...
closes #1857
closes #1520
closes #1879
- fixes unicode log lines as reported in matrix
---------
Co-authored-by: 6543 <6543@obermui.de >
2023-07-01 18:55:00 +02:00
qwerty287
3033abc3b4
Add own workflow model ( #1784 )
...
Closes #1287
---------
Co-authored-by: 6543 <6543@obermui.de >
2023-06-27 18:01:18 +02:00
Anbraten
ff01a9ff1d
Access repos by their ids ( #1691 )
...
closes #1295
closes #648
# TODO
- [x] add new routes with `:repoID`
- [x] load repo in middleware using `:repoID` if present
- [x] update UI routes `:owner/:name` to `:repoID`
- [x] load repos using id in UI
- [x] add lookup endpoint `:owner/:name` to `:repoID`
- [x] redirect `:owner/:name` to `:repoID` in UI
- [x] use badge with `:repoID` route in UI
- [x] update `woodpecker-go`
- [x] check cli
- [x] add migrations / deprecation notes
- [x] check if #648 got solved directly
- [x] Test
- [x] create repo
- [x] repo pages
- [x] ui redirects
- [x] forge status links
2023-06-13 01:07:52 +02:00
Anbraten
556607b525
Rework log streaming and related functions ( #1802 )
...
closes #1801
closes #1815
closes #1144
closes #983
closes #557
closes #1827
regression of #1791
# TODO
- [x] adjust log model
- [x] add migration for logs
- [x] send log line via grpc using step-id
- [x] save log-line to db
- [x] stream log-lines to UI
- [x] use less structs for log-data
- [x] make web UI work
- [x] display logs loaded from db
- [x] display streaming logs
- [ ] ~~make migration work~~ -> dedicated pull (#1828 )
# TESTED
- [x] new logs are stored in database
- [x] log retrieval via cli (of new logs) works
- [x] log streaming works (tested via curl & webui)
- [x] log retrieval via web (of new logs) works
---------
Co-authored-by: 6543 <6543@obermui.de >
2023-06-06 09:52:08 +02:00
runephilosof-karnovgroup
ca32517624
PipelineLog.vue: Make it possible to link to a log line ( #1775 )
...
Set id attribute of lines to make it possible to link to a pipeline
line, like it was in version 0.9. For instance
https://woodpecker.example.com/org/repo/1#L7
2023-05-28 11:38:27 +03:00
qwerty287
0f9188597e
Initiate Pagination Implementation for API and Infinite Scroll in UI ( #1651 )
...
- Add pagination support to the API endpoints that return lists of items
- Adjust UI to enable infinite scrolling via pagination
2023-04-30 03:40:13 +02:00
Jany
3a5e912a6e
Use i18n-t instead of v-html directive ( #1676 )
...
Use i18n-t component to avoid v-html directive
and to make localization easier
2023-03-24 09:13:46 +01:00
qwerty287
88d2486ab2
Various UI improvements ( #1663 )
...
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1475128683
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1477858832
(2.)
and the last two tasks from
https://github.com/woodpecker-ci/woodpecker/issues/1314#issue-1418804461
---------
Co-authored-by: Anbraten <anton@ju60.de >
2023-03-21 17:31:24 +01: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

2023-03-21 15:10:43 +02:00
6543
e28b43ab19
Only inject netrc to trusted clone plugins ( #1352 )
...
Co-authored-by: qwerty287 <ndev@web.de >
Co-authored-by: 6543 <6543@obermui.de >
2023-03-20 21:17:49 +01:00
Lauris BH
7870c29f5f
Implement visual display of queue statistics ( #1657 )
...
Light mode:

Dark mode:

2023-03-20 18:08:53 +01: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
Lauris BH
4d5c59556e
Update frontend dependencies ( #1655 )
...
Also fixes bug that wrong message is displayed when updating user
2023-03-20 00:07:18 +01:00
qwerty287
ade8e6d010
Various fixes and improvements ( #1643 )
...
- allow repo names to be case-insensitive
- improve backend error handling on DB get errors (record not found ->
404, else -> 500)
- replace magic numbers of http response codes
- unify the look and feel of cancel / save buttons on forms and view
them in one line
---------
Co-authored-by: Lauris BH <lauris@nix.lv >
2023-03-19 13:52:58 +01:00
Anbraten
25e2c8055c
UI improvements ( #1640 )
2023-03-18 21:49:12 +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
qwerty287
af2ef30205
Fix button margin if button doesn't have text ( #1642 )
2023-03-18 12:00:49 +01:00
Anbraten
1947408eba
Fix panel height ( #1629 )
2023-03-16 13:00:41 +01:00
Alexander Matyushentsev
d35ab57f80
Add confirm for secret deletion ( #1604 )
...
Closes https://github.com/woodpecker-ci/woodpecker/issues/1483
PR adds a confirmation dialog that warns user before deleting a secret.
https://user-images.githubusercontent.com/426437/222985225-9e14ddac-6c5a-4aed-ac89-cc6562180ac6.mov
Using just basic
[window.Confirm](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm )
since it is used in
[other](https://github.com/search?q=repo%3Awoodpecker-ci%2Fwoodpecker+confirm%28&type=code )
places. Any objections to switch to proper dialog component in a
separate PR?
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-03-06 07:07:40 +01:00
Hayden
73c47bd2ff
Add collapsable support to panel elements ( #1601 )
...
Closes #1312
Updates the `Panel` component to support collapsing
## Example
https://user-images.githubusercontent.com/64056131/222880570-6611fdd7-4577-4ed5-9798-fce829a4a752.mp4
---------
Co-authored-by: Anbraten <anton@ju60.de >
2023-03-05 07:50:04 +01:00
Hayden
0148151f3d
Add cancel button on secrets tab ( #1599 )
2023-03-04 13:03:35 +01:00
Anbraten
4c97a0104e
Hide not owned repos from sidebar and repo list ( #1453 )
...
Co-authored-by: Lukas <lukas@slucky.de >
2023-01-31 09:37:11 +01:00
Lauris BH
420ac54e62
Show platform, backend and capacity as badges in agent list ( #1568 )
...
Screenshots:


2023-01-30 21:53:59 +01:00
Anbraten
71d6c03ca7
Add agent no-schedule flag ( #1567 )
...
This flag allows an agent owner / admin to stop the agent from taking
new workflows / pipelines.
2023-01-30 20:18:48 +01:00
Anbraten
d96032349a
Store an agents list and add agent heartbeats ( #1189 )
...
Co-authored-by: 6543 <6543@obermui.de >
2023-01-28 14:13:04 +01:00
Simon Vieille
03f4b05768
Dont require secret value on secret edit ( #1552 ) ( #1553 )
...
Co-authored-by: Simon Vieille <simon.vieille@trinaps.com >
2023-01-19 18:22:30 +01:00
smainz
cfb288201f
Add button to trigger deployments ( #1415 )
...
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Anbraten <anton@ju60.de >
Co-authored-by: Lauris BH <lauris@nix.lv >
2022-12-01 21:41:36 +01:00
Lukas
5d1ec770c9
Improve button and input contrast in dark mode ( #1456 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
2022-11-29 00:44:00 +01:00
Lukas
1786c0554a
Dismiss popups with escape ( #1426 )
...
Co-authored-by: Anbraten <anton@ju60.de >
2022-11-18 11:42:04 +01:00
Lukas
2dfa231184
Unify buttons, links and improve focus styles ( #1317 )
2022-11-18 08:10:43 +01:00
Divya Jain
d785d05718
Use pipeline wrapper and improve scaffold UI ( #1368 )
...
Co-authored-by: Anbraten <anton@ju60.de >
Co-authored-by: 6543 <6543@obermui.de >
2022-11-15 10:13:52 +01:00
Anbraten
cab996608e
Use icons for step and workflow states ( #1409 )
...
Co-authored-by: 6543 <6543@obermui.de >
2022-11-14 12:25:58 +01:00
Epsilon_02
b417edf8c1
Fix cut of woodpecker animation ( #1402 )
...
the woodpecker svg was cut on top and bottom when moving during an active pipeline.
2022-11-06 21:00:28 +01:00
Divya Jain
a94b756cc4
Show workflow state in ui and collapse completed workflows ( #1383 )
...
Fixes #1371
Co-authored-by: Anbraten <anton@ju60.de >
2022-11-05 02:18:16 +01:00
Lukas
8593b756b8
Use html landmark elements ( #1361 )
...
Co-authored-by: Anbraten <anton@ju60.de >
2022-10-31 15:04:19 +01:00
Harikesh00
36e42914fa
Renamed procs/jobs to steps in code ( #1331 )
...
Renamed `procs` to `steps` in code for the issue #1288
Co-authored-by: Harikesh Prajapati <harikesh.prajapati@druva.com >
Co-authored-by: qwerty287 <ndev@web.de >
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
Co-authored-by: 6543 <6543@obermui.de >
2022-10-28 17:38:53 +02:00
Divya Jain
e2ab8a46ed
Header and Tabs UI Improvements ( #1290 )
...
Some improvements to the Page Header and Tab UI.
Original | New
:--------:|:-------:

|


|


|


|


|

What?
- Create a new Scaffold component, which includes the header and tabs
required for a page.
- Use this component to wrap all the views that have a header.
- Ensures consistency in headers between different pages.
- [x] Add support to use custom html/component in place of title (for
repo page, pipeline page, etc)
- [x] Add support of right icon buttons (for repo page, pipeline page,
etc)
- [x] Refactor tabs handling using compositions (useTabsProvider, useTabsClient)
- [x] Make new header ui resposive
2022-10-28 00:55:07 +02:00
qwerty287
8b7ca464cf
Always use rounded quadrat user avatars ( #1350 )
...
To stay consistent with the header.
2022-10-27 16:11:37 +02:00