Commit Graph

5409 Commits (92c5f94fe7fae17620ecb8895e287e9e66fb135c)

Author SHA1 Message Date
Unknwon db4bf20df3
README: add phonetic symbol
[SKIP CI]
2019-11-25 15:27:20 -08:00
Unknwon 59e9a87d95
README: add Syncloud to Product Support
[SKIP CI]
2019-11-18 20:12:12 -08:00
Unknwon bbc12378d4
mirror: use Git command to update origin remote address (#5767) (#5865)
Fixes a RCE reported by @ManassehZhou and @zeripath.
2019-11-16 21:26:06 -08:00
Unknwon 5bec61b824
go.mod: update github.com/go-macaron/binding@v1.0.1
Addresses gogs/go-gogs-client#111.
2019-11-12 22:54:09 -08:00
Johannes 7a0fbd0eb1 public: makes CodeMirror mode by filename lookups case-insensitive (#5857)
* updated the highlight.js plugin

* added some explicit mappings for syntax highlighting

* public: makes CodeMirror mode by filename extension lookup case-insensitive
2019-11-08 15:23:08 -08:00
Unknwon 53d30ccde9
templates: fix line wrap for very long commit message 2019-11-07 11:18:21 -08:00
johannes69ki 7d9f408d3a public: update highlights.js to 9.16.2 (#5856)
* updated the highlight.js plugin

* added some explicit mappings for syntax highlighting
2019-11-07 10:43:01 -08:00
Unknwon 260c4e8503
go.mod: update github.com/gogs/go-libravatar (#5851) 2019-11-05 23:12:06 -08:00
Kasei dbc66d0405 tls: update default CurvePreferences and CipherSuites (#5850)
* Enable X25519 curve and reorder curve list to improve key exchange performance
* Enable ECDSA ciphers for EC certs
* Enable CHACHA20_POLY1305 ciphers
* Disable RSA key exchange algorithm which don't provide PFS
* Disable non-AEAD ciphers

Signed-off-by: Kasei Wang <kasei@kasei.im>
2019-11-05 23:09:29 -08:00
Unknwon 9578a3cc31
templates: update version info 2019-11-05 22:25:47 -08:00
Unknwon 83b480761f
db/repo: print more error info 2019-11-05 11:01:11 -08:00
Guy Smoilov b40b85e006 repo: delete local copies on owner name change (#5843)
* Protect local repo copy deletion with repoWorkingPool, and delete the local
copy on owner name change.

* Update internal/db/user.go

Co-Authored-By: Unknwon <u@gogs.io>

* Error format on local repo and wiki deletion
2019-11-03 11:07:40 -08:00
Unknwon 97772f406d
README: remove unstable badge
[CI SKIP]
2019-11-02 20:27:03 -07:00
Unknwon 8c75b65475
README: use modern style of badges
[CI SKIP]
2019-11-02 20:26:09 -07:00
Unknwon 0f81490830
locale: sync from Crowdin 2019-11-02 12:44:15 -07:00
Unknwon 7da5d83d6e
locale: amend source locale
[CI SKIP]
2019-10-30 20:18:20 -07:00
Unknwon 1cfdd1283a
cmd/import: improve error message
- Print app.Run() error
2019-10-26 01:48:19 -07:00
Unknwon 762e1167c7
locale: sync from Crowdin 2019-10-26 01:47:27 -07:00
Unknwon 2d55c94c7b
pkgr: slow but fix builds on packager.io (#5840)
* Test

* Test

* My last try

* Avoid cleaning old Go version
2019-10-25 21:58:40 -07:00
Unknwon c9e712d07b
Makefile: set -trimpath on build
[ci skip]
2019-10-25 13:16:34 -07:00
Unknwon a887bed25b
appveyor: remove direct from GOPROXY 2019-10-24 22:53:40 -07:00
Unknwon 3fc783617a
appveyor: print Go version 2019-10-24 22:52:16 -07:00
Unknwon 34d9a17aad
appveyor: use stack: go 1.13.3 2019-10-24 22:51:08 -07:00
Unknwon 40ee8de171
appveyor: add GOPROXY env 2019-10-24 22:47:10 -07:00
Unknwon feb7d57333
pkgr: use lower version of buildpack 2019-10-24 22:27:39 -07:00
Unknwon 390b903c55
web: fix panic when download attachments (#5838) 2019-10-24 19:58:30 -07:00
Unknwon 1ba27853bd
Remove use of develop branch 2019-10-24 18:37:00 -07:00
Unknwon de61bb6a35
packager.io: update scripts (#5837)
* Test new buildpack and distro

* Try another buildpack version

* Give another try

* Try another one

* Best effort
2019-10-24 02:01:43 -07:00
Unknwon 01c8df01ec
internal: move packages under this directory (#5836)
* Rename pkg -> internal

* Rename routes -> route

* Move route -> internal/route

* Rename models -> db

* Move db -> internal/db

* Fix route2 -> route

* Move cmd -> internal/cmd

* Bump version
2019-10-24 01:51:46 -07:00
Unknwon 613139e7be
Enable Go modules (#5835)
* Remove vendor

* Enable Go modules

* ci: add command to fetch dependencies

* ci: update setting

* ci: update settings

* Require Go 1.11

* Rename module name to gogs.io/gogs
2019-10-23 23:03:17 -07:00
Unknwon fb100dbf98
locale: sync from Crowdin
- Also amended some source translations.
2019-10-20 13:00:41 -07:00
Unknwon ecf61be633
ci: add Go 1.13 2019-10-19 17:29:03 -07:00
Frode Aannevik 1619317c3b repo/download: add Last-Modified response header (#5827)
* repo/download: Add Last-Modified response header

ref: https://github.com/gogs/gogs/issues/5811

* Update download.go


Co-authored-by: Unknwon <u@gogs.io>
2019-10-19 17:26:56 -07:00
Unknwon 76fabe8785
locale: sync from Crowdin 2019-10-19 17:01:57 -07:00
Unknwon 1a17c2ba1f
Makefile: use go build to replace go install 2019-10-15 14:37:42 -07:00
Unknwon a04de87584
models/token: generate bindata and simplify code (#5820) 2019-10-15 14:36:52 -07:00
Frode Aannevik ffbb0f6a60 token: disallow multiple tokens with same name (#5820)
* api/v1: don't allow multiple tokens with same name

Fail with 422 Unprocessable Entity if the token name
already exist

ref: https://github.com/gogs/gogs/issues/5587

* Move new token error type to models/errors/token

* Remove "useless" ListAccessTokensByName function

* Add an i18n entry for token_name_exists
2019-10-15 14:09:47 -07:00
unknwon 1c82c42cb3
locale: sync from Crowdin 2019-10-03 20:35:32 -07:00
Sauyon Lee 11f79a2095 api/v1: fix status response in checkUserFollowing (#5812) 2019-10-02 19:00:26 -07:00
unknwon 847c06d88b
templates/repo: remove unnecessary wrap div 2019-09-21 20:48:09 -07:00
Alexey Agafonov 209569a035 repo: allow admin to remove observers from the repository (#5782) (#5803)
* admin can remove observers from the repository (#5782)

* admin can remove observers from the repository (#5782)

* admin can remove observers from the repository (#5782)

* admin can remove observers from the repository (#5782)

* admin can remove observers from the repository (#5782)
2019-09-21 20:37:20 -07:00
mb 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806)
Added wait for SQL as it may take more time to start up on a router: make sure you configure this before using.
Proper Start/Stop/Reset is now implemented.
2019-09-19 15:50:57 -07:00
mb ca084ab1a2 scripts: ddwrt / entware init script (#5795) 2019-09-18 18:39:19 -07:00
Marco van Zwetselaar cab2b96871 ldap: log two non-errors on Trace level (#5804) 2019-09-18 18:35:42 -07:00
unknwon 8675dff045
locale: sync from Crowdin 2019-09-15 11:04:40 -07:00
张怡秋 ed2adc7025 templates/mail: modify the year at the footer (#5793) 2019-09-13 13:28:57 -07:00
Alexey Agafonov ddc7a2dd4d models/issue_mail: don't send email to non-active users (#5788)
Fixes #5782
2019-08-24 15:12:25 +08:00
Shiki-H 2f0cdfd564 scripts/mysql: fix compatibility issue (#5786) 2019-08-19 07:06:48 +08:00
unknwon c154721f4a
Bump version 2019-08-11 18:59:46 -07:00
unknwon 48cdae2829
Dockerfile: always use alpine:latest (#5714) 2019-08-10 20:23:18 -07:00