Gogs
103417e1d3
Enhanced HTTP response code + authentication failure log messages
...
Add an http_status int argument to RenderWithErr(). In most case
it is set to http.StatusBadRequest.
Authentication failure log messages (that should be matched by fail2ban) are
composed like : "^<DATE> \[ WARN\] <IP> authfail : <REASON>$"
8 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Unknwon
9e3c83372f
api/repo: improve migration error handling
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
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
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
d21767dc9f
routers/repo: allow shorter SHA to download archive ( #3834 )
...
SHA length from 7-40 is now supported.
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
9 years ago
ddelpero
7655337a1f
Update repo.go
...
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
9 years ago
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
6a66e5fc98
better error message
9 years ago
Unknwon
c0b0ce7b1a
#1971 more general rule to detect error
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
9 years ago
Unknwon
aa67de910a
fix #1558
9 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
10 years ago
Unknwon
d01f688257
fix repository count of user is messed up
10 years ago
Unknwon
c75cd33f2f
#965 Remember visibility preference
10 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
10 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
10 years ago
Unknwon
c8bb475abb
fix autocomplete on migration
10 years ago
Unknwon
e633425f27
#1180 and #1250 : migration
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
9db4acc62e
improve fork process
10 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
10 years ago
Unknwon
4447a20f87
UI: issues - finish basic frame
10 years ago