Commit Graph

  • c12dfb21be save defaultBranch we looked up for the timestamp lookup main Ben Harris 2022-07-20 12:41:26 -0400
  • d84955e6cd Fix URL building for default repo branch API #1 ~lucidiot 2022-07-20 16:21:35 +0000
  • 1955acce05 parse url correctly? Ben Harris 2022-05-26 15:23:27 -0400
  • 54946a45d7 gitea api logging Ben Harris 2022-05-26 13:57:36 -0400
  • 3e04412113 add some more logging so i can see where stuff is failing Ben Harris 2022-05-26 11:33:17 -0400
  • d320c3b6e5 make it tilde-y pages Ben Harris 2022-05-20 12:57:28 -0400
  • e5ecd66dcb change domain Ben Harris 2022-05-20 12:33:10 -0400
  • 1d8f45ea99 tilde stuff Ben Harris 2022-05-20 12:31:02 -0400
  • 6f12f2a8e4
    fix bug 6543 2022-05-15 22:36:12 +0200
  • b2ca888050 Change MaxConnsPerIP to 0 to fix too many connections from HAProxy (#77) Moritz Marquardt 2022-05-14 22:29:54 +0200
  • 2dbc66d052
    let golangci-lint have 5m to check 6543 2022-05-10 18:14:28 +0200
  • 1724d9fb2e
    add "lint" to Justfile 6543 2022-05-10 18:13:14 +0200
  • 4267d54a63 refactor (2) (#34) 6543 2022-04-20 23:42:01 +0200
  • a2c5376d9a Fix CORS / add Access-Control-Allow-Origin * to all methods (#69) Otto Richter 2022-04-10 18:11:00 +0200
  • 1e4dfe2ae8 Fix tests to let CI pass (#66) 6543 2022-03-30 21:31:09 +0200
  • f5d0dc7447 Add pipeline (#65) 6543 2022-03-27 21:54:06 +0200
  • a5504acb0e Fix cert removal command (#50) Moritz Marquardt 2022-03-20 23:18:00 +0100
  • f5e613bfdb Merge pull request 'Fix certs only being renewed 7 or 30 days *after* they expire instead of before' (#61) from hotfix/expiration into main Moritz Marquardt 2022-02-28 21:55:51 +0100
  • cf9e6d9dc6 Fix certs only being renewed 7 or 30 days *after* they expire instead of before Moritz Marquardt 2022-02-28 21:50:13 +0100
  • ac5b19123d Update README (#57) Otto Richter 2022-02-19 18:10:40 +0100
  • 4404287958
    Update 404 Not found page fnetx 2022-02-11 01:31:11 +0100
  • f5f9eb0860 Clarify we don't want "everything" at Pages (reduce inviting for abuse) Otto Richter 2022-02-06 21:36:26 +0100
  • 8bdec40fdb mention repository must be public #41 Otto Richter 2022-01-10 17:04:02 +0100
  • 216e28d67f Merge pull request 'Fix code block at landing page' (#33) from dsrev/pages-server:pages into pages Moritz Marquardt 2021-12-11 14:21:37 +0100
  • 4993e5cd94 Update 'index.html' Ilya Prokopenko 2021-12-11 02:11:20 +0100
  • b2a0925107 Improve the formatting for DNS entries a bit Moritz Marquardt 2021-12-10 15:01:26 +0100
  • e73c79da77 Merge pull request 'Refactor: restructure in packages and dont use golbal vars' (#18) from 6543/codeberg-pages:refactoring into main Moritz Marquardt 2021-12-10 14:33:18 +0100
  • adfc96ab94
    Add --verbose flag and hide debug messages by default Moritz Marquardt 2021-12-10 14:32:14 +0100
  • 73fa2da646
    Update default to raw.codeberg.page & improve documentation on custom domains Moritz Marquardt 2021-12-10 14:31:58 +0100
  • 6af6523a0f
    code format 6543 2021-12-09 20:16:43 +0100
  • 70c7065f76
    fix #31 6543 2021-12-09 19:32:30 +0100
  • aa0638903a
    fix argument check and some nits 6543 2021-12-05 23:56:06 +0100
  • 196482da07
    less panic 6543 2021-12-05 23:20:34 +0100
  • 5aae7c882f
    Merge branch 'master' into refactoring 6543 2021-12-05 22:50:46 +0100
  • 67a190f68a
    Hotfix for #27: avoid slash before .html in GitHub compatibility redirects Moritz Marquardt 2021-12-05 22:12:48 +0100
  • a7bb3448a4
    move more args of Upstream() to upstream Options 6543 2021-12-05 19:53:23 +0100
  • 2f6b280fce
    meaningfull var names 6543 2021-12-05 19:02:26 +0100
  • 5fe51d8621
    rm certDB helper and build in 6543 2021-12-05 19:00:57 +0100
  • a0534f1fde
    make MaintainCertDB able to cancel 6543 2021-12-05 18:26:54 +0100
  • 26a199053b
    lint: rename 6543 2021-12-05 18:18:05 +0100
  • 0374e95d23
    make tryUpstream independent func 6543 2021-12-05 18:17:28 +0100
  • e85f21ed2e
    some renames 6543 2021-12-05 17:57:54 +0100
  • a0e0d2d335
    make certdb maintain go routine a own func 6543 2021-12-05 17:44:10 +0100
  • de439f9bec
    wrap cert db and make sync gracefull 6543 2021-12-05 17:42:53 +0100
  • 11fa729686
    mv acme config setup into own func 6543 2021-12-05 16:33:56 +0100
  • 77e39b2213
    unexport if posible 6543 2021-12-05 16:24:26 +0100
  • e6198e4ddd
    start refactor Upstream func 6543 2021-12-05 15:59:43 +0100
  • de4706bf58
    rm 2rm 6543 2021-12-05 15:53:46 +0100
  • 76c867cfca
    move "http acme server setup" into own func 6543 2021-12-05 15:45:22 +0100
  • b6c4c63fb4
    own file 6543 2021-12-05 15:25:12 +0100
  • ccada3e6df
    split cert func to related packages 6543 2021-12-05 15:21:05 +0100
  • bb6f28fe57
    move setup of fastServer into own func 6543 2021-12-05 15:09:21 +0100
  • b3830e979c
    inject all cache 6543 2021-12-05 15:02:44 +0100
  • 2b49039252
    add todo 6543 2021-12-04 21:59:04 +0100
  • b28204a468
    acme-api -> acme-api-endpoint 6543 2021-12-04 21:21:27 +0100
  • 97d4ea9d6b
    main-domain-suffix -> pages-domain 6543 2021-12-04 21:17:52 +0100
  • fdd04610e5
    fix .domains and make it redable 6543 2021-12-04 21:16:22 +0100
  • 5b2e91a37a
    REDIRECT_RAW_INFO -> RAW_INFO_PAGE 6543 2021-12-04 21:15:51 +0100
  • 38426c26db
    move upstream into own package 6543 2021-12-05 14:47:33 +0100
  • f35c4d0f66
    make mem cache an interface and inject 6543 2021-12-03 04:32:30 +0100
  • 0bc38b668f
    db Sync on exit 6543 2021-12-03 04:18:53 +0100
  • 5ca5020cfa
    open key-database deterministic 6543 2021-12-03 04:15:48 +0100
  • 796f24262e
    fix code format 6543 2021-12-03 03:46:21 +0100
  • 690879440a
    move helper func in related packages 6543 2021-12-03 03:44:21 +0100
  • 5b81a8b8bc
    remove os.Getenv() usage 6543 2021-12-03 03:34:50 +0100
  • 35e08d2252
    remove EnvOr use flags 6543 2021-12-03 03:05:38 +0100
  • ac93a5661c
    start using urfave/cli 6543 2021-12-03 02:12:51 +0100
  • bdc2d0c259
    dont access global vars inject them 6543 2021-12-05 14:45:17 +0100
  • fb5726bd20
    use zerolog instead of own logger 6543 2021-12-05 14:43:51 +0100
  • 76e5d8e77c
    Add TODOs Moritz Marquardt 2021-12-02 19:12:45 +0100
  • 2e970dbcda Merge pull request 'Fix github-style non-.html URLs repeating the path twice' (#23) from bugfix/github-style-nohtml-paths into main Moritz Marquardt 2021-12-05 13:56:01 +0100
  • 51c79f512d Fix github-style non-.html URLs repeating the path twice Moritz Marquardt 2021-12-04 13:54:18 +0100
  • 38938e884d Merge pull request 'Add redirect for GitHub-style non-".html" paths & force remove index.html suffix' (#13) from feature/github-style-nohtml-paths into main Moritz Marquardt 2021-12-02 20:35:43 +0100
  • 57dce3b0c5 Add redirect for GitHub-style non-".html" paths & force remove index.html suffix Moritz Marquardt 2021-12-02 10:16:23 +0100
  • 026a04e57e Merge pull request 'Change browser cache to 10 minutes to make bigger pages more performant' (#14) from feature/browser-side-caching into main Moritz Marquardt 2021-12-02 20:35:33 +0100
  • b6d7f5a6ee Change browser cache to 10 minutes to make bigger pages more performant Moritz Marquardt 2021-12-02 10:23:03 +0100
  • 726d8321e8 Merge pull request 'Fix (half) empty cache issue' (#17) from bugfix/large-files-are-empty into main Moritz Marquardt 2021-12-02 20:35:22 +0100
  • 989d00832f
    Fix (half) empty cache issue Moritz Marquardt 2021-12-02 19:11:13 +0100
  • 6d6e0c885e Add IPv6 to quick instructions Otto Richter 2021-12-02 18:08:03 +0100
  • b2ca339694 Fix line breaks Moritz Marquardt 2021-12-02 09:44:35 +0100
  • 2b45e736f3 Add tiny help text for .domains file Moritz Marquardt 2021-12-02 09:38:16 +0100
  • 15fa38d0fc Add link back to codeberg.org to the landing page Moritz Marquardt 2021-12-02 00:56:23 +0100
  • 82d8b9f2f1 Fix text overflow on mobile landing page Moritz Marquardt 2021-12-02 00:53:17 +0100
  • ea7d1ce1c5 Clean up index.html and remove nofollow meta (Search Engines, come here, yes!) Otto Richter 2021-12-02 00:05:33 +0100
  • 26dd1591f6
    Add www redirect for main domain Moritz Marquardt 2021-12-02 00:00:00 +0100
  • 2d0d15b804
    Add .gitignore from main branch to avoid confusion Moritz Marquardt 2021-12-01 23:55:06 +0100
  • 22d7332120
    Add index.html page for main domain Moritz Marquardt 2021-12-01 23:54:04 +0100
  • a48ba8ee49
    Run gofmt Moritz Marquardt 2021-12-01 22:59:52 +0100
  • fedfa8def4
    Remove REDIRECT_BROKEN_DNS page and instead use "Failed Dependency" error Moritz Marquardt 2021-12-01 22:59:38 +0100
  • 6c85b8a166 Merge pull request 'Handle certificate errors with mock certificates (fixes #10)' (#12) from feature/certificate-error-handling into main Moritz Marquardt 2021-12-01 22:53:33 +0100
  • 544b3f7321
    (Ab)use CSR field to store try-again date for renewals (instead of showing a mock cert), must be tested when the first renewals are due Moritz Marquardt 2021-12-01 22:49:48 +0100
  • f29ebc57d3
    Handle certificate errors with mock certificates (fixes #10) Moritz Marquardt 2021-12-01 16:23:37 +0100
  • 5b6e3748b4 Merge pull request 'Pass Gitea API token to requests' (#9) from fnetX/codeberg-pages-server:main into main Moritz Marquardt 2021-12-01 21:46:28 +0100
  • 6d520c2a40
    Update error message for private repo access Moritz Marquardt 2021-12-01 21:44:54 +0100
  • 73da80adc1
    Switch GiteaApiToken from byte to string fnetx 2021-11-26 17:10:31 +0100
  • 455f65216c
    Remove access token from canonicalLink as per momar fnetx 2021-11-26 17:03:58 +0100
  • 772c17e214
    Pass Gitea API token to requests fnetx 2021-11-26 04:06:17 +0100
  • 418dbb7315 Merge pull request 'Refactor Code' (#8) from 6543/codeberg-pages:refactor into main Moritz Marquardt 2021-11-25 19:16:20 +0100
  • a6da3eb5f0
    ignore vendor/ folder 6543 2021-11-25 16:19:04 +0100
  • f2bb6aa36f
    fix comment 6543 2021-11-25 16:18:28 +0100