(Grav GitSync) Automatic Commit from dan
This commit is contained in:
parent
3aba6cc06e
commit
29eec9ce3d
4 changed files with 45 additions and 4 deletions
|
@ -0,0 +1,33 @@
|
||||||
|
---
|
||||||
|
title: 'WireGuard joins our wiki and makes the wiki fully functional now!'
|
||||||
|
author: Dan
|
||||||
|
published: true
|
||||||
|
date: '12-08-2023 02:54'
|
||||||
|
taxonomy:
|
||||||
|
category:
|
||||||
|
- news
|
||||||
|
tag:
|
||||||
|
- wireguard
|
||||||
|
- wiki
|
||||||
|
- tutorials
|
||||||
|
aura:
|
||||||
|
author: dan
|
||||||
|
---
|
||||||
|
|
||||||
|
# WireGuard tutorial and our wiki
|
||||||
|
|
||||||
|
Two days ago I added a [WireGuard tutorial](https://wiki.techsaviours.org/en/server/services/wireguard) to [our wiki]((https://wiki.techsaviours.org/). This finally gives you access to your services from anywhere.
|
||||||
|
It also means that the wiki or your digital privacy have a good base to start with. There will always be something, more or maybe even less for you. Other operating systems or just other services/apps that others or you prefer instead. And that's fine, we all even have options to choose from and don't have to rely only on Microsoft & Co.
|
||||||
|
|
||||||
|
Regardless of which tutorial(s) you prefer, here is yet another tutorial of WireGuard and a quick overview of how to import your [Phone](https://wiki.techsaviours.org/en/phone/apps/wireguard) and [Desktop](https://wiki.techsaviours.org/en/desktop/services/wireguard) devices.
|
||||||
|
|
||||||
|
The next tutorial will be KeePassXC for desktop and a bunch of Linux Mobile tutorials.
|
||||||
|
|
||||||
|
|
||||||
|
# Extras
|
||||||
|
|
||||||
|
Tomorrow or so another "Extras" will also be published. This will make the wiki even more complete ;)
|
||||||
|
|
||||||
|
|
||||||
|
Have a good weekend!
|
||||||
|
Dan
|
|
@ -1,3 +1,11 @@
|
||||||
|
# v1.2.5
|
||||||
|
## 08/11/2023
|
||||||
|
|
||||||
|
1. [](#improved)
|
||||||
|
* Use pages cache ID for more reliable caching
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fixed a bug when taxonomy matches > scores provided
|
||||||
|
|
||||||
# v1.2.4
|
# v1.2.4
|
||||||
## 12/06/2022
|
## 12/06/2022
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Related Pages
|
name: Related Pages
|
||||||
slug: relatedpages
|
slug: relatedpages
|
||||||
type: plugin
|
type: plugin
|
||||||
version: 1.2.4
|
version: 1.2.5
|
||||||
description: "A highly sophisticated and configurable plugin that calculates related pages in relation to the current page."
|
description: "A highly sophisticated and configurable plugin that calculates related pages in relation to the current page."
|
||||||
icon: newspaper-o
|
icon: newspaper-o
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -74,7 +74,7 @@ class RelatedPagesPlugin extends Plugin
|
||||||
'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
|
'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$cache_id = md5('relatedpages' . $page->path() . $cache->getKey());
|
$cache_id = md5('relatedpages' . $page->path() . $pages->getPagesCacheId());
|
||||||
$this->related_pages = $cache->fetch($cache_id);
|
$this->related_pages = $cache->fetch($cache_id);
|
||||||
|
|
||||||
if ($this->related_pages === false) {
|
if ($this->related_pages === false) {
|
||||||
|
@ -163,7 +163,7 @@ class RelatedPagesPlugin extends Plugin
|
||||||
if (array_key_exists($count, $score_scale)) {
|
if (array_key_exists($count, $score_scale)) {
|
||||||
$score += $score_scale[$count];
|
$score += $score_scale[$count];
|
||||||
} else {
|
} else {
|
||||||
$score += max(array_keys($score_scale));
|
$score += $score_scale[max(array_keys($score_scale))];
|
||||||
}
|
}
|
||||||
|
|
||||||
$has_matches = true;
|
$has_matches = true;
|
||||||
|
@ -199,7 +199,7 @@ class RelatedPagesPlugin extends Plugin
|
||||||
if (array_key_exists($count, $score_scale)) {
|
if (array_key_exists($count, $score_scale)) {
|
||||||
$score += $score_scale[$count];
|
$score += $score_scale[$count];
|
||||||
} else {
|
} else {
|
||||||
$score += max(array_keys($score_scale));
|
$score += $score_scale[max(array_keys($score_scale))];
|
||||||
}
|
}
|
||||||
|
|
||||||
$has_matches = true;
|
$has_matches = true;
|
||||||
|
|
Loading…
Reference in a new issue