)]}'
{"manifests/init.pp":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"f26f3d03f37b426d1cae0d9c9e9d0cefdd5895fb","unresolved":false,"context_lines":[{"line_number":411,"context_line":"  $enforce_password_check              \u003d false,"},{"line_number":412,"context_line":"  $enable_secure_proxy_ssl_header      \u003d false,"},{"line_number":413,"context_line":"  $disallow_iframe_embed               \u003d true,"},{"line_number":414,"context_line":"  $password_validator                  \u003d \u0027*\u0027,"},{"line_number":415,"context_line":"  # DEPRECATED PARAMETERS"},{"line_number":416,"context_line":"  $custom_theme_path                   \u003d undef,"},{"line_number":417,"context_line":"  $fqdn                                \u003d undef,"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"da4df55a_a6fe5c03","line":414,"updated":"2016-12-21 22:32:51.000000000","message":"Actually if we\u0027re going to define this, it should be \u0027.*\u0027.  I think this should be undef by default.","commit_id":"292cf9f851ddce7ad455f1741136e28c78690210"}],"templates/local_settings.py.erb":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"f26f3d03f37b426d1cae0d9c9e9d0cefdd5895fb","unresolved":false,"context_lines":[{"line_number":129,"context_line":"#}"},{"line_number":130,"context_line":"\u003c% if @password_validator %\u003e"},{"line_number":131,"context_line":"HORIZON_CONFIG[\"password_validator\"] \u003d {"},{"line_number":132,"context_line":"    \"regex\": \u0027.\u003c%\u003d @password_validator %\u003e\u0027,"},{"line_number":133,"context_line":"    \"help_text\": _(\"Your password does not meet the requirements.\"),"},{"line_number":134,"context_line":"}"},{"line_number":135,"context_line":"\u003c% end %\u003e"}],"source_content_type":"application/x-erb","patch_set":2,"id":"da4df55a_8b03210f","line":132,"updated":"2016-12-21 22:32:51.000000000","message":"\u0027\u003c%\u003d @password_validator %\u003e\u0027 because the . is part of the regex","commit_id":"292cf9f851ddce7ad455f1741136e28c78690210"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"fc5f92b2c675497f7a7484cb85ea06746a03e16b","unresolved":false,"context_lines":[{"line_number":130,"context_line":"\u003c% if @password_validator %\u003e"},{"line_number":131,"context_line":"HORIZON_CONFIG[\"password_validator\"] \u003d {"},{"line_number":132,"context_line":"    \"regex\": \u0027\u003c%\u003d @password_validator -%\u003e\u0027,"},{"line_number":133,"context_line":"    \u003c% if @password_validator_help \u003d\u003d true %\u003e"},{"line_number":134,"context_line":"    \"help_text\": _(\"\u003c%\u003d @password_validator_help %\u003e\"),"},{"line_number":135,"context_line":"}"},{"line_number":136,"context_line":"    \u003c% else %\u003e"}],"source_content_type":"application/x-erb","patch_set":8,"id":"da4df55a_615ce7ed","line":133,"range":{"start_line":133,"start_character":0,"end_line":133,"end_character":45},"updated":"2016-12-26 09:26:08.000000000","message":"@password_validator_help - is the string right?\n\nso you need just to check \u003c% if @password_validator_help %\u003e is not undef.","commit_id":"fdbf8452e0f36acb28eca40d97c2923c09b3d1f3"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"fb747b084ebe9aa1268a4ec286cb3df7149b663d","unresolved":false,"context_lines":[{"line_number":130,"context_line":"\u003c% if @password_validator %\u003e"},{"line_number":131,"context_line":"HORIZON_CONFIG[\"password_validator\"] \u003d {"},{"line_number":132,"context_line":"    \"regex\": \u0027\u003c%\u003d @password_validator %\u003e\u0027,"},{"line_number":133,"context_line":"    \"help_text\": _(\"\u003c%\u003d @password_validator_help %\u003e\"),"},{"line_number":134,"context_line":"}"},{"line_number":135,"context_line":"\u003c% end %\u003e"},{"line_number":136,"context_line":""}],"source_content_type":"application/x-erb","patch_set":12,"id":"7a3c09a3_2ffc0cb7","line":133,"range":{"start_line":133,"start_character":20,"end_line":133,"end_character":51},"updated":"2017-01-18 16:25:13.000000000","message":"in case if this variable is not set no any message will be here.\n\nmay some default is needed?","commit_id":"9dfe951c501cfd7efd5a5592bfda87a56a6e33fb"},{"author":{"_account_id":17893,"name":"Luke Hinds","email":"lhinds@redhat.com","username":"lhinds"},"change_message_id":"0b394fbc9ea26a080f138a5c6b20e5e83b1df882","unresolved":false,"context_lines":[{"line_number":130,"context_line":"\u003c% if @password_validator %\u003e"},{"line_number":131,"context_line":"HORIZON_CONFIG[\"password_validator\"] \u003d {"},{"line_number":132,"context_line":"    \"regex\": \u0027\u003c%\u003d @password_validator %\u003e\u0027,"},{"line_number":133,"context_line":"    \"help_text\": _(\"\u003c%\u003d @password_validator_help %\u003e\"),"},{"line_number":134,"context_line":"}"},{"line_number":135,"context_line":"\u003c% end %\u003e"},{"line_number":136,"context_line":""}],"source_content_type":"application/x-erb","patch_set":12,"id":"7a3c09a3_a3be5362","line":133,"range":{"start_line":133,"start_character":20,"end_line":133,"end_character":51},"in_reply_to":"7a3c09a3_2ffc0cb7","updated":"2017-01-18 17:19:18.000000000","message":"fair point. I did originally have an extra conditional, but ruby seems to have broken new line suppression in erb templates. So I went under the assumption, that if an admin is going to change the password regex, they would need to populate help text to inform them of the criterion needed (\"The password must contain a mix of letters, numbers, and/or special characters.\"). I will look at it again though (if you have any suggestions , please do post in a comment).","commit_id":"9dfe951c501cfd7efd5a5592bfda87a56a6e33fb"}]}
