Unknwon
2bb1de1805
cmd/serve: minor code improve for PR #4078
8 years ago
Pablo Saavedra
0081c6911d
Check deploy keys when Gogs is run with Service.RequireSignInView=true ( #4078 )
...
* Check deploy keys when Gogs is run with require_sign_in_view
Check if the deploy key can access to a repository. A deploy key
doesn't represent an gogs user, so in a site with Service.RequireSignInView
activated we should give read access only in the repositories where
this deploy key is in use. In other case, a deploy service or system
using an active deploy key can get read access to all the repositories
in a Gogs service.
* Refactoring: Comments starts in a new line
* Minor change in a comment
* Code cleaning. Replace spaces with tabs
8 years ago
Kim "BKC" Carlbäcker
4f40019130
codegangsta/cli => urfave/cli ( #3546 )
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
7826eae452
#3045 fix DEPRECATED Action signature erorr
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
c9516c4c60
Fix wrong place to check disable SSH
9 years ago
Unknwon
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
a62290de52
#2311 improve HTTP auth error message
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Adam Strzelecki
e4a092fb5a
Make serv/update use LOCAL_ROOT_URL instead public
...
The reasoning for that is in the previous commit.
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
9950f5a5bd
add line break after SSH error message
9 years ago
Unknwon
21ad4bf0fe
print error log to client side when dev mode
9 years ago
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
e030109b5a
fix api broken
9 years ago
Unknwon
2db785b3ed
convert missing name
9 years ago
Unknwon
647688bd06
#1266 convert name to lower when handle SSH
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
f255b1e86d
#1896 fatal when no needed update task
9 years ago
Unknwon
b9f5def5dc
fix insecure tls when trigger task
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
db00aa7653
add log for trigger hook when push through SSH
9 years ago
Unknwon
e75fd2f783
simplify names
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
9 years ago
Matt Butcher
d82d9bc153
Fix minor spelling issues.
10 years ago
Luka Dornhecker
1988c0993d
remove extra space in ssh authentication message
10 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
10 years ago
Unknwon
b447d18dca
cmd/serve.go: remove useless code
10 years ago
Unknwon
d446be9f5f
models: mirror fix on #964
10 years ago
Peter Smit
aa68e86206
Rewrite/simplify gogs serve
10 years ago
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon
7e7160eefd
first pass work on migration #925
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Peter Smit
b7e26aa5e3
Improve argument parsing for serve command
10 years ago
Unknwon
f15fa9167a
cmd: code fix for #905
...
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
Unknwon
2a2596fe61
able to disable SSH for #883
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago