{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/qwc2/issues/73","repository_url":"https://api.github.com/repos/qgis/qwc2","labels_url":"https://api.github.com/repos/qgis/qwc2/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/qgis/qwc2/issues/73/comments","events_url":"https://api.github.com/repos/qgis/qwc2/issues/73/events","html_url":"https://github.com/qgis/qwc2/pull/73","id":419405776,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU5OTE3NTY0","number":73,"title":"Allow to pass http basic credentials during configuration","user":{"login":"autra","id":1576598,"node_id":"MDQ6VXNlcjE1NzY1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1576598?v=4","gravatar_id":"","url":"https://api.github.com/users/autra","html_url":"https://github.com/autra","followers_url":"https://api.github.com/users/autra/followers","following_url":"https://api.github.com/users/autra/following{/other_user}","gists_url":"https://api.github.com/users/autra/gists{/gist_id}","starred_url":"https://api.github.com/users/autra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autra/subscriptions","organizations_url":"https://api.github.com/users/autra/orgs","repos_url":"https://api.github.com/users/autra/repos","events_url":"https://api.github.com/users/autra/events{/privacy}","received_events_url":"https://api.github.com/users/autra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-03-11T10:50:48Z","updated_at":"2019-03-12T09:41:02Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/qgis/qwc2/pulls/73","html_url":"https://github.com/qgis/qwc2/pull/73","diff_url":"https://github.com/qgis/qwc2/pull/73.diff","patch_url":"https://github.com/qgis/qwc2/pull/73.patch"},"body":"This is very useful when building the sites on dev machine or using an external maps service.\r\n\r\nNote that the latter use case is still not completely supported by qwc2, because some runtime requests like getFeatureInfo needs proper CORS configuration if the front has a different Origin than the map server.\r\n\r\nSupporting the latter will require being able to configure axios on a per-host basis.\r\n\r\nThis implements my request on [qwc2-example-app repo](https://github.com/qgis/qwc2-demo-app/issues/141)."},"comment":{"url":"https://api.github.com/repos/qgis/qwc2/issues/comments/471926563","html_url":"https://github.com/qgis/qwc2/pull/73#issuecomment-471926563","issue_url":"https://api.github.com/repos/qgis/qwc2/issues/73","id":471926563,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTkyNjU2Mw==","user":{"login":"elemoine","id":76594,"node_id":"MDQ6VXNlcjc2NTk0","avatar_url":"https://avatars3.githubusercontent.com/u/76594?v=4","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"created_at":"2019-03-12T09:41:02Z","updated_at":"2019-03-12T09:41:02Z","author_association":"NONE","body":"> I'm not a python expert, but it seems to me that python 2.7 support is intended (from [this part](https://github.com/qgis/qwc2/blob/master/scripts/themesConfig.py#L10)). However, on my machine, the script fails [here](https://github.com/qgis/qwc2/blob/master/scripts/themesConfig.py#L433) (`TypeError: 'encoding' is an invalid keyword argument for this function`). Is python 2.7 support broken, or am I wrong making this assumption?\r\n\r\nMaybe, you can make it work for Python 3 and we will fix it for Python 2.7 later with a separate PR. @manisandro, do you agree?"}}
{"actor":{"display_login":"elemoine"}}