Commit Graph

34 Commits

Author SHA1 Message Date
jakob.scheid 547edfaef0 Generalize the term 'Gitea webhook configuration' to 'Gitea configuration' 2026-05-11 22:46:37 +02:00
jakob.scheid 7ca1d4c609 Update __all__ in integrations.gitea.models.release 2026-05-08 17:45:39 +02:00
jakob.scheid 791e1d972b Add check_enabled in __init__.py 2026-05-08 17:44:43 +02:00
jakob.scheid 0e23b4d349 Bug fix: Remove trailing slash in '/gitea' 2026-05-08 17:42:27 +02:00
jakob.scheid c26291bb1c Add unit tests for integrations.gitea.middlewares.check_enabled.GiteaCheckEnabledMiddleware 2026-05-08 17:41:49 +02:00
jakob.scheid 97f1a802fa Move make_request function to a separate utils module 2026-05-08 16:58:35 +02:00
jakob.scheid 16bd8b25f2 Add middleware to check whether Gitea is enabled 2026-05-08 16:50:18 +02:00
jakob.scheid 944c41095d Add Gitea configuration processing in api.config 2026-05-06 15:33:32 +02:00
jakob.scheid 6afa9af3b2 Add configuration for Gitea integration 2026-05-06 15:32:40 +02:00
jakob.scheid c9e317f7ca Update Gitea webhook path 2026-05-06 01:39:46 +02:00
jakob.scheid 2da8da9f26 Add error logging for integrations.gitea.middlewares.signature.GiteaSignatureMiddleware 2026-05-06 01:35:59 +02:00
jakob.scheid 2db98caaef Bug fix: Set disable_existing_loggers to False 2026-05-06 01:05:07 +02:00
jakob.scheid 4cdd52059d Create logging target option and fallbacks 2026-05-06 00:38:56 +02:00
jakob.scheid b295738c0e Add configuration options for logging 2026-05-06 00:37:41 +02:00
jakob.scheid c0cec78b03 Add API exceptions module 2026-05-06 00:37:05 +02:00
jakob.scheid 81f79783b6 Remove debug line 2026-05-04 20:03:12 +02:00
jakob.scheid d4e7d983fa Remove unnecessary import 2026-05-04 20:02:06 +02:00
jakob.scheid 044ccba66a Divide API into modules 2026-05-04 20:01:43 +02:00
jakob.scheid 10a25b82af Bug fix: HTTPException should not be used in a middleware, so use JSONResponse instead 2026-05-03 19:04:59 +02:00
jakob.scheid 374dc89c09 Add tests with invalid signatures for integrations.gitea.middlewares.signature.GiteaSignatureMiddleware 2026-05-03 18:34:20 +02:00
jakob.scheid 157d054854 Remove unnecessary field expected_exception at the tests for integrations.gitea.middlewares.signature.GiteaSignatureMiddleware 2026-05-03 18:14:50 +02:00
jakob.scheid 58700f2390 Add tests for integrations.gitea.middlewares.signature.GiteaSignatureMiddleware 2026-05-03 18:09:17 +02:00
jakob.scheid 23faf74092 Bug fix: use heximal SHA256 hash instead of bytes (repr)
integrations.gitea.middlewares.signature.GiteaSignatureMiddleware.dispatch
used the Python bytes representation of the SHA256 hash for comparision
in the f-string. Now, the hexadecimal hash is used.
2026-05-03 18:06:45 +02:00
jakob.scheid 30a982c95d Add middleware for Gitea webhook signatures 2026-05-01 15:12:16 +02:00
jakob.scheid d9fa676605 Update package structure 2026-05-01 13:40:51 +02:00
jakob.scheid 3d0dc70db5 Update licenses 2026-05-01 13:23:16 +02:00
jakob.scheid 6ed50eb102 Add models for Gitea webhooks 2026-04-29 20:11:55 +02:00
jakob.scheid 1b26f5c86f Add models for Gitea webhooks 2026-04-29 19:17:58 +02:00
jakob.scheid d66875cae3 2026-04-29 19:09:32 +02:00
jakob.scheid 2072c9685c Add configuration file template 2026-04-29 19:05:35 +02:00
jakob.scheid 8262aa72ab Add basic API structure 2026-04-29 19:04:39 +02:00
jakob.scheid 4bdd5f6524 Add configuration file template 2026-04-27 23:35:30 +02:00
jakob.scheid e679d48ae0 Add default configurtion 2026-04-27 23:34:26 +02:00
jCloud 78531a6358 Initial commit 2026-04-27 23:21:36 +02:00