| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
|
|
|
| |
E.g. atomi.github.io
|
|
|
|
| |
Support HEAD requests of '/healthcheck' for service monitoring.
|
|
|
|
|
|
| |
1. Fix sample content didn't show up when hook doesn't exist.
2. Fix CSS 'word-break' to use 'break-word' not 'break-all'.
3. Fix single quote in 'locale_en-US.ini' file.
|
|
|
|
|
|
|
| |
Usage: <url>?page={page}&pageSize={pageSize}
Also avoid/removed getting total commits count for pagination,
users are only allowed navigation by 'newer' and 'older'.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Able to restrict force push and deletion
- Able to restrict direct push
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Use very strong ciphers
* Remove TLS_RSA_WITH_AES_256_GCM_SHA384 to be compatible with Go 1.5
|
| |
|
|
|
|
|
| |
Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by
default it's 'false'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to recent code refactor, ctx.PullRequest is not initialized for
route repo.CompareAndPullRequest, which leads the UI thinks the
compare is not happening inside the same repository.
The current fix is to allow compare URL to include redundant head
user name so everything works fine again, but code logic isn't
as clean as before.
Made comments about possible future fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Check deploy keys when Gogs is run with require_sign_in_view
Check if the deploy key can access to a repository. A deploy key
doesn't represent an gogs user, so in a site with Service.RequireSignInView
activated we should give read access only in the repositories where
this deploy key is in use. In other case, a deploy service or system
using an active deploy key can get read access to all the repositories
in a Gogs service.
* Refactoring: Comments starts in a new line
* Minor change in a comment
* Code cleaning. Replace spaces with tabs
|
|
|
|
|
| |
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
|
|
|
|
| |
To use interface to replace *models.User in avoiding cycle import.
|
|
|
|
| |
Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
|
|
|
|
| |
User is now able to view full list of organizations belongs to.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement organizations listing in setting and allow user to create new organization.
* Implement organizations listing in setting and allow user to create new organization.
* Add space remove by mistake
* Remove unused part of the template
* Update display and behavior according to @Unknown remarks
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Quickly import locale files downloaded from Crowdin.
|
| | |
|
|/
|
|
| |
Closes #3591
|
|
|
|
|
|
| |
* Add ability to explore organizations
* Use right icon for org explore links
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
|
| |
|
| |
|
| |
|
| |
|