gogs/cmd
Unknwon e9838a83ce
routers/repo/http: only prompt HTTP Basic Authentication when intended
Sometimes user could simply request wrong URL, but if that wrong URL
has nothing related Git HTTP operations, HTTP Basic Authentication
should not prompted. Instead, clean 404 page should be presented.

The patch also supports Git HTTP operations without '.git' suffix
to the repository name, which addresses #4226 and #4189.
2017-03-04 21:26:32 -05:00
..
admin.go cmd: refactoring command name 2017-02-27 22:47:12 -05:00
backup.go cmd: able to backup and restore 2017-02-27 22:48:19 -05:00
cert.go cmd: refactoring command name 2017-02-27 22:47:12 -05:00
cert_stub.go cmd: refactoring command name 2017-02-27 22:47:12 -05:00
cmd.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
hook.go hook: fix can’t be executed while run as service on Windows (#4207) 2017-02-28 22:58:52 -05:00
import.go cmd: refactoring command name 2017-02-27 22:47:12 -05:00
restore.go cmd: able to backup and restore 2017-02-27 22:48:19 -05:00
serv.go models/access: hasAccess only need userID not user object 2017-02-23 16:15:25 -05:00
web.go routers/repo/http: only prompt HTTP Basic Authentication when intended 2017-03-04 21:26:32 -05:00