Commit graph

33 commits

Author SHA1 Message Date
qwerty287 486c8473fc
Fix approval on mobile (#1320)
Closes #1096
2022-10-23 00:30:25 +02:00
Lukas a441281bf9
Make submit buttons green and add forms (#1302)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-22 08:56:23 +02:00
qwerty287 849e05bb8b
Rename build to pipeline in code (#1224)
Ref:  #745

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 03:24:12 +02:00
Lukas 9871b3cc8c
Add titles for IconButtons (#1245) 2022-10-08 19:06:53 +02:00
Lukas 6397965406
Remove unused eslint-disable directives (#1243) 2022-10-08 14:26:24 +02:00
[X] b4d89a1cce
Add ability to trigger manual builds (#1156)
closes #83 
closes #240 

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-27 11:05:00 +02:00
qwerty287 00a475f605
Don't show "changed files" if event can't have them (#1191)
Closes #1190
2022-09-16 17:04:44 +02:00
qwerty287 52d3652f2e
Fetch repositories with remote ID if possible (#1078)
Use IDs of the forge to fetch repositories instead of their names and owner names. This improves handling of renamed and transferred repos.

TODO

- [ ] try to support as many forges as possible
    - [x] Gogs (no API)
    - [ ] Bitbucket Server
    - [x] Coding (no API?)
- [x] update repo every time it is fetched or received from the forge
- [x] if repo remote IDs are not available, use owner / name to get it
- [x] handle redirections (redirect a renamed repo to its new path)
- [x] ~~pull all repos once during migration to update ID (?)~~ issue fixed by on-demand loading of remote IDs
- [x] handle redirections in web UI
- [ ] improve handling of hooks after a repo was renamed (currently it checks for a redirection to the repo)
- [x] tests
- [x] `UNIQUE` constraint for remote IDs after migration shouldn't work (all repos have an empty string as remote ID)

close #854
close #648 partial
close https://codeberg.org/Codeberg-CI/feedback/issues/46

Possible follow-up PRs
- apply the same scheme on everything fetched from the remote (currently only users)

Co-authored-by: 6543 <6543@obermui.de>
2022-09-05 17:08:51 +02:00
6543 383f273392
Add cron feature (#934)
https://woodpecker-ci.org/docs/usage/cron

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-01 00:36:32 +02:00
Lauris BH 1ac2c42652
Add global and organization secrets (#1027)
* Implement database changes and store methods for global and organization secrets

* Add tests for new store methods
* Add organization secret API and UI
* Add global secrets API and UI

* Add suggestions

* Update warning style

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Fix lint warning

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 13:48:53 +02:00
Lauris BH 2e8f9e17e6
Add syntax highlighting for pipeline config (#1082) 2022-08-09 17:39:45 +02:00
Anbraten 66be4923d2
Update dependencies and tiny adjustments to UI (#1083)
- updated all web/ dependencies
- fixed icon positioning issue
- changed text color of pipeline message
- add hover underline effect to breadcrumb org name
2022-08-09 14:13:32 +02:00
Lauris BH 415dfb9c46
Fix tabs URLs to be language agnostic (#995) 2022-06-20 19:47:33 +02:00
Lauris BH 2153425230
Add Latvian language translation (#992)
Add Latvian language translation (#992)
2022-06-19 07:31:16 +02:00
Lauris BH 570aaa4235
Move all static texts to locale file (#989)
* Move all static texts to locale file

* Fix message

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-18 10:48:18 +02:00
qwerty287 42c745362b
Show forge icons in UI (#987) 2022-06-17 20:14:01 +02:00
Lauris BH 14b3cfff1b
Improve dark style text color for better readibility (#985) 2022-06-17 02:00:31 +02:00
Anbraten 3c4d451b72
Use xterm.js for log outputs (#846)
- use xterm
- improve error showing
- show build erro
2022-06-16 19:24:27 +02:00
qwerty287 7d7d75d7e5
Support localized web UI (#912)
* Add support for localization
* Add docs & format code
* Add lib to docs
2022-05-16 21:18:48 +02:00
Anbraten 70af29f9a2
fix redirect after login (#824)
if you are in buildView and login, go back to this buildView again
2022-05-14 17:45:01 +02:00
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
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
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 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
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 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
Anbraten 57db3227ab
Fix overflowing commit messages (#528) 2021-11-23 17:15:50 +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