Behoben Booking

Fixed two people booking the same time, and conversions that never finished

Two people choosing the same free time on your booking page at the same moment can no longer both book it: the second is told the time has gone. An Image Converter batch or a Store CSV import whose work stopped part-way is now picked up again and finishes, or ends with a line saying it stopped.

BookingService::createBooking asks outside calendars first, then locks the host's users row, asks Magpie's bookings and Calendar again and saves in one transaction, as Appointments, Resource Booking and Restaurant Reservations do; the booking page, the API, published Calendar events and the assistant all book through it. Image Converter files left in processing for 15 minutes go back to pending, and fail after three starts (image_batch_items.attempts, migration 10963); a small batch run in the request now claims each file as the worker does. Store CSV imports left in processing for 15 minutes are queued again and stopped after three starts with an email, as products-file imports already were.