Unknwon
3e936bbc5c
Move cron module to independent package
Make it easier to keep track of upstream changes and bug fixes
9 years ago
Unknwon
c9964fe278
Minor fix for #2634
Add AttributesInBind option in new auth source form.
9 years ago
Unknwon
4200adfa83
Minor fix for #2524
9 years ago
Unknwon
71b9ee58c8
Merge pull request #2524 from mhartkorn/pullrefs
Enable a way to checkout Pull Requests from remote refs
9 years ago
Unknwon
de270d5d87
Fix panic when view profile without signin
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
6dc21aa0a0
Merge pull request #2663 from Download-Fritz/MirrorForks
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
c8d4d1bd2e
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Unknwon
665db06fbe
#2650 fix possbility that use email as pusher user name
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.
9 years ago
Gibheer
0160fc1099
remove ed25519 test for now
TravisCI is too old for ed25519, so it can't be tested correctly.
9 years ago
Gibheer
2f8b98ab49
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
3314d25877
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
Lunny Xiao
25fd5a1d7c
fix dependency broken because xorm's API changed
9 years ago
Unknwon
88484a73ec
#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
04d7b393ab
Minor fix for #2624
9 years ago
Unknwon
0607f13964
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
Convert mirrors to regular repositories
9 years ago
Martin Hartkorn
9580a21d42
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Unknwon
7a0cdbebf6
Remove cache avatar support and add its tests
9 years ago
Unknwon
d471a759c6
Minor fix for #2578
9 years ago
Unknwon
3ca084f567
Merge pull request #2578 from exmex/develop
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
184d76a5d4
Minor fix for #2567
9 years ago
Unknwon
10c7f8bd0a
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
6a75926ebe
#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
Martin Hartkorn
d07e6233a3
Refactored according to suggestions
9 years ago
Martin Hartkorn
42b1b57e94
Convert mirrors to regular repositories.
9 years ago
Josh Frye
10a423414f
Add default branch to repo payload
9 years ago
Josh Frye
068786034e
Remove local wiki copy on repo transfer. Fixes #2558
9 years ago
Unknwon
e15c6b75d4
#1577 fix missing SQL query placeholder
9 years ago
Unknwon
0e661c24d7
#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
3be6173192
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
9 years ago
Andrey Nering
905065677a
Workaroud delete folder on Windows. Fix #1738
9 years ago
ExMex
57f9ff45ee
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
1f7e7b39f2
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Tobias Kunicke
5ff526d777
regulate timezone for milestone.deadline
9 years ago
Unknwon
26feb3693e
#2558 delete local wiki copy when rename repo and user
9 years ago
Andrey Nering
a00f3969c0
Enable sintax highlighting on diff view. Close #733
9 years ago
Andrey Nering
ea0db4b5db
go fmt models/git_diff_test.go
9 years ago
Martin Hartkorn
82aa954a4a
Removed unused method GetUnmergedPullRequestByRepoPathAndHeadBranch
9 years ago
Unknwon
671ab5fcbc
Minor fix for #2530
9 years ago
Martin Hartkorn
14a6a960dc
Removed dependency on post-receive hook and use TriggerTask instead
9 years ago
Unknwon
2732046410
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
9 years ago
Unknwon
fa40b34850
#2554 reinitialize all repos from the db
- Update locales
9 years ago
Florian Kaiser
b68a8036e6
Remove unnecessary private functions
9 years ago
Unknwon
01f1a736b6
Add missing patch conflit pattern
9 years ago
Unknwon
759a73fd9c
Minor fix for #2506
9 years ago
Unknwon
cf34a01120
Merge pull request #2506 from sapk/add-branche-api-support
Implement API for branches listing
9 years ago
Unknwon
10d0c55f16
Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
9 years ago
Unknwon
b86ffbc842
Merge pull request #2540 from JohnMaguire/bugfix/2447-delete-public-key-authorized_keys
Fixes #2447 (delete public key from authorized_keys)
9 years ago
John Maguire
c960692973
Trim whitespace when adding SSH keys ( fixes #2447 )
9 years ago
John Maguire
7c556b3b40
Add debug log when SSH key for deletion isn't found
9 years ago
Florian Kaiser
b8095e4698
Use invalid value (-1) instead of 0 to prevent bug if auto increment starts with 0
9 years ago