{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7","id":216933146,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2OTMzMTQ2","html_url":"https://github.com/kanishka-linux/reminiscence/pull/7","diff_url":"https://github.com/kanishka-linux/reminiscence/pull/7.diff","patch_url":"https://github.com/kanishka-linux/reminiscence/pull/7.patch","issue_url":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/7","number":7,"state":"open","locked":false,"title":"Implement directory slugs in URL ","user":{"login":"jonpavelich","id":1972632,"node_id":"MDQ6VXNlcjE5NzI2MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1972632?v=4","gravatar_id":"","url":"https://api.github.com/users/jonpavelich","html_url":"https://github.com/jonpavelich","followers_url":"https://api.github.com/users/jonpavelich/followers","following_url":"https://api.github.com/users/jonpavelich/following{/other_user}","gists_url":"https://api.github.com/users/jonpavelich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpavelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpavelich/subscriptions","organizations_url":"https://api.github.com/users/jonpavelich/orgs","repos_url":"https://api.github.com/users/jonpavelich/repos","events_url":"https://api.github.com/users/jonpavelich/events{/privacy}","received_events_url":"https://api.github.com/users/jonpavelich/received_events","type":"User","site_admin":false},"body":"**Summary**  \r\nThis pull request implements directory URL slugs to allow special characters in directory names.\r\n\r\n**Details**\r\n - A `directory_slug` field has been added to the Library model \r\n - When directories are created or renamed, their \"pretty\" name is run through the built-in `slugify` function and stored alongside the directory name\r\n - The slugs are used for directory URLs while the pretty names are used wherever the user sees the directory names\r\n - To vastly reduce the complexity of the refactor, directory slugs are immediately translated back to directory names in each view function and directory names are still used throughout the code base (slugs are just for URLs)\r\n - The restriction on slashes (`/`) and colons (`:`) has been removed since it is no longer necessary\r\n\r\nCloses #3","created_at":"2018-09-20T11:12:52Z","updated_at":"2018-09-20T11:12:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7/commits","review_comments_url":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7/comments","review_comment_url":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/7/comments","statuses_url":"https://api.github.com/repos/kanishka-linux/reminiscence/statuses/075b7aa835ec300f2edd035e2c32f7293fbd0a3a","head":{"label":"jonpavelich:3/bug/special-characters","ref":"3/bug/special-characters","sha":"075b7aa835ec300f2edd035e2c32f7293fbd0a3a","user":{"login":"jonpavelich","id":1972632,"node_id":"MDQ6VXNlcjE5NzI2MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1972632?v=4","gravatar_id":"","url":"https://api.github.com/users/jonpavelich","html_url":"https://github.com/jonpavelich","followers_url":"https://api.github.com/users/jonpavelich/followers","following_url":"https://api.github.com/users/jonpavelich/following{/other_user}","gists_url":"https://api.github.com/users/jonpavelich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpavelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpavelich/subscriptions","organizations_url":"https://api.github.com/users/jonpavelich/orgs","repos_url":"https://api.github.com/users/jonpavelich/repos","events_url":"https://api.github.com/users/jonpavelich/events{/privacy}","received_events_url":"https://api.github.com/users/jonpavelich/received_events","type":"User","site_admin":false},"repo":{"id":149575813,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1NzU4MTM=","name":"reminiscence","full_name":"jonpavelich/reminiscence","private":false,"owner":{"login":"jonpavelich","id":1972632,"node_id":"MDQ6VXNlcjE5NzI2MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1972632?v=4","gravatar_id":"","url":"https://api.github.com/users/jonpavelich","html_url":"https://github.com/jonpavelich","followers_url":"https://api.github.com/users/jonpavelich/followers","following_url":"https://api.github.com/users/jonpavelich/following{/other_user}","gists_url":"https://api.github.com/users/jonpavelich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpavelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpavelich/subscriptions","organizations_url":"https://api.github.com/users/jonpavelich/orgs","repos_url":"https://api.github.com/users/jonpavelich/repos","events_url":"https://api.github.com/users/jonpavelich/events{/privacy}","received_events_url":"https://api.github.com/users/jonpavelich/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jonpavelich/reminiscence","description":"Self-Hosted Bookmark and Archive Manager","fork":true,"url":"https://api.github.com/repos/jonpavelich/reminiscence","forks_url":"https://api.github.com/repos/jonpavelich/reminiscence/forks","keys_url":"https://api.github.com/repos/jonpavelich/reminiscence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonpavelich/reminiscence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonpavelich/reminiscence/teams","hooks_url":"https://api.github.com/repos/jonpavelich/reminiscence/hooks","issue_events_url":"https://api.github.com/repos/jonpavelich/reminiscence/issues/events{/number}","events_url":"https://api.github.com/repos/jonpavelich/reminiscence/events","assignees_url":"https://api.github.com/repos/jonpavelich/reminiscence/assignees{/user}","branches_url":"https://api.github.com/repos/jonpavelich/reminiscence/branches{/branch}","tags_url":"https://api.github.com/repos/jonpavelich/reminiscence/tags","blobs_url":"https://api.github.com/repos/jonpavelich/reminiscence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonpavelich/reminiscence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonpavelich/reminiscence/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonpavelich/reminiscence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonpavelich/reminiscence/statuses/{sha}","languages_url":"https://api.github.com/repos/jonpavelich/reminiscence/languages","stargazers_url":"https://api.github.com/repos/jonpavelich/reminiscence/stargazers","contributors_url":"https://api.github.com/repos/jonpavelich/reminiscence/contributors","subscribers_url":"https://api.github.com/repos/jonpavelich/reminiscence/subscribers","subscription_url":"https://api.github.com/repos/jonpavelich/reminiscence/subscription","commits_url":"https://api.github.com/repos/jonpavelich/reminiscence/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonpavelich/reminiscence/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonpavelich/reminiscence/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonpavelich/reminiscence/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonpavelich/reminiscence/contents/{+path}","compare_url":"https://api.github.com/repos/jonpavelich/reminiscence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonpavelich/reminiscence/merges","archive_url":"https://api.github.com/repos/jonpavelich/reminiscence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonpavelich/reminiscence/downloads","issues_url":"https://api.github.com/repos/jonpavelich/reminiscence/issues{/number}","pulls_url":"https://api.github.com/repos/jonpavelich/reminiscence/pulls{/number}","milestones_url":"https://api.github.com/repos/jonpavelich/reminiscence/milestones{/number}","notifications_url":"https://api.github.com/repos/jonpavelich/reminiscence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonpavelich/reminiscence/labels{/name}","releases_url":"https://api.github.com/repos/jonpavelich/reminiscence/releases{/id}","deployments_url":"https://api.github.com/repos/jonpavelich/reminiscence/deployments","created_at":"2018-09-20T08:20:29Z","updated_at":"2018-09-20T08:20:31Z","pushed_at":"2018-09-20T11:01:16Z","git_url":"git://github.com/jonpavelich/reminiscence.git","ssh_url":"git@github.com:jonpavelich/reminiscence.git","clone_url":"https://github.com/jonpavelich/reminiscence.git","svn_url":"https://github.com/jonpavelich/reminiscence","homepage":"","size":892,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kanishka-linux:devel","ref":"devel","sha":"e341756aaa502b7f6ece2e5e1afd6e86178ae0b4","user":{"login":"kanishka-linux","id":17716871,"node_id":"MDQ6VXNlcjE3NzE2ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/17716871?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishka-linux","html_url":"https://github.com/kanishka-linux","followers_url":"https://api.github.com/users/kanishka-linux/followers","following_url":"https://api.github.com/users/kanishka-linux/following{/other_user}","gists_url":"https://api.github.com/users/kanishka-linux/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishka-linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishka-linux/subscriptions","organizations_url":"https://api.github.com/users/kanishka-linux/orgs","repos_url":"https://api.github.com/users/kanishka-linux/repos","events_url":"https://api.github.com/users/kanishka-linux/events{/privacy}","received_events_url":"https://api.github.com/users/kanishka-linux/received_events","type":"User","site_admin":false},"repo":{"id":141798743,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3OTg3NDM=","name":"reminiscence","full_name":"kanishka-linux/reminiscence","private":false,"owner":{"login":"kanishka-linux","id":17716871,"node_id":"MDQ6VXNlcjE3NzE2ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/17716871?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishka-linux","html_url":"https://github.com/kanishka-linux","followers_url":"https://api.github.com/users/kanishka-linux/followers","following_url":"https://api.github.com/users/kanishka-linux/following{/other_user}","gists_url":"https://api.github.com/users/kanishka-linux/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishka-linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishka-linux/subscriptions","organizations_url":"https://api.github.com/users/kanishka-linux/orgs","repos_url":"https://api.github.com/users/kanishka-linux/repos","events_url":"https://api.github.com/users/kanishka-linux/events{/privacy}","received_events_url":"https://api.github.com/users/kanishka-linux/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kanishka-linux/reminiscence","description":"Self-Hosted Bookmark and Archive Manager","fork":false,"url":"https://api.github.com/repos/kanishka-linux/reminiscence","forks_url":"https://api.github.com/repos/kanishka-linux/reminiscence/forks","keys_url":"https://api.github.com/repos/kanishka-linux/reminiscence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanishka-linux/reminiscence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanishka-linux/reminiscence/teams","hooks_url":"https://api.github.com/repos/kanishka-linux/reminiscence/hooks","issue_events_url":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/events{/number}","events_url":"https://api.github.com/repos/kanishka-linux/reminiscence/events","assignees_url":"https://api.github.com/repos/kanishka-linux/reminiscence/assignees{/user}","branches_url":"https://api.github.com/repos/kanishka-linux/reminiscence/branches{/branch}","tags_url":"https://api.github.com/repos/kanishka-linux/reminiscence/tags","blobs_url":"https://api.github.com/repos/kanishka-linux/reminiscence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanishka-linux/reminiscence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanishka-linux/reminiscence/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanishka-linux/reminiscence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanishka-linux/reminiscence/statuses/{sha}","languages_url":"https://api.github.com/repos/kanishka-linux/reminiscence/languages","stargazers_url":"https://api.github.com/repos/kanishka-linux/reminiscence/stargazers","contributors_url":"https://api.github.com/repos/kanishka-linux/reminiscence/contributors","subscribers_url":"https://api.github.com/repos/kanishka-linux/reminiscence/subscribers","subscription_url":"https://api.github.com/repos/kanishka-linux/reminiscence/subscription","commits_url":"https://api.github.com/repos/kanishka-linux/reminiscence/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanishka-linux/reminiscence/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanishka-linux/reminiscence/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanishka-linux/reminiscence/contents/{+path}","compare_url":"https://api.github.com/repos/kanishka-linux/reminiscence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanishka-linux/reminiscence/merges","archive_url":"https://api.github.com/repos/kanishka-linux/reminiscence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanishka-linux/reminiscence/downloads","issues_url":"https://api.github.com/repos/kanishka-linux/reminiscence/issues{/number}","pulls_url":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls{/number}","milestones_url":"https://api.github.com/repos/kanishka-linux/reminiscence/milestones{/number}","notifications_url":"https://api.github.com/repos/kanishka-linux/reminiscence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanishka-linux/reminiscence/labels{/name}","releases_url":"https://api.github.com/repos/kanishka-linux/reminiscence/releases{/id}","deployments_url":"https://api.github.com/repos/kanishka-linux/reminiscence/deployments","created_at":"2018-07-21T09:26:43Z","updated_at":"2018-09-20T09:41:22Z","pushed_at":"2018-09-20T08:00:13Z","git_url":"git://github.com/kanishka-linux/reminiscence.git","ssh_url":"git@github.com:kanishka-linux/reminiscence.git","clone_url":"https://github.com/kanishka-linux/reminiscence.git","svn_url":"https://github.com/kanishka-linux/reminiscence","homepage":"","size":901,"stargazers_count":697,"watchers_count":697,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":23,"open_issues":4,"watchers":697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7"},"html":{"href":"https://github.com/kanishka-linux/reminiscence/pull/7"},"issue":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/7"},"comments":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/kanishka-linux/reminiscence/statuses/075b7aa835ec300f2edd035e2c32f7293fbd0a3a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":87,"deletions":48,"changed_files":8}}
{"actor":{"display_login":"jonpavelich"}}