Merge lp:~sil/libubuntuone/restrict-domains into lp:libubuntuone
Status: | Merged |
---|---|
Approved by: | Rodrigo Moya on 2010-03-25 |
Approved revision: | 72 |
Merged at revision: | not available |
Proposed branch: | lp:~sil/libubuntuone/restrict-domains |
Merge into: | lp:libubuntuone |
Diff against target: |
348 lines (+234/-55) 4 files modified
data/Makefile.am (+2/-0) data/outside_domain.html (+56/-0) data/trying_sso.html (+58/-0) libubuntuone/u1-music-store.c (+118/-55) |
To merge this branch: | bzr merge lp:~sil/libubuntuone/restrict-domains |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rodrigo Moya (community) | Approve on 2010-03-25 | ||
Tim Cole (community) | 2010-03-24 | Approve on 2010-03-24 | |
Review via email:
|
Commit message
Trap URLs that lead out of the Music Store (either to the non-U1 7digital.com, or to Ubuntu One authentication URLs) and show an error page instead, along with a way of logging the error in querystrings so that we can identify that it happened.
Description of the change
Trap URLs that lead out of the Music Store (either to the non-U1 7digital.com, or to Ubuntu One authentication URLs) and show an error page instead, along with a way of logging the error in querystrings so that we can identify that it happened.
Martin Albisetti (beuno) wrote : | # |
Tim Cole (tcole) wrote : | # |
Looks alright. But it does need a better error message. I'd suggest "The link you clicked is currently unsupported. Please try exploring a different part of the music store."
Stuart Langridge (sil) wrote : | # |
beuno: for the latter message, you only get it if the thing that was supposed to open up firefox has failed. This whole branch is there to provide a safety net if there are bugs in the existing code, to stop the user crashing and burning as a result of those bugs. In theory, no-one should ever see the messages.
tcole: I'll change the first one. I was feeling a bit too whimsical when I wrote it :)
- 72. By Stuart Langridge on 2010-03-24
-
slightly less whimsical error message
Rodrigo Moya (rodrigo-moya) wrote : | # |
There are some improvements that can be done on the C code of this branch, but it still is correct as it is, so approving and will add those improvements in other branches
59 +<h2>There was a problem with what you just tried to do. Please go back and try something different.</h2>
I'm not sure that's the best error message ever written.
122 +<h2>An error has occurred. Please ensure that your
123 +computer is connected to Ubuntu One.</h2>
How about a link to somewhere explaining how to do that? I guess that would be an external link :)
Can you open up something in firefox though? or explain right there and then?