Ruby China Homeland Versions Save

:circus_tent: An open source forum/community system based on Rails, developed based on Ruby China.

v3.10.0

1 year ago

What's Changed

  • Upgrade to use Ruby 3.2.0 and enable YJIT.
  • Docker image switch from slim-buster to alpine, requirement Docker v20+.

NOTE: Before you upgrade Homeland v3.10.0, please ensure your Docker Engine version v20+.

Other changes

Full Changelog: https://github.com/ruby-china/homeland/compare/v3.9.0...v3.10.0

v3.9.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ruby-china/homeland/compare/v3.8.4...v3.9.0

v3.8.3

3 years ago

Features:

  • Improve Admin / Users features.
  • Improve Admin / Photos as card list view and support search.
  • Add batch delete user's 10 photos in Admin / User / Edit.
  • Add captcha_enable setting (default: false), for allows disable captcha feature.
  • Hide captcha settings when captcha not enable.

Fix:

  • Fix team destroy and add test;
  • Fix admin / users / edit batch delete photos to use destroy method for fix that trigger photo delete callbacks.
  • Delete avatar file after User soft_delete or destroy.
  • Fix #1251 devise mailer with async.

v3.8.2

3 years ago

New feature:

  • We use Caddy for automatically manage SSL.
  • The env cert_domain has removed.
  • The env https has removed, now Homeland will enable https for all.
  • The env domain now will use for Caddy generate SSL, please make sure that bind on your server.

Now we do not care about SSL renew, Caddy will help us to do that.

Need update homeland-docker to latest or use 3-8-stable branch.

Upgrade

Update homeland-docker

cd homeland-docker
git pull fetch && git checkout 3-8-stable

Update homeland

make update
make start

v3.8.1

3 years ago
  • Remove follower_ids from users table. #857
  • Fix missing uploading icon;
  • Update follow topic to use bell icon;
  • Preload Jieba data on master process;
  • Remove puma install in Docker for avoid difference Puma version error. #1216

v3.8.0

3 years ago

新功能

  • 新增暗模式(Dark mode),并会随着系统设置自动切换;
  • 新增 Turbolinks prefetch 提高页面加载速度;
  • 改进 Topic 列表交互,整行支持点击;
  • 支持 Twitter 和 Wechat 登陆,并调整配置,支持在后台配置登陆的 app_key, app_secret;
  • 完善三方登陆(Twitter、GitHub、Wechat),支持在首次登陆的时候完善用户信息以后完成注册;
  • 话题详情页面右侧增加用户 Card,并显示用户信息;
  • 实现允许在后台修改部分需要重启的配置,修改后通过重启功能生,现在起许多配置项可以直接在后台修改;
  • 主导航改进,支持响应式布局下折叠;
  • 新增 Twitter Card 支持,现在分享到 Twitter 将会支持卡片模式展示;

其他变化

  • 升级 Rails 6.1;
  • 废弃配置: github_token, github_secret,以及各种带 . 的配置信息,请参考 配置文档

v3.7.1

3 years ago

Changes:

  • Upgrade Puma 5.0;
  • Autofill the node while creating topic in list page.

Bugfix:

  • Fix 406 issue while submiting reply by key combinations.
  • Fix icon missing issue.
  • Fix users can unfollow users who has deleted.
  • Fix incorrect charset error in user profile page.
  • Fix search page error when item is nil;
  • Fix 500 error when user.rewards is nil;
  • Fix 500 error when search query is empty;

v3.7.0

3 years ago

重构用户联系字段,奖励设置字段,剥离到新的 profiles 表,以避免设置修改的时候缓慢的问题,并依靠权限的设置支持更多的扩展。

此次升级,在启动的时候将会自动迁移老数据到新的表,启动需要一定时间等待。

受数据量多少影响,启动时间可能会很久,请手动检查数据是否完成升级。 升级内容参见:https://github.com/ruby-china/homeland/blob/0963eac06ba4e77601d31fa526f81ff84103b15d/db/migrate/20200721022652_migrate_profile_data.rb

升级新版本会复制老数据到新的结构,不影响老数据,如升级失败,可以尝试回滚。

升级完成以后,请检查用户个人扩展联系信息,比如 Facebook、Instagram,奖励的支付宝、微信二维码等信息是否正确,如无问题,可以手动执行下面的流程清理老的废旧数据。

执行 make console 进入 Rails Console (做一下动作之前,建议先备份数据库)

irb> Setting.where(thing_type: "User")
irb> Setting.where(thing_type: "User").delete_all

v3.6.0

3 years ago

升级此版本请注意更新 homeland-docker

  • 此版本去掉了 ElasticSearch,改用 PostgreSQL 内置的全文搜索来实现搜索功能,以节省 1.5G 内存开销;
  • 新增暗模式(Dark Mode),支持 iOS / macOS 自动根据系统配置切换;
  • Docker Image 基础镜像从 Alpine Linux 切换为 Debain Slim;

升级 Homeland Docker 到最新的 master 版本

以下动作的目的是更新 Docker Compose 的配置信息,并重新构建 Docker Container,以便于在过程中去掉 ElasticSearch Container,如果你熟悉 Docker,也可以手动操作。

主要是更新 homeland/homeland 的 Docker Image,去掉 ElasticSearch Container,重新启动。

$ git pull origin master
$ make update
$ make stop-all
$ make start

因为搜索服务换了,所以你需要执行 make reindex 重建搜索索引。

v3.3.0

4 years ago
  • 全新的插件模式,你可以自由开发插件,并通过后台来管理插件;
  • 招聘、酷站按新插件模式重构,请注意重新下载插件安装。
  • 页面细节有部分微调;
  • 后台新增重启功能;
  • 每天定时清理一个月前被屏蔽的内容;