system | 2025-04-14 15:16:42 UTC | #1
[date=2025-03-10 time=23:15:24 timezone="Asia/Singapore"]
* In editor: Copy / cut line under caret when no text selected (Ctrl + C / Ctrl + X)
* Removed user-selectable themes:
Dracula
Ghost
Isabelle
Material Design
Redditish
* Remaining:
Default with tab bar on mobile
Air
Craiglist
Graceful
Mint
[round card with preview](https://meta.discourse.org/t/fkb-pro-social-theme/234323)
[date=2025-02-26 timezone="Asia/Singapore"]
* Start using Hosthatch server in Hong Kong Equinix
[date=2025-02-18 timezone="Asia/Singapore"]
* Start using Serif Font(Lora) (inspired by Svelte)
[date=2024-08-08 timezone="Asia/Taipei"]
* 话题的 Original Post 已自动启用目录(Table of contents),要想在**后续回复**中启用目录功能,可以在回复的开头处点击编辑器小齿轮 -> 插入目录
[date=2024-07-16 timezone="Asia/Shanghai"]
* move menu button to top-left corner
* automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols)
* automatically add users with XJTU/SJTU IP to specific user group
* INTL category visible only to T.L. 3 users and those users with non-CN IP.
[date=2024-05-24 time=15:35:19 timezone="Asia/Shanghai"]
* 方便匿名新建话题 / 回复
发帖时点击编辑器左上位置的方形按钮,即可 [以匿名身份新建话题 / 回复](https://xjtu.app/t/change-log/127#anonymous-reply-or-new-topic)。
回复:

新建:

在弹出的選單中选择相应的功能即可:

[date=2024-05-10 timezone="Asia/Taipei"]
受最近的 [DDoS](/t/ddos/12141) 事件影响,进行了加固作业:https://xjtu.app/t/anti-ddos-tactics/12618
* 注册账号时需要人机验证(protected by [hCaptcha](https://www.hcaptcha.com/))
* 关闭/迁移了一批网络服务。将原评课社区的内容完全迁移到 Discourse 里的 [课程点评](/c/course/64) 类别,旧网址增加 301 重定向,Discourse 受 CloudFlare 保护,减少了攻击面。关闭了 Mastodon(由于:日志显示没人用、Mastodon 比较傻逼)。
[date=2024-05-10 timezone="Asia/Taipei"]
* 启用了一个快速编辑功能,尤其适合长文本,选中一部分文字,在 pop-up 中点击编辑即可
* 桌面端“阅读模式”toggle: 
[date=2024-04-10]
为了庆祝 @Hypocrisy 拿到 MS 的实习,新增Login with Microsoft使用微软账户登录功能。
[date=2024-04-05]
书签按钮变得非常丝滑,不像以前会弹出阻塞的对话框。现在是右上角弹 baloon 通知提示成功,popup 距离书签按钮更近,可以不理会、默认永久保存。

[date=2024-01-20]
推出基于 Matrix 的 ,具有音视频聊天、屏幕共享、多人会议、表情包等功能,支持使用 Discourse(本站)作为 SSO provider 一键登录(Matrix 的 homeserver 的开源实现之一 [synapse](https://github.com/element-hq/synapse/) 是用 Python 编写的,所以添加个 SSO 功能 so easy)。
https://xjtu.app/t/announcing-xjtu-men-chat-service-based-on-matrix/9196
[date=2024-01-08]
由于回到了单域名 `xjtu.app` 的工作模式,新增支持 Google, GitHub, Twitter, Discord, Steam, Passkey 无密码注册/登录

[date=2023-12-25]
评课社区和快捷回复自动 dark mode 适配
[date=2023-12-12]
* Show `Related` by default under topic instead of `Suggested`
* can now directly reply anonymously using the built-in composer
* use inline top dropdown menu on desktop (extra-row for mobile)
* Chatbot now powered by GPT-4(32k)
* ->
* ->
[date=2023-11-09]
* 在原来点击数字 `X / XX` 拖动滑块在 post 间导航的基础上新增一键跳转到最下/最上。阅读到最下还会显示 `下个话题` 按钮。

* 移动端菜单按钮放在最左侧,符合左侧弹出菜单的直觉;logo 居中
* [Mermaid](https://mermaid.js.org/intro/): create diagrams and visualizations using text and code, e.g.:
```mermaid height=500
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts
prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
[date=2023-10-29]
* 显示楼号:https://github.com/xjtumen/discourse-show-post-number-tc
* 站群状态监控

* 地址发布页:https://github.com/xjtumen/domains/blob/main/README.md
[date=2023-10-26]
* 自选 eomji 回应回复
Special thanks go to:
[date=2023-10-18]
* Category icon
[date=2023-10-03]
* AI Summarization
* show character count in editor
[date=2023-09-27]
* [private reply](/t/topic/5929) 功能
[date=2023-09-24]
* 添加了
* 医学部指南
* https://www.lycsplanet.com/article/92474c40-d05e-43ef-b2af-8523cab8e695
* https://github.com/echore/live-in-xjtu-medical-school
* 软件学院指南
* https://xjtuse-guide.github.io/Xjtuse-Guide/#/README
* https://github.com/Xjtuse-Guide/Xjtuse-Guide
* 除了支持 `[graphviz]` 画静态图像之外,支持 `[chart]` 块画类似 `plotly` 可交互的图
* 使用方法:https://github.com/discourse/discourse-chart
* 示例:
[chart borderColors="#f45,#c83,#d76" title="Benchmark" type="line" xAxisTitle="Page"]
Page | Rails 4.1 | Rails 4.2 | Rails 4.3
Home | 1 | 2 | 3
About | 100 | 21| 32
User | 26 | 2 | 2
[/chart]
[chart type="bar" backgroundColors="#36A2EB, #FFCC66" title="Bar Chart" xAxisTitle="xAxisTitle" ]
xAxis | 2 | 4 | 6 | 8 | 10 | 12 | 14
yAxis1 | 2 | 4 | 8 | 16 | 32 | 64 | 128
yAxis2 | 10 | 20 | 30 | 40 | 50 | 60 | 70
[/chart]
[date=2023-09-19]
* 添加了菜单栏,方便类别导航以及让原生顶栏不那么拥挤
* 添加了 old-school 个性签名功能,可在个人资料里设置。(使用 https://meta.discourse.org/t/discourse-signatures/42263 )~~(显示的时候会自动在您输入的签名两端添加 `*` 表示*斜体*,若本身已经是*斜体*,则会变成双 `*` 表示**黑体**,若本身已经是**黑体**,则会变成三 `*` 表示***斜黑体***)~~

* 左侧菜单下部添加快速主题切换功能,关于不同 theme 的区别,点击:https://xjtu.app/t/topic/4861#theme

[date=2023-09-17]
* 支持动态 GIF avatar,由于这个功能可能会对性能造成影响,并且太花哨的动画会影响阅读体验,目前只允许 $TL \ge 2 $ 的用户使用。NB: 所有用户都可以设置资料卡片的动态背景。
[date=2023-09-15]
* 图片自动居中(图片上下各需要一个空行)
* 彩色标题栏(仅亮色模式下启用)
* 桌面视图增加侧边栏,虽然稍微增加界面的不整洁度,但也增加了历史信息得以曝光的机会
* https://xjtu.app/c/volatile/qa/14 类别的新话题**默认**开启 voting 功能,UI 类似 [Stack Overflow](https://stackoverflow.com/)。其他类别新建话题时可点击编辑器左上角的小加号切换:

有趣的是 Stack Overflow 的创始人之一 [Jeff Atwood](https://en.wikipedia.org/wiki/Jeff_Atwood) 也是 Discourse 的创始人之一。
* 编辑器添加对齐按钮:
[left] 靠左对齐 [/left]
[center] 居中对齐 [/center]
[right] 靠右对齐 [/right]
[justify] 还有个 `[justify]` 没搞懂是什么意思 [/justify]
[date=2023-09-13]
* 编辑器点击  快速 [wrap=color color=# bgcolor=#ff8]highlight[/wrap] 选中的内容
* 编辑器里插入 QR Code(quick-response code,二维码),可以是到任意 URL,或者是本当前页面(url 参数为空时)。
```
[wrap=qrcode url=]
[/wrap]
```
[wrap=qrcode url=]
[/wrap]
[date=2023-08-27]
* 支持 Github 账号登录
* 评课社区代码改善绘图,增加按照选修课板块筛选功能
[date=2023-08-25]
* 使用优质网络线路机器进行反向代理,极大地加快了国内的访问速度,亲测电信、移动、联通、教育网飞快。也提高了可用性,多域名并存,某个出现故障可以通过其他的访问。详情:https://xjtu.app/t/topic/4330/6
* 在现有根据浏览器请求头**自动**设置暗色模式的基础上,增加了手动亮/暗模式开关。由于顶栏已经没有空间,而且这个功能并不常用,所以放在了菜单里,点击,再点击 :crescent_moon: / :sunny: 即可切换:

[date=2023-08-22]
* Docker 双 container 部署,一个实例的 container 在 rebuild 的时候另一个实例工作,只有 rebuild 成功才切换主实例,**实现了服务的不间断**(除非一年一次更新 PostgreSQL 版本,或者云服务提供者服务中断)
也就是说以后基本**看不到**如下提示了:
```
正在更新,预计 7min 内完成。Sorry for the inconvenience. Thanks for your patience!
```
* (desktop view) enable thumbnail and text excerpt in homepage. If you dislike, you have the choice to switch to Graceful theme in user preference.
[date=2023-08-20]
* To embed a graph use `[graphviz] [/graphviz]` bbcode. Optionally you can define layout engine attributes: `[graphviz engine=neato]`. If engine is not defined, it defaults to the DOT engine.
```
[graphviz engine=circo]
digraph simple
{
a -> b -> c;
b -> d;
c -> a;
}
[/graphviz]
```
[graphviz engine=circo]
digraph simple
{
a -> b -> c;
b -> d;
c -> a;
}
[/graphviz]
* Footnote
```
A sentence that needs a footnote. ^[The footnote]
Another sentence that needs a footnote. ^[The second footnote]
A sentence that needs a footnote. [^1]
Another sentence that needs a footnote. [^2]
[^3]: The 3rd footnote
[^5]: The 4th footnote
```
A sentence that needs a footnote. ^[The footnote]
Another sentence that needs a footnote. ^[The second footnote]
A sentence that needs a footnote. [^3]
Another sentence that needs a footnote. [^5]
[^3]: The 3rd footnote
[^5]: The 5th footnote
* Github code review
* documentation (knowledge base) management
* save searches and be notified when any new topics or posts match the search criteria (in user preferences)
* preview on hover (tooltips)
* set flag (in user profile)
* yearly review & cake day
* gamification: users are awarded“cheers” & badges by performing certain actions, view [leader board](/leaderboard)
* add sidebar in homepage
[date=2023-08-20]
* 优化了主页话题文字/图片预览显示速度
* 支持保存多个草稿:即使有话题正在编辑,也可以创建话题
* hotlinked 图片将保存在本地
[date=2023-08-14]
* 代码块显示行数
* 添加移动端/桌面端顶栏文字/图标链接
[date=2023-08-07]
* 增加右上角回复按钮。无需登录,无需切换身份。
注意,**请勿在此编辑重要内容**,可新建草稿,然后从编辑器里复制内容。(因为简易输入框中的内容可能在刷新过程中丢失或者发送失败)
支持 Markdown。为防止滥用,每小时有次数限制。
* 在帖子页:匿名回复(3/h)
* 在主页:匿名新建话题(1/h)
[date=2023-07-25]
* ~~2048.xjtu.app/live~~. [New JS development learning site](/xjtumen-g/) , with:
*
*
[date=2023-07-24]
* 支持**wiki**功能,例如 [通用指南信息及 CS 专业攻略](/c/guide/12) 类的所有内容允许**所有用户**修改编辑,*人人为我、我为人人*
* 新增“青年杰出贡献交大門人”flair(flair 就是类似验证了学校邮箱后面的 Verified XJTU Email 一串话),人工添加贡献比较多的同学
* 保护 GitHub 插件库预防供应链攻击
* 正式将数据库中所有 `xjtu.app` 重写为 `xjtu.app`
```
discourse remap http://xjtu.app https://xjtu.app
discourse remap https://xjtu.app https://xjtu.app
rake posts:rebake
```
[date=2023-07-13]
* 帖子中的图像网格:
用户可以手动添加 [grid] 标签或点击帖子中第一张图像旁边的网格图标,以将图像或媒体整齐地排列成网格。
* 聊天功能新增多 timeline 功能:
聊天群可将一长串对某问题的集中讨论归纳到单个分支,这样的分支可以有无数个,与主分支并列存在,类似 Loki 里面的 Timeline 平行宇宙

[date=2023-06-25]
* 支持用 [BBCode](https://en.wikipedia.org/wiki/BBCode)“[wrap=color color=red bgcolor=#] 给 [/wrap][wrap=color color=green bgcolor=#] 字 [/wrap][wrap=color color=blue bgcolor=#] 上 [/wrap][wrap=color color=orange bgcolor=#] 色 [/wrap]”,选择一段文字后,点击编辑器的“调色盘”按钮,然后进行编辑,`color=` 设置前景色,`bgcolor=` 设置背景色,颜色可以使用名称、也可使用 16 进制 RGB 格式 `#FFFFFF`、或者可以留空。
例如:
```
[wrap=color color=orange bgcolor=#] 黄色字体 [/wrap]
[wrap=color color=green bgcolor=#adc3ff] 淡蓝底绿字 [/wrap]
```
的显示效果为:
[wrap=color color=orange bgcolor=#] 白底黄字 [/wrap]
[wrap=color color=green bgcolor=#adc3ff] 淡蓝底绿字 [/wrap]
[ ] 考虑到 BBCode 不太方便(不是每个人都喜欢敲键盘),尤其是在手机上,后续考虑开发类似 Word 的颜色选择器功能。
[date=2023-06-24]
[x] **Truncate** topic preview's thumbnail so that your screen won't be filled up by an non-informative photo (especially on a mobile phone) and will be less cluttered (especially on PC) 把所有缩略图尺寸限制在:`height:190px;width:100%`
[x] https://xjtu.app/t/topic/1440
[date=2023-06-19 timezone="Asia/Macau"]
[ ] AIBot 升级到 `gpt-3.5-turbo-16k`,支持更长的语境,以及生成 2000 字以内的回复。
[x] Markdown 里输入表格很累,所以在编辑器里加了一个图形化表格编辑功能(点击齿轮按钮调出),或者可以使用在线 Markdown 表格生成器 [1](https://www.tablesgenerator.com/markdown_tables), [2](https://tabletomarkdown.com/convert-spreadsheet-to-markdown/)。
[date=2023-06-18]
* add a button to codeblocks to copy the block contents to the user's clipboard.
* To make the community more civilized, posts containing a small set of keyword need to be reviewed by mods before visible to all. This is necessary to fight spam considering the community has grown a bit.
* add an Anthropic Claude-v1 bot (I am not sure whether it will work)
* show `xjtu.app 交大門` on the top left corner so that others looking / peeking at your phone / computer in public (such as in a dining hall) can access this website by simply **typing the domain**, considering currently search engines yields no useful information when searching `交大門`
* allow newly-created users to use private / group chatting functionality (including private chatting with **AIBot via floating button**) to leave a better first-impression on them and facilitate feedback. (may change if too much spam)
* 添加了一个按钮在代码块上面,可以将代码块内容复制到用户的剪贴板上。
* 为了使社区更加文明,包含某些关键词的帖子需要经过管理员的审核才可对所有人显示。考虑到社区已经有所增长,这是打击垃圾邮件的必要措施。
* 添加了一个 Anthropi Claude-v1 机器人
* 在左上角显示“xjtu.app 交大門”,这样其他人在公共场合(例如餐厅)窥屏时,可以通过**键入域名**来访问这个网站,目前搜索引擎查询“交大門”没有有用的信息。
* 允许新创建的用户使用私人/群组聊天功能(包括通过浮动按钮与 **AIBot 进行私人聊天**),以给他们留下更好的第一印象并促进反馈(如果存在太多的垃圾邮件,可能会更改)。
[date=2023-06-08] 更新:
[x] 迁移 [GitHub - cantjie/XJTU-Share: 西安交通大学课程资料共享计划 ](https://github.com/cantjie/XJTU-Share) 到 [西安交大学习资料](https://xjtu.app/c/res/13) 类别,欢迎在此类别**分享添加新内容**,以及**修改订正现有内容**。,每个页面开头都有 GitHub 链接,部分附件由于*懒*就没上传了。
[x] 成功联系 social.closed 闭社,将 [m.xjtu.app-交大門 - 社交](https://m.xjtu.app) 添加进其 [Mastodon 列表](https://uptime.closed.social/)。
[x] 点击右上角🦀图标可进行娱乐,同时一边刷帖,练**左右互搏**神功。

[x] 修改了默认主题和样式,但用户仍可自选主题。
DiscourseDefault 主题的帖子列表是单列,MaterialDesign 和 FKB Pro 主题(默认)采用砖块/窗口式帖子列表(需要登录,自动根据缩放调节列数,按住 ctrl 再滚动鼠标滚轮调缩放,手机 UI 是只有一列)。
DiscourseDefault 主题默认配色为护眼色,其他为纯白色。
欢迎到聊天反馈效果。
☒ use same login/auth system for Mastodon and Discourse. 由于*懒*以及 social.closed Federation 要求,需要拿校内邮箱注册,所以就不弄了。
[ ] 自动整理标签和类别。(https://xjtu.app/t/topic/412)目前帖子数量太少,标签也少,等多了再搞。
[date=2023-06-06]
* 点击话题的整个区域(原来仅仅是标题)即可跳转到帖子
* 进网页时,不再全屏播放加载小动画,而改成顶部进度条(不过好像失效了?)
* automatic backup via rsync and cron
[date=2023-06-05] 功能更新
[x] 支持发贴时添加 table of contents 目录(点击编辑器齿轮图标即可见),对于所有类别已自动启用,部分过往的帖子可能没有补加。只对话题的 original post 生效(后续回复无 ToC)。当你在 OP 里插入 `##` 这种的 markdown 语法的标题即可自动生成。
PS: Markdown 里标题的格式
```markdown
# heading 1 一级标题
## heading 2 ......
### heading 3
#### heading 4
##### heading 5
###### heading 6
```
[x] 允许上传 PDF 和常见拓展名文件,大小限制:`8 MiB`
[x] 自动在页面内嵌 PDF 阅读器
[x] 使用基于机器学习的 Perspective API 减少违反社区规范的*有毒*贴文
[date=2023-06-04] 功能更新
* 引入 Discourse AI 功能 ([1](https://blog.discourse.org/2023/04/introducing-discourse-ai/), [2](https://meta.discourse.org/t/introducing-discourse-ai/262744)) ,支持:
[x] NSFW 拦截,再也发不了銫图了哦 :upside_down_face:
[x] 对 (超过 50 条贴文的) 主题 (thread) 进行概括总结
[x] 鉴别违反社区规范的贴文
[x] 智能相关性贴文推荐
[x] 基于语义理解的搜索 semantic search
:grey_question: AI-aided 发贴
☒ Google custom search(自带的搜索已经可以满足要求,若用 Google 可以自行加:`site:xjtu.app`)
:grey_question: SEO(看了下这里:[1](https://blog.discourse.org/2021/10/forum-seo/), [2](https://blog.discourse.org/2021/11/discourse-forum-seo/))
[x] [GitHub - djm-xjtu/XJTU-Survival-Manual](https://github.com/djm-xjtu/XJTU-Survival-Manual)
[x] [GitHub - Survive-XJTU-CS/SurviveXJTUCS: Make Your Own Computer Science Life](https://github.com/Survive-XJTU-CS/SurviveXJTUCS)
[x] [cantjie/XJTU-Share: 西安交通大学课程资料共享计划](https://github.com/cantjie/XJTU-Share)
[date=2023-06-03] 新增以下功能:
* GIF 表情包/动图功能 now working
这个功能基于 https://giphy.com/ ,需要浏览器支持 webp 格式,可以单击动图暂停。
* 引入 [AI ChatBot](https://meta.discourse.org/t/discourse-chatbot-supporting-chatgpt/256652),可以 @AIBot 玩,但是由于是基于付费服务,不保证能用多久,并且有 rate limit。
* 修复 Gmail, Outlook 因为 DMARC 验证失败无法收到注册邮件的问题
[date=2023-06-02] 功能更新:
* 使用*.xjtu.edu.cn 邮箱注册的用户自动加入 [verified_xjtu_mail group](https://xjtu.app/g/verified_xjtu_mail),名字后面 verified XJTU email,本来还应该在头像右下角显示:

之所以选这个证件图标而不是类似 Twitter 的 :ballot_box_with_check:是因为这个 XJTU 邮箱认证完全是 optional,没有因为不认证就 :negative_squared_cross_mark:。有些没有设置 avatar 的同学可能无法显示该图标。
* 支持用户更改更多主题:FKB Pro, Fakebook, Air, Material Design, Default
* 新增 [具有参考价值的帖子](https://xjtu.app/t/topic/231) 类别,用于发布高信息量帖文,以及接纳闲聊吹水区的高信息量帖文;名称值得商榷。
[date=2023-06-01] 本站新增以下功能:
* follow 其他用户
* Apple 用户可以将本站添加到主页
* 发布投票帖
* 类似 Stack Overflow,可以将提问的某条回复标记为*已解决*
* 可以使用 :heart: 之外的表情互动
对于发贴,新增以下功能:
* Spoiler Alert 剧情透露:可以模糊部分内容,需要点击一下方可显示
可以用编辑器实现,也可以用以下格式:
```
[spoiler]This is a spoiler[/spoiler]
```
* 日历
* Markdown checklist(记事)清单,一览表功能:
```
[] or [ ] for an unchecked box
[x] for checked box (no fill)
[X] for a checked box (with fill)
```
* TeX 数学公式,
```
Inline:
$E=mc^2$
注意在使用行内模式时,$符号和正文之间需要加空格。
Block:
$
\sqrt{(-1)} \; 2^3 \; \sum \; \pi
$
```
---
This thread is a changelog of self-update history in a **latest-at-top**-style chronological order.
If you find any claimed feature unavailable or unusable, please reply or contact admin.
See also:
https://xjtu.app/t/topic/4730
-------------------------
QuantumAssHitter | 2024-01-08 15:00:39 UTC | #2
非常实用的功能!
投票和剧透预警 nice
感谢站主更新维护,点赞 :+1:
-------------------------
john | 2024-03-25 16:11:06 UTC | #3
[quote="system, post:1, topic:127, username:system"]
点击右上角:crab:图标可进行娱乐,同时一边刷帖,练**左右互搏**神功
[/quote]
现在没螃蟹了 :rage:
-------------------------
anonymous_coward_old | 2024-03-25 16:14:12 UTC | #4
> 现在没螃蟹了 :rage:
需要身份证实名登记,不得向未成年人提供
-------------------------
john | 2024-03-25 16:36:42 UTC | #5
我超,新头像好评
-------------------------
anonymous_coward_old | 2024-03-25 16:42:35 UTC | #6
https://en.wikipedia.org/wiki/Cowardly_Lion
-------------------------