* 10614: Add pre-commit hook for including the MPLv2
Adds to Python, JS, SCSS, Jinja HTML, Fluent templates and shell scripts
Note that the order of application of the hooks is important - we want to add a missing license before we check the formatting of files
* 10614: Update MPLv2 comments on all templates to match standard format produced by pre-commit hook
* Updates existing MPLv2 text to use a https URL
* Amend a handful of Fluent templates that used a token instead of the string "Mozilla" - this standardised things; translation was not used or needed
* Add missing MPLv2 where needed
* Update three tests that regressed with these changes, above
* 10614: Update pre-commit config to not add MPL to JS libraries; Remove MPL from the four files which should not have had it
Currently it imports the whole django setup and commands
and runs those functions, but we've run into issues as
some of these commands don't expect for the process to
persist. This change makes the cron script simply call
the same commands in a subshell.
This script checks every icalendar file present in <bedrock>/media/caldata
and validates it. Currently, it would run every time a commit is done on master,
but that can be changed to just run on commits to .ics files.
There's also a failure in MexicanHolidays.ics, that I have left as-is for the author
to fix - this would be a good test to check/verify that all folks use the same file encoding.
Moved back check_calendars.py to scripts dir
Fix Mexican calendar
Ideally, this should be done by caldata maintainers. We are fixing this
now that we go live and avoid build failures preventing merge into
master.