-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add different trust levels to AppStore interface #15314
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
|
Interesting. Seems like there is a SimpleXML version on our CI server that behaves differently than mine 😞 … digging … |
settings/templates/apps.php
Outdated
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.
Instead of a permanent header, can you insert a <div class="section"> with that info between the last »Approved« and the first »Experimental« app?
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.
Guess what it says in the top post:
Move the "Experimental applications ahead" bar right before the experimental ones
|
@LukasReschke could you use a different wording to describe the experimental apps? I'd like this: Use the same in the yellow header, saying: |
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.
So now we can remove the »Recommended« label, right?
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.
Already is removed in the web interface. That one is in the response that the server returns. It's an unit test. Probably we need to keep it on the server as well for longer or it won't work at all for older versions.
63b398a to
f36bd70
Compare
|
@karlitschek @jancborchardt @jospoortvliet Please take a look - should work now - not the best code but I added at least some unit tests for other untested stuff 🙈 Please test properly, in my case it works good. To test this checkout this branch and – this is important – change the The yellow banner might require some CSS tweaks - but I'm not a design guy and for me everything looks good as long as it has a color ;-) – I also added the recommendations by @jospoortvliet in the text field as well as the tipsy overlay on the labels. Also: Please ensure to clean your browser cache before testing this. Some small remarks that we can't address at the moment:
And yes, some code of this is quite hacky but I couldn't come up with something better in this short timeframe since I have to do other stuff as well… But we always can improve in the future anyway :-) |
|
I think we can do other improvements such as showing the author/domain/whatever etc. in other PRs – these changes are actually much easier (about 1 line additional PHP and then the usual CSS /HTML thing) but require that somebody (hint hint @jancborchardt hint hint) comes up with a design for those ;-) |
|
I'd make the popup text this: "This app is not checked for security issues and is new or known to be unstable. Install on your own risk." Look-wise I have no comments (I'm sure Jan does). Functionality-wise, I agree that this, once working and safe (not breaking things) should go in before we iterate and improve. As a first step I'm happy with this, even if we don't get to improve things before the 8.1 release. |
|
That is a first 👍 provided the popup text is improved but note I didn't (and won't) test. |
|
Adjusted. Thanks @jospoortvliet. |
|
Awesome!!! I would add a "It is not recommended to install this app on a production server" to the warning. But beside that really good 👍 |
|
And I agree that a link to the author page would be nice :-) |
Allows administrators to disable or enabled experimental applications as well as show the trust level.
a485bbc to
47f160f
Compare
47f160f to
25531ba
Compare
|
Rebased. The usernames are now also clickable. I use the @karlitschek Would it be easier to add a hack to core or change this in the appstore code? |
|
@karlitschek Also this means we have to ensure that |
|
Mhm. Maybe I can use a JS or PHP function to ensure this in the ownCloud code base as well. |
|
@LukasReschke added some design enhancements to the tags. I can’t fully test it though since for the pages for market apps I get »no apps for your version«. Why that? (I run ownCloud from git.) |
Changed the |
|
Code looks good and it works 👍 |
|
"Install on your own risk" => "Install at your own risk" http://ell.stackexchange.com/questions/13918/at-your-own-risk-or-on-your-own-risk |
|
@Xenopathic @tomneedham native language checks please ? I guess this still has time to get translated right ? |
config/config.sample.php
Outdated
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.
"to experimental" => "to show" ? Or does it remove the checkbox ?
Does the checkbox change that setting ?
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 this, this controls the checkbox state.
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.
This should probably be 'Whether to show experimental apps...'
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.
Indeed 🙈
|
Tested, works. Can you add JS unit tests for testing the sort algo ? |
|
Let me look into that tomorrow. Glad that you didn't find anything other grave 😄 |
settings/js/apps.js
Outdated
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.
Too many 'and's in this sentence, you might want to reword it and/or add some commas. Also, 'serious use' => 'production use'
|
A new inspection was created. |
|
Changed the wording and added a JS unit test for sorting as well. |
|
Not now @owncloud-bot … |
|
Refer to this link for build results (access rights to CI server needed): |
|
My 👍 is still valid |
|
👍 |
Add different trust levels to AppStore interface
|
Awesome. Thanks for the review @PVince81 @MorrisJobke. And kudos for the nice design to @jancborchardt :-) |
|
@karlitschek Just to clarify some things about apps.owncloud.com, from my understanding:
Are these assumptions correct? |
|
That makes sense. So just to re-verify, if I'm modifying an existing app as admin:
Guess I will only concentrate on the "Approval" switch then ,-) |
|
@karlitschek @LukasReschke since the new Official/Approved/Experimental is the new system, we can remove the Recommended/3rdparty, right? |
|
@jancborchardt Yes. I would replace it with the new terms |
Well the terms are already gone in the current web interface as far I can tell – I referred to the usage on apps.owncloud.com :-) |
Can we document this somewhere? Because there will be people that ask for these terms and their meaning. |
|
Yes – basically there should just be one selection in apps.owncloud.com called »App trust level«. Default to »Experimental« for new apps, and app store reviewers can set it to »Approved«. (And only admins could set apps to »Official«, which would rarely happen though.) |





🚧 🚧 🚧
TODO:
🚧 🚧 🚧
Heads-up: We don't know when an application is activated (i.e. already installing) whether it is an official one / approved one or complete random stuff. Thus in the "activated" and "not activated" view we only show the official apps where we know it from the shipped flag and everything else has no flag applied.
Current layout: