From b8277c383342f1d9ac991753e833fe158bd0f141 Mon Sep 17 00:00:00 2001 From: TNA-Allan <96120886+TNA-Allan@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:34:00 +0000 Subject: [PATCH 1/3] FIX:Update for missing html tag (#1517) --- templates/records/archive_detail.html | 2 +- templates/records/record_creators.html | 2 +- templates/search/blocks/featured-search__record-creator.html | 2 +- templates/search/blocks/native_website_result--grid.html | 1 + templates/search/blocks/search_results__list-card--grid.html | 1 + templates/search/native_website_search.html | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) 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 @@
{% include "includes/records/record_creator_description.html" %} - +
{% endblock %} {% block extra_js %} diff --git a/templates/search/blocks/featured-search__record-creator.html b/templates/search/blocks/featured-search__record-creator.html index bc98f27ab..af7ec49d3 100644 --- a/templates/search/blocks/featured-search__record-creator.html +++ b/templates/search/blocks/featured-search__record-creator.html @@ -26,5 +26,5 @@

See all relevant {{ bucket.label_with_count }} - +

diff --git a/templates/search/blocks/native_website_result--grid.html b/templates/search/blocks/native_website_result--grid.html index 2cb71fcc7..e3e066842 100644 --- a/templates/search/blocks/native_website_result--grid.html +++ b/templates/search/blocks/native_website_result--grid.html @@ -44,5 +44,6 @@ {% endif %} + diff --git a/templates/search/blocks/search_results__list-card--grid.html b/templates/search/blocks/search_results__list-card--grid.html index 8a2416ff1..f02869159 100644 --- a/templates/search/blocks/search_results__list-card--grid.html +++ b/templates/search/blocks/search_results__list-card--grid.html @@ -55,4 +55,5 @@

{% endif %} {% endif %} + diff --git a/templates/search/native_website_search.html b/templates/search/native_website_search.html index 2b3e4d828..7bfd5e188 100644 --- a/templates/search/native_website_search.html +++ b/templates/search/native_website_search.html @@ -77,6 +77,7 @@

Results

+ {% if paginator.count %} {% include './blocks/search_pagination.html' %} From 19035c96bd611d895a8a876407f76b3c4ce028ab Mon Sep 17 00:00:00 2001 From: jamesbiggs Date: Mon, 5 Feb 2024 10:24:32 +0000 Subject: [PATCH 2/3] Updated publish_scheduled_pages CRON --- .platform.app.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 From f73f8897eecc369324e5db6f0b869d0d1ccc5460 Mon Sep 17 00:00:00 2001 From: TNA-Allan <96120886+TNA-Allan@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:54:54 +0000 Subject: [PATCH 3/3] CHORE: Add license (#1521) --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE 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.