From 7b90e4bc18d9dee8383c75b1f900f7670e411943 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 22 Oct 2017 19:08:30 +0200 Subject: [PATCH 1/8] Create ru_RU.json --- bl-plugins/static-pages/languages/ru_RU.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bl-plugins/static-pages/languages/ru_RU.json diff --git a/bl-plugins/static-pages/languages/ru_RU.json b/bl-plugins/static-pages/languages/ru_RU.json new file mode 100644 index 00000000..5c163952 --- /dev/null +++ b/bl-plugins/static-pages/languages/ru_RU.json @@ -0,0 +1,9 @@ +{ + "plugin-data": + { + "name": "Static pages", + "description": "Показывает статические страницы на боковой панели. Это может быть полезно если вы создаёте блог с дополнительными страницами." + }, + "home-link": "Главная страница", + "show-the-home-link-on-the-sidebar": "Показывать ссылку на главную страницу на боковой панели." +} From 98a1a8f34b81560a516a8cdf4da48f2d567408b8 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 23 Oct 2017 22:11:56 +0200 Subject: [PATCH 2/8] Bug fixes home link enable disable --- bl-plugins/latest-content/plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-plugins/latest-content/plugin.php b/bl-plugins/latest-content/plugin.php index 4878009f..b2f62d79 100644 --- a/bl-plugins/latest-content/plugin.php +++ b/bl-plugins/latest-content/plugin.php @@ -26,8 +26,8 @@ class pluginLatestContent extends Plugin { $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$Language->get('Show the home link on the sidebar').''; $html .= '
'; From 73678629d350a5e7339ab5b2c88946ae379d6282 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 23 Oct 2017 22:50:22 +0200 Subject: [PATCH 3/8] Bludit v2.0.1 --- bl-kernel/boot/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index 62e33a8d..00f6890f 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -1,10 +1,10 @@ Date: Wed, 25 Oct 2017 19:13:02 +0530 Subject: [PATCH 4/8] Show Edit page Sidebar below all else in Mobile View --- bl-kernel/admin/themes/default/css/default.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bl-kernel/admin/themes/default/css/default.css b/bl-kernel/admin/themes/default/css/default.css index a62bfe5f..4b987ab7 100644 --- a/bl-kernel/admin/themes/default/css/default.css +++ b/bl-kernel/admin/themes/default/css/default.css @@ -325,7 +325,9 @@ button.aslink:hover { } .bl-publish-sidebar { - display: none !important; + width: 100% !important; + padding: 0 !important; + margin-bottom: 25px !important; } .bl-publish-view { @@ -746,4 +748,4 @@ div.plugin-links > span.separator { #jsformplugin button[type=submit] { margin: 0; } -} \ No newline at end of file +} From 9222f6645f9e7c88a05936c0bf9be5c35f32b7bb Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Oct 2017 17:19:31 +0200 Subject: [PATCH 5/8] Update README.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 168705c5..d4dc1375 100644 --- a/README.md +++ b/README.md @@ -27,20 +27,30 @@ Requirements You just need a web server with PHP support. +PHP v5.3 or higher. +PHP mbstring module for full UTF-8 support. +PHP gd module for image processing. +PHP dom module for DOM manipulation. +PHP json module for JSON manipulation. +Supported web servers: +Bludit supports almost every webserver +PHP Built-in web server + - PHP v5.3 or higher. - 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. -- Webserver with PHP support - * PHP Built-in web server +- Supported web servers: + * Bludit supports almost every webserver + * PHP Built-in web server Installation guide ------------------ -1. Download the latest version from https://cdn.bludit.com/builds/bludit_latest.zip -2. Extract the zip file into a directory like `bludit`. -3. Upload the directory `bludit` to your server/hosting. +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. +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. From d98e0082b25a72008093d0ac2cabd668ff6dd962 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Oct 2017 17:24:48 +0200 Subject: [PATCH 6/8] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4dc1375..8455232e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Bludit supports **Markdown** and **HTML code** for the content. [![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/) -Social networks +Social Networks --------------- - [Twitter](https://twitter.com/bludit) @@ -45,7 +45,7 @@ PHP Built-in web server * Bludit supports almost every webserver * PHP Built-in web server -Installation guide +Installation Guide ------------------ 1. Download the latest version from the official page. [Bludit.com](https://www.bludit.com) @@ -54,6 +54,11 @@ Installation guide 4. Visit your domain https://example.com/bludit/ 5. Follow the Bludit Installer to configure the website. +Docker Image +------------ +Bludit provides an official Docker image. +- https://hub.docker.com/r/bludit/docker/ + License ------- Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license). From bbccb1b102044fa8f57734f44f6cddb8ec674599 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Oct 2017 19:50:38 +0200 Subject: [PATCH 7/8] Bug fix and added download icon --- bl-plugins/version/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/version/plugin.php b/bl-plugins/version/plugin.php index fcaf4e21..cfbf42ab 100644 --- a/bl-plugins/version/plugin.php +++ b/bl-plugins/version/plugin.php @@ -37,7 +37,7 @@ class pluginVersion extends Plugin { } if ($this->newVersion()) { - $html = ''; + $html = ''; } else { if(defined('BLUDIT_PRO')) { $html = '
Bludit PRO v'.BLUDIT_VERSION.'
'; From 5fb337d761e0990619f8925a6778ce8ffd946604 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Oct 2017 19:50:57 +0200 Subject: [PATCH 8/8] timeout 10seconds --- bl-kernel/helpers/tcp.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/helpers/tcp.class.php b/bl-kernel/helpers/tcp.class.php index 4b9264cf..3ebc6b07 100644 --- a/bl-kernel/helpers/tcp.class.php +++ b/bl-kernel/helpers/tcp.class.php @@ -2,7 +2,7 @@ class TCP { - public static function http($url, $method='GET', $verifySSL=true, $timeOut=1, $followRedirections=true, $binary=true, $headers=false) + public static function http($url, $method='GET', $verifySSL=true, $timeOut=10, $followRedirections=true, $binary=true, $headers=false) { if( function_exists('curl_version') ) { $ch = curl_init();