| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
|
| |
|
|
|
|
| |
- Allow to delete current avatar
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- Remove unused config settings `[picture] service`
|
|
|
|
|
|
| |
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
|
| |
|
|
|
|
| |
Improve test cases, config settings, also show SSH config settings on admin config panel.
|
|\
| |
| | |
allow native and ssh-keygen public key check
|
| |
| |
| |
| |
| | |
DisableSSH doesn't check the kind of ssh server to use, so that was
wrong. Use StartSSHServer instead.
|
| |
| |
| |
| |
| | |
The contants were placed in the same section as the scheme ones, which
may lead to confusion.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds the possibibility to use either the native golang
libraries or ssh-keygen to check public keys. The check is adjusted
depending on the settings, so that only supported keys are let through.
This commit also brings back the blacklist feature, which was removed in
7ef9a055886574655d9f2be70c957bc16bf30500. This allows to blacklist
algorythms or keys based on the key length. This works with the native
and the ssh-keygen way.
Because of #2179 it also includes a way to adjust the path to
ssh-keygen and the working directory for ssh-keygen. With this,
sysadmins should be able to adjust the settings in a way, that SELinux
is okay with it. In the worst case, they can switch to the native
implementation and only loose support for ed25519 keys at the moment.
There are some other places which need adjustment to utilize the
parameters and the native implementation, but this sets the ground work.
|
| |
| |
| |
| |
| |
| |
| | |
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also fix a possible race condition while install
|
| | |
|
| |
| |
| |
| | |
Make it easier to keep track of upstream changes and bug fixes
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This is useful especially to check whether we fetch right attributes, using
right LDAP search base and in right order.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send
multiple Bind requests to change the authentication and/or security
associations or to complete a multi-stage Bind process. Authentication from
earlier binds is subsequently ignored."
Therefore we should not use 2 connections, but single one just sending two bind
requests.
|
| |
| |
| |
| |
| | |
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
|
|\ \
| | |
| | | |
#2505 Allow to fork and disallow to create PRs for mirrors.
|
| |/ |
|
|\ \
| | |
| | | |
Fix issue email formatting. Addresses #2331
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
| |
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
|
| |
|