Web rework & improved Git API #114

Merged
Jef Roosens merged 16 commits from restful-api into dev 2022-04-07 12:26:50 +02:00

This PR reworks the web framework so that we can properly return JSON for all requests. This was needed to implement a better Git repos API, which now works with proper IDs for each entry. Besides that, the API now supports the classic HTTP methods, such as PATCH & DELETE.

Once I add support for the new API to the CLI tool, this PR should go out of WIP (I can't promise I won't rework the entire CLI tool beforehand tho).

This PR reworks the web framework so that we can properly return JSON for all requests. This was needed to implement a better Git repos API, which now works with proper IDs for each entry. Besides that, the API now supports the classic HTTP methods, such as PATCH & DELETE. Once I add support for the new API to the CLI tool, this PR should go out of WIP (I can't promise I won't rework the entire CLI tool beforehand tho).
Jef Roosens added this to the 0.2.0 milestone 2022-04-01 21:56:10 +02:00
Jef Roosens added 7 commits 2022-04-01 21:56:11 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
0a6be87970
Start of web framework revamp
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
e5a630e990
Switched to net.http.Status for status codes
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
3a6effad80
Ran vfmt
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
fe24774848
Added some docs
Jef Roosens added 1 commit 2022-04-01 23:15:45 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
56517c0ff0
Removed arm/v7 from CI
Jef Roosens added 2 commits 2022-04-06 21:11:55 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
d7f6c87053
Added some comments
Jef Roosens added 1 commit 2022-04-06 22:41:34 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
f44ce1c17f
Started work on better repos cli
Jef Roosens added 1 commit 2022-04-07 11:54:41 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
7eb0aa76e1
CLI tool can now work with new repo UUIDs
Jef Roosens added 1 commit 2022-04-07 11:58:21 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
b31b4cbd7a
Pleased vfmt & vet
Jef Roosens added 2 commits 2022-04-07 12:10:55 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
78310fa1e4
Builder now uses new Git repos API
Jef Roosens changed title from WIP: Web rework & improved Git API to Web rework & improved Git API 2022-04-07 12:11:09 +02:00
Jef Roosens added 1 commit 2022-04-07 12:22:56 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
7895240e9b
Updatd CHANGELOG.md
Jef Roosens merged commit 06167030bb into dev 2022-04-07 12:26:50 +02:00
Jef Roosens deleted branch restful-api 2022-04-07 12:26:50 +02:00
Sign in to join this conversation.
There is no content yet.