6543
764329ed1d
Make sure plugins only mount the workspace base in a predefinde location ( #3933 )
2024-07-18 22:52:22 +02:00
Harri Avellan
1274de2b2d
Handle empty repositories in gitea when listing PRs ( #3925 )
2024-07-18 04:30:45 -07:00
6543
cd5f6f71a2
Migrate to github.com/urfave/cli/v3 ( #2951 )
2024-07-18 01:26:35 +02:00
renovate[bot]
8aef8d2af9
fix(deps): update module github.com/google/go-github/v62 to v63 ( #3910 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-14 07:58:35 +02:00
6543
757f5a58e2
Gracefully shutdown server ( #3896 )
2024-07-14 01:46:01 +02:00
Anbraten
43b82ba047
Convert to openapi 3.0 ( #3897 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-13 15:55:13 +02:00
Anbraten
b12d676546
Allow login using multiple forges ( #3822 )
2024-07-13 01:41:35 -07:00
6543
bc02d376b2
Sort users by login ( #3891 )
2024-07-12 20:27:37 +02:00
Lauris BH
40b496f13b
Fix helper functions for MySQL syntax ( #3874 )
2024-07-12 18:18:55 +02:00
Anbraten
ceb14cadc5
Fix deploy task env ( #3878 )
2024-07-07 13:43:07 +02:00
Anbraten
b23fdaa6dc
Fix registry migration ( #3871 )
2024-07-04 01:29:56 -07:00
Lauris BH
28e982fffb
Global and organization registries ( #1672 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-07-03 06:33:11 -07:00
Anbraten
918985c508
Add timestamp for last work done by agent ( #3844 )
2024-07-01 10:34:47 -07:00
Anbraten
2fa9432ef8
Cleanup state reporting ( #3850 )
2024-07-01 11:20:55 +02:00
Anbraten
2bda19024e
Use proper oauth state ( #3847 )
2024-06-27 16:52:09 +02:00
qwerty287
92cd0d04a3
Unify DB tables/columns ( #3806 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-27 09:32:06 +02:00
Anbraten
b8b6efb352
Enhance token checking ( #3842 )
2024-06-27 00:08:59 +02:00
6543
4dcdebd786
Let webhook pass on pipeline parsion error ( #3829 )
2024-06-26 15:07:19 +02:00
6543
402938e216
Exclude mocks from release build ( #3831 )
2024-06-25 12:23:07 +02:00
Anbraten
b0f3883bd5
Cleanup of the login flow and tests ( #3810 )
2024-06-21 16:25:27 +02: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
qwerty287
760a903a30
Add release event to webhooks ( #3784 )
2024-06-13 19:04:15 +02:00
Anbraten
8b387e73ee
Improve step logging ( #3722 )
2024-06-13 17:18:32 +02:00
Anbraten
1953a0ec5a
Fix repo creation ( #3756 )
2024-06-10 12:28:54 +02:00
qwerty287
c72468478d
Allow to store logs in files ( #3568 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-06 14:34:57 +02:00
qwerty287
d28e150534
Use http constants ( #3766 )
2024-06-06 11:16:45 +02:00
6543
4ec046e415
Spellcheck "server/*" ( #3753 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-04 08:30:54 +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
linghuying
f47f482985
chore: fix some comments ( #3740 )
...
Signed-off-by: linghuying <1599935829@qq.com>
2024-05-31 15:57:57 +02:00
Anbraten
fd57e4ad05
Use IDs for tokens ( #3695 )
2024-05-27 11:52:43 +02:00
Dan
6132136d55
Fix oauth file envvars ( #3726 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-05-27 11:22:31 +02:00
renovate[bot]
bf4061b72d
fix(deps): update module github.com/google/go-github/v61 to v62 ( #3730 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-26 18:18:34 +02:00
6543
42f2734308
cspell lint go code ( #3706 )
2024-05-24 22:35:04 +02:00
renovate[bot]
37ea906958
fix(deps): update golang-packages ( #3713 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-05-23 17:37:21 +02:00
Anbraten
5527d9bf86
Cleanup server env settings ( #3670 )
...
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-05-15 15:45:08 +02:00
Robert Kaussow
89e100cfd1
Add godot linter to harmonitze toplevel comments ( #3650 )
2024-05-13 22:58:21 +02:00
6543
378ec1a67a
Make retry count of config fetching form forge configure ( #3699 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-13 19:43:45 +02:00
qwerty287
f8151aa97d
Check for error in repo middleware ( #3688 )
...
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-05-11 10:38:35 +02:00
qwerty287
8b785be645
Fix parent pipeline number env on restarts ( #3683 )
2024-05-06 11:47:02 +02:00
ianlv
6004e9907d
Correct function names ( #3681 )
...
Signed-off-by: ianlv <sunlvyun@outlook.com>
2024-05-04 14:13:43 +02:00
Fernando Barbosa
e6bda2c2b3
Support github deploy task ( #3512 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-02 18:56:19 +02:00
qwerty287
fa4b1f76bd
Fix bitbucket dir fetching ( #3668 )
2024-05-01 12:22:07 +02:00
Anbraten
dbd91d3884
Cleanup api docs and ts api-client options ( #3663 )
2024-05-01 11:50:41 +02:00
Robert Kaussow
7f776ebf18
Sanitize tag ref for gitea/forgejo ( #3664 )
2024-04-30 09:59:03 +02:00
Anbraten
ae14150c09
Fix secret loading ( #3620 )
2024-04-29 21:33:45 +02:00
Robert Kaussow
4b1ff6d1a7
Compare to pipeline created timestamp while using before/after filter ( #3654 )
2024-04-28 10:32:31 +02:00
Robert Kaussow
d0057736f1
Add DeletePipeline API ( #3506 )
...
This is just a first step, the final goal is to have an API endpoint to
prune Repo Pipelines older than the given date.
@woodpecker-ci/maintainers Can I get some feedback if this is the right
direction?
---------
Co-authored-by: 6543 <m.huber@kithara.com>
2024-04-25 10:59:17 +02:00
Robert Kaussow
9972c24924
Add filter options to GetPipelines API ( #3645 )
...
Separate this change from
https://github.com/woodpecker-ci/woodpecker/pull/3506
I would like to get at least this change into v2.5.0 if possible.
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-25 09:37:42 +02:00
Anbraten
d494b6a959
Use forge from db ( #1417 )
...
This is the first step towards support for multiple forges (#138 ). It
inserts a forge using the currently existing env varaibles into db and
uses this forge from db later on in all places of the code.
closes #621
addresses #138
# TODO
- [x] add forges table
- [x] add id of forge to repo
- [x] use forge of repo
- [x] add forge from env vars to db if not exists
- [x] migrate repo.ForgeID to the newly generated forge
- [x] support cache with forge from repo
- [x] maybe add forge loading cache? (use LRU cache for forges, I expect
users to have less than 10 forges normally)
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-16 08:04:55 +02:00