gitea v1.21.0-rc0 版本更新介绍
发布日期: 2023-09-20
版本号: v1.21.0-rc0
本次更新包含多项功能增强、安全修复及优化改进。主要变更包括:限制内置SSH服务器证书类型,强制MySQL使用utf8mb4编码,将RSA密钥最小长度提升至3072位以增强安全性。新增用户详情页面、支持手动重建问题索引、标签归档功能、禁用工作流选项,并添加.git-blame-ignore-revs文件支持。界面优化涉及分支选择器样式调整、代码块渲染改进、移动端显示优化。修复了附件上传权限、密码长度验证、索引映射错误等问题。后台重构涉及数据库上下文优化、服务层逻辑迁移。文档更新包括Actions功能正式化说明、Brew安装指南调整。技术升级包含Go语言版本升至1.21,前端依赖库更新,弃用旧版JWT库。CI/CD方面新增自动清理制品功能,支持定时任务调度。API扩展了密钥管理和版本发布接口。此次更新还包含多项性能优化,如减少内存分配、优化Git日志处理,并改进多语言翻译质量。
更新内容 (中文)
- 破坏性变更
- 限制内置SSH服务器的证书类型 (#26789)
- 重构以使用 urfave/cli/v2 (#25959)
- 将公共资产文件移至正确目录 (#25907)
- 移除提交状态“运行中”和“警告”以与GitHub保持一致 (#25839)
- 移除MySQL的"CHARSET"配置选项,始终使用"utf8mb4" (#25413)
- 将SSH_AUTHORIZED_KEYS_BACKUP设置为false (#25412)
- 安全
- 将最小RSA密钥长度扩展至3072位 (#26604)
- 功能
- 用户详情页面 (#26713)
- 作业(Actions):支持定时任务调度 (#26655)
- 支持手动重建问题索引器 (#26546)
- 允许归档标签 (#26478)
- 添加禁用工作流功能 (#26413)
- 支持
.git-blame-ignore-revs文件 (#26395) - 为git凭证助手预注册OAuth2应用 (#26291)
- 创建镜像仓库失败时添加"重试"按钮 (#26228)
- 制品保留与自动清理 (#26131)
- 服务"public"目录下的预定义文件,添加"security.txt",为".well-known"添加CORS头 (#25974)
- 当事件为推送时,实现并发作业的自动取消 (#25716)
- 仓库主页上显示新推送分支提示 (#25715)
- 显示分支提交状态 (#25608)
- 添加包内容直接服务 (#25543)
- 在PR文件视图中添加提交下拉菜单,并允许逐个提交审查 (#25528)
- 允许从管理页面清理包 (#25307)
- 批量删除问题并改进tippy选项 (#25253)
- 显示包含某提交的分支和标签 (#25180)
- 在运行列表中添加操作者和状态下拉菜单 (#25118)
- 允许组织拥有电子邮件 (#25082)
- 添加代码所有者(codeowners)功能 (#24910)
- 支持Gitea Actions的配置变量 (#24724)
- 支持下载原始任务日志 (#24451)
- API
- 允许空的Conan文件 (#27092)
- 新一轮的
db.DefaultContext重构 (#27089) - 修复令牌端点忽略指定账户的问题 (#27080)
- 减少
db.DefaultContext的使用 (#27073) - 使SSPI认证可模拟 (#27036)
- 从服务中提取认证中间件 (#27028)
- 为镜像添加
RemoteAddress(#26952) - 特性(API):添加管理用户密钥的路由和函数 (#26909)
- 特性(API):添加仓库的密钥删除功能 (#26808)
- 特性(API):添加创建/更新仓库密钥的路由和实现 (#26766)
- 在发布API中添加上传URL (#26663)
- 特性(API):更新和删除组织密钥管理功能 (#26660)
- 特性:实现组织密钥创建API (#26566)
- 添加列出组织密钥的API路由 (#26485)
- 当显式使用引用时设置提交ID (#26447)
- 分支保护的PATCH更新即使检查被禁用也会更新检查列表 (#26351)
- 为API"获取仓库中的单个提交"添加文件状态 (#16205) (#25831)
- 添加用于更改头像的API (#25369)
- 增强
- 增大登录页面认证提供者图标的尺寸 (#27122)
- 移除一个
gt-float-right和一些不必要的辅助类 (#27110) - 将绿色按钮改为主题色 (#27099)
- 为AddTeamMember使用db.WithTx以避免ctx滥用 (#27095)
- 使用
print代替printf(#27093) - 进一步重构
db.DefaultContext(#27083) - 移除无用的
GetUserIssueStats函数,并将相关测试移至indexer_test.go(#27067) - 搜索分支 (#27055)
- 在管理界面显示所有用户类型和组织类型 (#27050)
- 移动端视图导航栏左对齐项目的UI修正。 (#27046)
- Chroma颜色微调 (#26978)
- 将部分函数移至服务层 (#26969)
- 改进"语言统计"UI (#26968)
- 将
util.SliceXxx替换为slices.Xxx(#26958) - 重构dashboard/feed.tmpl (#26956)
- 将仓库删除逻辑移至服务层 (#26948)
- 修复缺失的仓库计数 (#26942)
- 提取公共代码到新模板 (#26933)
- 将createrepository从模块移至服务层 (#26927)
- 将通知接口移至服务层 (#26915)
- 修复网页上的密钥正则表达式模式 (#26910)
- 将feed通知移至服务层 (#26908)
- 将UI通知移至服务层 (#26907)
- 将索引器通知移至服务层 (#26906)
- 将邮件通知逻辑移至服务层 (#26905)
- 提取公共代码到新模板 (#26903)
- 显示队列活动工作者数量 (#26896)
- 修复orgmode的媒体描述渲染 (#26895)
- 移除CSS
has选择器并改进各种样式 (#26891) - 重构"shortsha" (#26877)
- 重构
og:description以限制最大长度 (#26876) - 将web/api上下文相关测试函数移至独立包 (#26859)
- S3:在连接失败时记录人类可读的错误 (#26856)
- 改进OpenGraph预览 (#26851)
- 在忘记密码页面添加更详细的错误描述 (#26848)
- 在页眉始终显示仓库计数 (#26842)
- 从CSS文件中移除"TODO"任务 (#26835)
- 在仓库描述中渲染代码块 (#26830)
- 仪表盘微调,修复flex-list边距 (#26829)
- 移除被污染的
.ui.right(#26825) - 在列出标签时特别显示已归档标签 (#26820)
- 移除被污染的".ui.left"样式 (#26809)
- 通过CSS变量使导航文本颜色可定制 (#26807)
- 重构lfs请求 (#26783)
- 改进flex列表项内边距 (#26779)
- 移除fomantic
text模块 (#26777) - 移除fomantic
item模块 (#26775) - 移除
WalkGitLog中冗余的nil检查 (#26773) - 减少类型转换中的一些内存分配 (#26772)
- 重构一些CSS样式并简化代码 (#26771)
- 统一
border-radius行为 (#26770) - 改进模态对话框UI (#26764)
- 下载文件时允许在发布版本vTag中使用"latest" (#26748)
- 在归档标签上添加"已归档"提示。 (#26741)
- 将
modules/mirror移至services(#26735) - 为input/textarea元素默认添加"dir=auto" (#26735)
- 简化辅助CSS类并避免滥用 (#26728)
- 确保web上下文在不同情况下正确初始化 (#26726)
- 点击"编写"标签页时聚焦编辑器 (#26714)
- 移除不正确的CSS辅助类 (#26712)
- 修复审查栏错位 (#26711)
- 为API重新添加反向代理认证,默认禁用 (#26703)
- 在分支选择列表中添加默认标签 (#26697)
- 改进图片差异UI (#26696)
- 修复下拉菜单中的文本溢出 (#26694)
- [重构] getIssueStatsChunk,将内部函数移至独立函数 (#26671)
- 移除fomantic loader模块 (#26670)
- 添加
成员、协作者、贡献者和首次贡献者角色及工具提示 (#26658) - 改进一些flex布局 (#26649)
- 默认使用line-height: normal (#26635)
- 改进分支选择器标签页UI (#26631)
- 改进角色显示 (#26621)
- 从模板辅助函数中移除avatarHTML (#26598)
- 允许在Actions步骤标题中选择文本 (#26588)
- 改进里程碑筛选器的翻译 (#26569)
- 重写DiffFileTreeItem并修复错位问题 (#26565)
- 为ActionRun表添加乐观锁 (#26563)
- 更新团队邀请邮件链接 (#26550)
- 更好地区分用户设置和管理员设置 (#26538)
- 重新运行作业时检查禁用的工作流 (#26535)
- 改进里程碑列表页面截止日期图标的位置 (#26532)
- 改进仓库子菜单 (#26531)
- 修复组织级别徽章的显示 (#26504)
- 重命名
Sync2->Sync(#26479) - 修复stderr用法 (#26477)
- 移除fomantic transition模块 (#26469)
- 重构测试 (#26464)
- 重构项目模板 (#26448)
- 回退到esbuild进行CSS压缩 (#26445)
- 使用正确的拉取请求提交链接代替通用提交链接 (#26434)
- 重构"editorconfig" (#26391)
- 移除不必要的模板辅助函数repoAvatar (#26387)
- 移除不必要的模板辅助函数DisableGravatar (#26386)
- 使用模板上下文函数进行头像渲染 (#26385)
- 重命名code_langauge.go为code_language.go (#26377)
- 更多地使用
IssueList代替[]*Issue(#26369) - 改进CLI和消息 (#26341)
- 重构后端SVG包并添加测试 (#26335)
- 在仪表盘的仓库列表中添加作业详情链接和提交状态工具提示 (#26326)
- 在wiki仓库中移除提交加载的分支和标签 (#26304)
- 在里程碑仪表盘中高亮显示选中的仓库 (#26300)
- 删除
issue_service.CreateComment(#26298) - 当仓库为私有时,不显示个人资料README (#26295)
- 调整操作菜单 (#26278)
- 开始使用模板上下文函数 (#26254)
- 在个人资料中"加入于…“使用日历图标 (#26215)
- 在个人资料的位置添加"在地图上显示"按钮,修复布局 (#26214)
- 为markdown文件渲染纯文本任务列表项 (#26186)
- 为LFS表格列添加工具提示描述,并将"删除LFS文件"按钮标红 (#26181)
- 发布附件重复检查 (#26176)
- 降低问题侧边栏按钮的视觉突出度 (#26171)
- 修复commit_page模板中提交统计信息的对齐问题。 (#26161)
- 允许在创建后编辑推送镜像 (#26151)
- 将web JSON函数移至web上下文并简化代码 (#26132)
- 重构改进NoBetterThan (#26126)
- 在
routers/和cmd/中移除db.DefaultContext(#26076) - 改进"gitea doctor"子命令并修复"帮助"命令 (#26072)
- 为一些数据库函数添加上下文参数 (#26055)
- 采用Docusaurus (#26051)
- 改进空问题/PR描述的文本 (#26047)
- 修复一些管理表格的截断和对齐问题 (#26042)
- 分类管理设置边栏面板 (#26030)
- 移除冗余的"RouteMethods"方法 (#26024)
- 重构并增强问题索引器,以支持搜索、筛选和分页 (#26012)
- 在WebFinger响应中添加OpenID Issuer URL链接 (#26000)
- 将gogs/cron替换为go-co-op/gocron (#25977)
- 修复发布标签页面/维基页面/订阅页面的UI (#25948)
- 支持从模板仓库复制受保护分支 (#25889)
- 修复新建/编辑项目页面的边距。 (#25885)
- 在查看页面显示图片尺寸 (#25884)
- 允许下游使用替代的net.Listener实现 (#25855)
- 重构文件上传的"Content” (#25851)
- 也在PR的提交标签页上显示编辑标题按钮 (#25791)
- 为Gitea UI引入
flex-list和flex-item元素 (#25790) - 不要在小屏幕上堆叠PR标签菜单 (#25789)
- 仓库已归档文本标题居中对齐 (#25767)
- 使路由中间件/处理程序可模拟 (#25766)
- 重构问题列表模板、样式 (#25750)
- 将问题过滤器移至共享模板 (#25729)
- 为问题索引添加开放/关闭字段支持 (#25708)
- 一些较少的裸返回 (#25682)
- 修复不同标签页间用户资料布局不一致的问题 (#25625)
- 更新表情符号集至Unicode 15 (#25595)
- 将部分文件移至repo/setting下 (#25585)
- 添加自定义ANSI颜色及其CSS变量 (#25546)
- 为操作日志添加日志行锚点 (#25532)
- 使用flex代替float用于排序按钮和搜索输入框 (#25519)
- 修复迁移页面在移动设备上的布局 (#25507)
- 更新octicons并使用
octicon-file-directory-symlink(#25453) - 在UI中添加通知(toasts) (#25449)
- 微调项目看板标签颜色和模态内容背景 (#25419)
- 通过文件URI导入额外的密钥 (#25408)
- 切换到ansi_up进行操作中的ANSI渲染 (#25401)
- 存储并使用秒作为时间线时间注释 (#25392)
- 支持在PR标签栏显示差异统计 (#25387)
- 在侧边栏使用fetch表单操作进行锁定/解锁/置顶/取消置顶 (#25380)
- 重构:TotalTimest返回秒 (#25370)
- 导航栏样式重新设计 (#25343)
- 为搜索输入框引入共享模板 (#25338)
- 修复标签行无边距,参见 #25255 (#25280)
- 将提交审查框的表单操作更改为fetch (#25219)
- 改进AJAX链接和模态确认对话框 (#25210)
- 当列名为空时禁用"创建列"按钮 (#25192)
- 重构索引器 (#25174)
- 调整操作运行列表样式(对齐图标,调整内边距) (#25170)
- 删除分支时移除重复的函数 (#25128)
- 使易混淆字符警告不那么刺眼 (#25069)
- 在PR文件树中高亮显示已查看的文件,采用不同方式 (#24956)
- 修复重复的Reviewed-by尾部 (#24796)
- 解决admin/users和admin/runners上的排序图标问题 (#24360)
- 将lfs大小从仓库大小中分离 (#22900)
- 将分支同步到数据库 (#22743)
- 在安装页面禁用运行用户更改 (#22499)
- 将合并文件添加到GetCommitFileStatus (#20515)
- 在注册页面显示OpenID Connect和OAuth (#20242)
- 错误修复
- 修复:在没有README的用户资料中,将"概览"标签页视为"仓库" (#27124)
- 修复编辑OAuth2应用时的NPE (#27078)
- 修复用户编辑页面中不正确的路由路径。 (#27007)
- 允许具有问题写权限的用户通过API添加附件 (#26837)
- 使"link-action"后端代码响应正确的JSON内容 (#26680)
- 修复NPM包名称验证 (#26595)
- 当搜索没有仓库的问题时返回空 (#26545)
- 解释SearchOptions并修复ToSearchOptions (#26542)
- 添加缺失的触发器以更新问题索引器 (#26539)
- 正确处理base64解码以避免panic (#26483)
- 避免访问未定义的mentionValues (#26461)
- 修复使用引用新建问题时的错误重定向 (#26440)
- 修复为
pull_request_target事件获取变更文件时的错误 (#26320) - 在模板中移除IsWarning (#26120)
- 修复从错误的部分加载
LFS_JWT_SECRET(#26109) - 修复已登录用户的重定向问题 (#26105)
- 更新最小密码长度要求 (#25946)
- 使用API上传文件时不要"猜测"文件编码/BOM (#25828)
- 修复问题索引器文档映射 (#25619)
- “user/logout"使用JSON响应 (#25522)
- 当尝试在相同分支上打开新PR时链接到现有PR (#25494)
- 不要在
-dev标签上发布docker发布镜像 (#25471) - 支持
pull_request_target事件 (#25229)
- 测试
- 在indexer_test.go中为db索引器添加测试 (#27087)
- 加速TestEventSourceManagerRun (#26262)
- 添加用户重命名的单元测试 (#26261)
- 改进缓存单元测试 (#26185)
- 翻译
- 为已删除的头部分支添加本地化 (#26296)
- 改进en-US语言环境中的多个字符串 (#26213)
- 修复包文档的损坏翻译 (#25742)
- 更正翻译错误格式 (#25643)
- 构建
- 使用Go 1.21并更新依赖 (#26878)
- 将Go版本提升至1.21 (#26608)
- 在release-version中将xgo提升至go-1.21.x并将node提升至20 (#26589)
- 通过djlint添加模板检查 (#25212)
- 文档
- 移除比较Gitea Actions与GitHub Actions时的过时段落 (#27119)
- 由于gitea已移至brew核心包,更新brew安装文档 (#27070)
- Actions不再处于实验状态,因此默认启用它们 (#27054)
- 添加v1.20.4更新日志 (#26974)
- 添加Windows服务的文档说明 (#26938)
- 在cargo包指南中添加稀疏URL (#26937)
- 更新nginx建议 (#26924)
- 更新备份说明以与归档结构保持一致 (#26902)
- 更新关于构建所需网络连接的信息 (#26776)
- 文档:模板变量 (#26547)
- 更新索引文档 (#26455)
- 更新zh-cn文档 (#26406)
- 修复actions文档的拼写和语法问题 (#26328)
- 更新1.21 actions的文档 (#26317)
- 文档更新swagger文档,关于POST /orgs/{org}/teams (#26155)
- 文档同步authentication.md至zh-cn (#26117)
- 文档指导用户创建适当级别的运行器 (#26091)
- 使组织重定向警告更清晰 (#26077)
- 更新博客链接 (#25843)
- 修复LocalURL的默认值 (#25426)
- 更新
from-source.zh-cn.md&from-source.en-us.md- 使用Zig进行交叉编译 (#25194)
- 杂项
- 升级actions/checkout@4 (#27096)
- 丢弃Node.js 16并更新js依赖 (#27094)
- 将lng2020应用于维护者 (#27068)
- 更新snap包 (#27021)
- 修复:拼写错误 (#27009)
- 改进上传过大头像时的提示 (#26935)
- 添加@chenrui333为维护者 (#26917)
- 改进DeleteByID (#26904)
- 扩展queue.go中的文档 (#26889)
- 重新定位
RSS用户订阅源按钮 (#26882) - 替换已弃用的
elliptic.Marshal(#26800) - 更新js库至最新版本。 (#26795)
- 为golangci-lint使用Go 1.21 (#26786)
- 在config.json中为Cargo http注册表添加auth-required (#26729)
- 更新JS依赖 (#26586)
- 在反应工具提示中始终显示用户名 (#26444)
- 使
user-content-*与github保持一致 (#26388) - 不要在文档中高亮显示
#number(#26365) - 修复成员和团队单元的显示问题 (#26363)
- 修复从组织移除自己时的404错误 (#26362)
- 如果已批准的审查过时,使用黄色显示 (#26312)
- 移除用于提交状态检查图标的无意义
<a>(#26287) - 添加一些Wiki单元测试 (#26260)
- 修复元数据中的拼写错误 (#26207)
- 改进仓库操作视图页面中的可点击区域 (#26115)
- 修复字符串中的大小写小错误 (#26100)
- 移除nfnt/resize和oliamb/cutter (#25999)
- 将github.com/golang-jwt/jwt提升至v5 (#25975)
- 修复"Flash"消息用法 (#25895)
- 改进标签/项目/指派者排序选项的显示 (#25886)
- 在PR提交页面移除引用名称 (#25876)
- 如果没有用户可以复刻仓库,添加错误信息 (#25820)
- 升级go依赖 (#25819)
- 修复由
pull_request_target触发的工作流的ref(#25743) - 为分支下拉组件使用前端fetch (#25719)
- 为
HashAvatar添加单元测试 (#25662) - 在调试慢速git命令时添加已用时间 (#25642)
- 在仪表盘上从数据库获取仓库的最新提交状态,而不是git数据 (#25605)
- 在分支屏幕上添加分支名称到剪贴板的复制功能。 (#25596)
- 仅在必要时显示"管理账户链接” (#25311)
- 改进个人资料设置中的"隐私"部分 (#25309)
- 也在模板仓库的路径名中替换变量 (#25294)
- 使用fetch发送创建问题/评论的请求 (#25258)
- 减少Actions任务不必要的数据库查询 (#25199)
- 修改飞书webhook的内容格式 (#25106)
- Actions制品支持上传多个文件和目录 (#24874)
- 支持更改Actions运行器的标签而无需重新注册 (#24806)
更新内容 (原始)
- BREAKING
- Restrict certificate type for builtin SSH server (#26789)
- Refactor to use urfave/cli/v2 (#25959)
- Move public asset files to the proper directory (#25907)
- Remove commit status running and warning to align GitHub (#25839)
- Remove “CHARSET” config option for MySQL, always use “utf8mb4” (#25413)
- Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412)
- SECURITY
- Expanded minimum RSA Keylength to 3072 (#26604)
- FEATURES
- User details page (#26713)
- Chore(actions): support cron schedule task (#26655)
- Support rebuilding issue indexer manually (#26546)
- Allow to archive labels (#26478)
- Add disable workflow feature (#26413)
- Support
.git-blame-ignore-revsfile (#26395) - Pre-register OAuth2 applications for git credential helpers (#26291)
- Add
Retrybutton when creating a mirror-repo fails (#26228) - Artifacts retention and auto clean up (#26131)
- Serve pre-defined files in “public”, add “security.txt”, add CORS header for “.well-known” (#25974)
- Implement auto-cancellation of concurrent jobs if the event is push (#25716)
- Newly pushed branches hints on repository home page (#25715)
- Display branch commit status (#25608)
- Add direct serving of package content (#25543)
- Add commits dropdown in PR files view and allow commit by commit review (#25528)
- Allow package cleanup from admin page (#25307)
- Batch delete issue and improve tippy opts (#25253)
- Show branches and tags that contain a commit (#25180)
- Add actor and status dropdowns to run list (#25118)
- Allow Organisations to have a E-Mail (#25082)
- Add codeowners feature (#24910)
- Support configuration variables on Gitea Actions (#24724)
- Support downloading raw task logs (#24451)
- API
- Allow empty Conan files (#27092)
- Next round of
db.DefaultContextrefactor (#27089) - Fix token endpoints ignore specified account (#27080)
- Reduce usage of
db.DefaultContext(#27073) - Make SSPI auth mockable (#27036)
- Extract auth middleware from service (#27028)
- Add
RemoteAddressto mirrors (#26952) - Feat(API): add routes and functions for managing user’s secrets (#26909)
- Feat(API): add secret deletion functionality for repository (#26808)
- Feat(API): add route and implementation for creating/updating repository secret (#26766)
- Add Upload URL to release API (#26663)
- Feat(API): update and delete secret for managing organization secrets (#26660)
- Feat: implement organization secret creation API (#26566)
- Add API route to list org secrets (#26485)
- Set commit id when ref used explicitly (#26447)
- PATCH branch-protection updates check list even when checks are disabled (#26351)
- Add file status for API “Get a single commit from a repository” (#16205) (#25831)
- Add API for changing Avatars (#25369)
- ENHANCEMENTS
- Increase auth provider icon size on login page (#27122)
- Remove a
gt-float-rightand some unnecessary helpers (#27110) - Change green buttons to primary color (#27099)
- Use db.WithTx for AddTeamMember to avoid ctx abuse (#27095)
- Use
printinstead ofprintf(#27093) - More refactoring of
db.DefaultContext(#27083) - Remove the useless function
GetUserIssueStatsand move relevant tests toindexer_test.go(#27067) - Search branches (#27055)
- Display all user types and org types on admin management UI (#27050)
- Ui correction in mobile view nav bar left aligned items. (#27046)
- Chroma color tweaks (#26978)
- Move some functions to service layer (#26969)
- Improve “language stats” UI (#26968)
- Replace
util.SliceXxxwithslices.Xxx(#26958) - Refactor dashboard/feed.tmpl (#26956)
- Move repository deletion to service layer (#26948)
- Fix the missing repo count (#26942)
- Extract common code to new template (#26933)
- Move createrepository from module to service layer (#26927)
- Move notification interface to services layer (#26915)
- Fix the secret regexp pattern on web page (#26910)
- Move feed notification service layer (#26908)
- Move ui notification to service layer (#26907)
- Move indexer notification to service layer (#26906)
- Move mail notification logic to service layer (#26905)
- Extract common code to new template (#26903)
- Show queue’s active worker number (#26896)
- Fix media description render for orgmode (#26895)
- Remove CSS
hasselector and improve various styles (#26891) - Refactor “shortsha” (#26877)
- Refactor
og:descriptionto limit the max length (#26876) - Move web/api context related testing function into a separate package (#26859)
- S3: log human readable error on connection failure (#26856)
- Improve opengraph previews (#26851)
- Add more descriptive error on forgot password page (#26848)
- Show always repo count in header (#26842)
- Remove “TODO” tasks from CSS file (#26835)
- Render code blocks in repo description (#26830)
- Minor dashboard tweaks, fix flex-list margins (#26829)
- Remove polluted
.ui.right(#26825) - Display archived labels specially when listing labels (#26820)
- Remove polluted “.ui.left” style (#26809)
- Make it posible to customize nav text color via css var (#26807)
- Refactor lfs requests (#26783)
- Improve flex list item padding (#26779)
- Remove fomantic
textmodule (#26777) - Remove fomantic
itemmodule (#26775) - Remove redundant nil check in
WalkGitLog(#26773) - Reduce some allocations in type conversion (#26772)
- Refactor some CSS styles and simplify code (#26771)
- Unify
border-radiusbehavior (#26770) - Improve modal dialog UI (#26764)
- Allow “latest” to be used in release vTag when downloading file (#26748)
- Adding hint
Archivedto archive label. (#26741) - Move
modules/mirrortoservices(#26737) - Add “dir=auto” for input/textarea elements by default (#26735)
- Simplify helper CSS classes and avoid abuse (#26728)
- Make web context initialize correctly for different cases (#26726)
- Focus editor on “Write” tab click (#26714)
- Remove incorrect CSS helper classes (#26712)
- Fix review bar misalignment (#26711)
- Add reverseproxy auth for API back with default disabled (#26703)
- Add default label in branch select list (#26697)
- Improve Image Diff UI (#26696)
- Fixed text overflow in dropdown menu (#26694)
- [Refactor] getIssueStatsChunk to move inner function into own one (#26671)
- Remove fomantic loader module (#26670)
- Add
member,collaborator,contributor, andfirst-time contributorroles and tooltips (#26658) - Improve some flex layouts (#26649)
- Use line-height: normal by default (#26635)
- Improve the branch selector tab UI (#26631)
- Improve show role (#26621)
- Remove avatarHTML from template helpers (#26598)
- Allow text selection in actions step header (#26588)
- Improve translation of milestone filters (#26569)
- Rewrite the DiffFileTreeItem and fix misalignment (#26565)
- Add optimistic lock to ActionRun table (#26563)
- Update team invitation email link (#26550)
- Differentiate better between user settings and admin settings (#26538)
- Check disabled workflow when rerun jobs (#26535)
- Improve deadline icon location in milestone list page (#26532)
- Improve repo sub menu (#26531)
- Fix the display of org level badges (#26504)
- Rename
Sync2->Sync(#26479) - Fix stderr usages (#26477)
- Remove fomantic transition module (#26469)
- Refactor tests (#26464)
- Refactor project templates (#26448)
- Fall back to esbuild for css minify (#26445)
- Use correct pull request commit link instead of a generic commit link (#26434)
- Refactor “editorconfig” (#26391)
- Remove unnecessary template helper repoAvatar (#26387)
- Remove unnecessary template helper DisableGravatar (#26386)
- Use template context function for avatar rendering (#26385)
- Rename code_langauge.go to code_language.go (#26377)
- Use more
IssueListinstead of[]*Issue(#26369) - Improve CLI and messages (#26341)
- Refactor backend SVG package and add tests (#26335)
- Add link to job details and tooltip to commit status in repo list in dashboard (#26326)
- Remove commit load branches and tags in wiki repo (#26304)
- Add highlight to selected repos in milestone dashboard (#26300)
- Delete
issue_service.CreateComment(#26298) - Do not show Profile README when repository is private (#26295)
- Tweak actions menu (#26278)
- Start using template context function (#26254)
- Use calendar icon for
Joined on...in profiles (#26215) - Add ‘Show on a map’ button to Location in profile, fix layout (#26214)
- Render plaintext task list items for markdown files (#26186)
- Add tooltip to describe LFS table column and color
delete LFS filebutton red (#26181) - Release attachments duplicated check (#26176)
- De-emphasize issue sidebar buttons (#26171)
- Fixing the align of commit stats in commit_page template. (#26161)
- Allow editing push mirrors after creation (#26151)
- Move web JSON functions to web context and simplify code (#26132)
- Refactor improve NoBetterThan (#26126)
- Remove
db.DefaultContextinrouters/andcmd/(#26076) - Improve “gitea doctor” sub-command and fix “help” commands (#26072)
- Add context parameter to some database functions (#26055)
- Docusaurus-ify (#26051)
- Improve text for empty issue/pr description (#26047)
- Fix the truncate and alignment problem for some admin tables (#26042)
- Categorize admin settings sidebar panel (#26030)
- Remove redundant “RouteMethods” method (#26024)
- Refactor and enhance issue indexer to support both searching, filtering and paging (#26012)
- Add a link to OpenID Issuer URL in WebFinger response (#26000)
- Replace gogs/cron with go-co-op/gocron (#25977)
- Fix UI for release tag page / wiki page / subscription page (#25948)
- Support copy protected branch from template repository (#25889)
- Fix margin on the new/edit project page. (#25885)
- Show image size on view page (#25884)
- Allow the use of alternative net.Listener implementations by downstreams (#25855)
- Refactor “Content” for file uploading (#25851)
- Show edit title button on commits tab of PR, too (#25791)
- Introduce
flex-list&flex-itemelements for Gitea UI (#25790) - Don’t stack PR tab menu on small screens (#25789)
- Repository Archived text title center align (#25767)
- Make route middleware/handler mockable (#25766)
- Restructure issue list template, styles (#25750)
- Move issue filters to shared template (#25729)
- Add open/closed field support for issue index (#25708)
- Some less naked returns (#25682)
- Fix inconsistent user profile layout across tabs (#25625)
- Update emoji set to Unicode 15 (#25595)
- Move some files under repo/setting (#25585)
- Add custom ansi colors and CSS variables for them (#25546)
- Add log line anchor for action logs (#25532)
- Use flex instead of float for sort button and search input (#25519)
- Fix migrate page layout on mobile (#25507)
- Update octicons and use
octicon-file-directory-symlink(#25453) - Add toasts to UI (#25449)
- Fine tune project board label colors and modal content background (#25419)
- Import additional secrets via file uri (#25408)
- Switch to ansi_up for ansi rendering in actions (#25401)
- Store and use seconds for timeline time comments (#25392)
- Support displaying diff stats in PR tab bar (#25387)
- Use fetch form action for lock/unlock/pin/unpin on sidebar (#25380)
- Refactor: TotalTimest return seconds (#25370)
- Navbar styling rework (#25343)
- Introduce shared template for search inputs (#25338)
- Fix tags line no margin see #25255 (#25280)
- Change form actions to fetch for submit review box (#25219)
- Improve AJAX link and modal confirm dialog (#25210)
- Disable
Create columnbutton while the column name is empty (#25192) - Refactor indexer (#25174)
- Adjust style for action run list (align icons, adjust padding) (#25170)
- Remove duplicated functions when deleting a branch (#25128)
- Make confusable character warning less jarring (#25069)
- Highlight viewed files differently in the PR filetree (#24956)
- Fix duplicate Reviewed-by trailers (#24796)
- Resolve issue with sort icons on admin/users and admin/runners (#24360)
- Split lfs size from repository size (#22900)
- Sync branches into databases (#22743)
- Disable run user change in installation page (#22499)
- Add merge files files to GetCommitFileStatus (#20515)
- Show OpenID Connect and OAuth on signup page (#20242)
- BUGFIXES
- Fix: treat tab “overview” as “repositories” in user profiles without readme (#27124)
- Fix NPE when editing OAuth2 applications (#27078)
- Fix the incorrect route path in the user edit page. (#27007)
- Allow users with write permissions for issues to add attachments with API (#26837)
- Make “link-action” backend code respond correct JSON content (#26680)
- Fix NPM packages name validation (#26595)
- Return empty when searching issues with no repos (#26545)
- Explain SearchOptions and fix ToSearchOptions (#26542)
- Add missing triggers to update issue indexer (#26539)
- Handle base64 decoding correctly to avoid panic (#26483)
- Avoiding accessing undefined mentionValues (#26461)
- Fix incorrect redirection in new issue using references (#26440)
- Fix the bug when getting files changed for
pull_request_targetevent (#26320) - Remove IsWarning in tmpl (#26120)
- Fix loading
LFS_JWT_SECRETfrom wrong section (#26109) - Fixing redirection issue for logged-in users (#26105)
- Update minimum password length requirements (#25946)
- Do not “guess” the file encoding/BOM when using API to upload files (#25828)
- Fix issues indexer document mapping (#25619)
- Use JSON response for “user/logout” (#25522)
- Link to existing PR when trying to open a new PR on the same branches (#25494)
- Do not publish docker release images on
-devtags (#25471) - Support
pull_request_targetevent (#25229)
- TESTING
- Add tests for db indexer in indexer_test.go (#27087)
- Speed up TestEventSourceManagerRun (#26262)
- Add unit test for user renaming (#26261)
- Improve unit test for caching (#26185)
- TRANSLATION
- Add locale for deleted head branch (#26296)
- Improve multiple strings in en-US locale (#26213)
- Fix broken translations for package documantion (#25742)
- Correct translation wrong format (#25643)
- BUILD
- Use Go 1.21 and update dependencies (#26878)
- Bump go to 1.21 (#26608)
- Bump xgo to go-1.21.x and node to 20 in release-version (#26589)
- Add template linting via djlint (#25212)
- DOCS
- Remove outdated paragraphs when comparing Gitea Actions to GitHub Actions (#27119)
- Update brew installation documentation since gitea moved to brew core package (#27070)
- Actions are no longer experimental, so enable them by default (#27054)
- Add v1.20.4 changelog (#26974)
- Add a documentation note for Windows Service (#26938)
- Add sparse url in cargo package guide (#26937)
- Update nginx recommendations (#26924)
- Update backup instructions to align with archive structure (#26902)
- Update info regarding internet connection for build (#26776)
- Docs: template variables (#26547)
- Update index doc (#26455)
- Update zh-cn documentation (#26406)
- Fix typos and grammer problems for actions documentation (#26328)
- Update documentation for 1.21 actions (#26317)
- Doc update swagger doc for POST /orgs/{org}/teams (#26155)
- Doc sync authentication.md to zh-cn (#26117)
- Doc guide the user to create the appropriate level runner (#26091)
- Make organization redirect warning more clear (#26077)
- Update blog links (#25843)
- Fix default value for LocalURL (#25426)
- Update
from-source.zh-cn.md&from-source.en-us.md- Cross Compile Using Zig (#25194)
- MISC
- Upgrading the actions/checkout@4 (#27096)
- Drop Node.js 16 and update js dependencies (#27094)
- Apply lng2020 to maintainers (#27068)
- Update snap package (#27021)
- Fix: typo (#27009)
- Improve hint when uploading a too large avatar (#26935)
- Add @chenrui333 as maintainer (#26917)
- Improve DeleteByID (#26904)
- Expanding documentation in queue.go (#26889)
- Relocate the
RSS user feedbutton (#26882) - Replace deprecated
elliptic.Marshal(#26800) - Updating the js libraries to latest version. (#26795)
- Use Go 1.21 for golangci-lint (#26786)
- Add auth-required to config.json for Cargo http registry (#26729)
- Update JS dependencies (#26586)
- Always show usernames in reaction tooltips (#26444)
- Make
user-content-*consistent with github (#26388) - Do not highlight
#numberin documents (#26365) - Fix display problems of members and teams unit (#26363)
- Fix 404 error when remove self from an organization (#26362)
- Use yellow if an approved review is stale (#26312)
- Remove nonsense
<a>for commit status check icon (#26287) - Add some Wiki unit tests (#26260)
- Fix typo in metadata (#26207)
- Improve clickable area in repo action view page (#26115)
- Fix minor capitalization error in string (#26100)
- Remove nfnt/resize and oliamb/cutter (#25999)
- Bump github.com/golang-jwt/jwt to v5 (#25975)
- Fix “Flash” message usage (#25895)
- Improve display of Labels/Projects/Assignees sort options (#25886)
- Remove ref name in PR commits page (#25876)
- Add error info if no user can fork the repo (#25820)
- Upgrade go dependencies (#25819)
- Fix
reffor workflows triggered bypull_request_target(#25743) - Use frontend fetch for branch dropdown component (#25719)
- Add unit test for
HashAvatar(#25662) - Add elapsed time on debug for slow git commands (#25642)
- Get latest commit statuses from database instead of git data on dashboard for repositories (#25605)
- Adding branch-name copy to clipboard branches screen. (#25596)
- Only show ‘Manage Account Links’ when necessary (#25311)
- Improve ‘Privacy’ section in profile settings (#25309)
- Substitute variables in path names of template repos too (#25294)
- Use fetch to send requests to create issues/comments (#25258)
- Reduce unnecessary DB queries for Actions tasks (#25199)
- Modify the content format of the Feishu webhook (#25106)
- Actions Artifacts support uploading multiple files and directories (#24874)
- Support changing labels of Actions runner without re-registration (#24806)