aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* api/misc/markdown: remove Mode option (#5910)ᴜɴᴋɴᴡᴏɴ2020-01-29
| | | We already have a separate `/markdown/raw` API, remove redundant functionality here.
* api: sanitize raw markdown content (#5907)ᴜɴᴋɴᴡᴏɴ2020-01-27
| | | Fixed a security issue reported by bluebird.
* repo: fix redirect after opening/closing milestone (#5903)Andrey Filippov2020-01-26
| | | | | | | | | | | | | | | | * Fix milestone redirect * gosimple * Apply suggestions from code review Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * fix typo * Update docstring of MakeURL Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* docker: check "/app/gogs" separately on startup (#5895)Achilleas Koutsou2020-01-23
| | | | | | | | When running gogs after the first time, if the image has changed (update rebuild), the /app/gogs directory will have changed owner back to root:root, but /data will likely not be since the data directories are likely to be persistent. Checking /app/gogs separately fixes this.
* user/setting: check for IsErrEmailAlreadyUsed when updating user (#5900)Achilleas Koutsou2020-01-23
| | | | | | Check for email collisions when updating the entire user information, not when the username is being changed. Fixes #5899
* internal/db/org: fix private repositories are hidden in the organization ↵Michael Li2020-01-21
| | | | view (#5890)
* repo: use editorconfig v2 (#5888)Yoan Blanc2019-12-25
| | | | | | | | | | | | | | | | * repo: editorconfig v2 Signed-off-by: Yoan Blanc <yoan@dosimple.ch> * fixup! repo: editorconfig v2 Signed-off-by: Yoan Blanc <yoan@dosimple.ch> * Update repo.go * Update repo.go Co-authored-by: Unknwon <u@gogs.io>
* repo: fix stale webhook documentation link (#5883)Kevin Gentile2019-12-09
|
* locale: sync from CrowdinUnknwon2019-12-09
|
* .github: add refine feature_request and add security templatesUnknwon2019-11-25
| | | | [SKIP CI]
* .github: add config.yml and update bug_report templateUnknwon2019-11-25
| | | | [SKIP CI]
* Dockefile: format and use tagged versionUnknwon2019-11-25
| | | | [SKIP CI]
* README: add phonetic symbolUnknwon2019-11-25
| | | | [SKIP CI]
* README: add Syncloud to Product SupportUnknwon2019-11-18
| | | | [SKIP CI]
* mirror: use Git command to update origin remote address (#5767) (#5865)Unknwon2019-11-16
| | | Fixes a RCE reported by @ManassehZhou and @zeripath.
* go.mod: update github.com/go-macaron/binding@v1.0.1Unknwon2019-11-12
| | | | Addresses gogs/go-gogs-client#111.
* public: makes CodeMirror mode by filename lookups case-insensitive (#5857)Johannes2019-11-08
| | | | | | | | * updated the highlight.js plugin * added some explicit mappings for syntax highlighting * public: makes CodeMirror mode by filename extension lookup case-insensitive
* templates: fix line wrap for very long commit messageUnknwon2019-11-07
|
* public: update highlights.js to 9.16.2 (#5856)johannes69ki2019-11-07
| | | | | | * updated the highlight.js plugin * added some explicit mappings for syntax highlighting
* go.mod: update github.com/gogs/go-libravatar (#5851)Unknwon2019-11-05
|
* tls: update default CurvePreferences and CipherSuites (#5850)Kasei2019-11-05
| | | | | | | | | * 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>
* templates: update version infoUnknwon2019-11-05
|
* db/repo: print more error infoUnknwon2019-11-05
|
* repo: delete local copies on owner name change (#5843)Guy Smoilov2019-11-03
| | | | | | | | | | | * 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
* README: remove unstable badgeUnknwon2019-11-02
| | | | [CI SKIP]
* README: use modern style of badgesUnknwon2019-11-02
| | | | [CI SKIP]
* locale: sync from CrowdinUnknwon2019-11-02
|
* locale: amend source localeUnknwon2019-10-30
| | | | [CI SKIP]
* cmd/import: improve error messageUnknwon2019-10-26
| | | | - Print app.Run() error
* locale: sync from CrowdinUnknwon2019-10-26
|
* pkgr: slow but fix builds on packager.io (#5840)Unknwon2019-10-25
| | | | | | | | | | * Test * Test * My last try * Avoid cleaning old Go version
* Makefile: set -trimpath on buildUnknwon2019-10-25
| | | | [ci skip]
* appveyor: remove direct from GOPROXYUnknwon2019-10-24
|
* appveyor: print Go versionUnknwon2019-10-24
|
* appveyor: use stack: go 1.13.3Unknwon2019-10-24
|
* appveyor: add GOPROXY envUnknwon2019-10-24
|
* pkgr: use lower version of buildpackUnknwon2019-10-24
|
* web: fix panic when download attachments (#5838)Unknwon2019-10-24
|
* Remove use of develop branchUnknwon2019-10-24
|
* packager.io: update scripts (#5837)Unknwon2019-10-24
| | | | | | | | | | | | * Test new buildpack and distro * Try another buildpack version * Give another try * Try another one * Best effort
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * 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
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * 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
* locale: sync from CrowdinUnknwon2019-10-20
| | | | - Also amended some source translations.
* ci: add Go 1.13Unknwon2019-10-19
|
* repo/download: add Last-Modified response header (#5827)Frode Aannevik2019-10-19
| | | | | | | | | | * 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>
* locale: sync from CrowdinUnknwon2019-10-19
|
* Makefile: use go build to replace go installUnknwon2019-10-15
|
* models/token: generate bindata and simplify code (#5820)Unknwon2019-10-15
|
* token: disallow multiple tokens with same name (#5820)Frode Aannevik2019-10-15
| | | | | | | | | | | | | | | * 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
* locale: sync from Crowdinunknwon2019-10-03
|