Browse Source

Add CHANGELOG and adopt new release workflow

In development, the version now has +dev suffix indicates it is not a binary release.
ᴜɴᴋɴᴡᴏɴ 4 years ago
parent
commit
317bca1008
6 changed files with 41 additions and 10 deletions
  1. 33 0
      CHANGELOG.md
  2. 0 2
      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).**

+ 0 - 2
README.md

@@ -4,8 +4,6 @@
 
 ![](https://github.com/gogs/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
 
-##### Current tip version: [`.VERSION`](templates/.VERSION) (see [Releases](https://github.com/gogs/gogs/releases) for binary versions)
-
 | Web | UI  | Preview  |
 |:-------------:|:-------:|:-------:|
 |![Dashboard](https://gogs.io/img/screenshots/1.png)|![Repository](https://gogs.io/img/screenshots/2.png)|![Editor](https://gogs.io/img/screenshots/3.png)|

+ 1 - 1
gogs.go

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

File diff suppressed because it is too large
+ 1 - 1
internal/assets/templates/templates_gen.go


+ 5 - 5
internal/setting/setting.go

@@ -906,18 +906,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.
@@ -926,7 +926,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
@@ -934,7 +934,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

@@ -11,7 +11,7 @@
 			</div>
 			<div class="ui right links">
 				{{if .ShowFooterBranding}}
-					<a target="_blank" rel="noopener noreferrer" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
+					<a target="_blank" rel="noopener noreferrer" href="https://github.com/gogs/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
 					<a target="_blank" rel="noopener noreferrer" href="https://twitter.com/GogsHQ"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
 					<a target="_blank" rel="noopener noreferrer" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
 				{{end}}

Some files were not shown because too many files changed in this diff