Unknwon
ac73d43444
repo_editor: able to trigger Git hooks ( #4338 )
6 years ago
Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
7 years ago
Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Drahoslav Bednář
7faa2356d8
pkg/context: add doctype to go-get=1 response ( #4938 )
7 years ago
Unknwon
86931f546f
repo: fix go-get meta tags ( #4832 )
...
The first part in go-import should be the root import path. It
included subpath when 'go get' with a subpath and was not correct.
7 years ago
Unknwon
36d6450977
repo/pull: detect case when no merge base found ( #4434 )
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Unknwon
e33c714073
repo: always response go-get meta when requested ( #1878 )
8 years ago
Unknwon
91cd350b63
repo/editor: fix wrong context for subdirectory ( #4368 )
8 years ago
Unknwon
fda4b1106e
user/setting: simplify code
8 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
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
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 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