Skip to content
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

Updater should be in Admin settings rather than separate window #40

Closed
jancborchardt opened this issue Oct 8, 2014 · 15 comments
Closed
Milestone

Comments

@jancborchardt
Copy link
Member

As already discussed in the past in owncloud/core#5279 and owncloud-archive/apps#1640

I hope after we merge the style fixes #39 we can look into moving the whole thing directly into admin settings. And making the »Backup« part less confusing.

cc @VicDeo @DeepDiver1975

@te-online
Copy link
Contributor

@jancborchardt Just for fun I tried to shift the view into admin-panel today.
It looks okay and seems to work. 😄
Some style adjustments are neccessary and I began to remove the pixel-values in favour of relative values. Guess the separate update-page can be removed then.

I can create a new branch for working on/finishing this (I have it local at the moment). Is that the way to go?


And making the »Backup« part less confusing.

I think we should add a short sentence of explanation here. Something like:

Here you can find backups of the core of your ownCloud (excluding your data) after you did an update to a newer version. Please backup your data separately before updating!

And: We can add the size of every backup to the list, because it makes immediately clear that my 876 gigabytes data can't be backuped in a 40 megabytes zip-file.


But first it seems we have to remove the use of Angular … (from #39)

Question is, if this is still a topic, since it works with Angular (though there might be better soultions – I'm no expert for usage of frameworks)


bildschirmfoto 2014-12-23 um 22 05 12
The elements normally are not shown all at the same time – this was just for testing

te-online added a commit to te-online/updater that referenced this issue Dec 23, 2014
Details:
Move the interface from the separate template into the admin-template. Remove the link to the separate page. Remove the separate page and the route.
Adjust the CSS to make the updater fit better into the admin-page. Remove some pixel-values and replace with relative values.
Add a column to the backups table where the size of each backup is shown as first step of making clearer what "backups" means (see owncloud#39)
@jancborchardt
Copy link
Member Author

@te-online wow! I’m seriously impressed :) Such a cool contribution! Do you have a branch for that already in here?

@VicDeo @DeepDiver1975 what do you think?

@te-online
Copy link
Contributor

@jancborchardt Thanks! :) Branch is pushed now.

Nevertheless, there are some points on the todo:

  • I didn't try a "real" update yet (maybe I missed something important while moving ;-))
  • and a clarification for the backup should be added
  • additionally, there should be a confirmation dialogue when deleting backups (maybe that's worth another issue) still needs styling and wording revision

@VicDeo @DeepDiver1975 Are there even points to add? I will finish that soon, but I would like to hear some opinions on which decisions should be made.

I had some thoughts on the backups: Maybe it's worth an idea to drop the backups into some folder in the admin's owncloud (user specified). That would add the advantage to have trash and versioning dealing with always-same-name-backup-zips (adding the problem that you couldn't say which backup contains which oc version, and that you trashed all backups at once if you did). Maybe that's too fancy at all :D

On the long run, I like the idea of adding a backup-app to ownCloud that manages such stuff. For now, I think we should make the current approach as usable and understanable as possible.

Have a nice weekend! :-)

@jancborchardt
Copy link
Member Author

@te-online any updates so far?

@VicDeo @DeepDiver1975 it would be really important to get your input here.

@te-online
Copy link
Contributor

@jancborchardt Not yet, but it's on my list. ;-) I think I can check the points mentioned above until end of the week.

te-online added a commit that referenced this issue Jan 9, 2015
Details:
Adds a note about what updater-backups are.
Adds a temporary styling for the notification.
Adds a native confirmation dialogue when deleting such backups.
Fixes a typo.
@te-online
Copy link
Contributor

Well, I made the changes from the list, but couldn't test the actual update process, yet. Going to https://apps.owncloud.com/updater.php?version=7.0.3 gives me an empty xml reply, so it always shows that ownCloud is up-to-date. Is there something wrong with the service?

Tested it now with 7.0.3 to 7.0.4. Update works as expected in admin menu.
The version check was probably down for a minute. That wasn't the problem – I guess it's the check interval.

Another problem is, that I don't know how to style the note for the backups, because there doesn't seem to be any predefined class for the admin-panel to structure things a bit.

@te-online
Copy link
Contributor

What's next here? In my opinion the text and style can be kept like that for now – but that's giving feedback on my own work. There is obviously some space for improvements. (see screenshot)

bildschirmfoto 2015-02-25 um 18 34 34

I'd like to do a pull request from the branch move-to-master as it is. That would mean someone has to manually check, what changed since then, I guess, because the code moved to another file due to the fact that the app was moved to admin. As you see, I'm a bit confused about that, maybe some git-expert may help, so that we can finish this ;-)

@VicDeo
Copy link
Member

VicDeo commented Mar 22, 2015

Done #82

@VicDeo VicDeo closed this as completed Mar 22, 2015
@jancborchardt
Copy link
Member Author

@VicDeo @te-online oh btw – does an the »Updater« entry show in the sidebar as well? Maybe @DeepDiver1975 needs to help to put that in.

@VicDeo
Copy link
Member

VicDeo commented Mar 23, 2015

@jancborchardt it's automatic
updater

@te-online
Copy link
Contributor

I thought about what you mentioned here, @VicDeo #86 (comment).

when the whole OC instance went FUBAR admin tab is not accessible.

Would it be possible to provide an external page (like we removed with this) that only holds the backups? I mean would this page be accessible if the ownCloud inteface can't be loaded? The link to this page could be provided in the message after a crash happened while updating.

@VicDeo
Copy link
Member

VicDeo commented Mar 24, 2015

@te-online this is potentially unsafe

@te-online
Copy link
Contributor

I mean the same way we did it before? So this was also more potentially unsafe than keeping it to the admin-page? I'm unsure whether this page can be independent while it depends on the login session of the user. But maybe it's just a trash-idea...

@VicDeo
Copy link
Member

VicDeo commented Mar 24, 2015

@te-online how are you going to prove that user seeing this page is admin when OC is broken?

@te-online
Copy link
Contributor

@VicDeo That's my question 😄. Okay I see, this is not possible. So when OC is broken using the separate update/backups page, this page wasn't accessible either, because login couldn't be confirmed? (I'm only speaking of the current browser-session).

A light version of this approach would be to add a hint to the crash-message that backups exist and can be downloaded via ftp/whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants