Merge branch 'master' of git+ssh://git@git.sitka.bclibraries.ca/sitka/infra-status...
authorChristine Burns <christine.burns@bc.libraries.coop>
Thu, 11 Jun 2015 18:51:12 +0000 (11:51 -0700)
committerChristine Burns <christine.burns@bc.libraries.coop>
Thu, 11 Jun 2015 18:51:12 +0000 (11:51 -0700)
files/.keep [new file with mode: 0644]
files/20141015-ie6.txt
files/20141016-utility.txt
files/20150413-winxp.txt
files/20150529-router.txt [new file with mode: 0644]
files/20150615-upgrade.txt
files/example-asciidoc.txt [new file with mode: 0644]
files/example-markdown.txt [new file with mode: 0644]
files/example-raw.txt [new file with mode: 0644]
files/example.txt [deleted file]

diff --git a/files/.keep b/files/.keep
new file mode 100644 (file)
index 0000000..e69de29
index b4a926a..d889a28 100644 (file)
@@ -2,6 +2,7 @@
 title: IE6/IE7 Support ending
 active: true
 type: maintenance
+timezone: Canada/Pacific
 created_at: 2014-10-15 00:00
 eta: 2014-10-18 08:00
 expires: 2014-10-29 00:00
@@ -15,6 +16,7 @@ affects:
   - thirdparty::wbtw
   - thirdparty::bcla
   - conifer::www
+markup_language: markdown
 ---
 
 The BC Libraries Cooperative advises we can no longer support the use of
index 22cda61..2365bbf 100644 (file)
@@ -2,6 +2,7 @@
 title: Utility host updates
 active: true
 type: maintenance
+timezone: Canada/Pacific
 created_at: 2014-10-16 07:00
 eta: 2014-10-16 09:00
 expire_at: 2015-01-01 00:00
@@ -13,6 +14,7 @@ affects:
   - sitka::sip2
   - sitka::z3950
   - sitka::edi
+markup_language: markdown
 ---
 
 The SITKA technical team has performed a number of overnight system-wide
index fa96951..08f840c 100644 (file)
@@ -2,6 +2,7 @@
 title: Internet Explorer on Windows XP support ending
 active: true
 type: maintenance
+timezone: Canada/Pacific
 created_at: 2015-04-13 00:00
 eta: 2015-06-30 23:59
 affects:
@@ -14,6 +15,7 @@ affects:
   - thirdparty::wbtw
   - thirdparty::bcla
   - conifer::www
+markup_language: markdown
 ---
 
 The BC Libraries Cooperative advises we can no longer support the use of
diff --git a/files/20150529-router.txt b/files/20150529-router.txt
new file mode 100644 (file)
index 0000000..bf27245
--- /dev/null
@@ -0,0 +1,27 @@
+---
+title: Temporary Service Interruption
+active: true
+type: maintenance
+timezone: Canada/Pacific
+created_at: 2015-05-29 11:45
+starts_at: 2015-05-29 09:13
+eta: 2015-05-29 11:07
+expire_at: 2015-06-15 00:00
+affects:
+  - sitka::www
+  - sitka::reporter
+  - sitka::fines
+  - sitka::holds
+  - sitka::sip2
+  - sitka::z3950
+  - sitka::edi
+markup_language: markdown
+---
+
+Due to an inadvertent problem with a network router that resulted in DNS issues, servers hosted
+by the Co-op (including, but not limited to Sitka, Libpress, mail and Licensing authentication
+sources) were temporarily unreachable today between 9:15 and 11am PDT.
+
+This issue has now been resolved, we sincerely apologize for the interruption in service.
+Please feel free to contact the Co-op's Systems Manager Scott Leslie at
+scott.leslie@bc.libraries.coop with any questions or concerns.
index c3ae068..2d4703b 100644 (file)
@@ -1,15 +1,19 @@
 ---
 title: Sitka Evergreen 2.8 Upgrade
-active: false
+active: true
 type: information
-created_at: 2015-05-27 00:00
-eta: 2015-07-13 12:00
-expire_at: 2015-07-14 6:00 
+created_at: 2015-05-27 00:00:00
+starts_at: 2015-06-15 14:00:00
+eta: 2015-07-13 12:00:00
+expire_at: 2015-07-14 6:00:00
 affects:
   - sitka::www
-  
+markup_language: asciidoc
 ---
 
+Evergreen 2.8 Upgrade
+=====================
+
 The BC Libraries Cooperative will be upgrading our instance of Evergreen from version 2.6 to version 2.8 from Saturday, July 11th at 9:00PM PDT 
 (10:00PM MDT, 11:00PM CDT) through Monday, July 13th at 5:00AM PDT (6:00AM MDT, 7:00AM CST). The Evergreen servers and public catalogue will be unavailable 
-during the upgrade. For more information see the <a href="https://bc.libraries.coop/support/upgrade/">Sitka Evergreen 2.8 Upgrade</a> webpage.
+during the upgrade. For more information see the https://bc.libraries.coop/support/upgrade/[Evergreen 2.8 Upgrade] webpage.
diff --git a/files/example-asciidoc.txt b/files/example-asciidoc.txt
new file mode 100644 (file)
index 0000000..dfdcd4f
--- /dev/null
@@ -0,0 +1,36 @@
+---
+title: Example Notice (asciidoc)
+active: false
+type: maintenance
+timezone: Canada/Pacific
+starts_at: 2012-02-20 10:00
+created_at: 2012-02-20 10:00
+eta: 2012-02-22 10:00
+expire_at: 2020-03-20 10:00
+affects: [overlays, forums, bugzilla]
+force_state: maintenance
+markup_language: asciidoctor
+---
+
+See the markdown example for the explaination of fields.
+
+Document title
+==============
+
+== Section
+
+Blah blah blah...
+
+=== Subsection
+
+This is a semi-seperate matter.
+
+== Another section
+
+This is a seperate matter.
+
+== Yet another section
+
+- Item 1
+- Item 2
+- Also: this item
diff --git a/files/example-markdown.txt b/files/example-markdown.txt
new file mode 100644 (file)
index 0000000..4cf9404
--- /dev/null
@@ -0,0 +1,49 @@
+---
+title: Example Notice (markdown)
+active: false
+type: maintenance
+timezone: Canada/Pacific
+starts_at: 2012-02-20 10:00 
+created_at: 2012-02-20 10:00
+eta: 2012-02-22 10:00
+expire_at: 2020-03-20 10:00
+affects: [overlays, forums, bugzilla]
+force_state: maintenance
+markup_language: markdown
+---
+
+# Markdown example
+
+Here you can add text in the markdown format.
+
+## Parameters above:
+
+* `title`: self-explanatory
+* `active`: set this to false to completely hide the notice
+* `type`: (maintenance|information|outage) sets the icon
+* `timezone`: Timezone (Olsen-style) for display and times without an offset
+* `created_at`: when the notice was created
+* `starts_at`: when to start displaying the notice
+* `expire_at`: when to hide the notice. will be indefinitely displayed if unset
+* `eta`: estimated time the service is restored (optional)
+* `affects`: array of services this notice affects (list, optional)
+* `force_state`: (maintenance|up|down) force the state of all services this notice applies to to this state (optional)
+
+### Notes
+
+For all datetime parameters: *created_at*, *starts_at*, *expire_at*, *eta*, you
+should ideally use an ISO8601 format to write the date and time.
+
+    starts_at: YYYY-MM-DD HH:MM:SS  
+    eta: 2015-05-28 17:00:00  
+
+Optionally, you can also include a numeric timezone offset.
+
+    expire_at: YYYY-MM-DD HH:MM:SS [-]HH:SS  
+    created_at: 2015-05-28 17:00:00 -07:00  
+    eta: 2015-05-28 17:00:00 02:00  
+
+The *timezone* parameter will be used to work out what timezone to display
+notices in, as well converting any datetime parameters that do NOT have an
+offset included. You should use Olsen time specifiers here, specifically the
+subset supported by [`ActiveSupport:TimeZone`](http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html).
diff --git a/files/example-raw.txt b/files/example-raw.txt
new file mode 100644 (file)
index 0000000..9205111
--- /dev/null
@@ -0,0 +1,20 @@
+---
+title: Example Notice (raw)
+active: false
+type: maintenance
+timezone: Canada/Pacific
+starts_at: 2012-02-20 10:00
+created_at: 2012-02-20 10:00
+eta: 2012-02-22 10:00
+expire_at: 2020-03-20 10:00
+affects: [overlays, forums, bugzilla]
+force_state: maintenance
+markup_language: raw
+---
+
+See the markdown example for the explaination of fields.
+
+<h3>H3 text</h3>
+
+<div>Div text <b>bold</b> <i>italic</i></div>
+
diff --git a/files/example.txt b/files/example.txt
deleted file mode 100644 (file)
index 20100b0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
----
-title: Example Notice
-active: false
-type: maintenance
-created_at: 2012-02-20 10:00
-eta: 2012-02-22 10:00
-expire_at: 2012-03-20 10:00
-affects: [overlays, forums, bugzilla]
-force_state: maintenance
----
-
-Here you can add text in the markdown format.
-
-Parameters above:
-
-* title: self-explanatory
-* active: set this to false to completely hide the notice
-* type: (maintenance|information|outage) sets the icon
-* created_at: self-explanatory UTC!
-* expire_at: when to hide the notice. will be indefinitely displayed if unset UTC!
-* eta: estimated time the service is restored (optional)
-* affects: array of services this notice affects (TODO list, optional)
-* force_state: (maintenance|up|down) force the state of all services this notice applies to to this state (optional)
-