Go to file
jordi fita mas 8b5a45299e Return HTTP 404 response for non-active campsite’s public pages
At first i thought i had to return HTTP 410 gone in this case, but
HTTP Semantics RFC[0] says that “The 410 (Gone) status code indicates
that […] this condition is likely to be permanent. If the origin server
does not know […] whether or not the condition is permanent, the status
code 404 (Not Found) ought to be used instead.”

A non-active campsite type does not mean “deleted”, but rather
temporarily disabled, thus a 404 is the appropriate code.

[0] https://www.rfc-editor.org/rfc/rfc9110#status.410
2023-08-14 12:07:51 +02:00
cmd/camper Allow users to update their profile images 2023-07-28 20:15:09 +02:00
debian Add correct dependencies for camper-sqitch 2023-07-31 16:20:13 +02:00
deploy Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
pkg Return HTTP 404 response for non-active campsite’s public pages 2023-08-14 12:07:51 +02:00
po Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
revert Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
test Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
verify Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
web Add the Active field to the campsite type’s edit form and function 2023-08-14 11:43:58 +02:00
.gitignore Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
Makefile Add Debian package 2023-07-27 20:00:08 +02:00
demo.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
go.mod Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
go.sum Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Go back to WYSIWYG for campsite types’ description and remove pages 2023-08-12 05:41:34 +02:00