-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Show user OpenID URIs in their profile #1314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
maybe you could send a screenshot? |
looks good |
text align ... |
What about text align @lunny ?
Looks aligned here
|
@strk |
@lunny I don't understand your message
|
Why is it bold? What happens when the URI is |
Your OpenID basically shows who you are, so it's part of your identity.
With OpenID that identity is "verified" (by Gitea, in this case).
So you're saying the world you are "my.banan.as", and by showing it
Gitea is telling the visitor that it verified you are.
Good question about bold, doesn't need be. Changed with 9c7ccc2
What happens when URL is long ? I guess the display is bad,
want to test it ? I can setup a staging install with it.
|
Made a test with long OpenID (and no-more-bold). Here's what you get: Maybe there's some client-side trick to adapt to screen in javascript ? @geek1011 |
Also, http://fontawesome.io/icon/openid/. The icon being used now is a blur of rubbish. 😄 |
NOTE: from this other machine (Firefox) the overflow never happens (the first screenshot with overflow was from another browser, dunno now which one it was) |
@strk you wrote:
I though OpenID was about authentication, not identification. Am I wrong? |
@strk maybe you should give an option to enable to show OpenID in the profile and default is disabled. Security is always the first class Gitea should consider. |
@Fastidious I think OpenID can serve both. By all means authentication is authentication of an identity (your URL). @lunny good point about allowing a flag to make visible/hidden, will work on it (maybe per-openid). |
Ready, there's now a per-OpenID show/hide toggle, defaulting to hide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for my comments
options/locale/locale_en-US.ini
Outdated
@@ -357,6 +357,8 @@ key_name = Key Name | |||
key_content = Content | |||
add_key_success = Your new SSH key '%s' has been added successfully! | |||
delete_key = Delete | |||
show_key = Show |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is kind of unclear what this does, maybe make it "Show on profile"
options/locale/locale_en-US.ini
Outdated
@@ -357,6 +357,8 @@ key_name = Key Name | |||
key_content = Content | |||
add_key_success = Your new SSH key '%s' has been added successfully! | |||
delete_key = Delete | |||
show_key = Show | |||
hide_key = Hide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is kind of unclear what this does, maybe make it "Hide on profile"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See how you like a117987
Make LGTM work |
Like this, @geek1011 ? |
I've also added unit test now. |
I have no idea about |
@lunny |
Conflicting migrations. Otherwise LGTM |
poof? |
So you can tell from a quick look if the users are really who you think
they are (if you know their openid)