From dc310850a6822d41490f34a88ea070e6af560be9 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Sat, 11 May 2019 14:47:08 +0100
Subject: [PATCH] Add firstrun_complete to guiconfig json file

---
 module_index.json         | 30 ++++++++++++++++++++----------
 peppermint.guiconfig.json |  1 +
 2 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/module_index.json b/module_index.json
index 49872ae..b90b600 100755
--- a/module_index.json
+++ b/module_index.json
@@ -69,13 +69,23 @@
         "optional": false,
         "extra_data": []
     },
+    {
+        "id": "feature-firstrun",
+        "name": "First run wizard",
+        "version": "0.1",
+        "author": "Starbeamrainbowlabs",
+        "description": "Displays a special page to aid in setting up a new wiki for the first time.",
+        "lastupdate": 1557582295,
+        "optional": false,
+        "extra_data": []
+    },
     {
         "id": "feature-guiconfig",
         "name": "Settings GUI",
-        "version": "0.1.3",
+        "version": "0.1.4",
         "author": "Starbeamrainbowlabs",
         "description": "The module everyone has been waiting for! Adds a web based gui that lets mods change the wiki settings.",
-        "lastupdate": 1548629209,
+        "lastupdate": 1557575008,
         "optional": false,
         "extra_data": []
     },
@@ -122,10 +132,10 @@
     {
         "id": "feature-search",
         "name": "Search",
-        "version": "0.7",
+        "version": "0.7.1",
         "author": "Starbeamrainbowlabs",
         "description": "Adds proper search functionality to Pepperminty Wiki using an inverted index to provide a full text search engine. If pages don't show up, then you might have hit a stop word. If not, try requesting the `invindex-rebuild` action to rebuild the inverted index from scratch.",
-        "lastupdate": 1549840628,
+        "lastupdate": 1557182908,
         "optional": false,
         "extra_data": []
     },
@@ -162,10 +172,10 @@
     {
         "id": "feature-user-table",
         "name": "User Organiser",
-        "version": "0.1",
+        "version": "0.1.1",
         "author": "Starbeamrainbowlabs",
         "description": "Adds a organiser page that lets moderators (or better) control the reegistered user accounts, and perform adminstrative actions such as password resets, and adding \/ removing accounts.",
-        "lastupdate": 1526423111,
+        "lastupdate": 1557574803,
         "optional": false,
         "extra_data": []
     },
@@ -234,20 +244,20 @@
     {
         "id": "page-list",
         "name": "Page list",
-        "version": "0.11",
+        "version": "0.11.1",
         "author": "Starbeamrainbowlabs",
         "description": "Adds a page that lists all the pages in the index along with their metadata.",
-        "lastupdate": 1548364613,
+        "lastupdate": 1557182882,
         "optional": false,
         "extra_data": []
     },
     {
         "id": "page-login",
         "name": "Login",
-        "version": "0.9.2",
+        "version": "0.9.4",
         "author": "Starbeamrainbowlabs",
         "description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
-        "lastupdate": 1540050129,
+        "lastupdate": 1557573174,
         "optional": false,
         "extra_data": []
     },
diff --git a/peppermint.guiconfig.json b/peppermint.guiconfig.json
index 20dbb45..f557b23 100644
--- a/peppermint.guiconfig.json
+++ b/peppermint.guiconfig.json
@@ -1,4 +1,5 @@
 {
+	"firstrun_complete": { "type": "checkbox", "description": "Whether the first-run wizard has completed or not.", "default": false },
 	"sitename": { "type": "text", "description": "Your wiki's name.", "default": "Pepperminty Wiki" },
 	"defaultpage": { "type": "text", "description": "The name of the page that will act as the home page for the wiki. This page will be served if you don't specify a page.", "default": "Main Page" },
 	"admindetails_name": { "type": "text", "description": "Your name as the wiki administrator.", "default": "Administrator" },
