)]}'
{"horizon/templates/horizon/common/_workflow.html":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"270a6ed53c0088f8d9c970d488142b9c1fe94044","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            \u003c/div\u003e"},{"line_number":56,"context_line":"          \u003c/div\u003e"},{"line_number":57,"context_line":"          {% else %}"},{"line_number":58,"context_line":"            {% if not modal %}\u003ca href\u003d\"{{ workflow.get_dir_url }}\" class\u003d\"btn btn-default secondary cancel close\"\u003e{% trans \"Cancel\" %}\u003c/a\u003e{% endif %}"},{"line_number":59,"context_line":"            {% if modal %}\u003ca class\u003d\"btn btn-default cancel\"\u003e{% trans \"Cancel\" %}\u003c/a\u003e{% endif %}"},{"line_number":60,"context_line":"            \u003cinput class\u003d\"btn btn-primary\" type\u003d\"submit\" value\u003d\"{{ workflow.finalize_button_name }}\" /\u003e"},{"line_number":61,"context_line":"          {% endif %}"}],"source_content_type":"text/html","patch_set":1,"id":"9a89bdaa_ed0a5925","line":58,"updated":"2016-09-07 21:35:17.000000000","message":"can we add some cancel_url to Workflow which needs to be defined by the user?\n\nLike what is available for forms.ModalFormView","commit_id":"e4474458d1265f9081f2c3a69fd89b5256490e4f"},{"author":{"_account_id":12547,"name":"Matt Keenan","email":"matt.keenan@gmail.com","username":"MattMan"},"change_message_id":"a9a156824ead84585bc59871253cffdf0c6e8db0","unresolved":false,"context_lines":[{"line_number":58,"context_line":"          \u003c/div\u003e"},{"line_number":59,"context_line":"          {% else %}"},{"line_number":60,"context_line":"            \u003ca  href\u003d\"{{ workflow.get_success_url }}\" "},{"line_number":61,"context_line":"                   class\u003d\"btn btn-default secondary cancel close\"\u003e{{ workflow.cancel_button_name }}\u003c/a\u003e"},{"line_number":62,"context_line":"            \u003cinput class\u003d\"btn btn-primary pull-right\" type\u003d\"submit\" "},{"line_number":63,"context_line":"                      value\u003d\"{{ workflow.finalize_button_name }}\" /\u003e"},{"line_number":64,"context_line":"          {% endif %}"}],"source_content_type":"text/html","patch_set":4,"id":"5a8bc5a2_466696ed","line":61,"range":{"start_line":61,"start_character":0,"end_line":61,"end_character":37},"updated":"2016-09-27 14:44:45.000000000","message":"Including \"close\" class for me results in \"Cancel\" button appearing on right side of success button instead of appearing on the left. Also it\u0027s text CSS shows up way too large. removing \"close\" class resolves this for me and all looks good","commit_id":"833fdbe3fe1aa2c18596a8ed3c5105f2b886c820"}],"horizon/workflows/base.py":[{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"f3438ec83c8e62b5e16692688406d651eb9bc322","unresolved":false,"context_lines":[{"line_number":619,"context_line":"    redirect_param_name \u003d \"next\""},{"line_number":620,"context_line":"    multipart \u003d False"},{"line_number":621,"context_line":"    wizard \u003d False"},{"line_number":622,"context_line":"    cancel_url \u003d None"},{"line_number":623,"context_line":"    _registerable_class \u003d Step"},{"line_number":624,"context_line":""},{"line_number":625,"context_line":"    def __str__(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a8ec9b2_f750fe60","line":622,"updated":"2016-09-20 03:04:14.000000000","message":"Same as the attribute cancel_button_name, we need to add a docstring for this attribute.","commit_id":"692327e7c7b39452a19f2d3c3a694e41c38d3276"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"f3438ec83c8e62b5e16692688406d651eb9bc322","unresolved":false,"context_lines":[{"line_number":853,"context_line":"        try:"},{"line_number":854,"context_line":"            return urlresolvers.reverse(self.cancel_url)"},{"line_number":855,"context_line":"        except urlresolvers.NoReverseMatch:"},{"line_number":856,"context_line":"            return self.cancel_url"},{"line_number":857,"context_line":""},{"line_number":858,"context_line":"    def format_status_message(self, message):"},{"line_number":859,"context_line":"        \"\"\"Hook to allow customization of the message returned to the user"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a8ec9b2_f7fe3e37","line":856,"updated":"2016-09-20 03:04:14.000000000","message":"As far as I see, many cases seem to be same success_url and  cancel_url. Can we do like below ?\nhttps://github.com/openstack/horizon/blob/master/horizon/forms/views.py#L148","commit_id":"692327e7c7b39452a19f2d3c3a694e41c38d3276"},{"author":{"_account_id":11885,"name":"Ying Zuo","email":"yingzuo4@gmail.com","username":"yingzuo"},"change_message_id":"1f6b2aba2f472cfd8a14eb80f47ef54ca7a5148e","unresolved":false,"context_lines":[{"line_number":849,"context_line":"            return (urlresolvers.reverse(self.success_url)"},{"line_number":850,"context_line":"                    or urlresolvers.reverse(self.cancel_url))"},{"line_number":851,"context_line":"        except urlresolvers.NoReverseMatch:"},{"line_number":852,"context_line":"            return self.success_url or self.cancel_url"},{"line_number":853,"context_line":""},{"line_number":854,"context_line":"    def format_status_message(self, message):"},{"line_number":855,"context_line":"        \"\"\"Hook to allow customization of the message returned to the user"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a8bc5a2_8ce126d3","line":852,"updated":"2016-09-29 05:08:50.000000000","message":"I think what Kenji suggested is to use the success_url as a secondary value returned as the cancel_url. We should also keep the separate getters for these two urls as you had in the previous patch.","commit_id":"833fdbe3fe1aa2c18596a8ed3c5105f2b886c820"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"dbb37f71a88c7708fb93f482301aeacc03412230","unresolved":false,"context_lines":[{"line_number":564,"context_line":"    .. attribute:: cancel_url"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"        The name which will appear on the submit button for the workflow\u0027s"},{"line_number":567,"context_line":"        form. Defaults to ``\"cancel_url\"``."},{"line_number":568,"context_line":""},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"    .. attribute:: success_message"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a629dbe_22daafe8","line":567,"updated":"2016-11-10 11:59:54.000000000","message":"According to L634, default value is None","commit_id":"d840e1645162196ee859efe43aee274d9f1d7e2d"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"dbb37f71a88c7708fb93f482301aeacc03412230","unresolved":false,"context_lines":[{"line_number":862,"context_line":"        which can take the form of a reversible URL pattern name, or a"},{"line_number":863,"context_line":"        standard HTTP URL."},{"line_number":864,"context_line":"        \"\"\""},{"line_number":865,"context_line":"        if self.cancel_url !\u003d \"None\":"},{"line_number":866,"context_line":"            try:"},{"line_number":867,"context_line":"                return urlresolvers.reverse(self.cancel_url) \\"},{"line_number":868,"context_line":"                    or urlresolvers.reverse(self.success_url)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a629dbe_221f0f09","line":865,"updated":"2016-11-10 11:59:54.000000000","message":"I think quotes are unnecessary.","commit_id":"d840e1645162196ee859efe43aee274d9f1d7e2d"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"dbb37f71a88c7708fb93f482301aeacc03412230","unresolved":false,"context_lines":[{"line_number":868,"context_line":"                    or urlresolvers.reverse(self.success_url)"},{"line_number":869,"context_line":"            except urlresolvers.NoReverseMatch:"},{"line_number":870,"context_line":"                return self.cancel_url or self.success_url"},{"line_number":871,"context_line":"        elif self.cancel_url \u003d\u003d \"None\":"},{"line_number":872,"context_line":"            try:"},{"line_number":873,"context_line":"                return urlresolvers.reverse(self.success_url)"},{"line_number":874,"context_line":"            except urlresolvers.NoReverseMatch:"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a629dbe_4218831e","line":871,"updated":"2016-11-10 11:59:54.000000000","message":"Can we use just \u0027else\u0027 ?","commit_id":"d840e1645162196ee859efe43aee274d9f1d7e2d"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"dbb37f71a88c7708fb93f482301aeacc03412230","unresolved":false,"context_lines":[{"line_number":869,"context_line":"            except urlresolvers.NoReverseMatch:"},{"line_number":870,"context_line":"                return self.cancel_url or self.success_url"},{"line_number":871,"context_line":"        elif self.cancel_url \u003d\u003d \"None\":"},{"line_number":872,"context_line":"            try:"},{"line_number":873,"context_line":"                return urlresolvers.reverse(self.success_url)"},{"line_number":874,"context_line":"            except urlresolvers.NoReverseMatch:"},{"line_number":875,"context_line":"                return self.success_url"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a629dbe_027e8b18","line":872,"updated":"2016-11-10 11:59:54.000000000","message":"You can use self.get_success_url()","commit_id":"d840e1645162196ee859efe43aee274d9f1d7e2d"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"8e9c03e43819a327ca328e234957f2bb20d490a2","unresolved":false,"context_lines":[{"line_number":566,"context_line":"        The name which will appear on the submit button for the workflow\u0027s"},{"line_number":567,"context_line":"        form. Defaults to ``\"None\"``."},{"line_number":568,"context_line":""},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"    .. attribute:: success_message"},{"line_number":571,"context_line":""},{"line_number":572,"context_line":"        A string which will be displayed to the user upon successful completion"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a629dbe_add69eee","line":569,"updated":"2016-11-10 17:18:45.000000000","message":"nit: should be a single empty line","commit_id":"6e2a51df65ffe8a132e45bcc925514fb84766338"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"8e9c03e43819a327ca328e234957f2bb20d490a2","unresolved":false,"context_lines":[{"line_number":867,"context_line":"                return urlresolvers.reverse(self.cancel_url) \\"},{"line_number":868,"context_line":"                    or urlresolvers.reverse(self.success_url)"},{"line_number":869,"context_line":"            except urlresolvers.NoReverseMatch:"},{"line_number":870,"context_line":"                return self.cancel_url or self.success_url"},{"line_number":871,"context_line":"        else:"},{"line_number":872,"context_line":"            try:"},{"line_number":873,"context_line":"                return self.get_success_url()"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a629dbe_0d586a89","line":870,"updated":"2016-11-10 17:18:45.000000000","message":"Why do we need that success_url here, if cacel_url is not empty? Can we just change the check above to \"if not self.cancel_url:\" and then get rid of the success_url here?","commit_id":"6e2a51df65ffe8a132e45bcc925514fb84766338"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"8e9c03e43819a327ca328e234957f2bb20d490a2","unresolved":false,"context_lines":[{"line_number":872,"context_line":"            try:"},{"line_number":873,"context_line":"                return self.get_success_url()"},{"line_number":874,"context_line":"            except urlresolvers.NoReverseMatch:"},{"line_number":875,"context_line":"                return self.success_url"},{"line_number":876,"context_line":""},{"line_number":877,"context_line":"    def format_status_message(self, message):"},{"line_number":878,"context_line":"        \"\"\"Hook to allow customization of the message returned to the user"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a629dbe_4ddd02df","line":875,"updated":"2016-11-10 17:18:45.000000000","message":"I believe get_success_url already handles the NoReverseMatch error?","commit_id":"6e2a51df65ffe8a132e45bcc925514fb84766338"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"8e9c03e43819a327ca328e234957f2bb20d490a2","unresolved":false,"context_lines":[{"line_number":882,"context_line":"        string."},{"line_number":883,"context_line":"        \"\"\""},{"line_number":884,"context_line":"        if \"%s\" in message:"},{"line_number":885,"context_line":""},{"line_number":886,"context_line":"            return message % self.name"},{"line_number":887,"context_line":"        else:"},{"line_number":888,"context_line":"            return message"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a629dbe_0de5cada","line":885,"updated":"2016-11-10 17:18:45.000000000","message":"nit: spurious line added","commit_id":"6e2a51df65ffe8a132e45bcc925514fb84766338"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"f01261e2415e7bb96d1607234be3e72a67587c3a","unresolved":false,"context_lines":[{"line_number":861,"context_line":"        which can take the form of a reversible URL pattern name, or a"},{"line_number":862,"context_line":"        standard HTTP URL."},{"line_number":863,"context_line":"        \"\"\""},{"line_number":864,"context_line":"        if not self.cancel_url:"},{"line_number":865,"context_line":"            try:"},{"line_number":866,"context_line":"                return urlresolvers.reverse(self.cancel_url)"},{"line_number":867,"context_line":"            except urlresolvers.NoReverseMatch:"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba2be162_a0d42e47","line":864,"updated":"2017-03-02 09:41:36.000000000","message":"\"if self.cancel_url:\"? Currently, it seems not to be never used even if this has cancel_url.","commit_id":"0cc39d65a2d3ecb67ef724fba51bc7846b6e69a7"}],"openstack_dashboard/dashboards/project/networks/workflows.py":[{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"7dec90d4b5cec8330e40e36cb6d8a787b305154a","unresolved":false,"context_lines":[{"line_number":481,"context_line":"    default_steps \u003d (CreateNetworkInfo,"},{"line_number":482,"context_line":"                     CreateSubnetInfo,"},{"line_number":483,"context_line":"                     CreateSubnetDetail)"},{"line_number":484,"context_line":"    wizard \u003d True"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"    def get_success_url(self):"},{"line_number":487,"context_line":"        return reverse(\"horizon:project:networks:index\")"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a629dbe_13aae870","side":"PARENT","line":484,"updated":"2016-11-14 14:29:11.000000000","message":"Why is this change necessary?","commit_id":"1d1b3cf1b8338a6281cce5f79dbc7d2b982eb664"}]}
