56d44609ea
Add option to start http server for profiling ( #323 )
...
https://rafallorenz.com/go/go-profiling-http-service-with-pprof-and-expvar/
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/323
Co-authored-by: crapStone <me@crapstone.dev >
Co-committed-by: crapStone <me@crapstone.dev >
2024-04-30 19:50:03 +00:00
f407fd3ae4
Add prettier config and format files ( #319 )
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/319
Reviewed-by: crapStone <codeberg@crapstone.dev >
Co-authored-by: pat-s <patrick.schratz@gmail.com >
Co-committed-by: pat-s <patrick.schratz@gmail.com >
2024-04-28 20:47:04 +00:00
03881382a4
Add option to disable DNS ACME provider ( #290 )
...
This PR add the `$NO_DNS_01` option (disabled by default) that removes the DNS ACME provider, and replaces the wildcard certificate by individual certificates obtained using the TLS ACME provider.
This option allows an instance to work without having to manage access tokens for the DNS provider. On the flip side, this means that a certificate can be requested for each subdomains. To limit the risk of DOS, the existence of the user/org corresponding to a subdomain is checked before requesting a cert, however, this limitation is not enough for an forge with a high number of users/orgs.
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/290
Reviewed-by: Moritz Marquardt <momar@noreply.codeberg.org >
Co-authored-by: Jean-Marie 'Histausse' Mineau <histausse@protonmail.com >
Co-committed-by: Jean-Marie 'Histausse' Mineau <histausse@protonmail.com >
2024-04-18 17:05:20 +00:00
dd6d8bd60f
fixed one grammar error. ( #297 )
...
Just a small grammar change in the README.
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/297
Reviewed-by: crapStone <codeberg@crapstone.dev >
Co-authored-by: caelandb <bothacaelan@gmail.com >
Co-committed-by: caelandb <bothacaelan@gmail.com >
2024-03-12 21:50:17 +00:00
cbb2ce6d07
add go templating engine for error page and make errors more clear ( #260 )
...
ping #199
closes #213
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/260
Co-authored-by: crapStone <crapstone01@gmail.com >
Co-committed-by: crapStone <crapstone01@gmail.com >
2023-11-16 17:11:35 +00:00
7f0a4e5ca9
small cleanup ( #259 )
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/259
Co-authored-by: crapStone <crapstone01@gmail.com >
Co-committed-by: crapStone <crapstone01@gmail.com >
2023-11-15 17:59:04 +00:00
ea68a82cd2
new maintainer ( #256 )
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/256
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: crapStone <crapstone01@gmail.com >
Co-committed-by: crapStone <crapstone01@gmail.com >
2023-11-15 15:25:56 +00:00
b6103c6a1b
Chore: Fix env var description ( #251 )
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/251
Reviewed-by: crapStone <crapstone01@gmail.com >
Co-authored-by: thepaperpilot <thepaperpilot@noreply.codeberg.org >
Co-committed-by: thepaperpilot <thepaperpilot@noreply.codeberg.org >
2023-09-17 16:45:20 +00:00
970c13cf5c
Readme.md: use matrix.org for room alias
2023-03-21 02:32:25 +01:00
98d7a771be
Readme.md: add link to chat & main repo
2023-03-21 01:53:07 +01:00
08d4e70cfd
Update Readme to point out new Architecture
2023-02-11 03:39:38 +01:00
7b35a192bf
Add cert store option based on sqlite3, mysql & postgres ( #173 )
...
Deprecate **pogreb**!
close #169
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/173
2023-02-10 03:00:14 +00:00
8e67d28c4f
Add editorconfig, fix files and lint via ci
2022-11-11 23:51:45 +01:00
2a730b2439
Update README ( #128 )
...
- Update readme accordingly to the 876a53d9a2
Co-authored-by: Gusted <williamzijl7@hotmail.com >
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/128
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Gusted <gusted@noreply.codeberg.org >
Co-committed-by: Gusted <gusted@noreply.codeberg.org >
2022-09-13 23:26:45 +02:00
9076bc3f75
Support access branch that contains slash character ( #102 )
...
So we can access branch that contain slash like `branch/name` with `username.codeberg.page/repo/@branch~name/`.
Branch name cannot contain `~` character but it can be in a HTTP URL, so replace the `~` from URL to `/` could be a valid solution to me.
Resolve #101
Co-authored-by: Gary Wang <wzc782970009@gmail.com >
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/102
Reviewed-by: 6543 <6543@noreply.codeberg.org >
Co-authored-by: Gary Wang <blumia@noreply.codeberg.org >
Co-committed-by: Gary Wang <blumia@noreply.codeberg.org >
2022-07-08 13:39:24 +02:00
659932521c
Add info how to test & debug the server ( #85 )
...
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/85
2022-06-10 20:17:07 +02:00
ac5b19123d
Update README ( #57 )
...
I hope this makes it more inviting to collaborate with us on this project. I'd like to promote the software a little more.
Co-authored-by: fnetx <git@fralix.ovh >
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/57
Co-authored-by: Otto Richter <fnetx@noreply.codeberg.org >
Co-committed-by: Otto Richter <fnetx@noreply.codeberg.org >
2022-02-19 18:10:40 +01:00
73fa2da646
Update default to raw.codeberg.page & improve documentation on custom domains
2021-12-10 14:31:58 +01:00
fdd04610e5
fix .domains and make it redable
2021-12-05 14:48:53 +01:00
5b2e91a37a
REDIRECT_RAW_INFO -> RAW_INFO_PAGE
2021-12-05 14:48:52 +01:00
ac93a5661c
start using urfave/cli
2021-12-05 14:48:44 +01:00
fedfa8def4
Remove REDIRECT_BROKEN_DNS page and instead use "Failed Dependency" error
2021-12-01 22:59:38 +01:00
772c17e214
Pass Gitea API token to requests
...
This allows to display repos that aren't fully public. Some users seem
to be very interested in not having their pages viewable, and it might
make even sense to avoid e.g. search engines to read them.
If set to some random user string, this could allow to set the
visibility at least to limited (so only logged users see the repo), and
should allow to view private repos in the future with another API token.
2021-11-26 04:19:24 +01:00
f22cd6c4e0
Make it possible to disable rate limits
2021-11-20 21:12:28 +01:00
c99dbb34ce
Implement HTTP-01 challenge
2021-11-20 21:10:46 +01:00
b19a5ecc1d
Switch back to Let's Encrypt again & implement renewal
2021-11-20 19:36:12 +01:00
fcccd6435a
Add EAB for ACME
2021-11-20 15:37:36 +01:00
2aaac2c52b
Completely refactor certificates and implement renewal & cleanup
2021-11-20 15:30:58 +01:00
4494023086
Implement simple version of automatic certificate issuance
2021-07-13 15:45:28 +02:00