Commit Graph

545 Commits

Author SHA1 Message Date
Unknwon 4d8b905541 models/ssh_key: code cleaning 2016-07-26 10:47:25 +08:00
Unknwon 899e799459 support delete issue comment 2016-07-26 02:48:17 +08:00
Unknwon e74630ae3b add pagination for repositories 2016-07-24 14:32:46 +08:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon 57a47bbc05 Add some tutorial links [CI SKIP] 2016-07-23 21:23:30 +08:00
Unknwon d90acacd86 Update README [CI SKIP] 2016-07-23 19:22:43 +08:00
Unknwon 69f5308761 use different reversed words and patterns for repository and user 2016-07-23 18:58:18 +08:00
Unknwon 4b5e09e4d6 detect situation when base branch is deleted in pull request 2016-07-23 18:35:16 +08:00
Unknwon 745167d57a create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
2016-07-23 17:36:15 +08:00
Unknwon c912494609 detect invalid tag name git error 2016-07-23 15:59:19 +08:00
Unknwon ae88d76032 Bump version 2016-07-22 21:52:39 +08:00
Unknwon 57af7432fc fix wrong logic judgement 2016-07-21 14:15:04 +08:00
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID 2016-07-17 08:33:59 +08:00
Unknwon c083d76567 able to prohibit user login 2016-07-16 10:22:16 +08:00
Unknwon fff615d5fc Bump version 2016-07-16 00:37:21 +08:00
Unknwon 194a742fb9 fix assign operation not take effect 2016-07-15 17:06:17 +08:00
Unknwon de10387f41 bump git-module requirement 2016-07-12 06:20:09 +08:00
Unknwon fdcca9292e fix emoji been rendered inside raw content area 2016-07-11 05:28:56 +08:00
Unknwon 9fcf66f0e0 Minor fix for 2016-07-09 13:42:05 +08:00
Unknwon d62ab49978 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon 401bf944ef Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by  and fixes  as well.
2016-07-08 07:25:09 +08:00
Unknwon 4b25bdfbc4 support correct page size and link header 2016-07-04 17:27:06 +08:00
Unknwon 6aa00f7bcf use HTTP_ADDR to replace localhost 2016-07-02 18:54:48 +08:00
Unknwon e84ac64964 Do not show filename not have suffifx .md 2016-07-01 15:34:03 +08:00
Unknwon a10ca2c5f6 update README version description 2016-06-30 15:16:29 +08:00
Unknwon 7938506e07 update git-module require version 2016-06-30 02:21:23 +08:00
Unknwon 6f7276278d genetate bindata 2016-06-29 23:25:41 +08:00
Unknwon c041273dd3 repo/http: clean code 2016-06-01 04:19:01 -07:00
Unknwon 8df3ba96f3 use text/plain as default email content format 2016-05-30 01:32:01 -07:00
Unknwon e9ae926e04 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
2016-05-27 18:23:39 -07:00
Unknwon 7826eae452 fix DEPRECATED Action signature erorr 2016-05-12 14:32:28 -04:00
Unknwon fbf43c31e5 Add Czech support 2016-05-11 12:00:47 -04:00
Julien Reichardt 6be9a2c1db Add DPlatform as an installation way () 2016-05-06 19:44:05 -04:00
Unknwon 0a78d99a4d models/release: filter input to prevent command line argument vulnerability 2016-05-06 15:40:41 -04:00
Unknwon 0325bec283 minor fix for bug of xorm 2016-04-26 00:22:03 -04:00
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Unknwon 78b8b63774 set default style name when empty in AfterSet 2016-04-22 18:36:05 -04:00
Unknwon a27c6f4b75 fix sort' field missing on issue pagination link 2016-04-04 19:48:10 -04:00
Unknwon 762ab056a2 Fix XORM IN condition table name parse 2016-03-27 18:21:37 -04:00
Unknwon ac53bb593d print error of JSON unmarshal and always returns a valid object 2016-03-26 16:42:20 -04:00
Unknwon b1d41cfa60 add admin APIs to add/remove a user from teams 2016-03-25 18:04:02 -04:00
Unknwon 98b58fa050 Handle windows deletion when start
Fix 
2016-03-23 03:16:53 -04:00
Unknwon e6f927f61a api: admin list and create team under organization 2016-03-21 12:47:54 -04:00
Unknwon 9e09e48502 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
Unknwon ff731ea07d LOWER() column value within search 2016-03-16 16:55:19 -04:00
Unknwon 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
Unknwon 149d62a648 fix admin can't search private repos
- update glide info
2016-03-15 14:23:12 -04:00
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
2016-03-13 23:20:22 -04:00
Unknwon db4da7beec Add APIContext 2016-03-13 17:37:44 -04:00
Unknwon b4f47a7623 attempt to fix invalid csrf token 2016-03-12 20:56:03 -05:00
Unknwon d733efc1cc Alpha support for custom templates
No guarantee for compatibility with future changes
2016-03-12 13:48:34 -05:00
Unknwon 2bf8494332 finish user and repository search
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon 514382e2eb Rename module: middleware -> context 2016-03-11 11:56:52 -05:00
Unknwon 5267dce210 Fix ref comment from commit create empty feed 2016-03-11 05:11:58 -05:00
Unknwon eed9966ad6 fix incompatible SQL in PostgreSQL 2016-03-09 23:18:39 -05:00
Unknwon ad513a20e9 Replace time.Time with Unix Timestamp (int64) 2016-03-09 19:53:30 -05:00
Unknwon 0e9bc2d410 Fix pull request availability check 2016-03-06 23:57:46 -05:00
Unknwon 0ea0c5ec4f Prepare release 2016-03-06 19:55:38 -05:00
Unknwon 9cf7f3e46f Remove duplicated of code 2016-03-06 14:44:22 -05:00
Unknwon 13bd16af92 Minor fixes for 2016-03-06 13:24:42 -05:00
Unknwon c18f67ac6a Add Finnish support 2016-03-05 21:13:04 -05:00
Unknwon a5b0400be7 finish new access rights for collaborators 2016-03-05 20:45:23 -05:00
Romain Beaumont 52fdecf97b Fix grammar in README 2016-03-05 19:46:32 +01:00
Unknwon 9c0f84cee8 Update README notes 2016-03-05 13:09:31 -05:00
Unknwon 414eb22ef9 fix activitity feeds for pull requests 2016-03-05 12:58: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 baaf6046a1 Minor fix for 2016-02-24 23:59:17 -05:00
Unknwon d324500959 Prepare to release 2016-02-24 01:14:43 -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 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 7162095635 Merge pull request from jwdeitch/patch-1
Update contributing guidlines link
2016-02-19 16:09:43 -05:00
jwdeitch 0b54035d7a Update README.md 2016-02-19 16:07:15 -05:00
jwdeitch dbd4697001 Update contributing guidlines link
previously displays 404
2016-02-19 15:25:23 -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 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 de3be370f7 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
2016-02-13 18:11:15 -05:00
Unknwon 5258ee3740 Update locales and update sponsor 2016-02-11 13:34:21 -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 d4583ebd4b Add YunoHost link to README 2016-02-05 10:19:37 -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 1c74612b3c Minor fix for 2016-02-01 20:55:12 -05:00
Unknwon 4848620594 adjust URL verbose depth for reverse proxy sub-path 2016-01-31 15:38:20 -05:00
Unknwon 112a7cab31 incorrect error handle for team name 2016-01-29 17:06:14 -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 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 ab89be33a9 fix 2016-01-14 14:28:07 +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 e0f0f72a36 disallow access of some pages for empty repo 2016-01-07 11:07:17 +08:00
Unknwon cc22c8a1ae update dep lib version requirement 2016-01-06 13:34:34 +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 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 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 7509fa2c33 improve get commits performance 2015-12-13 22:58:12 -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 e444a67d59 update locales 2015-12-12 14:47:11 -05:00
Unknwon 59c965a5ec admin able to edit organization max repo creation 2015-12-11 19:24:57 -05:00
Unknwon 477b4d3b50 fix form submit error 2015-12-11 18:52:28 -05:00
Unknwon d0b0d24f22 disable change user for non-local users
-  remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon 5d95ffe3eb The owner has reached maximum creation limit of 0 repositories 2015-12-11 15:11:13 -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
Unknwon 718d3ae258 Able to config fsck timeout 2015-12-09 11:38:12 -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 b1a53f6d8e add quay.io as another Docker option 2015-12-07 19:40:24 -05:00
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL 2015-12-06 23:07:02 -05:00
Unknwon b5f6206a65 prepare release 2015-12-06 15:34:17 -05:00
Unknwon ca8ce793d1 Ability to delete repo from admin panel 2015-12-05 17:39:29 -05:00
Unknwon bf26808fb3 update README 2015-12-05 13:50:43 -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 3ca544912f Drop /org/ URL path prefix in organization home page 2015-11-24 19:14:00 -05:00
Unknwon 0128036514 some fixes for builtin SSH server on Windows 2015-11-23 22:32:07 -05:00
Unknwon e6b2a01e5d minor JS fix 2015-11-22 02:29:20 -05:00
Unknwon 52c8f69163 fix 2015-11-22 01:32:09 -05:00
Unknwon 6a6a7512c2 notice 2015-11-20 11:37:17 -05:00
Unknwon 987dcc5372 fix 2015-11-20 02:38:41 -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 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 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 647688bd06 convert name to lower when handle SSH 2015-11-09 11:34:04 -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 58436b5ea5 prepare 0.7.0 2015-11-08 11:08:13 -05:00
Unknwon d85a1d478e admin op with notice 2015-11-07 20:20:51 -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 b163d79a2e DO sponsor 2015-11-05 14:40:22 -05:00
Unknwon f255b1e86d fatal when no needed update task 2015-11-04 21:57:10 -05:00
Unknwon 9372eedf2e README 2015-11-04 18:34:08 -05:00
Unknwon 603c7389b8 Dashboard issues lacks sorting 2015-11-04 12:50:02 -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 bc82157216 fix 2015-11-02 19:55:24 -05:00
Unknwon 8eb4c3121a work on 2015-11-02 18:54:47 -05:00
Unknwon b0226a1d05 fix 2015-11-01 12:30:27 -05:00
Mathew Robinson 89bf56a6ac Fixed broken link in README
The link http://gogs.io/docs/intro/ produces a 404 error and is used in the README updated it to http://gogs.io/docs/intro which correctly links to the introductory documentation
2015-10-29 15:34:59 -04:00
Unknwon 4f0e31e96d update README 2015-10-29 03:21:59 -04:00