Commit graph

  • 44c50a4987
    Increase connections Gusted 2022-07-03 12:25:46 +02:00
  • 4789d2e869
    Pass logger to fasthttp Gusted 2022-07-03 02:12:19 +02:00
  • 6dedd55eb3 Release via CI (#94) v3.0 6543 2022-06-14 20:35:11 +02:00
  • 5ff73bed89
    switch to plugins/gitea-release 6543 2022-06-14 20:32:50 +02:00
  • f03592ae13
    CI: add release step 6543 2022-06-14 19:41:08 +02:00
  • b0a8b09546 fix 6543 2022-06-14 19:32:55 +02:00
  • 79c836ffe5
    add var to store version tag & adjust Justfile 6543 2022-06-14 19:29:09 +02:00
  • a92088f8e8
    target to run single unit test 6543 2022-06-14 19:13:18 +02:00
  • 6b0813abe0
    less sleep for integration tests and make it posible to run single integration tests 6543 2022-06-14 19:12:32 +02:00
  • af3a6271d6
    use Justfile in ci too 6543 2022-06-14 19:07:29 +02:00
  • 4c6164ef05 Propagate ETag from gitea (#93) 6543 2022-06-14 18:23:34 +02:00
  • 1b53f50fda
    add testcase for new func 6543 2022-06-14 18:11:58 +02:00
  • 01272092eb add todo 6543 2022-06-14 18:02:02 +02:00
  • 6dcb3b4ca0
    propagate ETag 6543 2022-06-14 18:01:54 +02:00
  • cc32bab31f Enhance joinURL and return error on gitea client on start instead while running (#88) 6543 2022-06-13 20:07:32 +02:00
  • 565aba63ee add todo note for golang version bump 6543 2022-06-13 18:59:32 +02:00
  • ef4d64b0a8 we need a own implementation :/ 6543 2022-06-13 15:13:49 +02:00
  • c97468dd70 add bug case 6543 2022-06-13 14:57:31 +02:00
  • 3c3a5b68bf Merge branch 'main' into advanced-joinURL 6543 2022-06-13 14:50:54 +02:00
  • 913f762eb0 Add integration test for custom domain (#90) 6543 2022-06-13 14:43:49 +02:00
  • 44f9f4b5c4 fin 6543 2022-06-13 13:58:56 +02:00
  • 0c622d1eac nit 6543 2022-06-13 13:47:23 +02:00
  • 5a5a7274c2 add integration test for custom domain 6543 2022-06-13 13:47:11 +02:00
  • d0d5189753 add test targets to Justfile 6543 2022-06-13 13:45:36 +02:00
  • ba42ca893c Merge branch 'main' into advanced-joinURL 6543 2022-06-12 03:50:54 +02:00
  • 38fb28f84f implement custom 404 pages (#81) crystal 2022-06-12 03:50:00 +02:00
  • 58993cc324 oops crystal 2022-06-11 16:55:46 -06:00
  • 349eb14969 integration test for custom 404 pages crystal 2022-06-11 16:45:10 -06:00
  • a9f63de328 well we have to copy... 6543 2022-06-11 23:52:31 +02:00
  • b5318c9f7a Merge branch 'main' into custom404 crystal 2022-06-11 15:47:59 -06:00
  • 12e6b4b0d3 Merge refactor fixes crystal 2022-06-11 23:42:16 +02:00
  • c00fb87ae9 more coverage 6543 2022-06-11 23:23:58 +02:00
  • 1596ab9764 enhance joinURL and return error on gitea client on start instead while running 6543 2022-06-11 21:42:28 +02:00
  • 35b35c5d67 Add integration tests (#86) 6543 2022-06-11 23:17:43 +02:00
  • d62474bef3 fix build crystal 2022-05-21 02:21:46 -06:00
  • 7fea5f9cd7 Merge branch 'main' into custom404-staging crystal 2022-06-11 15:12:20 -06:00
  • e9e96ca798 Merge branch 'main' into integration-tests 6543 2022-06-11 23:03:21 +02:00
  • 02bd942b04 Move gitea api calls in own "client" package (#78) 6543 2022-06-11 23:02:06 +02:00
  • d86b25e7da address review 6543 2022-06-11 22:51:27 +02:00
  • 4e42bca189 create fastClient once 6543 2022-06-11 22:46:38 +02:00
  • 8add62ee2f less aloc 6543 2022-06-11 22:40:52 +02:00
  • 7eeafdbc5f dedup code 6543 2022-06-11 22:15:12 +02:00
  • d1d27f01c7 add unit test for UrlPathJoin 6543 2022-06-11 21:25:36 +02:00
  • 4d45be2d18 Merge branch 'main' into refactor-add-more-logging-and-tests 6543 2022-06-11 00:10:24 +02:00
  • de430156b1 Merge branch 'main' into integration-tests 6543 2022-06-11 00:09:37 +02:00
  • 659932521c Add info how to test & debug the server (#85) 6543 2022-06-10 20:17:07 +02:00
  • b777916da0 ci: no detach 6543 2022-06-10 20:16:08 +02:00
  • 0efadb6344 finish 6543 2022-06-10 20:01:00 +02:00
  • 50df84eec9 use zerolog for integrationtests too 6543 2022-06-10 19:47:52 +02:00
  • de9c37d72b more linting issues 6543 2022-06-10 19:35:59 +02:00
  • 7c68a59f39 fix lint 6543 2022-06-10 19:33:02 +02:00
  • a211ecee0d use some opts via environment vars 6543 2022-06-10 19:27:03 +02:00
  • a961655d2c start server for integration tests in code 6543 2022-06-10 19:26:06 +02:00
  • 94bc8c854e ci: use latest linter 6543 2022-06-10 18:33:03 +02:00
  • c071ff5e7a try 6543 2022-06-10 18:28:12 +02:00
  • e90ecfaf7b add .env support 6543 2022-06-10 18:23:10 +02:00
  • e17a9b92d5 fail gracefully 6543 2022-06-10 17:54:15 +02:00
  • 338f266410 pipeline ... 6543 2022-06-10 17:51:04 +02:00
  • 1d64012aef use build tags 6543 2022-06-10 17:42:57 +02:00
  • eef249b6fd only run pipeline in main branch or on pulls against main 6543 2022-06-10 17:42:12 +02:00
  • 8e831db1e9 add 3 integration-tests 6543 2022-06-10 17:39:12 +02:00
  • 91709c16c4 add info how to test & debug the server 6543 2022-06-10 16:19:22 +02:00
  • 7be32d4de2 fix gitea client crystal 2022-05-21 02:50:40 -06:00
  • cde2137df0 fix pages repo default branch detection crystal 2022-05-21 02:59:53 -06:00
  • 81c46cc887 fix authorization header crystal 2022-05-21 04:25:59 -06:00
  • c9cfee5477 more logging 6543 2022-06-10 15:52:27 +02:00
  • 98f1880dea Merge branch 'main' into refactor-add-more-logging-and-tests 6543 2022-06-10 15:32:57 +02:00
  • bb8eb32ee2 make debug messages unique 6543 2022-06-10 15:25:33 +02:00
  • f2ba7eac64 set golang to 1.18 (#84) 6543 2022-06-10 15:27:17 +02:00
  • 0c5c11d42c ci use taged images to ensure go version 6543 2022-06-10 14:58:48 +02:00
  • ab1c26163d set golang to 1.18 6543 2022-06-10 14:56:06 +02:00
  • 12cb305a65 Change MaxConnsPerIP to 0 to fix too many connections from HAProxy (#77) v2.5b Moritz Marquardt 2022-05-14 22:29:54 +02:00
  • 5c508c5d13 create giteaClient once 6543 2022-06-02 15:57:51 +02:00
  • 0f662157ff Merge remote-tracking branch 'main/main' into refactor-add-more-logging-and-tests 6543 2022-06-02 15:43:18 +02:00
  • d9127d1ed9 start using "errors" 6543 2022-06-02 15:41:47 +02:00
  • 57076a47d3 Update 'Justfile' 6543 2022-05-30 23:55:37 +02:00
  • 9d4830d198 Merge branch 'main' into custom404 crystal 2022-05-21 04:52:29 +02:00
  • 9ec026a31b i'm sorry gofumpt crystal 2022-05-20 18:26:28 -06:00
  • 832a4ecd63 implement custom 404 pages crystal 2022-05-20 17:56:45 -06:00
  • da178b1dd8 If the path is a symlink we redirect to the target path Jaime Marquínez Ferrándiz 2022-05-17 23:14:31 +02:00
  • d35e41fa9f
    modernize ForbiddenMimeTypes 6543 2022-05-16 00:56:52 +02:00
  • 6234889495
    rm tmp 6543 2022-05-16 00:45:24 +02:00
  • ec7fcca0f5
    wip 6543 2022-05-16 00:43:04 +02:00
  • 4f2c94c7d9
    start moving 6543 2022-05-15 23:12:13 +02:00
  • 176d4b86c2
    Merge branch 'main' into refactor-add-more-logging-and-tests 6543 2022-05-15 22:41:36 +02:00
  • 6f12f2a8e4
    fix bug 6543 2022-05-15 22:36:12 +02:00
  • 8d0ab6d8c0
    refactor 6543 2022-05-15 22:35:39 +02:00
  • 0742782a0d
    ci: add branches filter 6543 2022-05-15 22:10:55 +02:00
  • 4b2df4aac2
    Merge branch 'main' into refactor-add-more-logging-and-tests 6543 2022-05-15 22:08:39 +02:00
  • 9b37be1bb1 Merge branch 'main' into refactor-add-more-logging-and-tests 6543 2022-05-15 20:53:18 +02:00
  • b2ca888050 Change MaxConnsPerIP to 0 to fix too many connections from HAProxy (#77) Moritz Marquardt 2022-05-14 22:29:54 +02:00
  • bb3a90333a
    remove unused options 6543 2022-05-14 22:11:30 +02:00
  • ece105f565 Change MaxConnsPerIP to 0 to fix too many connections from HAProxy Moritz Marquardt 2022-05-14 18:12:16 +02:00
  • 1bb6e09e23
    fix lint 6543 2022-05-10 20:55:13 +02:00
  • 5ecb63426f
    add unittest for mockCert() 6543 2022-05-10 18:03:21 +02:00
  • 0bfc7775fb
    more logging 6543 2022-05-10 18:03:04 +02:00
  • bc3d3befee
    make db interface more generic and add memdb 6543 2022-05-10 18:02:32 +02:00
  • e5af66b2cd
    add "fmt" to justfile 6543 2022-05-10 18:25:49 +02:00
  • 2dbc66d052
    let golangci-lint have 5m to check 6543 2022-05-10 18:14:28 +02:00
  • 1724d9fb2e
    add "lint" to Justfile 6543 2022-05-10 18:13:14 +02:00