From e5a7735360c1bfe62b38cb02881b07952ddf2211 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 7 Sep 2022 17:03:45 +0200 Subject: [PATCH] Fix deprecation warninigs --- README.md | 83 ++++++------------- bl-kernel/boot/init.php | 35 +++++--- bl-kernel/boot/rules/60.plugins.php | 2 +- bl-plugins/about/metadata.json | 6 +- bl-plugins/api/metadata.json | 6 +- bl-plugins/canonical/metadata.json | 6 +- bl-plugins/categories/metadata.json | 6 +- bl-plugins/custom-fields-parser/metadata.json | 6 +- bl-plugins/disqus/metadata.json | 6 +- bl-plugins/easymde/metadata.json | 2 +- bl-plugins/hit-counter/metadata.json | 6 +- bl-plugins/html-code/metadata.json | 6 +- bl-plugins/links/metadata.json | 6 +- bl-plugins/maintenance-mode/metadata.json | 6 +- bl-plugins/navigation/metadata.json | 6 +- bl-plugins/opengraph/metadata.json | 6 +- bl-plugins/remote-content/metadata.json | 6 +- bl-plugins/robots/metadata.json | 6 +- bl-plugins/rss/metadata.json | 6 +- bl-plugins/search/metadata.json | 6 +- bl-plugins/simple-stats/metadata.json | 6 +- bl-plugins/sitemap/metadata.json | 6 +- bl-plugins/static-pages/metadata.json | 6 +- bl-plugins/tags/metadata.json | 6 +- bl-plugins/twitter-cards/metadata.json | 6 +- bl-plugins/version/metadata.json | 6 +- bl-themes/alternative/metadata.json | 6 +- bl-themes/blogx/metadata.json | 6 +- 28 files changed, 121 insertions(+), 145 deletions(-) diff --git a/README.md b/README.md index 0a1039ef..47db1bb6 100644 --- a/README.md +++ b/README.md @@ -1,84 +1,51 @@ -[Bludit](https://www.bludit.com/) -================================ -**Simple**, **Fast** and **Flexible** CMS. +# [Bludit](https://www.bludit.com/) -Bludit is a web application to build your own **website** or **blog** in seconds, it's completely **free and open source**. Bludit uses files in JSON format to store the content, you don't need to install or configure a database. You only need a web server with PHP support. +Simple, Fast and Flexible CMS. -Bludit is a **Flat-File** CMS. +Bludit is a web application to build your own website or blog in seconds, it's completely free and open source. Bludit uses files in JSON format to store the content, you don't need to install or configure a database. You only need a web server with PHP support. -Bludit supports **Markdown** and **HTML code** for the content. +Bludit is a Flat-File CMS. + +Bludit supports Markdown and HTML code for the content. - [Plugins](https://plugins.bludit.com) - [Themes](https://themes.bludit.com) - [Documentation](https://docs.bludit.com) -- [Talk & Chat on Discord](https://discord.gg/wk5yxRkN) -- Help and Support [Forum](https://forum.bludit.org) +- News and announcement on [Twitter](https://twitter.com/bludit), [Facebook](https://www.facebook.com/bluditcms), and [Reddit](https://www.reddit.com/r/bludit/) +- Talk & Chat on [Discord](https://discord.gg/CFaXEdZWds) +- Help and Support on [Forum](https://forum.bludit.org) +- Bugs reports on [Github Issues](https://github.com/bludit/bludit/issues) -Bludit v4 beta ---------------- -Download the lastest Bludit v4.0 BETA from the [releases page](https://github.com/bludit/bludit/releases). - -Use Bludit v4.0 BETA only for new websites or blogs, DO NOT update your Bludit v3.x with this beta version. - -Follow Bludit ---------------- - -- [Blog](https://blog.bludit.com) -- [Twitter](https://twitter.com/bludit) -- [Facebook](https://www.facebook.com/bluditcms) -- [Youtube](https://www.youtube.com/c/Bluditcms) -- [Discord](https://discord.gg/wk5yxRkN) - -Requirements ------------- - -You just need a web server with PHP support. +## Requirements +- Webserver with PHP support. - PHP v5.6 or higher version. - PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support. - PHP [gd](http://php.net/manual/en/book.image.php) module for image processing. - PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation. - PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation. -- Supported web servers: - * Bludit supports almost every web server - * PHP Built-in web server (`php -S localhost:8000`) -Installation Guide ------------------- +## Installation 1. Download the latest version from the official page. [Bludit.com](https://www.bludit.com) -2. Extract the zip file into a directory like `bludit`. +2. Extract the zip file into a directory such as `bludit`. 3. Upload the directory `bludit` to your web server or hosting. 4. Visit your domain https://example.com/bludit/ -5. Follow the Bludit Installer to configure the website. +5. Follow the Bludit Installer to set up the website. -Docker Image ------------- -Official Docker image on Docker Hub. -- https://hub.docker.com/r/bludit/docker/ +## Quick installation for testing -Also we provide Kubernetes deployments yaml files. -- https://github.com/bludit/docker/tree/master/kubernetes +You can use PHP Built-in web server (`php -S localhost:8000`) or [Docker image](https://hub.docker.com/r/bludit/docker/) -Support Bludit! -------- -Bludit is open source and free, but if you really like the project and is useful for your you can contribute in [Patreon](https://www.patreon.com/bePatron?c=921115&rid=2458860), also for the supporters we provide Bludit PRO. +## Support Bludit -[![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/) +Bludit is open source and free, but if you really like the project and is useful for your you can contribute on [Patreon](https://www.patreon.com/bePatron?c=921115&rid=2458860), also for the supporters we provide Bludit PRO. [![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/) -### Platinum sponsors in Patreon! +Donate one time for the coffee or beer: +- [PayPal](https://www.paypal.me/bludit/10) +- BTC (Network BTC): bc1qtets5pdj73uyysjpegfh2gar4pfywra4rglcph +- ETH (Network ETH): 0x0d7D58D848aA5f175D75Ce4bC746bAC107f331b7 -- Clickwork -- KreativMind -- Curious Activity -- Matěj Adámek -- pytesNET +## License -### Golden sponsors in Patreon! - -- Thomas Kreth -- Christian - -License -------- -Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license). +Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license). \ No newline at end of file diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index b9acfe44..3cccec99 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -1,23 +1,32 @@ position() <=> $b->position(); + return $a->position()>$b->position(); } ); } diff --git a/bl-plugins/about/metadata.json b/bl-plugins/about/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/about/metadata.json +++ b/bl-plugins/about/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/api/metadata.json b/bl-plugins/api/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/api/metadata.json +++ b/bl-plugins/api/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/canonical/metadata.json b/bl-plugins/canonical/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/canonical/metadata.json +++ b/bl-plugins/canonical/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/categories/metadata.json b/bl-plugins/categories/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/categories/metadata.json +++ b/bl-plugins/categories/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/custom-fields-parser/metadata.json b/bl-plugins/custom-fields-parser/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/custom-fields-parser/metadata.json +++ b/bl-plugins/custom-fields-parser/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/disqus/metadata.json b/bl-plugins/disqus/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/disqus/metadata.json +++ b/bl-plugins/disqus/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/easymde/metadata.json b/bl-plugins/easymde/metadata.json index c30a529e..c202de8a 100644 --- a/bl-plugins/easymde/metadata.json +++ b/bl-plugins/easymde/metadata.json @@ -5,6 +5,6 @@ "version": "2.12.0", "releaseDate": "2020-09-29", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } diff --git a/bl-plugins/hit-counter/metadata.json b/bl-plugins/hit-counter/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/hit-counter/metadata.json +++ b/bl-plugins/hit-counter/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/html-code/metadata.json b/bl-plugins/html-code/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/html-code/metadata.json +++ b/bl-plugins/html-code/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/links/metadata.json b/bl-plugins/links/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/links/metadata.json +++ b/bl-plugins/links/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/maintenance-mode/metadata.json b/bl-plugins/maintenance-mode/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/maintenance-mode/metadata.json +++ b/bl-plugins/maintenance-mode/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/navigation/metadata.json b/bl-plugins/navigation/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/navigation/metadata.json +++ b/bl-plugins/navigation/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/opengraph/metadata.json b/bl-plugins/opengraph/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/opengraph/metadata.json +++ b/bl-plugins/opengraph/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/remote-content/metadata.json b/bl-plugins/remote-content/metadata.json index 84f46ac7..bd5cfb37 100644 --- a/bl-plugins/remote-content/metadata.json +++ b/bl-plugins/remote-content/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com/plugin/remote-content", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/robots/metadata.json b/bl-plugins/robots/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/robots/metadata.json +++ b/bl-plugins/robots/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/rss/metadata.json b/bl-plugins/rss/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/rss/metadata.json +++ b/bl-plugins/rss/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/search/metadata.json b/bl-plugins/search/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/search/metadata.json +++ b/bl-plugins/search/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/simple-stats/metadata.json b/bl-plugins/simple-stats/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/simple-stats/metadata.json +++ b/bl-plugins/simple-stats/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/sitemap/metadata.json b/bl-plugins/sitemap/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/sitemap/metadata.json +++ b/bl-plugins/sitemap/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/static-pages/metadata.json b/bl-plugins/static-pages/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/static-pages/metadata.json +++ b/bl-plugins/static-pages/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/tags/metadata.json b/bl-plugins/tags/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/tags/metadata.json +++ b/bl-plugins/tags/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/twitter-cards/metadata.json b/bl-plugins/twitter-cards/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/twitter-cards/metadata.json +++ b/bl-plugins/twitter-cards/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-plugins/version/metadata.json b/bl-plugins/version/metadata.json index 397be841..8ca02094 100644 --- a/bl-plugins/version/metadata.json +++ b/bl-plugins/version/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://plugins.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-themes/alternative/metadata.json b/bl-themes/alternative/metadata.json index 420bb290..fda1e008 100644 --- a/bl-themes/alternative/metadata.json +++ b/bl-themes/alternative/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://themes.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file diff --git a/bl-themes/blogx/metadata.json b/bl-themes/blogx/metadata.json index 420bb290..fda1e008 100644 --- a/bl-themes/blogx/metadata.json +++ b/bl-themes/blogx/metadata.json @@ -2,9 +2,9 @@ "author": "Bludit", "email": "", "website": "https://themes.bludit.com", - "version": "3.14.0", - "releaseDate": "2022-08-05", + "version": "3.14.1", + "releaseDate": "2022-08-07", "license": "MIT", - "compatible": "3.14.0", + "compatible": "3.14.1", "notes": "" } \ No newline at end of file