aboutsummaryrefslogtreecommitdiff
path: root/internal
Commit message (Collapse)AuthorAge
* repo: able fill pull request title by template from md file (#5901)ivan2020-01-29
| | | | | | | | | | | | | | | | * able fill pull request title by template from md file * fix: unusedresult: result of fmt.Sprintf call not used (from govet) * fix: remove import fmt -> not used * after review / PullRequestTitleTemplateCandidates moved to after line 39 * Update pull.go * Update pull.go Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* 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>
* 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
|
* mirror: use Git command to update origin remote address (#5767) (#5865)Unknwon2019-11-16
| | | Fixes a RCE reported by @ManassehZhou and @zeripath.
* 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
* 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>
* 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
* 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
|
* web: fix panic when download attachments (#5838)Unknwon2019-10-24
|
* 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