浏览代码

Add CHANGELOG and adopt new release workflow

In development, the version now has +dev suffix indicates it is not a binary release.
ᴜɴᴋɴᴡᴏɴ 5 年之前
父节点
当前提交
78c679edc7
共有 6 个文件被更改,包括 42 次插入9 次删除
  1. 33 0
      CHANGELOG.md
  2. 1 1
      README.md
  3. 1 1
      gogs.go
  4. 1 1
      internal/assets/templates/templates_gen.go
  5. 5 5
      internal/setting/setting.go
  6. 1 1
      templates/base/footer.tmpl

+ 33 - 0
CHANGELOG.md

@@ -0,0 +1,33 @@
+# Changelog
+
+All notable changes to Gogs are documented in this file.
+
+## 0.12.0+dev (`master`)
+
+### Added
+
+- Allow admin to remove observers from the repository. [#5803](https://github.com/gogs/gogs/pull/5803)
+- Use `Last-Modified` HTTP header for raw files. [#5811](https://github.com/gogs/gogs/issues/5811)
+- Support syntax highlighting for SAS code files (i.e. `.r`, `.sas`, `.tex`, `.yaml`). [#5856](https://github.com/gogs/gogs/pull/5856)
+- Able to fill in pull request title with a template. [#5901](https://github.com/gogs/gogs/pull/5901)
+- Able to override static files under `public/` directory, please refer to [documentation](https://gogs.io/docs/features/custom_template) for usage. [#5920](https://github.com/gogs/gogs/pull/5920)
+
+### Changed
+
+- All assets are now embedded into binary and served from memory by default. Set `[server] LOAD_ASSETS_FROM_DISK = true` to load them from disk. [#5920](https://github.com/gogs/gogs/pull/5920)
+
+### Fixed
+
+- [Security] Potential RCE on mirror repositories. [#5767](https://github.com/gogs/gogs/issues/5767)
+- [Security] Potential XSS attack with raw markdown API. [#5907](https://github.com/gogs/gogs/pull/5907)
+- Open/close milestone redirects to a 404 page. [#5677](https://github.com/gogs/gogs/issues/5677)
+- Disallow multiple tokens with same name. [#5587](https://github.com/gogs/gogs/issues/5587) [#5820](https://github.com/gogs/gogs/pull/5820)
+- Enable Federated Avatar Lookup could cause server to crash. [#5848](https://github.com/gogs/gogs/issues/5848)
+- Private repositories are hidden in the organization's view. [#5869](https://github.com/gogs/gogs/issues/5869)
+- Server error when changing email address in user settings page. [#5899](https://github.com/gogs/gogs/issues/5899)
+
+### Removed
+
+---
+
+**Older change logs can be found on [GitHub](https://github.com/gogs/gogs/releases?after=v0.12.0).**

+ 1 - 1
README.md

@@ -33,7 +33,7 @@ To minimize the time and effort scientists have to spend on these tasks, we deve
 By indexing the repository contents it's easy to find the files you are looking for. When using the [NIX](http://www.g-node.org/nix) data format for scientific data and metadata, even the contents of these files will be indexed and searchable, making it easy for you to identify the data you are looking for.
 
 ## Acknowledgments
-GIN is based on [Gogs](https://github.com/gogits/gogs)
+GIN is based on [Gogs](https://github.com/gogs/gogs)
 
 ## License
 

+ 1 - 1
gogs.go

@@ -17,7 +17,7 @@ import (
 	"github.com/G-Node/gogs/internal/setting"
 )
 
-const Version = "0.11.97.1209"
+const Version = "0.12.0+dev"
 
 func init() {
 	setting.AppVer = Version

文件差异内容过多而无法显示
+ 1 - 1
internal/assets/templates/templates_gen.go


+ 5 - 5
internal/setting/setting.go

@@ -942,18 +942,18 @@ func newMailService() {
 	if HookMode {
 		return
 	}
-	log.Info("Mail Service Enabled")
+	log.Info("Mail service is enabled")
 }
 
 func newRegisterMailService() {
 	if !Cfg.Section("service").Key("REGISTER_EMAIL_CONFIRM").MustBool() {
 		return
 	} else if MailService == nil {
-		log.Warn("Register Mail Service: Mail Service is not enabled")
+		log.Warn("Email confirmation is not enabled due to the mail service is not available")
 		return
 	}
 	Service.RegisterEmailConfirm = true
-	log.Info("Register Mail Service Enabled")
+	log.Info("Email confirmation is enabled")
 }
 
 // newNotifyMailService initializes notification email service options from configuration.
@@ -962,7 +962,7 @@ func newNotifyMailService() {
 	if !Cfg.Section("service").Key("ENABLE_NOTIFY_MAIL").MustBool() {
 		return
 	} else if MailService == nil {
-		log.Warn("Notify Mail Service: Mail Service is not enabled")
+		log.Warn("Email notification is not enabled due to the mail service is not available")
 		return
 	}
 	Service.EnableNotifyMail = true
@@ -970,7 +970,7 @@ func newNotifyMailService() {
 	if HookMode {
 		return
 	}
-	log.Info("Notify Mail Service Enabled")
+	log.Info("Email notification is enabled")
 }
 
 func NewService() {

+ 1 - 1
templates/base/footer.tmpl

@@ -25,7 +25,7 @@
 				</div>
 			</div>
 			<div class="ui center links item brand footertext">
-				<span>Powered by:      <a href="https://github.com/gogits/gogs"><img class="ui mini footericon" src="{{AppSubURL}}/img/gogs.svg"/></a>         </span>
+				<span>Powered by:      <a href="https://github.com/gogs/gogs"><img class="ui mini footericon" src="{{AppSubURL}}/img/gogs.svg"/></a>         </span>
 				<span>Hosted by:       <a href="http://neuro.bio.lmu.de"><img class="ui mini footericon" src="{{AppSubURL}}/img/lmu.png"/></a>          </span>
 				<span>Funded by:       <a href="http://www.bmbf.de"><img class="ui mini footericon" src="{{AppSubURL}}/img/bmbf.png"/></a>         </span>
 				<span>Registered with: <a href="http://doi.org/10.17616/R3SX9N"><img class="ui mini footericon" src="{{AppSubURL}}/img/re3.png"/></a>          </span>

部分文件因为文件数量过多而无法显示