camper/web/static
jordi fita mas 97cf117da3 Manage all media uploads in a single place
It made no sense to have a file upload in each form that needs a media,
because to reuse an existing media users would need to upload the exact
same file again; this is very unusual and unfriendly.

A better option is to have a “centralized” media section, where people
can upload files there, and then have a picker to select from there.
Ideally, there would be an upload option in the picker, but i did not
add it yet.

I’ve split the content from the media because i want users to have the
option to update a media, for instance when they need to upload a
reduced or cropped version of the same photo, without an edit they would
need to upload the file as a new media and then update all places where
the old version was used.  And i did not want to trouble people that
uploads the same photo twice: without the separate relation, doing so
would throw a constraint error.

I do not believe there is any security problem to have all companies
link their media to the same file, as they were already readable by
everyone and could upload the data from a different company to their
own; in other words, it is not worse than it was now.
2023-09-21 01:56:44 +02:00
..
ckeditor5@39.0.1 Go back to WYSIWYG for campsite types’ description and remove pages 2023-08-12 05:41:34 +02:00
fonts Add the first test for the front end design 2023-09-05 04:40:48 +02:00
images Add the surroundings static page 2023-09-17 00:11:39 +02:00
camper.css Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
camper.js Go back to WYSIWYG for campsite types’ description and remove pages 2023-08-12 05:41:34 +02:00
default_avatar.svg Add profile form, inside a user menu 2023-07-26 20:46:09 +02:00
favicon.ico Add favicon 2023-07-26 18:59:17 +02:00
htmx@1.9.3.min.js Add the logout button 2023-07-26 13:49:47 +02:00
jquery@3.7.1.min.js Add the first test for the front end design 2023-09-05 04:40:48 +02:00
public.css Add the services page 2023-09-17 03:42:16 +02:00
slick@1.8.1.css Add the first test for the front end design 2023-09-05 04:40:48 +02:00
slick@1.8.1.min.js Add the first test for the front end design 2023-09-05 04:40:48 +02:00