| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fixes #5782
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add rsync to docker.
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported by @ManassehZhou #5764
|
|
|
|
|
|
| |
Permission check not enforced for deploy keys, collaborators, and hooks.
Reported by @ManassehZhou #5764
|
|
|
|
| |
[CI SKIP]
|
|
|
|
|
|
| |
* Update pkgr distros and dependencies
* Configure govendor for heroku builds
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- github.com/smartystreets/goconvey
- github.com/jtolds/gls
|
| |
|
|
|
|
| |
To avoid update in each year
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pkg/context: Render live notice banner from file
- Contexter checks if there is a file called 'notice' under the
GOGS_CUSTOM directory and loads it.
- The first line is treated as a header/title and everything else as the
message body.
- Message body is rendered as HTML (tags allowed).
- File size is limited to 1024 bytes.
- File mime type must be text.
- Notice is rendered in head.tmpl for all pages.
* pkg/context: Rename maxlen to maxSize
Rename maxlen to maxSize for the maximum size (in bytes) of the notice
file to render.
Define the variable when needed to avoid instantiating it when the file
doesn't exist.
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io>
* pkg/context: Package name after license header
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io>
* pkg/context: Don't print 'Found notice file'
Becomes too verbose as it prints on every page load when the file
exists.
* pkg/context: Match project conventions
Import order and grouping
Variable names:
fileloc -> fpath
fp -> f
finfo -> fi
* pkg/context: Remove empty line
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io>
* pkg/context: Render notice as markdown
Server notice file should be named 'notice.md'. The contents of the
file are treated as markdown and rendered as a warning message at the
top of every page.
* Update notice.go
Co-authored-by: ᴊ. ᴄʜᴇɴ <u@gogs.io>
|
| |
|
| |
|
|
|
| |
The chown command in the setup file of Gogs is supposed to be executed just once. As soon as the app.ini file exists, this step should be skipped. However, the test was checking if a directory with the name app.ini exists instead of a file. Therefore, the chown command was executed on each boot.
|
|
|
|
|
|
|
|
| |
* Idiomatic English
* Even better English
|