From 5e378436266c46cc99b0575619a6d6b8c64b7f61 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 17 Mar 2021 13:14:23 -0400 Subject: [PATCH] update tildeteam/wiki to 1.0.0 --- composer.json | 2 +- composer.lock | 79 ++++++-------------------------------------------- index.php | 5 +++- news/index.php | 4 ++- wiki/index.php | 4 ++- 5 files changed, 20 insertions(+), 74 deletions(-) diff --git a/composer.json b/composer.json index 5e035ff..9418fdd 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { "require": { - "tildeteam/wiki": "^0.1.0" + "tildeteam/wiki": "^1.0.0" } } diff --git a/composer.lock b/composer.lock index 2282773..2eeac5d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3779848aa146daecd3839d2d90aab35b", + "content-hash": "21b797601a3035a039996278b8e9b035", "packages": [ { "name": "erusev/parsedown", @@ -50,10 +50,6 @@ "markdown", "parser" ], - "support": { - "issues": "https://github.com/erusev/parsedown/issues", - "source": "https://github.com/erusev/parsedown/tree/1.7.x" - }, "time": "2019-12-30T22:54:17+00:00" }, { @@ -101,10 +97,6 @@ "parsedown", "parser" ], - "support": { - "issues": "https://github.com/erusev/parsedown-extra/issues", - "source": "https://github.com/erusev/parsedown-extra/tree/0.8.x" - }, "time": "2019-12-30T23:20:37+00:00" }, { @@ -140,10 +132,6 @@ "license": [ "MIT" ], - "support": { - "issues": "https://github.com/mnapoli/FrontYAML/issues", - "source": "https://github.com/mnapoli/FrontYAML/tree/1.8.0" - }, "time": "2020-12-04T10:52:19+00:00" }, { @@ -194,23 +182,6 @@ ], "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/master" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-07T11:33:47+00:00" }, { @@ -273,23 +244,6 @@ "polyfill", "portable" ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2021-01-07T16:49:33+00:00" }, { @@ -348,41 +302,27 @@ ], "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.5" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2021-03-06T07:59:01+00:00" }, { "name": "tildeteam/wiki", - "version": "0.1.0", + "version": "1.0.0", "source": { "type": "git", "url": "https://tildegit.org/team/tildewiki", - "reference": "accb34f9648c7137a605df77b66d2dab570d81ca" + "reference": "519497aa9ed64b5f614a544d98096e448b8860e2" }, "require": { "erusev/parsedown-extra": "^0.8.1", "mnapoli/front-yaml": "^1.8.0" }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, "type": "library", "autoload": { "psr-4": { - "tildeteam\\wiki\\": "src/" + "tildeteam\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -403,7 +343,7 @@ "markdown", "wiki" ], - "time": "2021-03-17T04:21:38+00:00" + "time": "2021-03-17T16:29:47+00:00" } ], "packages-dev": [], @@ -413,6 +353,5 @@ "prefer-stable": false, "prefer-lowest": false, "platform": [], - "platform-dev": [], - "plugin-api-version": "2.0.0" + "platform-dev": [] } diff --git a/index.php b/index.php index 6a5d197..e208615 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,10 @@ $filepath = __FILE__; include 'header.php'; require __DIR__.'/vendor/autoload.php'; -$parser = tildeteam\wiki\Parser::factory(); +use tildeteam\wiki; + +$parser = wiki::factory(); +wiki::$bootstrap = wiki::$forkawesome = true; ?>
diff --git a/news/index.php b/news/index.php index d821392..dbf015b 100644 --- a/news/index.php +++ b/news/index.php @@ -1,6 +1,7 @@ @@ -8,7 +9,8 @@ $additional_head = " "; -$parser = tildeteam\wiki\Parser::factory(); +$parser = wiki::factory(); +wiki::$bootstrap = wiki::$forkawesome = true; if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) { diff --git a/wiki/index.php b/wiki/index.php index a1ea4eb..67a99e6 100644 --- a/wiki/index.php +++ b/wiki/index.php @@ -1,6 +1,7 @@ @@ -8,7 +9,8 @@ $additional_head = " "; -$parser = tildeteam\wiki\Parser::factory(); +$parser = wiki::factory(); +wiki::$bootstrap = wiki::$forkawesome = true; if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {