-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Where is your data? #13097
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
Where is your data? #13097
Conversation
|
Very nice! :)
|
|
I really like it! |
Fully agree. This is only a placeholder - I'm not happy with it, too.
✓ will do that
@jancborchardt do you suggest listing all admin users then? I thought about picking one of the admins and in addition give the option to define a specific one in the settings. |
That is one issue we have with the preferred provider program. |
agree on "them" really nice :) |
|
It looks amazing!!! I prefer the border bottom for the design. Better looking. More aerated :) |
@skjnldsv jep - fine for me. Can you give me an example, so I can have a look copy the style. There is also some feedback (I took it from the settings above). Does anything common exist for that, too? |
|
Could be nice to have a standard actually! I don't think we really have one yet! 🤔 |
|
@skjnldsv what about this: |
f4f17f3 to
54ac94a
Compare
|
I really like it!! 🎉 😍
I'm sure @jancborchardt will have some insights as well! |
|
Update today: the server info is now stored and loaded. I put the info into the config. Why?: My idea is if you deploy an instance you can simply put it into the file. If anyone thinks it should be a db setting, let me know. The funky save button also got an update: The spinner shows with 1s delay to prevent unnecessary flickering. It says "saved" until you change any form value. Works fine so far. With another icon for the default state ("save") it doesn't jump that much. |
|
Agree with what @skjnldsv said, some additional feedback:
If there is no data put in for one of the parts yet, like the server location for example, that part should simply not be shown in the list. Awesome work @weeman1337! 🎉 |
|
Sorry, forgot to answer your question. For the provider icon, simply use |
Yes, I see some of the info is already there. Having it redundant doesn't make sense. I think "name" in theming is more the instance name. So missing is "server location", "provider name" and "admin contact". I could also add these fields to the theming section. @nextcloud/designers ¯\_(ツ)_/¯ |
Not sure if this makes sense. Thinking about it though … Mastodon for example also shows the instance admin in more public places like the home page (and Discourse also has a page for it), and server location is something we could even show in the footer (just an idea, probably too much info) so it would indeed be more related to general theming. @juliushaertl what do you think? Let’s just make sure that we do it step by step. And the first step is to just not duplicate info we already have in theming. :) |
|
Ping @juliushaertl - waiting for a response where to put the fields.. |
|
I think there should be a dedicated option to it. Theming is design only, nothing related to administration or mails should go there I think :) |
That’s not true though. ;) This is the one place where you set things like the instance name, link, privacy policy & terms links etc. These are used across the app, including in emails and such. It’s good that it’s only this one place, and hence the things we need for "Who Owns Your Data" should also either be pulled from there, or if it extends it, be added there. @weeman1337 the Unsplash app also adds a section in the Theming settings, maybe you can check that out? |
|
„Your Data is protected by“ should be changed to „Your Files are encrypted with“ since
|
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Thanks 👍 What do you think about "About this server" instead of "Where is your data?"? @nextcloud/designers |
|
@MariusBluem I’d say let’s do any further changes in follow-up pull requests. :) The "Where is your data?" is direct and nice. cc @nextcloud/javascript @nextcloud/designers for review as well 🙂 |
MorrisJobke
left a comment
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.
skjnldsv
left a comment
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 Morris's comment :)
Signed-off-by: Michael Weimann <[email protected]>
|
@skjnldsv the section is now optional. |
MorrisJobke
left a comment
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.
Tested and works 👍
kesselb
left a comment
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.
😎 Some code style and we're done ;-)
| * | ||
| * @return array | ||
| */ | ||
| private function getWhereIsYourDataParams() { |
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.
typehint array
| * | ||
| * @return string | ||
| */ | ||
| public function getSection() { |
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.
return type string
| * the admin section. The forms are arranged in ascending order of the | ||
| * priority values. It is required to return a value between 0 and 100. | ||
| */ | ||
| public function getPriority() { |
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.
return type int
| <?php echo $l->t( | ||
| '%s%s%s is your admin. If you have any issues, %scontact them%s.', | ||
| [ | ||
| '<a href="mailto:' . $_['adminMail'] . '" target="_blank" title="" rel="noreferrer noopener">', |
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.
In theory there could be an admin account without email. I guess we could ignore that for now.
|
@weeman1337 I actually developed something very similar lately, but as an independent app instead of putting it into the server. I have to two fix some minor issues and will push it to a repository tonight. |
|
@georgehrke thanks for the info. So that will be the official "where is my data" app? That would mean this PR is obsolete? |
I would not say so. I would like to have this as it is in this PR. Then we can think on how to integrate both of them into one interface. The problem here was that @karlitschek was not aware of this PR and asked @georgehrke to do it in an app. |
|
Yes. It's totally my fault that I wasn't aware of the duplicate work. Sorry. Not sure what the best way is to proceed. Whatever you suggest. @MorrisJobke @weeman1337 @georgehrke |
|
@georgehrke @weeman1337 I would get this PR here in because it is fully working and was tested already. Also the design team had a look at it and it's approved. We then can check out how to combine or integrate it with your approach because you feature a lot more context due to the user data manifesto. |
|
@skjnldsv @danielkesselberg @georgehrke @rullzer Please review. |
Signed-off-by: Michael Weimann <[email protected]>
| use OCP\IUserManager; | ||
| use OCP\L10N\IFactory; | ||
| use OCP\Settings\ISettings; | ||
| use OCP\Encryption\IManager as EncryptionManager; |
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.
IEncryptionManager would be more clear here.
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.
Let's do this later as well together with the email check.










For previous discussions also see #11319.
ToDo