camper/pkg
jordi fita mas b2ee4dfea3 Add marshal_payment and unmarshal_booking functions
The idea is that we will marshal the payment, send it to the campsite’s
instance by email, and then unmarshal it as a booking, that way we can
have a one way replication from the internal to the public instance with
a way back to send the payments.

For testing purposes, i just create the booking in the same instance.

Had to change the booking relation’s permissions to allow insert from
a guest, much like for payments, because the notification from Redsys
comes as a guest connection.  I need this even with all the
marshal/unmarshal shenanigans because not everyone will have an internal
instance, thus need to allow bookings from guest connections.
2024-04-29 20:59:22 +02:00
..
amenity Add amenities section and public page 2024-01-27 22:51:41 +01:00
app Add customer and invoices sections 2024-04-28 20:28:45 +02:00
auth Send a notification email to the company too on successful payment 2024-02-29 16:59:30 +01:00
booking Pre-fill all guests with the holder’s address 2024-04-29 17:49:38 +02:00
build Tag version 8 of the database 2024-04-22 13:43:38 +02:00
campsite “Mockup” for the new booking form 2024-04-23 21:07:41 +02:00
carousel Fix translation of carousel slides when changing media ID 2024-01-22 21:03:00 +01:00
company Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
customer Fix null problems 2024-04-28 22:49:04 +02:00
database Allow to create the customer to invoice “in flight” 2024-04-28 22:36:21 +02:00
form Add customer and invoices sections 2024-04-28 20:28:45 +02:00
hex Add cover media to campsite types 2023-09-10 03:04:18 +02:00
home Do not freak out just because the is no blooding slogan 2024-01-30 12:24:49 +01:00
http Add customer and invoices sections 2024-04-28 20:28:45 +02:00
invoice Redirect to invoice after create, not booking 2024-04-28 22:50:56 +02:00
legal Do not translate legal to the default language 2024-01-12 19:57:11 +01:00
locale Replace L10nInput with I18nInput in service 2024-01-12 21:06:12 +01:00
location Add missing MethodPut to location/admin.gohtml’s MethodNotAllowed 2024-01-23 11:31:34 +01:00
mail Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
media Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
ods Add customer and invoices sections 2024-04-28 20:28:45 +02:00
payment Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
redsys Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
season Replace admin’s campsite map with a booking grid 2024-04-19 11:29:52 +02:00
services Add a Go function for delete_service SQL function 2024-01-16 18:12:38 +01:00
surroundings Add ad management for surroundings 2024-01-23 14:53:15 +01:00
template Add customer and invoices sections 2024-04-28 20:28:45 +02:00
user User and login attempt pages only accept GET 2024-01-18 19:34:58 +01:00
uuid Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00