| Commit message (Collapse) | Author | Age |
|
|
| |
We already have a separate `/markdown/raw` API, remove redundant functionality here.
|
|
|
| |
Fixed a security issue reported by bluebird.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Check for email collisions when updating the entire user information,
not when the username is being changed.
Fixes #5899
|
|
|
|
| |
view (#5890)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
|
|
|
| |
[SKIP CI]
|
|
|
|
| |
[SKIP CI]
|
|
|
|
| |
[SKIP CI]
|
|
|
|
| |
[SKIP CI]
|
|
|
|
| |
[SKIP CI]
|
|
|
| |
Fixes a RCE reported by @ManassehZhou and @zeripath.
|
|
|
|
| |
Addresses gogs/go-gogs-client#111.
|
|
|
|
|
|
|
|
| |
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
* public: makes CodeMirror mode by filename extension lookup case-insensitive
|
| |
|
|
|
|
|
|
| |
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
[CI SKIP]
|
|
|
|
| |
[CI SKIP]
|
| |
|
|
|
|
| |
[CI SKIP]
|
|
|
|
| |
- Print app.Run() error
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Test
* Test
* My last try
* Avoid cleaning old Go version
|
|
|
|
| |
[ci skip]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Test new buildpack and distro
* Try another buildpack version
* Give another try
* Try another one
* Best effort
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
- Also amended some source translations.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|