stephen mcquay
38c5db7728
fix .keys route
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
10 years ago
James
66f78785ef
Add full name field to admin's user edit page ( fixes #1130 )
10 years ago
Lunny Xiao
3cf1976ae9
Merge pull request #1226 from nice-software/wip/pam
Add PAM authentication
10 years ago
Paolo Borelli
55df399598
Add PAM authentication
10 years ago
Lunny Xiao
89e0796519
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
10 years ago
Dustin Willis Webber
d2e31eb3a8
fix calls that go rename missed
10 years ago
Don Bowman
01fca828c0
don't set mime type to text/plain. This will break serving e.g. raw images,
html, etc
According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
10 years ago
Linquize
76017b4f80
Set Content-Type to text/plain for http status 401
This is because git command line shows the failure reason only if Content-Type is text/plain.
10 years ago
Unknwon
dd7f3e9f60
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
f84e8f7ca6
mirror fix of #1105
10 years ago
无闻
13a64490de
Merge pull request #1105 from linquize/migrate-git
Allow to migrate through git:// protocol
10 years ago
Unknwon
63223b4034
#1140 MySQL root password exposure
10 years ago
Unknwon
8f0c7642e6
#1124 LDAP add and edit form are misleading
10 years ago
Linquize
dcf7952e70
Allow to migrate through git:// protocol
10 years ago
无闻
895970f115
Merge pull request #1091 from sapk/fix-ng-issue-pages
Apply ng to issue dashboard
10 years ago
Unknwon
b3a8321da0
#1094 : fix locale
10 years ago
Antoine GIRARD
2df4510d70
Apply ng to issue dashboard
10 years ago
Unknwon
4ec2e465f9
#1067 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
10 years ago
Unknwon
4bcbfc2916
#851 : Edit Account does not take into consideration password rules
10 years ago
Unknwon
ed7f1ae592
fix read access team visibility of private repo
10 years ago
Unknwon
0fa1c5ae0f
#1040 : dashboard no longer accessible when repo is missing
10 years ago
Unknwon
c61a100b93
fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls`
10 years ago
Unknwon
80667e87b6
remove unused scripts and simplify migrate form definition
10 years ago
Filippo Valsorda
0d8a70e957
Handle submodules without a .gitmodules entry - fix #1023
10 years ago
Unknwon
46c5c2abc0
routers/repo/setting.go: fix LDAP cannot validate password #1006
10 years ago
Unknwon
164ed7fe1e
Merge branch 'access' of github.com:gogits/gogs into dev
10 years ago
无闻
f04f360865
Merge pull request #992 from theangryangel/fix/ldap-auth
Attempt 3 to fix LDAP login issues when git pushing after password change
10 years ago
Gogs
1a5a2d876c
Attempt #3 of ldap fixes
10 years ago
Unknwon
11ce6b1785
modules/setting: simple behave change in startup
10 years ago
Unknwon
08b8901cd9
models: fix issue with transfer repository
README: fix typo
10 years ago
Raphael Randschau
64ca6513c2
Properly calculate the number of open issues per label
10 years ago
无闻
8b09169468
Merge pull request #960 from phsmit/access_action
Fix that owners also see actions on their repositories
10 years ago
无闻
59233609d4
Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
56a29ce158
v4 migration, merge 'dev', clean code and mirror fix
10 years ago
Unknwon
df64dcfdfd
Merge branch 'access' of github.com:gogits/gogs into access
10 years ago
Unknwon
5a7bca797c
Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
10 years ago
Unknwon
f6e65b5e06
models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
10 years ago
Unknwon
51da9e41f0
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
10 years ago
Unknwon
700626f527
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
10 years ago
无闻
3a2df08119
Merge pull request #959 from phsmit/access_update
Updating context and fixing permission issues
10 years ago
Peter Smit
4ad9104c52
Update/simplify fix that owners also see actions on their repositories
10 years ago
Peter Smit
2bb8323ab5
Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
893cda904a
Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.
It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
10 years ago
Peter Smit
16bfbe24e7
Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Peter Smit
21da931939
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
b1281b34af
routers/install.go: able to keep previous custom settings for 2nd time install
- .gopmfile: update all commits
10 years ago
Unknwon
7ae5b92db8
code fix #941 caution: undertest
10 years ago
Peter Smit
71ea4a71bd
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
10 years ago
Peter Smit
81083a9415
Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon
9aeb3d3eed
Merge branch 'dev' of github.com:gogits/gogs into access
10 years ago