Commit 55eff47e authored by Liang Ding's avatar Liang Ding

🔖 发布 1.8.0

parent bc195c3a
......@@ -5,6 +5,12 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h2>Release 1.8.0 - Jan 23, 2017</h2>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12210">12210 七牛上传支持改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
<li><a href="https://github.com/b3log/solo/issues/12219">12219 图片上传改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
<li><a href="https://github.com/b3log/solo/issues/12229">12229 HTTPS 支持改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
</ul>
<h2>Release 1.7.0 - Nov 9, 2016</h2>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12182">12182 Windows 上 404 页面 404</a>&nbsp;<span style='background: #fc2929 !important;color:#FFFFFF !important;padding: 1px 4px;'>bug</span></li>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: Solo POM.
Version: 3.15.1.28, Nov 9, 2016
Version: 3.15.1.29, Jan 23, 2017
Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a>
-->
......@@ -13,7 +13,7 @@
<artifactId>solo</artifactId>
<packaging>war</packaging>
<name>Solo</name>
<version>1.7.0</version>
<version>1.8.0</version>
<description>
A blogging system written in Java, feel free to create your or your team own blog. 一个用 Java 实现的博客系统,为你或你的团队创建个博客吧。
</description>
......
......@@ -60,7 +60,7 @@ import org.json.JSONObject;
* Solo Servlet listener.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.9.2.17, Nov 9, 2016
* @version 1.9.2.18, Jan 23, 2017
* @since 0.3.1
*/
public final class SoloServletListener extends AbstractServletListener {
......@@ -68,7 +68,7 @@ public final class SoloServletListener extends AbstractServletListener {
/**
* Solo version.
*/
public static final String VERSION = "1.7.0";
public static final String VERSION = "1.8.0";
/**
* Logger.
......
......@@ -17,6 +17,7 @@ package org.b3log.solo.service;
import java.io.IOException;
import javax.inject.Inject;
import org.b3log.latke.Keys;
import org.b3log.latke.logging.Level;
import org.b3log.latke.logging.Logger;
......@@ -46,7 +47,7 @@ import org.json.JSONObject;
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="mailto:dongxu.wang@acm.org">Dongxu Wang</a>
* @version 1.2.0.8, Nov 9, 2016
* @version 1.2.0.9, Jan 23, 2017
* @since 1.2.0
*/
@Service
......@@ -55,7 +56,7 @@ public class UpgradeService {
/**
* Logger.
*/
private static final Logger LOGGER = Logger.getLogger(UpgradeService.class.getName());
private static final Logger LOGGER = Logger.getLogger(UpgradeService.class);
/**
* Article repository.
......@@ -111,7 +112,7 @@ public class UpgradeService {
/**
* Old version.
*/
private static final String FROM_VER = "1.6.0";
private static final String FROM_VER = "1.7.0";
/**
* New version.
......@@ -151,8 +152,8 @@ public class UpgradeService {
LOGGER.log(Level.ERROR, e.getMessage(), e);
LOGGER.log(Level.ERROR,
"Upgrade failed [" + e.getMessage() + "], please contact the Solo developers or reports this "
+ "issue directly (<a href='https://github.com/b3log/solo/issues/new'>"
+ "https://github.com/b3log/solo/issues/new</a>) ");
+ "issue directly (<a href='https://github.com/b3log/solo/issues/new'>"
+ "https://github.com/b3log/solo/issues/new</a>) ");
}
}
......@@ -188,7 +189,6 @@ public class UpgradeService {
/**
* Upgrades users.
*
* <p>
* Password hashing.
* </p>
......@@ -266,8 +266,8 @@ public class UpgradeService {
* Send an email to the user who upgrades Solo with a discontinuous version.
*
* @throws ServiceException ServiceException
* @throws JSONException JSONException
* @throws IOException IOException
* @throws JSONException JSONException
* @throws IOException IOException
*/
private void notifyUserByEmail() throws ServiceException, JSONException, IOException {
final String adminEmail = preferenceQueryService.getPreference().getString(Option.ID_C_ADMIN_EMAIL);
......
......@@ -5,6 +5,12 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h2>Release 1.8.0 - Jan 23, 2017</h2>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12210">12210 七牛上传支持改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
<li><a href="https://github.com/b3log/solo/issues/12219">12219 图片上传改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
<li><a href="https://github.com/b3log/solo/issues/12229">12229 HTTPS 支持改进</a>&nbsp;<span style='background: #84b6eb !important;color:#FFFFFF !important;padding: 1px 4px;'>enhancement</span></li>
</ul>
<h2>Release 1.7.0 - Nov 9, 2016</h2>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12182">12182 Windows 上 404 页面 404</a>&nbsp;<span style='background: #fc2929 !important;color:#FFFFFF !important;padding: 1px 4px;'>bug</span></li>
......@@ -61,11 +67,11 @@
<li><a href="https://github.com/b3log/solo/issues/12040">12040 调整升级机制</a>&nbsp;<span style='background: #e102d8 !important;color:#FFFFFF !important;padding: 1px 4px;'>development</span></li>
</ul>
<h2>Release 1.1.0 - Oct 1, 2015</h2>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12031" rel="nofollow" target="_blank">12031 Bruce 皮肤细节</a></li>
<li><a href="https://github.com/b3log/solo/issues/12032" rel="nofollow" target="_blank">12032 七牛配置增强</a></li>
<li><a href="https://github.com/b3log/solo/issues/12030" rel="nofollow" target="_blank">12030 项目结构调整</a></li>
<li><a href="https://github.com/b3log/solo/issues/12033" rel="nofollow" target="_blank">12033 默认订阅输出 RSS</a></li>
<ul>
<li><a href="https://github.com/b3log/solo/issues/12031" rel="nofollow" target="_blank">12031 Bruce 皮肤细节</a></li>
<li><a href="https://github.com/b3log/solo/issues/12032" rel="nofollow" target="_blank">12032 七牛配置增强</a></li>
<li><a href="https://github.com/b3log/solo/issues/12030" rel="nofollow" target="_blank">12030 项目结构调整</a></li>
<li><a href="https://github.com/b3log/solo/issues/12033" rel="nofollow" target="_blank">12033 默认订阅输出 RSS</a></li>
</ul>
<h2>Release 1.0.0 - Sep 16, 2015</h2>
<ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment