diff --git a/.platform.app.yaml b/.platform.app.yaml index de53c2b9a..8bdbf9940 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -108,10 +108,10 @@ mounts: crons: # Publish scheduled pages once an hour - # https://docs.wagtail.io/en/stable/reference/management_commands.html#publish-scheduled-pages - publish_scheduled_pages: + # https://docs.wagtail.org/en/stable/reference/management_commands.html#publish-scheduled + publish_scheduled: spec: 0 * * * * - cmd: python manage.py publish_scheduled_pages + cmd: poetry run python manage.py publish_scheduled # Take snapshot at 5am every morning # https://docs.platform.sh/administration/snapshot-and-restore.html#automated-snapshots diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..f84d846f7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 The National Archives, UK + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/records/archive_detail.html b/templates/records/archive_detail.html index ad7167108..794604e63 100644 --- a/templates/records/archive_detail.html +++ b/templates/records/archive_detail.html @@ -19,7 +19,7 @@ {% include "includes/records/archive-collections.html" %} {% include "includes/records/archive-additional-resources.html" %} - + {% endblock %} {% block extra_js %} diff --git a/templates/records/record_creators.html b/templates/records/record_creators.html index 82c045ea7..b8fce08f6 100644 --- a/templates/records/record_creators.html +++ b/templates/records/record_creators.html @@ -15,7 +15,7 @@