Commit graph

609 commits

Author SHA1 Message Date
Unknwon
a2f13eae55 some avatar setting changes
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Unknwon
2d2d85bba4 support pull requests in same repository 2016-03-04 15:43:01 -05:00
Unknwon
9df6ce48c5 Minor fixes for 2016-03-04 13:32:17 -05:00
Unknwon
d57a2b908a and fix bad SQL generated by XORM
Use hand-written SQL to do complex query
2016-03-04 13:08:47 -05:00
Unknwon
f6759a731a fix redirect loop with auto-signin 2016-03-04 09:15:11 -05:00
Unknwon
260723e2cc Minor fixes for 2016-03-03 23:24:22 -05:00
Unknwon
f946040fa9 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
2016-03-03 15:09:43 -05:00
Unknwon
c9901bbba5 workaround to fix XORM problem 2016-03-03 10:57:27 -05:00
Unknwon
97429a25ab make IN clause compatible with Postgres 2016-03-01 14:39:28 -05:00
Unknwon
9e89584cb4 Allow setting git operations timeouts
- Migrate:  
- Clone: 
- Mirror, Pull
2016-02-29 19:29:49 -05:00
Unknwon
ea80274229 fix sqlite3 can't create issue with more than one label 2016-02-29 18:45:12 -05:00
Unknwon
8055a0bdac Post work for
Improve test cases, config settings, also show SSH config settings on admin config panel.
2016-02-27 20:48:39 -05:00
Unknwon
d320915ad2 Minor fix for 2016-02-27 11:31:24 -05:00
Unknwon
129638117f fix panic when close issue via commit message 2016-02-25 14:17:55 -05:00
Unknwon
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
Unknwon
baaf6046a1 Minor fix for 2016-02-24 23:59:17 -05:00
Unknwon
72ce06eab8 fix missing slash for go-get meta 2016-02-23 00:12:04 -05:00
Unknwon
912f7b51e9 add actions for close and reopen issues 2016-02-22 12:40:00 -05:00
Unknwon
c9516c4c60 Fix wrong place to check disable SSH 2016-02-21 21:55:59 -05:00
Unknwon
acf094fb07 Minor fix for
Add AttributesInBind option in new auth source form.
2016-02-20 14:56:27 -05:00
Unknwon
b7f3d94cd0 Minor fix for 2016-02-19 22:16:26 -05:00
Unknwon
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
Unknwon
338af89d56 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
Unknwon
d5ca913b2f add branch prefix for test webhook 2016-02-17 15:05:07 -05:00
Unknwon
632c27802c Minor fix for 2016-02-15 14:57:15 -05:00
Unknwon
58e004f7da Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
Unknwon
a1d97e8f5c Minor fix for 2016-02-14 20:07:42 -05:00
Unknwon
9adfe453d5 delete repo local copy when transfer
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
2016-02-14 19:42:38 -05:00
Unknwon
297e772c20 fix payloads mixed up for webhook
When repository contains a Slack type hook,
it changes original payload content.

This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
2016-02-10 15:21:39 -05:00
Unknwon
ee53204e02 Improve db path prompt when install 2016-02-07 11:51:53 -05:00
Unknwon
f8182ac521 delete local wiki copy when rename repo and user 2016-02-05 14:11:53 -05:00
Unknwon
8e40f86d2c handle space in image URL 2016-02-04 22:51:40 -05:00
Unknwon
04be8c0de5 reinitialize all repos from the db
- Update locales
2016-02-04 12:51:00 -05:00
Unknwon
a47baa1b7a Add missing patch conflit pattern 2016-02-03 12:28:03 -05:00
Unknwon
5a27aea8e0 Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
2016-02-02 10:22:27 -05:00
Unknwon
1c74612b3c Minor fix for 2016-02-01 20:55:12 -05:00
Unknwon
3abad75a1b Fix one user may block entire listen loop for builtin SSH 2016-02-01 12:10:49 -05:00
Unknwon
4848620594 adjust URL verbose depth for reverse proxy sub-path 2016-01-31 15:38:20 -05:00
Unknwon
a9d68a6884 fix 2016-01-31 13:33:36 -05:00
Unknwon
8436d69eaf Update and reorganize front-end resources 2016-01-30 22:10:20 -05:00
Unknwon
112a7cab31 incorrect error handle for team name 2016-01-29 17:06:14 -05:00
Unknwon
ee814bf8d6 minor fix for sr on dashboard 2016-01-29 15:28:24 -05:00
Unknwon
4deb876343 Minor fix for
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05:00
Unknwon
7ca1821725 fix 2016-01-26 02:00:16 -05:00
Unknwon
e33ddac9bf Minor fix for 2016-01-25 14:04:46 -05:00
Unknwon
7ef9a05588 use Go sub-repo ssh to verify public key content 2016-01-15 18:39:51 +08:00
Unknwon
29b07693dd minor fix to
- add tooltip for organization name in profile
2016-01-14 21:21:56 +08:00
Unknwon
f43cc90841 Truncate repository name if too long 2016-01-11 20:41:43 +08:00
Unknwon
91bab801aa try to handle []int8 case 2016-01-11 14:34:32 +08:00
Unknwon
86bce4a2ae minor fix to 2016-01-09 14:51:17 +08:00
Unknwon
cc8c67ff29 fix markdown autolink error 2016-01-09 10:59:04 +08:00
Unknwon
03427fb005 fix 2016-01-08 08:49:03 +08:00
Unknwon
e0f0f72a36 disallow access of some pages for empty repo 2016-01-07 11:07:17 +08:00
Unknwon
ca35ddd078 fix 2016-01-07 09:24:19 +08:00
Unknwon
cc22c8a1ae update dep lib version requirement 2016-01-06 13:34:34 +08:00
Unknwon
7392b6a755 fix 2016-01-05 12:43:19 +08:00
Unknwon
4993ab1a76 fall back to use custom chardet lib 2015-12-31 22:13:47 -05:00
Unknwon
8d58e06ad8 more fix on 2015-12-30 18:47:32 -05:00
Unknwon
44637f03cc fast detection of utf-8 2015-12-27 17:02:36 -05:00
Unknwon
85af36332b fix utf-8 recognized as windows-1252 2015-12-25 05:25:47 -05:00
Unknwon
13fe733037 use monospaced font for commit IDs in news feeds 2015-12-24 20:43:45 -05:00
Unknwon
a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
c62a6b7a12 allow switch branches between two orgs in compose PR 2015-12-20 01:06:54 -05:00
Unknwon
53eb37d529 fix 2015-12-19 21:43:32 -05:00
Unknwon
2d3ecbe5b2 make mailer log more verbose 2015-12-19 02:44:34 -05:00
Unknwon
037a01c4e4 fix 2015-12-18 05:49:28 -05:00
Unknwon
33a99d587a fix 2015-12-17 21:57:34 -05:00
Unknwon
9cd16c5b12 add organization APIs 2015-12-17 02:28:47 -05:00
Unknwon
6673dcb038 improvments of highlight class name 2015-12-16 22:13:12 -05:00
Unknwon
b117befc2b add user email APIs 2015-12-15 22:57:18 -05:00
Unknwon
7786cb76f3 fix 2015-12-15 21:32:17 -05:00
Unknwon
3362b3a44f fix possible disclosure 2015-12-14 17:06:54 -05:00
Unknwon
50264200f0 fix huge diff hangs 2015-12-14 09:38:21 -05:00
Unknwon
91789930bc fix 500 on /watchers & /stars for pg 2015-12-14 02:40:23 -05:00
Unknwon
7509fa2c33 improve get commits performance 2015-12-13 22:58:12 -05:00
Unknwon
acdb4d8bdd Drop Go 1.3 support 2015-12-13 20:20:52 -05:00
Unknwon
95f9c85bcc use Go sub-repo to detect encoding 2015-12-13 19:56:33 -05:00
Unknwon
79dcd7ee6e able to identify git version on Windows 2015-12-13 18:20:39 -05:00
Unknwon
351dfc95a9 prepare release 2015-12-12 21:58:54 -05:00
Unknwon
4108c12092 add edit org link in admin panel 2015-12-12 15:47:59 -05:00
Unknwon
59c965a5ec admin able to edit organization max repo creation 2015-12-11 19:24:57 -05:00
Unknwon
d0b0d24f22 disable change user for non-local users
-  remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
40f3142264 External URL for wiki 2015-12-11 04:55:08 -05:00
Unknwon
3d5d61778a disable password change for non-local users 2015-12-10 19:02:57 -05:00
Unknwon
99e9bbef6c fix bool check for repo max limit and fix hang when push repo with tons of commits 2015-12-10 16:27:47 -05:00
Unknwon
2a0bb1fa90 Limit repo creation 2015-12-10 12:37:53 -05:00
Unknwon
c6083c335e Ability to send mail when a new pull request is submitted 2015-12-10 11:18:56 -05:00
Unknwon
9a2e43bff2 move out git module and send push hook 2015-12-09 20:46:05 -05:00
Daniel Theophanes
0d469f261e gogs: add import that lets gogs run as a stand-alone windows service
Updates 
2015-12-09 09:04:10 -08:00
Unknwon
718d3ae258 Able to config fsck timeout 2015-12-09 11:38:12 -05:00
Unknwon
a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag 2015-12-09 00:32:53 -05:00
Unknwon
120cd4e471 Better mirror repo management 2015-12-08 20:06:12 -05:00
Unknwon
2528c482e9 auto login after install if admin is configured 2015-12-08 00:59:14 -05:00
Unknwon
dce2a9e7e1 fix wrong slack webhook payload URL 2015-12-06 23:07:02 -05:00
Unknwon
ca8ce793d1 Ability to delete repo from admin panel 2015-12-05 17:39:29 -05:00
Unknwon
404867f206 fix and fix 2015-12-05 13:24:13 -05:00
Unknwon
f41360d864 advanced select ops for system notices 2015-12-05 01:09:14 -05:00
Unknwon
e538ff2770 fix and fix 2015-12-04 21:30:33 -05:00
Unknwon
56dd430a10 refactor API routes and some work for 2015-12-04 17:16:42 -05:00
Unknwon
cc8f5add6e fix 2015-12-03 00:24:37 -05:00
Unknwon
ec2423ad7c more UI minor fixes 2015-12-02 20:56:26 -05:00
Unknwon
926e91820a Diff is not showing full content when has super long one line 2015-12-02 01:10:13 -05:00
Unknwon
0be8b1b1a1 Ability to batch delete system notices 2015-12-01 23:33:08 -05:00
Unknwon
3460ec1039 update REMADE and locale 2015-12-01 19:53:19 -05:00
Unknwon
d3a5ff7b6b fix 2015-11-30 20:50:40 -05:00
Unknwon
144663a3cf allow admin to migrate for any user/org 2015-11-25 00:55:37 -05:00
Unknwon
3ca544912f Drop /org/ URL path prefix in organization home page 2015-11-24 19:14:00 -05:00
Unknwon
56c66ee486 more supported git hooks 2015-11-24 16:30:47 -05:00
Unknwon
0128036514 some fixes for builtin SSH server on Windows 2015-11-23 22:32:07 -05:00
Unknwon
52c8f69163 fix 2015-11-22 01:32:09 -05:00
Unknwon
eea2e05da6 minor fix on 2015-11-21 12:58:31 -05:00
Unknwon
987dcc5372 fix 2015-11-20 02:38:41 -05:00
Unknwon
2158e6fc43 fix 2015-11-19 11:40:00 -05:00
Unknwon
f455125d4d fix 2015-11-18 21:21:47 -05:00
Unknwon
2c653141a8 Update default branch in git repository while change in web view 2015-11-18 19:32:23 -05:00
Unknwon
62533560ce fix 2015-11-18 13:14:46 -05:00
Unknwon
ff5f14431e fix 2015-11-17 02:18:05 -05:00
Unknwon
ec5f881384 fix CSS 2015-11-16 23:30:05 -05:00
Unknwon
e06558e208 Pull request fail to merge with BIN 2015-11-16 21:18:04 -05:00
Unknwon
5dc3dd1704 fix 2015-11-16 11:11:59 -05:00
Unknwon
7046df6028 UI fix 2015-11-16 00:16:03 -05:00
Unknwon
18de67380c fix 2015-11-15 23:52:46 -05:00
Unknwon
b4970b3cc3 fix 2015-11-15 14:05:51 -05:00
Unknwon
7c80eba77f minor UI fix and fix ssh race 2015-11-14 13:21:31 -05:00
Unknwon
7b1c10ea7e new repo ui
- copy link button: , , ,
- synxtax highlight: , , , 
- z-index: 
2015-11-14 04:34:01 -05:00
Unknwon
1d57f0d64f Show custom avatars in commits 2015-11-13 17:10:25 -05:00
Unknwon
a6c7716742 minor fix for and fix 2015-11-13 10:05:50 -05:00
Unknwon
10427b2178 fix 2015-11-12 12:32:40 -05:00
Unknwon
908f2924ce fix and fix 2015-11-11 16:19:28 -05:00
Unknwon
3b62a0fe0e fix fix file histrory paging issue 2015-11-10 16:46:17 -05:00
Unknwon
0d4498429c work on 2015-11-09 02:13:25 -05:00
Unknwon
3ec650b0ef update version 2015-11-08 17:03:21 -05:00
Unknwon
b55499d039 go vet and fix 2015-11-08 14:31:49 -05:00
Unknwon
58436b5ea5 prepare 0.7.0 2015-11-08 11:08:13 -05:00
Unknwon
676d774d88 fix 2015-11-07 00:39:45 -05:00
Unknwon
54ca0b2f09 images with links in Markdown
-  minor fix on image link
2015-11-06 11:10:27 -05:00
Unknwon
2bd64621fc last updatede time not update after push 2015-11-05 19:18:59 -05:00
Unknwon
f255b1e86d fatal when no needed update task 2015-11-04 21:57:10 -05:00
Unknwon
603c7389b8 Dashboard issues lacks sorting 2015-11-04 12:50:02 -05:00
Unknwon
00eb2b221f fix 2015-11-04 10:16:50 -05:00
Unknwon
6f0a41b8b2 Allow local import only for admin users 2015-11-03 18:40:52 -05:00
Unknwon
25ec20d525 update merge base before generate new patch 2015-11-03 17:25:39 -05:00
Unknwon
0af035c37e not show bin when rename a file 2015-11-03 09:52:17 -05:00
Unknwon
bc82157216 fix 2015-11-02 19:55:24 -05:00
Unknwon
8eb4c3121a work on 2015-11-02 18:54:47 -05:00
Unknwon
75aab86a8d fix problem with 2015-11-02 14:01:19 -05:00
Unknwon
cb100c7781 work 2015-10-31 23:18:58 -04:00
Unknwon
fad31ca302 work on 2015-10-31 18:59:07 -04:00
Unknwon
16feb5b655 minor fix on 2015-10-31 12:04:04 -04:00
Unknwon
706b0f72e2 fix issue comment mention and autofix count when start 2015-10-29 20:40:57 -04:00