78 Commits

Author SHA1 Message Date
f388661bda ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +01:00
6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
5b5af7daee Made linter happy in cmd folder 2016-11-04 23:45:06 +01:00
2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
4f40019130 codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
a00c932bbc General code quality improvement 2016-08-16 23:06:38 -07:00
dccb0c15b9 Replace convert.To with APIFormat calls 2016-08-14 04:17:26 -07:00
3f7f4852ef #2246 fully support of webhooks for pull request 2016-08-14 03:32:24 -07:00
1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
7826eae452 #3045 fix DEPRECATED Action signature erorr 2016-05-12 14:32:28 -04:00
8055a0bdac Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
2016-02-27 20:48:39 -05:00
c9516c4c60 Fix wrong place to check disable SSH 2016-02-21 21:55:59 -05:00
ac78bae7b5 Replace uuid module with original package 2016-02-20 18:13:12 -05:00
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.
2016-02-17 22:47:06 -05:00
a62290de52 #2311 improve HTTP auth error message 2015-12-30 21:29:30 -05:00
85af36332b #2282 fix utf-8 recognized as windows-1252 2015-12-25 05:25:47 -05:00
9cd16c5b12 #1692 add organization APIs 2015-12-17 02:28:47 -05:00
3362b3a44f fix possible disclosure 2015-12-14 17:06:54 -05:00
e4a092fb5a Make serv/update use LOCAL_ROOT_URL instead public
The reasoning for that is in the previous commit.
2015-12-09 23:11:07 +01:00
dcb391d341 Merge branch 'feature/wiki' into develop 2015-11-30 20:46:19 -05:00
830d000667 finish wiki 2015-11-30 20:45:55 -05:00
9950f5a5bd add line break after SSH error message 2015-11-30 10:00:52 -05:00
21ad4bf0fe print error log to client side when dev mode 2015-11-23 22:33:24 -05:00
0128036514 #1681 some fixes for builtin SSH server on Windows 2015-11-23 22:32:07 -05:00
e030109b5a fix api broken 2015-11-15 17:07:44 -05:00
2db785b3ed convert missing name 2015-11-09 11:39:03 -05:00
647688bd06 #1266 convert name to lower when handle SSH 2015-11-09 11:34:04 -05:00
18c841050b fix 1540 and experimental SSH server support 2015-11-08 16:59:56 -05:00
b55499d039 go vet and fix #1890 2015-11-08 14:31:49 -05:00
f255b1e86d #1896 fatal when no needed update task 2015-11-04 21:57:10 -05:00
b9f5def5dc fix insecure tls when trigger task 2015-10-26 09:16:24 -04:00
0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply 2015-10-24 03:36:47 -04:00
db00aa7653 add log for trigger hook when push through SSH 2015-10-05 09:46:00 -04:00
e75fd2f783 simplify names 2015-09-16 23:08:46 -04:00
dea3a8c6a4 WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
39a3b768bc #334: Add Deployment Key Support 2015-08-06 22:48:11 +08:00
e50982f5ec allow anonymous SSH clone 2015-08-05 11:14:17 +08:00
fa298a2c30 #835: Realtime webhooks 2015-07-25 21:32:04 +08:00
57651060ce Merge pull request #1336 from technosophos/master
Fix minor spelling issues.
2015-07-25 00:47:09 +08:00
d82d9bc153 Fix minor spelling issues. 2015-06-18 05:01:05 -06:00
1988c0993d remove extra space in ssh authentication message 2015-04-02 22:22:58 +02:00
588f3215c6 #1040: dashboard no longer accessible when repo is missing 2015-03-16 04:04:27 -04:00
b447d18dca cmd/serve.go: remove useless code 2015-03-01 18:43:28 -05:00
d446be9f5f models: mirror fix on #964 2015-02-28 22:24:53 -05:00
aa68e86206 Rewrite/simplify gogs serve 2015-02-16 16:38:01 +02:00
6d0f3a07d4 code fix #941 caution: undertest 2015-02-13 00:58:46 -05:00
6c1ee384f1 Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
	cmd/serve.go
	models/access.go
	models/migrations/migrations.go
	models/org.go
	models/repo.go
	models/user.go
	modules/middleware/org.go
	modules/middleware/repo.go
	routers/api/v1/repo.go
	routers/org/teams.go
	routers/repo/http.go
	routers/user/home.go
2015-02-12 14:25:07 +02:00
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.
2015-02-12 14:14:45 +02:00
7e7160eefd first pass work on migration #925 2015-02-11 21:58:37 -05:00
0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style 2015-02-09 13:36:33 +02:00