aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-18 12:31:08 +0800
committerᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-18 12:31:08 +0800
commit317bca10089fff3a1684bd5583c5d5ff2e977b2f (patch)
treec55d075b127df252a53702180dcc42d0fafc85f0
parent4d83fd4238e177d9327c760a5386bc53f25dedbb (diff)
Add CHANGELOG and adopt new release workflow
In development, the version now has +dev suffix indicates it is not a binary release.
-rw-r--r--CHANGELOG.md33
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--internal/assets/templates/templates_gen.go10
-rw-r--r--internal/setting/setting.go10
-rw-r--r--templates/base/footer.tmpl2
6 files changed, 45 insertions, 14 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..928efbc5
--- /dev/null
+++ b/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).**
diff --git a/README.md b/README.md
index 177aa2e8..b4a6d5c4 100644
--- a/README.md
+++ b/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)|
diff --git a/gogs.go b/gogs.go
index 69b1b6ae..59535258 100644
--- a/gogs.go
+++ b/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
diff --git a/internal/assets/templates/templates_gen.go b/internal/assets/templates/templates_gen.go
index b98b1047..ea275b82 100644
--- a/internal/assets/templates/templates_gen.go
+++ b/internal/assets/templates/templates_gen.go
@@ -17,7 +17,7 @@
// ../../../templates/admin/user/new.tmpl (2.811kB)
// ../../../templates/base/alert.tmpl (457B)
// ../../../templates/base/delete_modal_actions.tmpl (261B)
-// ../../../templates/base/footer.tmpl (2.951kB)
+// ../../../templates/base/footer.tmpl (2.949kB)
// ../../../templates/base/head.tmpl (9.23kB)
// ../../../templates/explore/navbar.tmpl (710B)
// ../../../templates/explore/organizations.tmpl (1.054kB)
@@ -557,7 +557,7 @@ func baseDelete_modal_actionsTmpl() (*asset, error) {
return a, nil
}
-var _baseFooterTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x56\xed\x6e\xdb\x36\x14\xfd\x6d\x3f\x05\xa7\xf5\x47\x5b\x40\x54\x92\x25\x40\x97\xc9\x1a\x32\x14\x4b\x56\x64\x5f\x8d\xd7\x61\xbf\x86\x6b\xe9\x5a\xba\x0e\x45\x2a\x24\x15\xcf\x15\xf4\x40\x7b\x8d\x3d\xd9\x20\xea\xc3\x76\xe2\xb9\x4e\xb3\x3f\x71\xa4\x7b\x79\x78\xce\xf1\xe5\xa1\xab\x2a\x78\x3d\x0e\x33\x9b\x8b\x68\x1c\xce\x54\xb2\x8a\xc6\xa3\x30\xa1\xfb\x68\xfc\x3a\xa8\xeb\xf1\x28\x0c\xdc\xc3\x28\x9c\x2b\x65\x51\x47\xe3\x91\x2b\xb3\x58\x80\x31\x13\xaf\x24\x16\x2b\x69\x81\x24\x6a\xaf\x29\x3e\xac\x0a\x9c\xdb\xb6\x30\xfa\xe7\x6f\x56\x55\x7f\x20\xe8\xba\x66\x97\x2a\x35\xac\xaa\x68\xce\x5e\x2a\xcd\xf8\x4d\xa6\x96\xdf\xbb\x0d\x3e\xa0\x36\xa4\x24\xe3\xbf\x40\x8a\x3f\x98\x8b\x24\x27\xf9\xaa\xae\xab\x8a\xd3\xf1\x1b\xc9\xa7\x9a\x79\xf7\x6d\x8b\x57\xd7\xe7\xac\xaa\x2e\x8a\xe2\x03\xea\xa6\x03\x65\x52\xd7\x2d\xe8\x1a\x6f\x8a\x79\x21\xc0\xe2\xb5\x82\x64\x4a\x39\x6e\x43\x15\x90\xa2\xc3\x09\x8d\xd5\x4a\xa6\x51\x55\xf5\x8d\xa6\xa5\x70\x63\x41\xdb\x76\x61\x18\x74\x4d\x6c\x13\xc2\x76\x1b\x3c\x80\x89\x41\x08\xc6\xa7\x79\x21\x06\xc0\x0d\x84\x8e\xac\xf3\xab\x33\xf8\x91\x73\x9a\xd2\xcc\x32\x41\xf2\xd6\x74\x06\x3a\x69\x1b\x5e\x7d\xa7\x41\x26\x24\xd3\x16\x68\x34\x0a\x81\x59\xd0\x29\xda\x89\xf7\xe7\x4c\x80\xbc\xf5\x98\x46\x31\xf1\xa4\x52\x05\x4a\xd4\x4c\x2a\x8d\x73\xd4\x1a\xb5\xc7\x32\x8d\xf3\x89\x97\x59\x5b\x98\xf3\x20\x48\xc9\x66\xe5\x8c\xc7\x2a\x0f\x52\x95\x92\x35\xcd\x87\xf1\xa2\x90\x7a\x46\x73\x60\x73\xf0\xdb\x3e\xdf\xdc\x95\xa0\xd1\x8b\xc2\x80\xa2\xd0\x14\x20\xfb\x2e\xa3\x7d\x25\xc5\xca\x8b\x2e\xc9\x5e\x95\xb3\x30\x68\x8a\x51\x18\x40\xf4\x6c\x8a\x76\x49\xd6\xa2\x76\x1c\x9b\xf1\xb9\xfa\xf5\x31\xbd\xae\x67\x1f\xb1\x69\xdb\xf2\x7f\x31\x3b\x0f\x82\x25\xd2\x4c\xf5\xd6\x99\x38\x23\x09\x8f\x99\xb9\xa6\x7d\xbc\x6e\x48\x02\xfb\xbd\xe9\x7a\x48\x6d\x63\x58\x1e\x9d\x2e\x90\x69\x09\x29\xb2\x99\xb2\x56\xe5\x6c\x2e\x14\x58\x92\x29\x33\x82\x12\x64\x65\xc1\x12\xad\x8a\x44\x2d\xa5\x1b\x24\x46\x16\x73\xaf\x17\x3c\x30\x5c\x2a\x2d\x12\x46\xb1\x92\x2d\xc1\xae\xbe\xb1\x95\xc5\xbf\xac\x17\x55\x15\xbf\x06\x99\xfe\x04\xed\x69\xe8\xe7\x76\xbb\x35\x47\x59\xf6\x5b\x8c\xaa\x4a\x83\x4c\x91\xf1\x0b\x21\x9a\xa5\xa6\x1f\x55\xe7\x77\xb7\xa2\x21\xd5\x1e\x5b\xbc\x63\x2f\xdc\x16\xcc\xfd\xad\x6b\x88\x2d\xdd\x23\x33\x28\x30\xb6\x98\x74\x4e\xf4\xfe\xef\x5e\xf3\x65\x55\xa1\x30\xee\xa0\xbf\xe0\xd7\x24\x6f\xeb\xfa\xdb\xc6\xa7\x49\x47\x7f\x88\x0a\x27\xa8\x17\x03\x6b\xca\x6b\xb7\x37\x0e\xe7\xd6\xbf\xd0\x11\x08\xc0\x18\xb4\x26\x10\x34\xd3\xb8\x18\x3e\x79\x13\xa7\x1e\x33\x76\x25\x70\xe2\x25\x64\x0a\x01\xab\x73\xa9\x24\x7a\x2c\x01\x0b\xfe\xc2\x08\x8a\x51\x1a\x9c\x78\xc7\x5e\xf4\x0e\xee\xc1\xc4\x9a\x0a\xcb\xae\xdb\xd7\x66\xe0\xf3\x9c\x23\xad\x52\xc3\x49\x39\x95\x43\x5a\x2d\x71\x66\xc8\x85\xd5\xc6\x78\x1d\x9c\xc2\x5b\x93\xdb\xc7\x70\x54\x55\x97\xca\x45\x70\x37\xb8\xbb\xc2\x6d\xb8\x46\x82\xfe\x1e\x09\x83\xf6\xb6\x19\x87\x5f\xf8\x3e\x9b\x66\xa4\x13\xbf\x00\x6d\x57\xac\x71\x11\x34\xa1\x61\xbe\x1f\x8d\xdb\xd0\x7b\x8f\x77\x25\x69\xbc\xa2\x34\x13\x4d\x2e\xbe\xbb\x71\x97\x93\x1b\x6a\x67\x88\x33\xdb\x64\x88\x76\x3d\x1d\x17\x45\x71\x53\xce\x7e\x7b\x7f\x5d\xd7\x41\x21\xca\x94\xa4\x09\xb2\x1e\xc1\xff\x9a\x1f\xbf\xe1\x47\x43\xf2\x19\x97\xb2\x61\xf7\x45\x18\x1d\x1f\x8c\x30\xbc\xe0\x05\xc4\xb7\x7c\xd1\xc4\x66\xd0\xe2\xac\x11\xa3\x4c\x2c\x0c\x27\x49\x76\xd0\x40\x32\xfd\x59\x36\xb7\xc3\xcb\x57\xdf\xac\x17\xf4\xee\x6d\xe9\xfe\x91\x24\xc5\x4a\x28\x6d\x3e\x53\xf6\xe2\xae\x44\xbd\xe2\xf9\x80\xe3\x9f\xf0\x13\xfe\xd5\xe3\xf7\x4f\x30\xe2\x70\xcc\x9c\xe4\x03\x5b\x76\xaa\x7c\x0b\x16\x2d\xe5\x58\x50\x7c\xdb\xcc\xd3\x73\x94\x26\x5b\x58\xfe\x09\x3f\xe5\x67\xbb\x6b\x4f\x57\xfc\x04\xec\x43\x54\x6b\x55\x7c\x54\x12\x3f\x53\x6f\xd2\x2d\xf7\xcf\xf8\x19\x3f\x1a\x1e\x9d\xe7\x87\x2b\xdb\x87\xf2\x1f\x03\xdd\xf3\xe6\x50\x5a\xf5\x96\x4c\xac\xee\x51\xb3\x09\x9b\x83\x30\xf8\x09\xcd\x17\xa5\x55\x86\x3e\xb6\x9a\x3f\xcd\x0e\xba\x76\xff\x94\x1f\xf1\x93\xe1\x71\xcf\x5c\xed\x01\x6d\x73\xda\x04\x98\xab\x05\xcd\x57\xfe\x31\x3f\xe6\x47\x3b\xa0\x0e\x80\x88\x05\x15\x33\x05\x3a\xf1\x4f\xf8\x11\x3f\xdd\x01\x32\xae\xaa\xfe\x07\x22\xf3\x48\x2e\x30\xb6\x5d\x02\x7a\x8c\x37\x3c\x83\xf6\xa7\xf7\xbf\x01\x00\x00\xff\xff\xab\x05\x01\x4c\x87\x0b\x00\x00"
+var _baseFooterTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x56\xed\x6e\xdb\x36\x14\xfd\x6d\x3f\x05\xa7\xf5\x47\x5b\x40\x54\x92\x25\x40\x97\xc9\x1a\x32\x14\x4b\x56\x64\x5f\x8d\xd7\x61\xbf\x86\x6b\xe9\x5a\xba\x0e\x45\x2a\x24\x15\xcf\x15\xf4\x40\x7b\x8d\x3d\xd9\x20\xea\xc3\x76\xe2\xb9\x4e\xb3\x3f\x4e\xa4\x7b\x79\x78\xce\xf1\xe5\xa1\xab\x2a\x78\x3d\x0e\x33\x9b\x8b\x68\x1c\xce\x54\xb2\x8a\xc6\xa3\x30\xa1\xfb\x68\xfc\x3a\xa8\xeb\xf1\x28\x0c\xdc\xc3\x28\x9c\x2b\x65\x51\x47\xe3\x91\x2b\xb3\x58\x80\x31\x13\xaf\x24\x16\x2b\x69\x81\x24\x6a\xaf\x29\x3e\xac\x0a\x9c\xdb\xb6\x30\xfa\xe7\x6f\x56\x55\x7f\x20\xe8\xba\x66\x97\x2a\x35\xac\xaa\x68\xce\x5e\x2a\xcd\xf8\x4d\xa6\x96\xdf\xbb\x0d\x3e\xa0\x36\xa4\x24\xe3\xbf\x40\x8a\x3f\x98\x8b\x24\x27\xf9\xaa\xae\xab\x8a\xd3\xf1\x1b\xc9\xa7\x9a\x79\xf7\x6d\x8b\x57\xd7\xe7\xac\xaa\x2e\x8a\xe2\x03\xea\xa6\x03\x65\x52\xd7\x2d\xe8\x1a\x6f\x8a\x79\x21\xc0\xe2\xb5\x82\x64\x4a\x39\x6e\x43\x15\x90\xa2\xc3\x09\x8d\xd5\x4a\xa6\x51\x55\xf5\x8d\xa6\xa5\x70\x63\x41\xdb\x76\x61\x18\x74\x4d\x6c\x13\xc2\x76\x1b\x3c\x80\x89\x41\x08\xc6\xa7\x79\x21\x06\xc0\x0d\x84\x8e\xac\xf3\xab\x33\xf8\x91\x73\x9a\xd2\xcc\x32\x41\xf2\xd6\x74\x06\x3a\x69\x1b\x5e\x7d\xa7\x41\x26\x24\xd3\x16\x68\x34\x0a\x81\x59\xd0\x29\xda\x89\xf7\xe7\x4c\x80\xbc\xf5\x98\x46\x31\xf1\xa4\x52\x05\x4a\xd4\x4c\x2a\x8d\x73\xd4\x1a\xb5\xc7\x32\x8d\xf3\x89\x97\x59\x5b\x98\xf3\x20\x48\xc9\x66\xe5\x8c\xc7\x2a\x0f\x52\x95\x1a\xf7\xe1\x45\x21\xf5\x7c\xe6\xc0\xe6\xe0\xb7\x5d\xbe\xb9\x2b\x41\xa3\x17\x85\x01\x45\xa1\x29\x40\xf6\x5d\x46\xfb\x4a\x8a\x95\x17\x5d\x92\xbd\x2a\x67\x61\xd0\x14\xa3\x30\x80\xe8\xd9\x04\xed\x92\xac\x45\xed\x18\x36\xc3\x73\xf5\xeb\x63\x7a\x5d\xcf\x3e\x62\xd3\xb6\xe5\xff\x62\x76\x1e\x04\x4b\xa4\x99\x1a\x8c\x8b\x33\x92\xf0\x98\x99\x6b\xda\xc7\xeb\x86\x24\xb0\xdf\x9b\xae\x87\xd4\x36\x46\xe5\xd1\xd9\x02\x99\x96\x90\x22\x9b\x29\x6b\x55\xce\xe6\x42\x81\x25\x99\x32\x23\x28\x41\x56\x16\x2c\xd1\xaa\x48\xd4\x52\xba\x31\x62\x64\x31\xf7\x7a\xc1\x03\xc3\xa5\xd2\x22\x61\x14\x2b\xd9\x12\xec\xea\x1b\x5b\x59\xfc\xcb\x7a\x51\x55\xf1\x6b\x90\xe9\x4f\xd0\x9e\x85\x7e\x6a\xb7\x5b\x73\x94\x65\xbf\xc5\xa8\xaa\x34\xc8\x14\x19\xbf\x10\xa2\x59\x6a\xfa\x41\x75\x7e\x77\x2b\x1a\x52\xed\xa1\xc5\x3b\xf6\xc2\x6d\xc1\xdc\x67\x5d\x43\x6c\xe9\x1e\x99\x41\x81\xb1\xc5\xa4\x73\xa2\xf7\x7f\xf7\x9a\x2f\xab\x0a\x85\x71\xc7\xfc\x05\xbf\x26\x79\x5b\xd7\xdf\x36\x3e\x4d\x3a\xfa\x43\x50\x38\x41\xbd\x18\x58\x53\x5e\xbb\xbd\x71\x34\xb7\xfe\x85\x8e\x40\x00\xc6\xa0\x35\x81\xa0\x99\xc6\xc5\xf0\x97\x37\x61\xea\x31\x63\x57\x02\x27\x5e\x42\xa6\x10\xb0\x3a\x97\x4a\xa2\xc7\x12\xb0\xe0\x2f\x8c\xa0\x18\xa5\xc1\x89\x77\xec\x45\xef\xe0\x1e\x4c\xac\xa9\xb0\xec\xba\x7d\x6d\x06\x3e\xcf\x39\xd0\x2a\x35\x9c\x94\x53\x39\x64\xd5\x12\x67\x86\x5c\x54\x6d\x8c\xd7\xc1\x19\xbc\x35\xb9\x7d\x08\x47\x55\x75\xa9\x5c\x00\x77\x83\xbb\x2b\xda\x86\x4b\x24\xe8\x6f\x91\x30\x68\xef\x9a\x71\xf8\x85\xef\xb3\x69\x46\x3a\xf1\x0b\xd0\x76\xc5\x1a\x17\x41\x13\x1a\xe6\xfb\xd1\xb8\x8d\xbc\xf7\x78\x57\x92\xc6\x2b\x4a\x33\xd1\xa4\xe2\xbb\x1b\x77\x35\xb9\xa1\x76\x86\x38\xb3\x4d\x86\x68\xd7\xd3\x71\x51\x14\x37\xe5\xec\xb7\xf7\xd7\x75\x1d\x14\xa2\x4c\x49\x9a\x20\xeb\x11\xfc\xaf\xf9\xf1\x1b\x7e\x34\xe4\x9e\x71\x19\x1b\x76\x5f\x84\xd1\xf1\xc1\x08\xc3\x0b\x5e\x40\x7c\xcb\x17\x4d\x6c\x06\x2d\xce\x1a\x31\xca\xc4\xc2\x70\x92\x64\x07\x0d\x24\xd3\x9f\x65\x73\x37\xbc\x7c\xf5\xcd\x7a\x41\xef\xde\x96\xee\x1f\x49\x52\xac\x84\xd2\xe6\x33\x65\x2f\xee\x4a\xd4\x2b\x9e\x0f\x38\xfe\x09\x3f\xe1\x5f\x3d\x7e\xff\x04\x23\x0e\xc7\xcc\x49\x3e\xb0\x65\xa7\xca\xb7\x60\xd1\x52\x8e\x05\xc5\xb7\xcd\x3c\x3d\x47\x69\xb2\x85\xe5\x9f\xf0\x53\x7e\xb6\xbb\xf6\x74\xc5\x4f\xc0\x3e\x44\xb5\x56\xc5\x47\x25\xf1\x33\xf5\x26\xdd\x72\xff\x8c\x9f\xf1\xa3\xe1\xd1\x79\x7e\xb8\xb2\x7d\x28\xff\x31\xd0\x3d\x6f\x0e\xa5\x55\x6f\xc9\xc4\xea\x1e\x35\x9b\xb0\x39\x08\x83\x9f\xd0\x7c\x51\x5a\x65\xe8\x63\xab\xf9\xd3\xec\xa0\x6b\xf7\x4f\xf9\x11\x3f\x19\x1e\xf7\xcc\xd5\x1e\xd0\x36\xa7\x4d\x80\xb9\x5a\xd0\x7c\xe5\x1f\xf3\x63\x7e\xb4\x03\xea\x00\x88\x58\x50\x31\x53\xa0\x13\xff\x84\x1f\xf1\xd3\x1d\x20\xe3\xaa\xea\x7f\x1e\x32\x8f\xe4\x02\x63\xdb\x25\xa0\xc7\x78\xc3\x33\x68\x7f\x78\xff\x1b\x00\x00\xff\xff\xcd\x5c\xe1\x6b\x85\x0b\x00\x00"
func baseFooterTmplBytes() ([]byte, error) {
return bindataRead(
@@ -572,8 +572,8 @@ func baseFooterTmpl() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "base/footer.tmpl", size: 2951, mode: os.FileMode(0644), modTime: time.Unix(1581935537, 0)}
- a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x7, 0xcc, 0xda, 0xcf, 0x97, 0x3c, 0xfb, 0x3a, 0xb3, 0xf2, 0xe9, 0xfa, 0xf4, 0x2d, 0xd4, 0x53, 0x86, 0x56, 0x8a, 0x3a, 0x61, 0x70, 0xff, 0x97, 0x3d, 0xde, 0xc, 0x44, 0x22, 0x18, 0xfa}}
+ info := bindataFileInfo{name: "base/footer.tmpl", size: 2949, mode: os.FileMode(0644), modTime: time.Unix(1581999846, 0)}
+ a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb1, 0xe2, 0x9, 0xa2, 0x83, 0xce, 0x0, 0xe2, 0xe0, 0xe4, 0x86, 0x8b, 0x98, 0xc8, 0x91, 0x50, 0x58, 0x11, 0xcc, 0x77, 0xfb, 0x56, 0xd6, 0x85, 0x34, 0xe0, 0x50, 0x1b, 0x1b, 0xb4, 0xf6, 0xd1}}
return a, nil
}
@@ -592,7 +592,7 @@ func baseHeadTmpl() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "base/head.tmpl", size: 9230, mode: os.FileMode(0644), modTime: time.Unix(1581935537, 0)}
+ info := bindataFileInfo{name: "base/head.tmpl", size: 9230, mode: os.FileMode(0644), modTime: time.Unix(1581999833, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x35, 0x35, 0x61, 0x35, 0x6, 0xd4, 0x6d, 0xaa, 0x93, 0xa6, 0x20, 0x59, 0x2c, 0x79, 0x73, 0x8c, 0xef, 0xb4, 0xf, 0xfd, 0x7, 0x27, 0xe8, 0x64, 0xd1, 0x73, 0x38, 0x3c, 0xb0, 0xd7, 0x66}}
return a, nil
}
diff --git a/internal/setting/setting.go b/internal/setting/setting.go
index 1d4bd107..f03a1c9f 100644
--- a/internal/setting/setting.go
+++ b/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() {
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 8d3db2b5..2ede29a5 100644
--- a/templates/base/footer.tmpl
+++ b/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}}