André Roth
1a3346a8fa
fix golangci-lint error
2025-02-15 23:49:21 +01:00
Ryan Gonzalez
4be09fd407
Use github.com/saracen/walker for file walk operations
...
In some local tests w/ a slowed down filesystem, this massively cut down
on the time to clean up a repository by ~3x, bringing a total 'publish
update' time from ~16s to ~13s.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
2025-02-15 23:49:21 +01:00
André Roth
abfad37640
swagger: cleanup files doc
2024-12-11 10:40:44 +01:00
iofq
d5571c41c7
Update files api docs
2024-12-11 10:40:44 +01:00
André Roth
8f8de4bd29
update
2024-12-11 10:40:44 +01:00
André Roth
ba86851d07
add api documentation stubs
2024-12-11 10:40:43 +01:00
André Roth
cefc09a41b
more sanitize
2024-10-11 14:11:09 +02:00
André Roth
57639c4adf
Sanitize path api params
...
- fix path traversal complains by CodeQL
2024-10-11 12:56:08 +02:00
André Roth
fb538333fa
add swagger documentation
2024-10-01 01:07:09 +02:00
Ryan Gonzalez
8ab8398c50
Use github.com/saracen/walker for file walk operations
...
In some local tests w/ a slowed down filesystem, this massively cut down
on the time to clean up a repository by ~3x, bringing a total 'publish
update' time from ~16s to ~13s.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
2024-04-24 16:46:16 +02:00
André Roth
72a7780054
fix golint complaints
2024-03-06 06:21:36 +01:00
Markus Muellner
9c6f896666
add endpoint for listing repos while serving in api mode and add more metrics
2023-03-22 17:22:54 +01:00
Markus Muellner
ecc41f0c0f
replace AbortWithError calls by custom function that sets the content type correctly
2023-01-23 10:42:57 +01:00
Andrey Smirnov
3756db2491
Upgrade gin-gonic to latest master, fix compatibility issues
2017-09-28 00:33:59 +03:00
Andrey Smirnov
516dd7b044
Switch to gometalinter
...
Only small amount of required checks is enabled,
plan is to enable more linters as issues are fixed in the code.
2017-03-23 01:51:08 +03:00
Andrey Smirnov
7efd0de67c
Fix shadowing of variable. #116
2014-10-23 00:57:27 +04:00
Andrey Smirnov
9c834f410c
API for file upload. #116
2014-10-16 00:04:50 +04:00
Andrey Smirnov
d6c3389d7c
First steps towards /files/ API (file upload). #116
2014-10-14 00:47:17 +04:00