{"action":"closed","number":3287,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/3287","id":78060760,"html_url":"https://github.com/gogits/gogs/pull/3287","diff_url":"https://github.com/gogits/gogs/pull/3287.diff","patch_url":"https://github.com/gogits/gogs/pull/3287.patch","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3287","number":3287,"state":"closed","locked":false,"title":"Web editor for repository files (Create new, edit, upload, rename, delete)","user":{"login":"richmahn","id":2839925,"avatar_url":"https://avatars.githubusercontent.com/u/2839925?v=3","gravatar_id":"","url":"https://api.github.com/users/richmahn","html_url":"https://github.com/richmahn","followers_url":"https://api.github.com/users/richmahn/followers","following_url":"https://api.github.com/users/richmahn/following{/other_user}","gists_url":"https://api.github.com/users/richmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/richmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richmahn/subscriptions","organizations_url":"https://api.github.com/users/richmahn/orgs","repos_url":"https://api.github.com/users/richmahn/repos","events_url":"https://api.github.com/users/richmahn/events{/privacy}","received_events_url":"https://api.github.com/users/richmahn/received_events","type":"User","site_admin":false},"body":"This is a new PR for Issue #1071 which doesn't include all the SimpleMD/CodeMirror files for ease of code review. This PR is dependent upon PR #3286 - \"Added coding style modes to SimpleMDE\"\r\n\r\nThis Feature adds the following functionality and improvements:\r\n\r\n  * Can edit text files of a repo you have write access to\r\n  * Can create new text files in a repo you have write access to\r\n  * Can upload files to a repo you have write access to (uploading feature has been updated for issues as well)\r\n  * Can delete files of a repo you have write access to\r\n  * Can create a new branch of a repo you have write access to \r\n  * Uses SimpleMDE/CodeMirror for editing both Markdown files and other coding styles (requires PR #3286)\r\n  * Allows creating sub-directories and renaming files when editing or uploading files\r\n  * Adds the following settings to the app.ini file:\r\n    - Under [upload], can set the number of files that can be uploaded, types of files that can be uploaded, and the max size\r\n    - Under [editor] can set the file extensions that will be line wrapped (including files with no extension), and the types of files that will have a preview tab (such as markdown, yaml, etc)\r\n    - Under [markdown] can set the file extensions of what files will be rendered as markdown, where even no extension is possible\r\n","created_at":"2016-07-19T22:32:00Z","updated_at":"2016-08-11T12:50:47Z","closed_at":"2016-08-11T12:50:47Z","merged_at":null,"merge_commit_sha":"2f03b83643d3ec9dfa62e20952888c8784162034","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gogits/gogs/pulls/3287/commits","review_comments_url":"https://api.github.com/repos/gogits/gogs/pulls/3287/comments","review_comment_url":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3287/comments","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/0afcb843d7ffd596991c4885cab768273a6eb42c","head":{"label":"richmahn:feature-create-and-edit-repo-file","ref":"feature-create-and-edit-repo-file","sha":"0afcb843d7ffd596991c4885cab768273a6eb42c","user":{"login":"richmahn","id":2839925,"avatar_url":"https://avatars.githubusercontent.com/u/2839925?v=3","gravatar_id":"","url":"https://api.github.com/users/richmahn","html_url":"https://github.com/richmahn","followers_url":"https://api.github.com/users/richmahn/followers","following_url":"https://api.github.com/users/richmahn/following{/other_user}","gists_url":"https://api.github.com/users/richmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/richmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richmahn/subscriptions","organizations_url":"https://api.github.com/users/richmahn/orgs","repos_url":"https://api.github.com/users/richmahn/repos","events_url":"https://api.github.com/users/richmahn/events{/privacy}","received_events_url":"https://api.github.com/users/richmahn/received_events","type":"User","site_admin":false},"repo":{"id":58708846,"name":"gogs","full_name":"richmahn/gogs","owner":{"login":"richmahn","id":2839925,"avatar_url":"https://avatars.githubusercontent.com/u/2839925?v=3","gravatar_id":"","url":"https://api.github.com/users/richmahn","html_url":"https://github.com/richmahn","followers_url":"https://api.github.com/users/richmahn/followers","following_url":"https://api.github.com/users/richmahn/following{/other_user}","gists_url":"https://api.github.com/users/richmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/richmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richmahn/subscriptions","organizations_url":"https://api.github.com/users/richmahn/orgs","repos_url":"https://api.github.com/users/richmahn/repos","events_url":"https://api.github.com/users/richmahn/events{/privacy}","received_events_url":"https://api.github.com/users/richmahn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richmahn/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":true,"url":"https://api.github.com/repos/richmahn/gogs","forks_url":"https://api.github.com/repos/richmahn/gogs/forks","keys_url":"https://api.github.com/repos/richmahn/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richmahn/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richmahn/gogs/teams","hooks_url":"https://api.github.com/repos/richmahn/gogs/hooks","issue_events_url":"https://api.github.com/repos/richmahn/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/richmahn/gogs/events","assignees_url":"https://api.github.com/repos/richmahn/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/richmahn/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/richmahn/gogs/tags","blobs_url":"https://api.github.com/repos/richmahn/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richmahn/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richmahn/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/richmahn/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richmahn/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/richmahn/gogs/languages","stargazers_url":"https://api.github.com/repos/richmahn/gogs/stargazers","contributors_url":"https://api.github.com/repos/richmahn/gogs/contributors","subscribers_url":"https://api.github.com/repos/richmahn/gogs/subscribers","subscription_url":"https://api.github.com/repos/richmahn/gogs/subscription","commits_url":"https://api.github.com/repos/richmahn/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/richmahn/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/richmahn/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/richmahn/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/richmahn/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/richmahn/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richmahn/gogs/merges","archive_url":"https://api.github.com/repos/richmahn/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richmahn/gogs/downloads","issues_url":"https://api.github.com/repos/richmahn/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/richmahn/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/richmahn/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/richmahn/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richmahn/gogs/labels{/name}","releases_url":"https://api.github.com/repos/richmahn/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/richmahn/gogs/deployments","created_at":"2016-05-13T06:46:11Z","updated_at":"2016-05-21T16:57:27Z","pushed_at":"2016-07-31T23:14:18Z","git_url":"git://github.com/richmahn/gogs.git","ssh_url":"git@github.com:richmahn/gogs.git","clone_url":"https://github.com/richmahn/gogs.git","svn_url":"https://github.com/richmahn/gogs","homepage":"https://gogs.io","size":71104,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"gogits:develop","ref":"develop","sha":"991ce42c48d2dc5e8be42245a432e782df0f3d23","user":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"repo":{"id":16752620,"name":"gogs","full_name":"gogits/gogs","owner":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogits/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":false,"url":"https://api.github.com/repos/gogits/gogs","forks_url":"https://api.github.com/repos/gogits/gogs/forks","keys_url":"https://api.github.com/repos/gogits/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogits/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogits/gogs/teams","hooks_url":"https://api.github.com/repos/gogits/gogs/hooks","issue_events_url":"https://api.github.com/repos/gogits/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/gogits/gogs/events","assignees_url":"https://api.github.com/repos/gogits/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/gogits/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/gogits/gogs/tags","blobs_url":"https://api.github.com/repos/gogits/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogits/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogits/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogits/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/gogits/gogs/languages","stargazers_url":"https://api.github.com/repos/gogits/gogs/stargazers","contributors_url":"https://api.github.com/repos/gogits/gogs/contributors","subscribers_url":"https://api.github.com/repos/gogits/gogs/subscribers","subscription_url":"https://api.github.com/repos/gogits/gogs/subscription","commits_url":"https://api.github.com/repos/gogits/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogits/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogits/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogits/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogits/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/gogits/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogits/gogs/merges","archive_url":"https://api.github.com/repos/gogits/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogits/gogs/downloads","issues_url":"https://api.github.com/repos/gogits/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/gogits/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/gogits/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/gogits/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogits/gogs/labels{/name}","releases_url":"https://api.github.com/repos/gogits/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/gogits/gogs/deployments","created_at":"2014-02-12T01:57:08Z","updated_at":"2016-08-11T12:14:18Z","pushed_at":"2016-08-11T12:48:55Z","git_url":"git://github.com/gogits/gogs.git","ssh_url":"git@github.com:gogits/gogs.git","clone_url":"https://github.com/gogits/gogs.git","svn_url":"https://github.com/gogits/gogs","homepage":"https://gogs.io","size":85234,"stargazers_count":15107,"watchers_count":15107,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1601,"mirror_url":null,"open_issues_count":402,"forks":1601,"open_issues":402,"watchers":15107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3287"},"html":{"href":"https://github.com/gogits/gogs/pull/3287"},"issue":{"href":"https://api.github.com/repos/gogits/gogs/issues/3287"},"comments":{"href":"https://api.github.com/repos/gogits/gogs/issues/3287/comments"},"review_comments":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3287/comments"},"review_comment":{"href":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3287/commits"},"statuses":{"href":"https://api.github.com/repos/gogits/gogs/statuses/0afcb843d7ffd596991c4885cab768273a6eb42c"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":10,"review_comments":43,"commits":17,"additions":3234,"deletions":1150,"changed_files":34}}
{"actor":{"display_login":"Unknwon"}}