Go to file
jordi fita mas 9349cda5f6 Take into account the confidence of language.Matcher
I had a weird but that sometimes the application would use Spanish as
the default language, even though the user had not passed Spanish as
value of the Accept-Language header and the default is hard-coded to
Catalan.

I learned that language.Matcher **always** returns one of its defined
locales, even if there is no way to match the passed list of languages
to Match.  In that case, it returns a confidence of “No”, meaning that
the match failed.

Usually go the default Catalan locale because most of the time this was
set as the first language to Matcher, but since Go randomizes maps,
there were times that Spanish was first.
2023-08-05 02:08:32 +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 add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00
pkg Take into account the confidence of language.Matcher 2023-08-05 02:08:32 +02:00
po Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00
revert Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00
test Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00
verify Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00
web Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59: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 Use HTTP Host to establish the request’s company 2023-08-03 20:21:21 +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 Add add_campsite_type function and call it from Go with a proper form 2023-08-04 19:59:58 +02:00