Unknwon
2478b87432
Refactoring: rename ctx -> c
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
cybe
740192564b
Verify repository is not bare before retrieving blob. ( #3996 )
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
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
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
d951824ff9
able to download archive by API
9 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
a0f9197b45
GetFile api
10 years ago
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknown
9d983f27d6
go vet
11 years ago
Unknown
23bba7633b
Mirror fix on sqlite3 tag
11 years ago
Michael Crosby
25fd495b2e
Add sqlite build tag
...
This adds a sqlite build tag so that you don't have to have the sqlite
import commented out in code and users can run:
go build -tags sqlite
if they want to have sqlite support enabled. It is disabled by default
so nothing changes with the default go get or build commands.
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Unknown
e51afe4621
Add postgres support, clean code, code review
11 years ago
slene
fa5ad1e465
move templateFuncs to one file, add middleware context.
11 years ago
Unknown
c6f2c23b05
Add binding form for register user
11 years ago