]> BookStack Code Mirror - website/commitdiff
Added peertube links to site
authorDan Brown <redacted>
Fri, 4 Aug 2023 20:49:09 +0000 (21:49 +0100)
committerDan Brown <redacted>
Fri, 4 Aug 2023 20:49:09 +0000 (21:49 +0100)
Updated main links in docs to use peertube instead of YouTube.
Not so fussed about leaving old blog/other YT links in though, just
better that if we're providing guidance we're leading folks to an
ad-free privacy respecting zone.

content/docs/admin/email-webhooks.md
content/docs/admin/installation.md
content/docs/admin/ldap-auth.md
content/docs/admin/oidc-auth.md
content/docs/admin/saml2-auth.md
themes/bookstack/layouts/partials/footer.html
themes/bookstack/layouts/partials/header.html
themes/bookstack/layouts/partials/icon/peertube.svg [new file with mode: 0644]
themes/bookstack/layouts/section/docs.html

index 8787b3c43229a5254dda17ac21f0032597e19a4d..c3d196ce44920b5a505bddd0e0c055e3de9b0656 100644 (file)
@@ -101,7 +101,7 @@ An example of the POST data format is shown when creating or editing a webhook.
 The webhook data is "Slack Compatible" in respect to having a `text` property containing a human-readable description
 of the event. Services such as [Discord](https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook), [Zulip](https://zulip.com/integrations/doc/slack_incoming) and Teams, upon many others, have options to support this format.
 
-A video guide on BookStack webhooks, including usage with Discord and HomeAssistant, [can be found here](https://www.youtube.com/watch?v=_zIp1ruGpoI).
+A video guide on BookStack webhooks, including usage with Discord and HomeAssistant, [can be found here](https://foss.video/w/xu4T7mafyLqkLU1VTgNaCV).
 
 The running of webhooks can slow down a system due to the required additional processing time.
 See the [async action handling](#async-action-handling) section below to details on running webhooks
index 56164240ba30deeec5eeee471037ee1bffa0a92e..e189b48041c93f91021eca993c53704b13c8d0f5 100644 (file)
@@ -103,7 +103,7 @@ Community docker setups are available for those that would prefer to use a conta
 A script to install BookStack on a fresh instance of Ubuntu 22.04 is available. This script is ONLY FOR A FRESH OS, it will install Apache, MySQL 8.0 & PHP 8.1 and could OVERWRITE any existing web setup on the machine. It also does not set up mail settings or configure system security so you will have to do those separately. You can use the script as a reference if you're installing on a non-fresh machine.
 
 - [Link to installation script](https://github.com/BookStackApp/devops/blob/main/scripts/installation-ubuntu-22.04.sh)
-- [Video guide](https://www.youtube.com/watch?v=wq78komr9rs)
+- [Video guide](https://foss.video/w/emk5bMzhRdk4qzDoq3R6xe)
 
 #### Running the Script
 
@@ -132,7 +132,7 @@ Permissions for the BookStack installation files & folders will be set based upo
 A script to install BookStack on a fresh instance of Ubuntu 20.04 is available. This script is ONLY FOR A FRESH OS, it will install Apache, MySQL 8.0 & PHP 8.2 and could OVERWRITE any existing web setup on the machine. It also does not set up mail settings or configure system security so you will have to do those separately. You can use the script as a reference if you're installing on a non-fresh machine.
 
 - [Link to installation script](https://github.com/BookStackApp/devops/blob/main/scripts/installation-ubuntu-20.04.sh)
-- [Video guide](https://www.youtube.com/watch?v=ShqUjt33uOs)
+- [Video guide](https://foss.video/w/59udkzBf8ftVPWutkBcuyM)
 
 #### Running the Script
 
@@ -187,7 +187,8 @@ This is a collection of guides created by awesome members of the BookStack commu
 * [Sample Docker Swarm Stack by @neuroforgede](https://github.com/neuroforgede/bookstack-docker-swarm)
 
 In addition to written guides, there are a bunch [community videos on YouTube](https://www.youtube.com/playlist?list=PLLIji4SLo6EiAUI5X3amBSB99HpabUqsS)
-in addition to the [guides on the official BookStack channel](https://www.youtube.com/playlist?list=PLLIji4SLo6EidqlySHJNGyQ_rLpMY3nmE).
+in addition to the guides on the official [BookStack YouTube channel](https://www.youtube.com/c/BookStackApp)
+or [BookStack PeerTube channel](https://foss.video/c/bookstack/).
 
 #### Old Guides
 
index 16cc72756087e37cffb329a091ce376835c8f740..91e7146b2c13896c9a2b17453633292d4bd54e07 100644 (file)
@@ -7,7 +7,7 @@ type = "admin-doc"
 
 BookStack can be configured to allow LDAP based user login. While LDAP login is enabled you cannot log in with the standard user/password login and new user registration is disabled. BookStack will only use the LDAP server for getting user details and for authentication. Data on the LDAP server is not editable through BookStack.
 
-[A video guide for setting up LDAP can be found here](https://www.youtube.com/watch?v=50qw_LkhwoM).
+[A video guide for setting up LDAP can be found here](https://foss.video/w/3jKDj5DpF4tqUtx9HhweNM).
 
 ### Authentication Setup
 
index 4c73417cfbb4a3e2f595a256301d596bc8517d85..da189b89adc5064f5e57e511677312804ffd5589 100644 (file)
@@ -21,9 +21,9 @@ provide a seamless access experience. They will be given the default role set un
 
 We have a range of videos available that can help show, for a range of identity platforms, the exact steps required to set-up a BookStack OpenID Connect authentication integration:
 
-- [General setup guide (Using Okta as an example)](https://www.youtube.com/watch?v=TJQ4NJrMvkw)
-- [Azure Active Directory OIDC Guide](https://www.youtube.com/watch?v=CL5kMFkopHY)
-- [Authentik BookStack OIDC Guide](https://www.youtube.com/watch?v=M1_WPhR4hRc)
+- [General setup guide (Using Okta as an example)](https://foss.video/w/1b6sc98un7ugGv98v9UaRC)
+- [Azure Active Directory OIDC Guide](https://foss.video/w/n67qNijhf8BdTRQys8SDYf)
+- [Authentik BookStack OIDC Guide](https://foss.video/w/a744K8GxFF1LqBFSadAsuV)
 
 ### Requirements & Limitations
 
index d326a07823dfe99e8be58c8891a2d3458c84d4d2..f148d8e707b41ed71aade977dd4f2d48596d317a 100644 (file)
@@ -7,7 +7,7 @@ type = "admin-doc"
 
 BookStack can be configured to utilise a SAML 2.0 based authentication provider as a solution for users to log-in, log-out and self-register within BookStack. This replaces the default email & password authentication mechanism within BookStack. When enabled, BookStack will attempt to match the SAML user to an existing BookStack user based on a stored external id attribute otherwise, if not found, BookStack will effectively auto-register that user to provide a seamless access experience.
 
-[A video guide for setting up SAML2 can be found here](https://www.youtube.com/watch?v=szweYsAow88).
+[A video guide for setting up SAML2 can be found here](https://foss.video/w/jJGmXS8sK244YFgogAz8LP).
 
 ### BookStack Configuration
 
index a02374dc6139225ac86393544f02057d0da0011a..ec7c1a77d8870a868f486889b15279b3c6b2106b 100644 (file)
@@ -35,7 +35,8 @@
                         <li><a href="https://discord.gg/ztkBqR2" target="_blank">Discord</a></li>
                         <li><a href="https://twitter.com/bookstack_app" target="_blank">Twitter</a></li>
                         <li><a rel="me" href="https://fosstodon.org/@bookstack" target="_blank">Mastodon</a></li>
-                        <li><a href="https://www.youtube.com/channel/UCH66RFWfw6CSm2T1EM4ik1g" target="_blank">YouTube</a></li>
+                        <li><a href="https://foss.video/c/bookstack/" target="_blank">PeerTube</a></li>
+                        <li><a href="https://www.youtube.com/c/BookStackApp" target="_blank">YouTube</a></li>
                         <li><a href="https://www.reddit.com/r/bookstack" target="_blank">Reddit</a></li>
                     </ul>
                </div>
index 4eb07f66945d2ca35543f78ae57855bdc9c6054a..f2ac34c4fea1279c0d86ced6050aa398c8c68b14 100644 (file)
                   <p>Provide financial support to the project</p>
                 </div>
               </a>
+              <a href="https://foss.video/c/bookstack/" target="_blank" class="nav-dropdown-item">
+                <div class="nav-dropdown-item-icon" aria-hidden="true">{{partial "icon/peertube.svg"}}</div>
+                <div>
+                  <div class="nav-dropdown-item-title">Videos on PeerTube</div>
+                  <p>Find our video guides on the fediverse.</p>
+                </div>
+              </a>
               <a href="https://www.youtube.com/c/BookStackApp" target="_blank" class="nav-dropdown-item">
                 <div class="nav-dropdown-item-icon" aria-hidden="true">{{partial "icon/youtube.svg"}}</div>
                 <div>
-                  <div class="nav-dropdown-item-title">Video Guides</div>
+                  <div class="nav-dropdown-item-title">Guides on YouTube</div>
                   <p>Watch our video guides on YouTube</p>
                 </div>
               </a>
diff --git a/themes/bookstack/layouts/partials/icon/peertube.svg b/themes/bookstack/layouts/partials/icon/peertube.svg
new file mode 100644 (file)
index 0000000..2191782
--- /dev/null
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6.35 6.35">
+  <path d="M.9924.26455v2.9104l2.18275-1.45511M.9924 3.17495v2.9104l2.18275-1.45511m0-2.91057v2.9104l2.18276-1.45512"/>
+</svg>
index 684f97da848a0b6a05b83d49e34d578f5ba8da7e..3d3e18efa068da8e62a660f4f408feec3de8d611 100644 (file)
        <div class="container">
                <div class="row">
                        <div class="col-md-6">
-                               <h3>Our Guides on YouTube</h3>
+                               <h3>Video Guides</h3>
                                <p>
                                        If you prefer videos to text, or need a bit of visual guidance,
-                                       our YouTube channel hosts a series of videos that cover installation,
+                                       we're on both YouTube and PeerTube where we host a series of videos that cover installation,
                                        configuration, maintenance and usage.
                                </p>
                                <p>
-                                       <a href="https://www.youtube.com/channel/UCH66RFWfw6CSm2T1EM4ik1g" target="_blank"
-                                               rel="noopener">View our channel here &raquo;</a>
+                                       <a href="https://foss.video/c/bookstack/" target="_blank"
+                                               rel="noopener">Our PeerTube channel</a> 
+                                       <span class="text-muted">&nbsp;|&nbsp;</span>
+                                       <a href="https://www.youtube.com/c/BookStackApp" target="_blank"
+                                               rel="noopener">Our YouTube channel</a>
                                </p>
                        </div>
                        <div class="col-md-6">