{"action":"created","comment":{"url":"https://api.github.com/repos/inducer/relate/pulls/comments/51377439","id":51377439,"diff_hunk":"@@ -105,6 +105,56 @@ RELATE_EDITABLE_INST_ID_BEFORE_VERIFICATION = True\n \n # }}}\n \n+\n+# {{{ user full_name format\n+\n+# RELATE's default fullname format is \"'%s %s' % (first_name, last_name)\",\n+# you can override it by supply a customized method/fuction, with \n+# \"firstname\" and \"lastname\" as its paramaters, and return a string. \n+\n+# For example, you can define it like this:\n+\n+#<code>\n+#   def my_fullname_format(firstname, lastname)\n+#         return \"%s%s\" % (last_name, first_name)\n+#</code>\n+\n+# and then uncomment the following line and enable it with:\n+\n+#RELATE_USER_FULL_NAME_FORMAT_METHOD = my_fullname_format\n+\n+# You can also import it from your custom module.\n+\n+# }}}\n+\n+# {{{ system email appelation priority\n+\n+# RELATE's default email appelation of the receiver is a ordered list:\n+# [\"first_name\", \"email\", \"username\"], when first_name is not None\n+# (e.g, first_name = \"Foo\"), the email will be opened\n+# by \"Dear Foo,\". If first_name is None, then email will be used\n+# as appelation, so on and so force.\n+\n+# you can override the appelation priority by supply a customized list,\n+# available list named RELATE_EMAIL_APPELATION_PRIORITY_LIST. The available\n+# elements include first_name, last_name, get_full_name, email and\n+# username.\n+\n+#RELATE_EMAIL_APPELATION_PRIORITY_LIST = [\"first_name\", \"email\", \"username\", \"full_name\"]\n+\n+# }}}\n+\n+# {{{ \n+\n+# When displayed in lists, user realname is diplayed by two fields,\n+# last_name and first_name, so that the bpth fields can be ordered.","path":"local_settings.py.example","position":46,"original_position":46,"commit_id":"5060fc8c503baf73faade959cfd308e4d3985cd8","original_commit_id":"5060fc8c503baf73faade959cfd308e4d3985cd8","user":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"body":"bpth -> both","created_at":"2016-02-01T04:00:51Z","updated_at":"2016-02-01T04:00:51Z","html_url":"https://github.com/inducer/relate/pull/153#discussion_r51377439","pull_request_url":"https://api.github.com/repos/inducer/relate/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/inducer/relate/pulls/comments/51377439"},"html":{"href":"https://github.com/inducer/relate/pull/153#discussion_r51377439"},"pull_request":{"href":"https://api.github.com/repos/inducer/relate/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/inducer/relate/pulls/153","id":57393603,"html_url":"https://github.com/inducer/relate/pull/153","diff_url":"https://github.com/inducer/relate/pull/153.diff","patch_url":"https://github.com/inducer/relate/pull/153.patch","issue_url":"https://api.github.com/repos/inducer/relate/issues/153","number":153,"state":"open","locked":false,"title":"Centralizing name formatting.","user":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars.githubusercontent.com/u/7379654?v=3","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"body":"A quick tweak.","created_at":"2016-01-27T17:27:36Z","updated_at":"2016-02-01T04:00:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe889e30b0a450126a3e7c925b52fbafbcb35875","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inducer/relate/pulls/153/commits","review_comments_url":"https://api.github.com/repos/inducer/relate/pulls/153/comments","review_comment_url":"https://api.github.com/repos/inducer/relate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inducer/relate/issues/153/comments","statuses_url":"https://api.github.com/repos/inducer/relate/statuses/5060fc8c503baf73faade959cfd308e4d3985cd8","head":{"label":"dzhuang:save_fullname","ref":"save_fullname","sha":"5060fc8c503baf73faade959cfd308e4d3985cd8","user":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars.githubusercontent.com/u/7379654?v=3","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"repo":{"id":39560547,"name":"relate","full_name":"dzhuang/relate","owner":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars.githubusercontent.com/u/7379654?v=3","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzhuang/relate","description":"RELATE is an Environment for Learning And TEaching","fork":true,"url":"https://api.github.com/repos/dzhuang/relate","forks_url":"https://api.github.com/repos/dzhuang/relate/forks","keys_url":"https://api.github.com/repos/dzhuang/relate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzhuang/relate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzhuang/relate/teams","hooks_url":"https://api.github.com/repos/dzhuang/relate/hooks","issue_events_url":"https://api.github.com/repos/dzhuang/relate/issues/events{/number}","events_url":"https://api.github.com/repos/dzhuang/relate/events","assignees_url":"https://api.github.com/repos/dzhuang/relate/assignees{/user}","branches_url":"https://api.github.com/repos/dzhuang/relate/branches{/branch}","tags_url":"https://api.github.com/repos/dzhuang/relate/tags","blobs_url":"https://api.github.com/repos/dzhuang/relate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzhuang/relate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzhuang/relate/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzhuang/relate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzhuang/relate/statuses/{sha}","languages_url":"https://api.github.com/repos/dzhuang/relate/languages","stargazers_url":"https://api.github.com/repos/dzhuang/relate/stargazers","contributors_url":"https://api.github.com/repos/dzhuang/relate/contributors","subscribers_url":"https://api.github.com/repos/dzhuang/relate/subscribers","subscription_url":"https://api.github.com/repos/dzhuang/relate/subscription","commits_url":"https://api.github.com/repos/dzhuang/relate/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzhuang/relate/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzhuang/relate/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzhuang/relate/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzhuang/relate/contents/{+path}","compare_url":"https://api.github.com/repos/dzhuang/relate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzhuang/relate/merges","archive_url":"https://api.github.com/repos/dzhuang/relate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzhuang/relate/downloads","issues_url":"https://api.github.com/repos/dzhuang/relate/issues{/number}","pulls_url":"https://api.github.com/repos/dzhuang/relate/pulls{/number}","milestones_url":"https://api.github.com/repos/dzhuang/relate/milestones{/number}","notifications_url":"https://api.github.com/repos/dzhuang/relate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzhuang/relate/labels{/name}","releases_url":"https://api.github.com/repos/dzhuang/relate/releases{/id}","deployments_url":"https://api.github.com/repos/dzhuang/relate/deployments","created_at":"2015-07-23T10:16:11Z","updated_at":"2016-01-11T12:41:53Z","pushed_at":"2016-01-31T15:41:52Z","git_url":"git://github.com/dzhuang/relate.git","ssh_url":"git@github.com:dzhuang/relate.git","clone_url":"https://github.com/dzhuang/relate.git","svn_url":"https://github.com/dzhuang/relate","homepage":"http://documen.tician.de/relate","size":3637,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inducer:master","ref":"master","sha":"d30d53aecc8267346b8fd1e2cd60c92f4d71355c","user":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"repo":{"id":20311659,"name":"relate","full_name":"inducer/relate","owner":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inducer/relate","description":"RELATE is an Environment for Learning And TEaching","fork":false,"url":"https://api.github.com/repos/inducer/relate","forks_url":"https://api.github.com/repos/inducer/relate/forks","keys_url":"https://api.github.com/repos/inducer/relate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inducer/relate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inducer/relate/teams","hooks_url":"https://api.github.com/repos/inducer/relate/hooks","issue_events_url":"https://api.github.com/repos/inducer/relate/issues/events{/number}","events_url":"https://api.github.com/repos/inducer/relate/events","assignees_url":"https://api.github.com/repos/inducer/relate/assignees{/user}","branches_url":"https://api.github.com/repos/inducer/relate/branches{/branch}","tags_url":"https://api.github.com/repos/inducer/relate/tags","blobs_url":"https://api.github.com/repos/inducer/relate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inducer/relate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inducer/relate/git/refs{/sha}","trees_url":"https://api.github.com/repos/inducer/relate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inducer/relate/statuses/{sha}","languages_url":"https://api.github.com/repos/inducer/relate/languages","stargazers_url":"https://api.github.com/repos/inducer/relate/stargazers","contributors_url":"https://api.github.com/repos/inducer/relate/contributors","subscribers_url":"https://api.github.com/repos/inducer/relate/subscribers","subscription_url":"https://api.github.com/repos/inducer/relate/subscription","commits_url":"https://api.github.com/repos/inducer/relate/commits{/sha}","git_commits_url":"https://api.github.com/repos/inducer/relate/git/commits{/sha}","comments_url":"https://api.github.com/repos/inducer/relate/comments{/number}","issue_comment_url":"https://api.github.com/repos/inducer/relate/issues/comments{/number}","contents_url":"https://api.github.com/repos/inducer/relate/contents/{+path}","compare_url":"https://api.github.com/repos/inducer/relate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inducer/relate/merges","archive_url":"https://api.github.com/repos/inducer/relate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inducer/relate/downloads","issues_url":"https://api.github.com/repos/inducer/relate/issues{/number}","pulls_url":"https://api.github.com/repos/inducer/relate/pulls{/number}","milestones_url":"https://api.github.com/repos/inducer/relate/milestones{/number}","notifications_url":"https://api.github.com/repos/inducer/relate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inducer/relate/labels{/name}","releases_url":"https://api.github.com/repos/inducer/relate/releases{/id}","deployments_url":"https://api.github.com/repos/inducer/relate/deployments","created_at":"2014-05-29T23:39:42Z","updated_at":"2016-01-28T21:30:12Z","pushed_at":"2016-01-31T15:41:52Z","git_url":"git://github.com/inducer/relate.git","ssh_url":"git@github.com:inducer/relate.git","clone_url":"https://github.com/inducer/relate.git","svn_url":"https://github.com/inducer/relate","homepage":"http://documen.tician.de/relate","size":3640,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":26,"forks":16,"open_issues":26,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inducer/relate/pulls/153"},"html":{"href":"https://github.com/inducer/relate/pull/153"},"issue":{"href":"https://api.github.com/repos/inducer/relate/issues/153"},"comments":{"href":"https://api.github.com/repos/inducer/relate/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/inducer/relate/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/inducer/relate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inducer/relate/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/inducer/relate/statuses/5060fc8c503baf73faade959cfd308e4d3985cd8"}}}}