Solo v3.1.0 发布,新皮肤 Pinghsu

本贴最后更新于 1855 天前,其中的信息可能已经时移世改

v3.1.0 简介

Solo v3.1.0 引入了一款新皮肤 Pinghsu,感谢原作者。另外,从该版本开始支持跨版本升级,降低用户升级成本。

升级须知

升级前请备份数据库,以备发生不可预期的问题时进行回滚。

v3.1.0 变更记录

  • 12647 支持跨版本升级 feature
  • 12651 皮肤功能补全 skin
  • 12673 新皮肤 Pinghsu skin
  • 12677 皮肤 favourite 的问题 skin
  • 12653 支持滑稽表情 enhancement
  • 12657 初始化改进 enhancement
  • 12666 页内锚点支持 enhancement
  • 12670 文章结构加入首图字段 enhancement
  • 12674 文章渲染加入分类字段 enhancement
  • 12675 皮肤中的分享修改 enhancement
  • 12678 文章结构加入摘要纯文本字段 enhancement
  • 12658 CSS 历史遗留问题修改 development
  • 12664 整理多语言配置 development
  • 12652 社区到博客的同步问题 bug
  • 12659 社区推送问题 bug
  • 12667 部署在非 ROOT 上登录问题 bug
  • 12668 随机文章会泄露浏览密码 bug

历史版本变更请浏览这里

  • Solo

    Solo 是一款小而美的开源博客系统,专为程序员设计。Solo 有着非常活跃的社区,可将文章作为帖子推送到社区,来自社区的回帖将作为博客评论进行联动(具体细节请浏览 B3log 构思 - 分布式社区网络)。

    这是一种全新的网络社区体验,让热爱记录和分享的你不再感到孤单!

    1424 引用 • 10041 回帖 • 469 关注
  • Java

    Java 是一种可以撰写跨平台应用软件的面向对象的程序设计语言,是由 Sun Microsystems 公司于 1995 年 5 月推出的。Java 技术具有卓越的通用性、高效性、平台移植性和安全性。

    3165 引用 • 8206 回帖
  • 开源

    Open Source, Open Mind, Open Sight, Open Future!

    393 引用 • 3380 回帖 • 1 关注
  • 博客

    记录并分享人生的经历。

    270 引用 • 2386 回帖

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • kevinBobo

    没有效果,好像 js 里面渲染的时候没有清空我记着,我家一个清空就没事了
    你可以去我的网站尝试一下啊 https://www.kevinbobo.top

    1 回复
  • 其他回帖
  • tuchief

    刚刚下载的最新 war 包,启动出现 d2 的问题,我看留言说是已经修复了,难道 git 上的包不是更新后的?
    image.png

    1 回复
  • stormbirds

    我的环境为 nginx 所在外网服务器 A,接受域名 blog.stormbirds.cn 的所有请求硬跳转至 https 协议,代理至 tomcat 容器所在服务器 B 的 http 协议的端口上,下面有 nginx 配置代码。
    出现问题为无法登录。显示 Latke 配置错误,但是可以正常浏览。还有就是从 2.9.9 升级到了 3.0.0 然后升级到了 3.1.0 后出现了以下情况

    Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure stylesheet 'http://blog.stormbirds.cn/skins/Medium/css/base.css?1551464246090'. This request has been blocked; the content must be served over HTTPS.
    (index):1 Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure script 'http://blog.stormbirds.cn/js/lib/compress/pjax.min.js'. This request has been blocked; the content must be served over HTTPS.
    (index):1 Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure script 'http://blog.stormbirds.cn/js/common.min.js?1551464246090'. This request has been blocked; the content must be served over HTTPS.
    (index):1 Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure script 'http://blog.stormbirds.cn/skins/Medium/js/common.min.js?1551464246090'. This request has been blocked; the content must be served over HTTPS.
    (index):821 Uncaught ReferenceError: Util is not defined
        at (index):821
    (anonymous) @ (index):821
    (index):827 Uncaught ReferenceError: $ is not defined
        at (index):827
        at (index):856
    (anonymous) @ (index):827
    (anonymous) @ (index):856
    (index):1 Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure manifest 'http://blog.stormbirds.cn/manifest.json'. This request has been blocked; the content must be served over HTTPS.
    (index):1 Mixed Content: The page at 'https://blog.stormbirds.cn/' was loaded over HTTPS, but requested an insecure favicon 'http://blog.stormbirds.cn/favicon.png'. This request has been blocked; the content must be served over HTTPS.
    

    我的 latke.properties 文件配置情况为

    
    #### Server ####
    
    # Browser visit protocol
    serverScheme=https
    
    #### Cookie ####
    cookieName=solo
    cookieSecret=Beyond
    
    #### Runtime Mode ####
    #runtimeMode=DEVELOPMENT
    runtimeMode=PRODUCTION
    

    我的 nginx 配置,其中添加了 X-Forwarded-Proto https 的头

    server {
        listen 443 ssl;
    	server_name blog.stormbirds.cn;
       	access_log logs/access_blog.log;
       	error_log logs/error_blog.log;
    	
    	ssl_certificate /root/.acme.sh/stormbirds.cn/fullchain.cer;
    	ssl_certificate_key /root/.acme.sh/stormbirds.cn/stormbirds.cn.key;
    	ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;
    	ssl_prefer_server_ciphers on;
         ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
         
    	# set google 
        location /google7118b879bf9399f4.html {
            root html/blog;
        }
    	# set site favicon
        location /favicon.ico {
            root html;
        }
         location / {
          proxy_pass http://222.90.42.119:8800;
          proxy_http_version 1.1;
          add_header Access-Control-Allow-Origin *;
          add_header Access-Control-Allow-Headers X-Requested-With;
          add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $host;
          proxy_set_header X-Forwarded-Proto $scheme;
    #      proxy_set_header X-SSL-Client-Cert $ssl_client_cert;
      	}
    
    }
    server{
    	listen 80 ;
    	listen [::]:80 ;
    	server_name blog.stormbirds.cn;
    	access_log logs/access_blog.log;
    	error_log logs/error_blog.log;
    	if ($server_port = 80 ) {
    		return 301 https://$host$request_uri;
    	}
    }
    

    而且在 tomcat 的 server.xml 中添加了 https 的协议区分

    <Valve className="org.apache.catalina.valves.RemoteIpValve"
    	remoteIpHeader="X-Forwarded-For" protocolHeader="X-Forwarded-Proto"
    	protocolHeaderHttpsValue="https"/>
    
    1 回复
  • resolver

    Theme Pinghsu by Vanessa。
    这样真的好吗?能不能带上原作者地址?感觉很不尊重原作者!我发现很多 solo 和 pipe 的皮肤都是这样,拿人家的东西过来随便改改然后签上自己的名字,还不留原作者的信息!!!虽然是开源的,但是我还是觉得不妥!

    2 回复
  • 查看全部回帖