Gibheer
9eef2e706c
fix ssh public key tests
...
The old API was using []byte, but was changed to string without running
the tests again.
It also sets the variables from the configuration to make them work.
Maybe there is a better way to do this.
9 years ago
Gibheer
12403bdfb0
allow native and ssh-keygen public key check
...
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
7ef9a05588
. 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.
9 years ago
Unknwon
3af1d3c581
#2633 fix removed config option
9 years ago
Unknwon
24829f314b
Merge pull request #2635 from lunny/develop
...
fix dependency broken because xorm's API changed
9 years ago
Lunny Xiao
779b71eda4
fix dependency broken because xorm's API changed
9 years ago
Unknwon
9cf4fe043b
Add env var check for update
9 years ago
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
9 years ago
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Unknwon
e9b9e6eb53
Setup CI with testing
9 years ago
Unknwon
58e004f7da
Remove cache avatar support and add its tests
9 years ago
Unknwon
fd92d91da3
Minor fix for #2578
9 years ago
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
aa5e837c65
fix #2454
9 years ago
Unknwon
4f6c3e8bb2
Hijack #2388
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
Unknwon
daa43cfb6e
Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
...
Only show activities and repositories on the dashboard, that the user has access to
9 years ago
Unknwon
9adfe453d5
#2569 delete repo local copy when transfer
...
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
9 years ago
Unknwon
29cd8ac270
Merge pull request #2617 from chriswatt/bgcolor
...
Change main content area bg to white, keep area above tabs grey
9 years ago
chriswatt
d710b5e791
Fix when repo is empty
9 years ago
chriswatt
c47866b34a
Add grey bg to tabs on repo page
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
15394f613f
Add missing safety check
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
Unknwon
de3be370f7
Remove unused tests
...
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
9 years ago
Unknwon
364874937e
Merge pull request #2614 from joshfng/add-default-branch-to-repo-payload
...
Add default branch to repo payload
9 years ago
Unknwon
10e4887b2b
Merge pull request #2612 from Eriner/master
...
update .gopmfile to reflect git-module update
9 years ago
Matt Hamilton
643acdd32d
update .gopmfile to reflect git-module update
...
Updated to reflect version increment in commit 47adc0e
.
9 years ago
Josh Frye
8662990746
Add default branch to repo payload
9 years ago
Unknwon
25845ea1a5
Merge pull request #2609 from joshfng/add-config-log-path
...
Add install option for log path
9 years ago
Josh Frye
d3ca5accfd
Remove redundant nil check.
9 years ago
Josh Frye
8ab5399e83
Make log path required
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
1feecd6beb
Add helper text for log path.
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
779bb890fa
Minor docs update for #2605
9 years ago
Unknwon
1fa4fe706a
Merge pull request #2605 from 0rax/develop
...
Add the ability to run crond inside the Docker container
9 years ago
Jean-Philippe Roemer
f4bc9263d9
Add the ability to run crond inside the Docker container
...
- Add the crond init script for s6
- Add the RUN_CROND configuration variable to setup crond
- Crond will not be run by default (hence the `down` file in the service directory)
- `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript
- Resolves #2597
9 years ago
Unknwon
600d8edaca
Merge pull request #2604 from joshfng/fix-wiki-transfer
...
Remove local wiki copy on repo transfer. Fixes #2558
9 years ago
Josh Frye
ce3708b3ea
Remove local wiki copy on repo transfer. Fixes #2558
9 years ago
Unknwon
23bc9a2911
Merge pull request #2603 from joshfng/bump-git-module-version
...
Bump git-module. Fixes #2589
9 years ago
Josh Frye
47adc0e8f7
Bump git-module. Fixes #2589
9 years ago
Unknwon
5258ee3740
Update locales and update sponsor
9 years ago
Unknwon
59745c62b4
#1577 fix missing SQL query placeholder
9 years ago
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
297e772c20
#2485 fix payloads mixed up for webhook
...
When repository contains a Slack type hook,
it changes original payload content.
This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
9 years ago
Unknwon
8bf3032b16
Merge pull request #2585 from andreynering/theme-color-meta-tag
...
Implementing the "theme-color" meta tag.
9 years ago
Andrey Nering
e40d94bb4f
Implementing the "theme-color" meta tag.
...
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
9 years ago