Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Persistently store cookies per user for UPS #197

Merged
merged 3 commits into from
Mar 16, 2017

Conversation

MarcusTomlinson
Copy link
Contributor

@MarcusTomlinson MarcusTomlinson commented Mar 14, 2017

I've also added a conditional to layout-banner.hbs to reenable the "Profile" icon but only for UPS. The image looks the best fit for the "My Snaps" option in UPS.

@MarcusTomlinson MarcusTomlinson changed the title Persistently store cookies per user Persistently cookies per user for UPS Mar 14, 2017
@dbarth
Copy link

dbarth commented Mar 14, 2017

LGTM

@MarcusTomlinson MarcusTomlinson changed the title Persistently cookies per user for UPS Persistently store cookies per user for UPS Mar 14, 2017
@@ -49,6 +49,11 @@ ApplicationWindow {
id: webView
focus: true

context: WebContext {
dataPath: Qt.application.arguments[1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it a bit dangerous to hardcode this, ... we might decide at some point to change the command line args and this might fail silently (since it is not really part of the typical qmlscene args)?

Copy link
Contributor Author

@MarcusTomlinson MarcusTomlinson Mar 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I've made the dataPath argument more explicit by expecting "--cookie_path=xxx"

@AlexandreAbreu
Copy link
Contributor

+1

@AlexandreAbreu AlexandreAbreu merged commit 6f5b51c into canonical:master Mar 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants