533 Commits

Author SHA1 Message Date
ac53bb593d #2878 print error of JSON unmarshal and always returns a valid object 2016-03-26 16:42:20 -04:00
b1d41cfa60 #1692 add admin APIs to add/remove a user from teams 2016-03-25 18:04:02 -04:00
98b58fa050 Handle windows deletion when start
Fix #2872
2016-03-23 03:16:53 -04:00
e6f927f61a #1692 api: admin list and create team under organization 2016-03-21 12:47:54 -04:00
60ae8ac3d2 Add route for #2846 2016-03-21 10:49:46 -04:00
004fb30ebe Remove code for checking ssh-keygen 2016-03-19 20:31:23 -04:00
9e09e48502 #2850 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.

Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
2016-03-18 06:13:16 -04:00
ff731ea07d #2814 LOWER() column value within search 2016-03-16 16:55:19 -04:00
9a5a27ea8d Improve repository lable style
- add border-radius to filter list items
- use color as background of label for issue/pull view page
2016-03-15 19:52:40 -04:00
149d62a648 #13 fix admin can't search private repos
- update glide info
2016-03-15 14:23:12 -04:00
9bd9ad4205 #1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
b4f47a7623 #1891 attempt to fix invalid csrf token 2016-03-12 20:56:03 -05:00
d733efc1cc #1286 #2098 Alpha support for custom templates
No guarantee for compatibility with future changes
2016-03-12 13:48:34 -05:00
2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
514382e2eb Rename module: middleware -> context 2016-03-11 11:56:52 -05:00
5267dce210 Fix ref comment from commit create empty feed 2016-03-11 05:11:58 -05:00
eed9966ad6 #2727 fix incompatible SQL in PostgreSQL 2016-03-09 23:18:39 -05:00
ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 2016-03-09 19:53:30 -05:00
0e9bc2d410 Fix pull request availability check 2016-03-06 23:57:46 -05:00
0ea0c5ec4f Prepare release 2016-03-06 19:55:38 -05:00
9cf7f3e46f Remove duplicated of code 2016-03-06 14:44:22 -05:00
13bd16af92 Minor fixes for #2766 2016-03-06 13:24:42 -05:00
a5b0400be7 #1146 finish new access rights for collaborators 2016-03-05 20:45:23 -05:00
414eb22ef9 #1597 fix activitity feeds for pull requests 2016-03-05 12:58:51 -05:00
a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
2d2d85bba4 #1597 support pull requests in same repository 2016-03-04 15:43:01 -05:00
9df6ce48c5 Minor fixes for #2746 2016-03-04 13:32:17 -05:00
d57a2b908a #2743 and #2751 fix bad SQL generated by XORM
Use hand-written SQL to do complex query
2016-03-04 13:08:47 -05:00
f6759a731a #2748 fix redirect loop with auto-signin 2016-03-04 09:15:11 -05:00
260723e2cc Minor fixes for #2745 2016-03-03 23:24:22 -05:00
f946040fa9 #1891 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
2016-03-03 15:09:43 -05:00
c9901bbba5 #2743 workaround to fix XORM problem 2016-03-03 10:57:27 -05:00
97429a25ab #2727 make IN clause compatible with Postgres 2016-03-01 14:39:28 -05:00
9e89584cb4 Allow setting git operations timeouts
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
2016-02-29 19:29:49 -05:00
ea80274229 #2700 fix sqlite3 can't create issue with more than one label 2016-02-29 18:45:12 -05: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
d320915ad2 Minor fix for #2710 2016-02-27 11:31:24 -05:00
129638117f #2697 fix panic when close issue via commit message 2016-02-25 14:17:55 -05:00
4438b7793b Add new config option for builtin SSH server
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
2016-02-25 00:21:48 -05:00
baaf6046a1 Minor fix for #2660 2016-02-24 23:59:17 -05:00
72ce06eab8 #2682 fix missing slash for go-get meta 2016-02-23 00:12:04 -05:00
912f7b51e9 #1821 add actions for close and reopen issues 2016-02-22 12:40:00 -05:00
c9516c4c60 Fix wrong place to check disable SSH 2016-02-21 21:55:59 -05:00
acf094fb07 Minor fix for #2634
Add AttributesInBind option in new auth source form.
2016-02-20 14:56:27 -05:00
b7f3d94cd0 Minor fix for #2524 2016-02-19 22:16:26 -05:00
341da3cea7 Fix inappropriate markdown post process end tag check
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
2016-02-19 17:39:50 -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
d5ca913b2f #2639 add branch prefix for test webhook 2016-02-17 15:05:07 -05:00
632c27802c Minor fix for #2624 2016-02-15 14:57:15 -05:00
58e004f7da Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00