Commit graph

  • 8207586a48
    just fix bcaceda711 v3.1 6543 2022-07-15 21:39:42 +02:00
  • b377efbbda
    Merge branch 'main' into std-http 6543 2022-07-15 21:27:28 +02:00
  • bcaceda711 dont cache if ContentLength greater fileCacheSizeLimit (#108) 6543 2022-07-15 21:21:26 +02:00
  • f8bdc45dd7
    Merge branch 'main' into address-96 6543 2022-07-15 21:14:58 +02:00
  • edb592fbbb
    close #96 6543 2022-07-15 21:14:32 +02:00
  • b49bd86cdf
    add "just clean" 6543 2022-07-15 21:12:06 +02:00
  • 5411c96ef3 Tell fasthttp to not set "Content-Length: 0" on non cached content (#107) 6543 2022-07-15 21:06:05 +02:00
  • 0b7e40a098
    : 6543 2022-07-15 20:59:37 +02:00
  • 4459ddc45a
    add todo 6543 2022-07-15 20:58:15 +02:00
  • b8ec53c52d
    fix integration tests 6543 2022-07-15 20:57:10 +02:00
  • d78c8c3201
    fix #97 6543 2022-07-15 19:10:55 +02:00
  • 8390f77ecd
    fix #97 6543 2022-07-15 19:08:19 +02:00
  • d669cc208f next 6543 2022-07-15 18:56:20 +02:00
  • 2d3be9dc2c
    ... next ... 6543 2022-07-15 18:53:04 +02:00
  • 6f56fa97a1
    start ... 6543 2022-07-15 18:10:41 +02:00
  • baf4e7e326 Make the 404 page more readable and natural (#104) Jeremy 2022-07-15 17:18:25 +02:00
  • a3e9e4a252 Fix 404.html Jeremy 2022-07-15 00:24:26 +02:00
  • 9c01fd2ac2 Fix 404.html Jeremy 2022-07-14 22:18:40 +02:00
  • fd24b4a2bc Pass logger to fasthttp (#98) Gusted 2022-07-12 15:32:48 +02:00
  • ca66739389 Merge branch 'main' into add-fasthttp-logger Gusted 2022-07-09 06:04:08 +02:00
  • 9076bc3f75 Support access branch that contains slash character (#102) Gary Wang 2022-07-08 13:39:24 +02:00
  • 5dd7a6a5ad Add integration test for the branch name replacing rule Gary Wang 2022-07-08 11:55:15 +08:00
  • b84d0f8b59 Add description to branch name replacing rule Gary Wang 2022-07-08 10:28:18 +08:00
  • 8d87002012 Update README.md to matching the branch name replacing rule Gary Wang 2022-07-08 09:20:38 +08:00
  • e4db7e8510 Support access branch that contains slash character Gary Wang 2022-07-06 11:25:46 +08:00
  • c29d12374f
    Merge branch 'main' into add-fasthttp-logger Gusted 2022-07-03 14:17:12 +02:00
  • 48a49f69a7 Increase concurrent connections to default value (#99) v3.0a Gusted 2022-07-03 13:20:02 +02:00
  • 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