mirror of
1
Fork 0
Commit Graph

536 Commits

Author SHA1 Message Date
Unknwon 643142acab Web editor: support upload files 2016-08-30 05:23:59 -07:00
Unknwon 28cf0e6aaa code quality improvement 2016-08-29 20:00:06 -07:00
Unknwon 62b0dc4853 Web editor: fix cannot create new file in subdirectory 2016-08-29 00:10:21 -07:00
Unknwon 579e5e4fee Web editor: disallow edit mirror repository 2016-08-28 04:56:41 -07:00
Unknwon 0114fdcba4 Web editor: improve delete file process 2016-08-28 01:41:44 -07:00
Unknwon dad5c15520 allow setting preferred licenses
- Closes 
2016-08-28 00:06:22 -07:00
Unknwon c30b856d14 use user’s info for committer and author 2016-08-27 13:37:55 -07:00
Unknwon 13a8823bd3 only start builtin SSH server after user finish installation 2016-08-27 12:25:22 -07:00
Unknwon bb359a74f1 migrations: set comment updated as created 2016-08-26 14:07:21 -07:00
Unknwon 6b98d58906 code cleanup 2016-08-26 13:40:53 -07:00
Unknwon f8a48ffaad Web editor: improve code quality 2016-08-24 21:35:03 -07:00
Unknwon 0b273ac4d5 code cleanup 2016-08-24 16:05:56 -07:00
Unknwon a00c932bbc General code quality improvement 2016-08-16 23:06:38 -07:00
Unknwon 6f9a95f830 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon 9349def72e reproduce diff signs
Commited wrong file.
2016-08-16 07:33:53 -07:00
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function 2016-08-15 18:40:32 -07:00
Unknwon 61e27dedf7 fix response of pull request form validation error 2016-08-15 14:04:44 -07:00
Unknwon 5e89485cec Update README [CI SKIP] 2016-08-15 02:12:18 -07:00
Unknwon 8637e67e6f Fix outdated edit can’t overwrite changes 2016-08-15 02:06:35 -07:00
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls 2016-08-14 04:17:26 -07:00
Unknwon 3f7f4852ef fully support of webhooks for pull request 2016-08-14 03:32:24 -07:00
Unknwon 0f33b04c87 Add subcommand to create new user in CLI 2016-08-13 16:11:52 -07:00
Unknwon a47aef5460 code cleanup 2016-08-11 14:55:10 -07:00
Unknwon 5077408d78 code cleanup and minor issue fix 2016-08-11 10:53:51 -07:00
Unknwon 0f26f3678a use doer email for FROM field of issues 2016-08-11 06:17:45 -07:00
Unknwon 5448d29b2e wrong dashboard issue count for create by you 2016-08-09 23:19:52 -07:00
Unknwon edd786446c skip RUN_USER check on Windows 2016-08-09 17:41:18 -07:00
Unknwon f70343660d Little code refactoring 2016-08-09 12:56:00 -07:00
Unknwon 90af997fec 500 for upstream pulls page if user has forked repository 2016-08-08 13:02:55 -07:00
Unknwon e5bf4281b5 early response 200 when ?go-get=1 2016-08-07 14:29:16 -07:00
Unknwon 99385db0c4 code cleanup 2016-08-07 11:01:47 -07:00
Unknwon ec92565f23 fix missing sub-url prefix in relative avatar link 2016-08-07 10:13:05 -07:00
Unknwon ab9c5fb5e7 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
2016-08-05 18:34:13 -07:00
rugk 28dc5bb566 Replace gogs.io http links with https version () 2016-08-05 17:35:40 -07:00
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 2016-08-05 12:46:26 -07:00
Unknwon 50422f1fc2 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
Unknwon 2f105f3979 completely disable builtin issue tracker when enable external tracker 2016-08-04 16:32:02 -07:00
Unknwon e7fd65f0cf better code structure and batch minor improvements 2016-08-03 11:51:22 -07:00
Unknwon 10dc330640 dump content directly to HTTP ResponseWriter 2016-07-30 23:39:58 +08:00
Unknwon 8aa0a76702 fix wrong table name in Join 2016-07-26 18:40:20 +08:00
Unknwon 2d76de2574 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
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