Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
37b10666de
modules/context: add *Context. ServerError method
...
Also use constants from net/http to replace raw integers.
8 years ago
Unknwon
1afafde3b3
user/setting: preserve user input with validation error ( #1123 )
8 years ago
Unknwon
cac7af2c78
explore: able list and search for private but accessible repositories ( #3088 )
8 years ago
Girish Sonawane
b9bb4a62d6
api: make CORS work by handling preflight OPTIONS request ( #4264 )
...
* make CORS work by handling preflight OPTIONS request
* Update api.go
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
b481927d5e
Improve error handling
8 years ago
Unknwon
d521e716dd
refactoring: SSH and HTTP push procees is now unified
...
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636 .
8 years ago
Unknwon
2c154ccbe7
Minor improve on error handling
8 years ago
Unknwon
f5dc436441
Minor improve on error handling
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
5e01ecbc05
Able to set custom Access-Control-Allow-Origin header ( #3987 )
...
Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
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