camper/deploy
jordi fita mas 302ce29e4a Add the first draft of the booking and payment forms
The form is based on the one in the current website, but in a single
page instead of split into many pages; possibly each <fieldset> should
be in a separate page/view.  The idea is for Oriol to check the design
and decide how it would be presented to the user, so i needed something
to show him first.

I hardcoded the **test** data for the customer’s Redsys account.  Is
this bad? I hope not, but i am not really, really sure.

The data sent to Redsys is just a placeholder because there are booking
details that i do not know, like what i have to do with the “teenagers”
field or the area preferences, thus i can not yet have a booking
relation.  Nevertheless, had to generate a random order number up to
12-chars in length or Redsys would refuse the payment, claiming that
the order is duplicated.

The Redsys package is based on the PHP code provided by Redsys
themselves, plus some hints at the implementations from various Go
packages that did not know why they were so complicated.

Had to grant select on table country to guest in order to show the
select with the country options.

I have changed the “Postal code” input in taxDetails for “Postcode”
because this is the spell that it is used in the current web, i did not
see a reason to change it—it is an accepted form—, and i did not want to
have inconsistencies between forms.
2023-10-19 21:37:34 +02:00
..
add_campsite.sql Add campsite map in SVG 2023-09-24 03:17:13 +02:00
add_campsite_type.sql Add the info and facilities fields to campsite type 2023-10-13 18:09:28 +02:00
add_campsite_type_carousel_slide.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
add_campsite_type_feature.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
add_campsite_type_option.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
add_home_carousel_slide.sql Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
add_media.sql Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
add_season.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
add_service.sql Add the services page 2023-09-17 03:42:16 +02:00
add_services_carousel_slide.sql Add the services page 2023-09-17 03:42:16 +02:00
available_countries.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
available_currencies.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
available_icons.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
available_languages.sql Add English as an available, selectable language 2023-09-12 12:27:00 +02:00
build_cookie.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
campsite.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
campsite_type.sql Add the info and facilities fields to campsite type 2023-10-13 18:09:28 +02:00
campsite_type_carousel.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
campsite_type_carousel_i18n.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
campsite_type_cost.sql Add the campsite type cost per season 2023-10-01 21:14:39 +02:00
campsite_type_feature.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
campsite_type_feature_i18n.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
campsite_type_i18n.sql Add the info and facilities fields to campsite type 2023-10-13 18:09:28 +02:00
campsite_type_option.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
campsite_type_option_cost.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
campsite_type_option_i18n.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
change_password.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
check_cookie.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
color.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
company.sql Add the Catalonia’s Tourism Registry number to company 2023-10-14 21:59:36 +02:00
company_geography.sql Add the contact page, containing a map with the company location 2023-10-06 21:21:00 +02:00
company_host.sql Use HTTP Host to establish the request’s company 2023-08-03 20:21:21 +02:00
company_user.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
country.sql Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
country_code.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
country_i18n.sql Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
currency.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
currency_code.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
current_company_id.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
current_user_cookie.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
current_user_email.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
edit_campsite.sql Add campsite map in SVG 2023-09-24 03:17:13 +02:00
edit_campsite_type.sql Add the info and facilities fields to campsite type 2023-10-13 18:09:28 +02:00
edit_campsite_type_feature.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
edit_campsite_type_option.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
edit_media.sql Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
edit_season.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
edit_service.sql Add the services page 2023-09-17 03:42:16 +02:00
email.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
encrypt_password.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
ensure_role_exists.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
extension_btree_gist.sql Add the season_calendar relation and table on the admin section 2023-09-27 02:23:09 +02:00
extension_citext.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
extension_pg_libphonenumber.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
extension_pgcrypto.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
extension_postgis.sql Add the contact page, containing a map with the company location 2023-10-06 21:21:00 +02:00
extension_uri.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
extension_vat.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
home_carousel.sql Fix Sqitch’s requires for schema_camper in home_carousel and services_carousel 2023-10-12 16:21:32 +02:00
home_carousel_i18n.sql Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
icon.sql Add the services page 2023-09-17 03:42:16 +02:00
input_is_valid.sql Add the form to update company’s tax details 2023-08-15 22:35:21 +02:00
input_is_valid_phone.sql Add the form to update company’s tax details 2023-08-15 22:35:21 +02:00
language.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
login.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
login_attempt.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
logout.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
media.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
media_content.sql Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
media_path.sql Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
media_type.sql Add media relation and add_media function 2023-09-08 20:03:26 +02:00
parse_price.sql Add the campsite type cost per season 2023-10-01 21:14:39 +02:00
policies_company.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
remove_campsite_type_carousel_slide.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
remove_home_carousel_slide.sql Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
remove_service.sql Add function and HTTP handler to delete services 2023-09-26 17:29:49 +02:00
remove_services_carousel_slide.sql Add the services page 2023-09-17 03:42:16 +02:00
roles.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
schema_auth.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
schema_camper.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
schema_public.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
season.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
season_calendar.sql Add the season_calendar relation and table on the admin section 2023-09-27 02:23:09 +02:00
season_i18n.sql Add internationalization and localization to seasons 2023-10-03 21:14:37 +02:00
service.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
service_i18n.sql Add the services page 2023-09-17 03:42:16 +02:00
services_carousel.sql Fix Sqitch’s requires for schema_camper in home_carousel and services_carousel 2023-10-12 16:21:32 +02:00
services_carousel_i18n.sql Add the services page 2023-09-17 03:42:16 +02:00
set_campsite_type_cost.sql Add the campsite type cost per season 2023-10-01 21:14:39 +02:00
set_campsite_type_option_cost.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
set_cookie.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
set_season_range.sql Add the season_calendar relation and table on the admin section 2023-09-27 02:23:09 +02:00
to_color.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
to_integer.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
to_price.sql Grant execute to guest for function to_price 2023-10-06 13:23:20 +02:00
translate_campsite_type.sql Add the info and facilities fields to campsite type 2023-10-13 18:09:28 +02:00
translate_campsite_type_carousel_slide.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
translate_campsite_type_feature.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
translate_campsite_type_option.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
translate_home_carousel_slide.sql Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
translate_season.sql Add internationalization and localization to seasons 2023-10-03 21:14:37 +02:00
translate_service.sql Add the services page 2023-09-17 03:42:16 +02:00
translate_services_carousel_slide.sql Add the services page 2023-09-17 03:42:16 +02:00
translation.sql Add the edit form for services 2023-09-25 20:10:33 +02:00
unset_season_range.sql Fix error unsetting season range that corresponds to existing range 2023-09-28 02:28:33 +02:00
user.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
user_profile.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00