Lunny Xiao
35cc5b0402
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName ( #3043 )
...
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
7 years ago
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
7 years ago
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme ( #2978 )
7 years ago
Lauris BH
46cc45f049
Fix go get response if only app URL is custom in configuration ( #2634 )
...
* Fix go get response if only app URL is custom in configuration
* Rewrite to update Domain setting to match AppURL
7 years ago
Kim "BKC" Carlbäcker
5db8cf3bd1
Always return valid go-get meta, even if unauthorized ( #2010 )
...
* Always return valid go-get meta, even if unauthorized
* don't leak information
7 years ago
Sandro Santilli
129b0d6a4b
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION ( #1369 )
...
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION
Omit the configuration variable (the default) to be dependent.
Fixes #1363
* Move OpenID settings under Service object
* Show OpenID SignUp and SignIn status in admin panel / configuration
8 years ago
Sandro Santilli
71d16f69ff
Login via OpenID-2.0 ( #618 )
8 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Bwko
1e9730a779
Fixes xss, clickjacking & password autocompletion
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
db4da7beec
Add APIContext
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Florian Kaiser
8c4588c4c9
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
942fd6be53
fix panic for #2045
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Gibheer
56006da34b
fix #1957 - disable version display
...
This allows the admin to disable the version information about gogs and
go in use in the footer.
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Unknwon
4217c2333c
new create webhook UI
9 years ago
Unknwon
87f5ca8e1f
able edit issue title
9 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
5cf3732339
UI: install - new version
9 years ago
Linquize
f26f8d5afa
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
2bb982dada
#1080 : Remove footer ads/branding from default template
10 years ago
Unknwon
75cbb32b1e
UI compatibility
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Peter Smit
ed89b39984
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
Unknwon
216683004e
code fix for #908 , and work for #884
10 years ago
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
10 years ago