From 1bcd355c93bd97084f2df13de1562814cd0eb9da Mon Sep 17 00:00:00 2001
From: Chris Sangwin <C.J.Sangwin@ed.ac.uk>
Date: Mon, 3 Jun 2024 14:47:37 +0100
Subject: [PATCH] Update version number for the 4.6.0 release.

---
 Readme.md                               |  2 +-
 api/config_sample.txt                   |  4 ++--
 api/docker/docker-compose.dev.yml       |  2 +-
 api/docker/docker-compose.yml           |  2 +-
 corsscripts/sortable.css                | 22 +++++++++++-----------
 doc/en/Developer/Development_history.md |  2 +-
 doc/en/Installation/STACK_versions.md   |  2 +-
 stack/maxima/stackmaxima.mac            |  2 +-
 version.php                             |  2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/Readme.md b/Readme.md
index d3586d04d..7c0350e32 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,6 +1,6 @@
 # STACK 4.6.0
 
-STACK is an assessment system for mathematics, science and related disciplines.  STACK is a question type for the Moodle learning management system, and also the ILIAS learning management system.
+STACK is an assessment system for mathematics, science and related disciplines.  STACK is a question type for the Moodle learning management system, and also the ILIAS learning management system.  STACK has an API for stand-alone integration into other 3rd party systems.
 
 The main STACK project website is [https://stack-assessment.org/](https://stack-assessment.org/).
 
diff --git a/api/config_sample.txt b/api/config_sample.txt
index c6c10ccc6..7f82639ae 100644
--- a/api/config_sample.txt
+++ b/api/config_sample.txt
@@ -93,8 +93,8 @@ $CFG->inputmustverify = 1;
 $CFG->inputshowvalidation = 1;
 
 // These should match the version of goemaxima in docker-compose.
-$CFG->stackmaximaversion = "2024052100";
-$CFG->version = "2024052100";
+$CFG->stackmaximaversion = "2024060300";
+$CFG->version = "2024060300";
 
 // Do not change this setting.
 $CFG->mathsdisplay = 'api';
diff --git a/api/docker/docker-compose.dev.yml b/api/docker/docker-compose.dev.yml
index 18f87210b..268a66b51 100644
--- a/api/docker/docker-compose.dev.yml
+++ b/api/docker/docker-compose.dev.yml
@@ -1,7 +1,7 @@
 version: "4.0"
 services:
   maxima:
-    image: mathinstitut/goemaxima:2024052100-latest
+    image: mathinstitut/goemaxima:2024060300-latest
     tmpfs:
       - "/tmp"
     restart: unless-stopped
diff --git a/api/docker/docker-compose.yml b/api/docker/docker-compose.yml
index 6d0ba30df..df97a5a40 100644
--- a/api/docker/docker-compose.yml
+++ b/api/docker/docker-compose.yml
@@ -1,7 +1,7 @@
 version: "4.0"
 services:
   maxima:
-    image: mathinstitut/goemaxima:2024052100-latest
+    image: mathinstitut/goemaxima:2024060300-latest
     tmpfs:
       - "/tmp"
     restart: unless-stopped
diff --git a/corsscripts/sortable.css b/corsscripts/sortable.css
index 1c4d7ff9a..b35d626ff 100644
--- a/corsscripts/sortable.css
+++ b/corsscripts/sortable.css
@@ -82,22 +82,22 @@ button {
 }
 
 .grid-item {
-	height: 50px;
-	background-color: #fff;
-	border: solid 1px rgb(0,0,0,0.2);
-	padding: 10px;
-	margin: 6px;
+    height: 50px;
+    background-color: #fff;
+    border: solid 1px rgb(0,0,0,0.2);
+    padding: 10px;
+    margin: 6px;
     display: flex;
     text-align: center;
 }
 
 .grid-item-rigid {
-	height: 50px;
+    height: 50px;
     width: 150px;
-	background-color: #fff;
-	border: solid 1px rgb(0,0,0,0.2);
-	padding: 10px;
-	margin: 6px;
+    background-color: #fff;
+    border: solid 1px rgb(0,0,0,0.2);
+    padding: 10px;
+    margin: 6px;
     display: flex;
     text-align: center;
 }
@@ -110,7 +110,7 @@ button {
     height: 50px;
     background-color: floralwhite; border: 1px solid rgb(155, 199, 206); 
     padding: 10px;
-	margin: 6px;
+    margin: 6px;
     text-align: center;
     display: flex;
 }
diff --git a/doc/en/Developer/Development_history.md b/doc/en/Developer/Development_history.md
index 73913a64b..c4fd6ac94 100644
--- a/doc/en/Developer/Development_history.md
+++ b/doc/en/Developer/Development_history.md
@@ -4,7 +4,7 @@ For current and future plans, see [Development track](Development_track.md) and
 
 ## Version 4.6.0
 
-Released May 2024.
+Released June 2024.
 
 This version will require moodle 4.0+. Moodle 3.x is no longer supported.
 
diff --git a/doc/en/Installation/STACK_versions.md b/doc/en/Installation/STACK_versions.md
index ad2662107..c355cb8dd 100644
--- a/doc/en/Installation/STACK_versions.md
+++ b/doc/en/Installation/STACK_versions.md
@@ -9,7 +9,7 @@ when releasing.
 
 Release | Version number | Supported Maxima versions
 --------|----------------|--------------------------
-4.6.0 | 2024052100 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
+4.6.0 | 2024060300 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.5.0 | 2023121100 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.4.5 | 2023072101 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.4.4 | 2023060500 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0
diff --git a/stack/maxima/stackmaxima.mac b/stack/maxima/stackmaxima.mac
index 996f2de50..c508ece74 100644
--- a/stack/maxima/stackmaxima.mac
+++ b/stack/maxima/stackmaxima.mac
@@ -3334,4 +3334,4 @@ is_lang(code):=ev(is(%_STACK_LANG=code),simp=true)$
 
 /* Stack expects some output with the version number the output happens at */
 /* maximalocal.mac after additional library loading */
-stackmaximaversion:2024052100$
+stackmaximaversion:2024060300$
diff --git a/version.php b/version.php
index d4df77141..10bdf94bd 100644
--- a/version.php
+++ b/version.php
@@ -24,7 +24,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$plugin->version   = 2024052100;
+$plugin->version   = 2024060300;
 $plugin->requires  = 2022041900;
 $plugin->cron      = 0;
 $plugin->component = 'qtype_stack';
-- 
GitLab