Commit Graph

  • e800d2110e
    gofmt -s -w *.go */*.go 6543 2021-11-25 16:12:28 +01:00
  • 5ed8d0f129
    Add clarification on cache & reduce default branch cache to 15 minutes v2.1 Moritz Marquardt 2021-11-24 19:09:37 +01:00
  • e5385be6da
    Fix iterator issue causing 100% CPU load Moritz Marquardt 2021-11-24 19:08:34 +01:00
  • ce802734d4
    Add build script & ignore files v2.0 Moritz Marquardt 2021-11-20 21:43:12 +01:00
  • eae4513b96
    Fix timeout for HTTP-01, bug in HTTP challenge response & only count domains towards user limit after acquiring locks Moritz Marquardt 2021-11-20 21:39:40 +01:00
  • f22cd6c4e0
    Make it possible to disable rate limits Moritz Marquardt 2021-11-20 21:12:28 +01:00
  • c99dbb34ce
    Implement HTTP-01 challenge Moritz Marquardt 2021-11-20 21:10:46 +01:00
  • 73c21d0195
    Reduce file cache timeout as it doesn't seem to do much Moritz Marquardt 2021-11-20 20:34:12 +01:00
  • b19a5ecc1d
    Switch back to Let's Encrypt again & implement renewal Moritz Marquardt 2021-11-20 19:36:12 +01:00
  • 77321eb181
    Make ACME account persistent & fix issues with certificate resolution Moritz Marquardt 2021-11-20 15:54:52 +01:00
  • fcccd6435a
    Add EAB for ACME Moritz Marquardt 2021-11-20 15:37:36 +01:00
  • d1ed16c0f2
    Update everything & add Justfile Moritz Marquardt 2021-11-20 15:31:10 +01:00
  • 2aaac2c52b
    Completely refactor certificates and implement renewal & cleanup Moritz Marquardt 2021-11-20 15:30:58 +01:00
  • dbccffc135
    make binary faster and smaller crapStone 2021-10-26 17:31:38 +02:00
  • cf5e9e1ac0
    remove unused function crapStone 2021-10-23 23:05:49 +02:00
  • b540284764
    upgrade to edition 2021, clippy fixes, error fixed crapStone 2021-10-23 22:57:56 +02:00
  • 6def9f298c
    fix help message crapStone 2021-10-05 14:12:22 +02:00
  • 29799b7c3a
    update dependencies crapStone 2021-10-05 13:48:34 +02:00
  • bff9ffed57 Prepare for v1.15 release (#73) v1.0_php 6543 2021-07-02 14:50:46 +02:00
  • d668245696 Stop hardcoding hostnames fnetx 2021-08-26 02:04:22 +02:00
  • 9b0953c7a7 add more reserved user names Codeberg 2021-08-18 23:52:42 +02:00
  • 33f7a5d0df
    Commit all current changes before vacation... Moritz Marquardt 2021-08-22 17:59:30 +02:00
  • 334b2a917a
    update dependencies crapStone 2021-08-22 15:41:18 +02:00
  • f89cdae359
    update dependencies crapStone 2021-04-18 23:58:11 +02:00
  • 4494023086
    Implement simple version of automatic certificate issuance Moritz Marquardt 2021-07-13 15:45:28 +02:00
  • 7c70be21d7
    Add HSTS & cipher suites, handle fallback cert errors & change default port to 443 Moritz Marquardt 2021-07-13 10:28:36 +02:00
  • 0602811709
    Add timing tests & fix caching Moritz Marquardt 2021-07-13 10:28:06 +02:00
  • 675e56ee98
    Implement domain handling logic Moritz Marquardt 2021-07-09 01:16:00 +02:00
  • 13b386d442
    Switch to HTTPS using a self-signed certificate Moritz Marquardt 2021-07-09 01:15:42 +02:00
  • 373c13baee
    Update dependencies Moritz Marquardt 2021-07-08 23:09:46 +02:00
  • f63bd1bb2f
    Add timing tests Moritz Marquardt 2021-07-08 23:08:58 +02:00
  • 3e9aaa8a4a
    Make settings configurable Moritz Marquardt 2021-07-08 23:08:50 +02:00
  • 4bc1cd5f7b
    Add file cache Moritz Marquardt 2021-07-08 23:08:30 +02:00
  • e94bdb4ed3
    Add screenshot of the SNI test script Moritz Marquardt 2021-06-06 12:38:07 +02:00
  • b54f9df4c5
    Add proof of concept for SNI-based routing through HAProxy Moritz Marquardt 2021-06-06 12:29:53 +02:00
  • d35ce9740e Fix function doc for actual parameter type Marcos de Oliveira 2021-05-11 15:16:57 -03:00
  • 523b5f052c Use proc_open() instead of exec() for runing git commands Marcos de Oliveira 2021-05-04 10:27:31 -03:00
  • 2266db03b7 Update links on codeberg.page n 2021-05-19 20:53:06 +09:00
  • 1ef87fa04b Fix fonts on codeberg.page n 2021-05-19 20:51:53 +09:00
  • 91e8a89fb6 use codeberg.page for production Andreas Shimokawa 2021-04-28 12:52:33 +02:00
  • 2e0608c270
    Fix redirects for pages repo Moritz Marquardt 2021-03-19 21:33:57 +01:00
  • 203e230905
    Implement caching & limit concurrency Moritz Marquardt 2021-03-19 20:58:53 +01:00
  • 8ead10c82e
    Implement SEO optimizations and improve error handling and branch detection Moritz Marquardt 2021-03-19 20:30:08 +01:00
  • c4bae34b71
    Add TODOs Moritz Marquardt 2021-03-19 13:20:00 +01:00
  • 44c41c7459
    Release under EUPL v. 1.2 Moritz Marquardt 2021-03-17 01:21:50 +01:00
  • cdd6727049
    Fix error page not rendering & make it more beautiful Moritz Marquardt 2021-03-17 01:16:57 +01:00
  • 017b5852e0 Make URLs safe for raw pages, by using the Gitea API and gutting the request URI Moritz Marquardt 2021-03-17 00:48:52 +01:00
  • 241f7a57ec
    Split code into multiple files Moritz Marquardt 2021-03-17 00:34:31 +01:00
  • 1a80684e79
    Clean up, fix bugs, implement caching & use API Moritz Marquardt 2021-03-17 00:24:34 +01:00
  • 0756993f7e
    Implement first version without custom domains, TLS and caching Moritz Marquardt 2021-03-16 20:22:06 +01:00
  • c06c201b90 Allow CORS only to design.codeberg.org and fonts.codeberg.org, or on "raw.*.non-org-tld" Moritz Marquardt 2021-03-16 15:46:29 +01:00
  • c5115c10fd Re-allow hosting HTML, JS & CSS from *.org Moritz Marquardt 2021-02-20 20:33:51 +01:00
  • 21dcda3889 Support for raw content subdomain codeberg.org 2021-02-21 16:34:48 +01:00
  • 04b94120dc Allow custom repo name for *.org pages & add design.codeberg.org Moritz Marquardt 2021-02-20 20:38:08 +01:00
  • b866134b9c raw content delivery support -- urls are raw.codeberg.eu/{owner}/{repo}/... codeberg.org 2020-12-28 00:26:59 +01:00
  • f60ce37802 add 'page' and 'pages' to blacklisted owner list codeberg.org 2020-12-09 23:21:19 +01:00
  • 526931530e extend subdomain blocklist codeberg.org 2020-10-18 10:56:16 +02:00
  • aa29a48487 accidentally blocked docs codeberg.org 2020-10-14 14:16:26 +02:00
  • b31fcb9892 add a few more blacklisted subdomains codeberg.org 2020-10-14 13:49:41 +02:00
  • a6975fcf52 reserved username blacklist codeberg.org 2020-10-14 12:12:12 +02:00
  • cf6fae7d07 fix embarrassing alt tag typo, thanks to @n for catching this! codeberg.org 2020-10-11 12:41:21 +02:00
  • ff06a5cfdc backlink and tweak margin codeberg.org 2020-10-09 21:49:08 +02:00
  • 97b47db499 codeberg.eu subdomain support Codeberg 2020-10-07 15:48:57 +02:00
  • 926aeee281 Change logo type for new look n 2020-09-05 21:34:20 +09:00
  • 6156966eb3 Fix Codeberg Pages fonts n 2020-09-03 20:53:33 +09:00
  • 36d7d5e1c4 use last revision as etag to improve caching Andreas Shimokawa 2020-09-02 13:53:43 +02:00
  • b06dbbe075 set cache control to 180 seconds for codeberg pages Andreas Shimokawa 2020-09-02 11:55:36 +02:00
  • cb590c7568 allow whitespace in URL codeberg.org 2020-08-31 00:23:31 +02:00
  • 9e9302d050
    added MIT license crapStone 2020-07-22 19:02:30 +02:00
  • a6250c7bb2 removed shell completions crapStone 2020-07-22 18:50:08 +02:00
  • 363c6a18c4 initial commit crapStone 2020-07-22 18:47:26 +02:00
  • 567ad40c56 Remove Google Fonts link n 2020-06-26 21:21:31 +09:00
  • fd0366df51 Fix icon padding n 2020-06-27 03:58:03 +09:00
  • 9e0450c3b9 Self-host fonts (#22) n 2020-06-25 21:47:21 +02:00
  • db7485915e Reformatting. opyale 2020-06-19 03:22:14 +02:00
  • 0a933be603 Initial commit. opyale 2020-06-19 03:20:37 +02:00
  • 672dfa7540 point link to https://<username>.codeberg.eu/ codeberg.org 2020-06-18 23:39:50 +02:00
  • 4d6e74e477 Using Tajawal as default font. opyale 2020-06-18 22:36:59 +02:00
  • beddf91a52 Minor improvement. opyale 2020-06-18 21:14:20 +02:00
  • b70a45b312 Initial commit. opyale 2020-06-18 21:12:42 +02:00
  • 8a932d68b1 allow using codeberg pages without having a master branch Andreas Shimokawa 2020-06-18 13:17:48 +02:00
  • 330daaab5b test pages with subdomains Andreas Shimokawa 2020-06-17 23:06:02 +02:00
  • 3b79b7eb60 - var/www/pages/index.php : try adding .html suffix for incomplete URIs codeberg.org 2020-05-11 09:06:23 +02:00
  • 0e24c90354 var/www/pages/index.php : clarify comment codeberg.org 2020-05-04 23:59:54 +02:00
  • b7cbd00f1d var/www/pages/index.php : whitespaces codeberg.org 2020-05-04 23:51:46 +02:00
  • 03508f2470 var/www/pages/index.php : improve look of URLs codeberg.org 2020-05-04 23:47:35 +02:00
  • ee47caf42d var/www/pages/index.php : work around browser issues with relative links and directory URIs not ending on '/' codeberg.org 2020-05-04 23:43:52 +02:00
  • 1b10dec06f var/www/pages/index.php : use array_diff() instead of array_filter() codeberg.org 2020-05-04 22:56:19 +02:00
  • f48218397a var/www/pages/index.php : filter empty URI parts mid-path codeberg.org 2020-05-04 22:46:54 +02:00
  • 0df931d3ee var/www/pages/index.php : comments codeberg.org 2020-05-04 22:24:56 +02:00
  • 43df6cdf2a var/www/pages/index.php : consistent string delimiters codeberg.org 2020-05-04 22:13:36 +02:00
  • 7948e2600e var/www/pages/index.php : fix typo codeberg.org 2020-05-04 22:09:15 +02:00
  • a4c1bddd01 var/www/pages/index.php : more mime types, tidy-up codeberg.org 2020-05-04 22:00:19 +02:00
  • 32427136b7 var/www/pages/index.php : add comment codeberg.org 2020-05-04 21:20:56 +02:00
  • 981c0dd904 var/www/pages/index.php : properly handle directories, pipe unused output to /dev/null codeberg.org 2020-05-04 21:14:53 +02:00
  • 972c0879c3 avoid 302 redirect, rewrite URL for path with guessed index.html instead codeberg.org 2020-05-04 20:15:28 +02:00
  • a46759fe57 var/www/pages/index.php : set HTTP status and MIME type for non-HTML files codeberg.org 2020-05-02 17:56:52 +02:00
  • 4b15fb1017 support 404.html Andreas Shimokawa 2020-05-02 16:27:02 +02:00
  • 594331d432 Add font mimetypes Andreas Shimokawa 2019-12-21 10:07:13 +01:00
  • 689ba3a8f9 set viewport for mobile Andreas Shimokawa 2019-12-01 10:31:31 +01:00