-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Move update notification code into app #22238
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
|
So what the next step would be is to add some authentication magic into the app as well. Then we can use that for authentication in the new updater app (well, only the value in the session). The changes right now are basically just moving code out of core + unit tests. |
b0ecb63 to
9af4ff9
Compare
Contributor
|
makes sense 👍 |
9af4ff9 to
ed99bc2
Compare
Member
|
https://ci.owncloud.org/job/ocs-api-integration-tests-ci/7226/console |
ed99bc2 to
80830c6
Compare
Contributor
|
Code looks good 👍 |
LukasReschke
added a commit
to owncloud/updater
that referenced
this pull request
Feb 9, 2016
This adds some authentication to the updater using a shared secret in `config.php`. The whole process is cookieless and thus if somebody closes the tab all authentication is gone (which is desired from a security PoV) To test this define an `updater.secret` in `config.php` and try to access it with a valid or invalid token. The next step is to add the automagic login from core once this is in. We can do that using the new updatenotification app at owncloud/core#22238.
LukasReschke
added a commit
to owncloud/updater
that referenced
this pull request
Feb 9, 2016
This adds some authentication to the updater using a shared secret in `config.php`. The whole process is cookieless and thus if somebody closes the tab all authentication is gone (which is desired from a security PoV) To test this define an `updater.secret` in `config.php` and try to access it with a valid or invalid token. The next step is to add the automagic login from core once this is in. We can do that using the new updatenotification app at owncloud/core#22238.
LukasReschke
added a commit
to owncloud/updater
that referenced
this pull request
Feb 9, 2016
This adds some authentication to the updater using a shared secret in `config.php`. The whole process is cookieless and thus if somebody closes the tab all authentication is gone (which is desired from a security PoV) To test this define an `updater.secret` in `config.php` and try to access it with a valid or invalid token. The next step is to add the automagic login from core once this is in. We can do that using the new updatenotification app at owncloud/core#22238.
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small. Furthermore also makes some more code unit-testable...
80830c6 to
abc675d
Compare
LukasReschke
added a commit
that referenced
this pull request
Feb 9, 2016
Move update notification code into app
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core necessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small.
Furthermore also makes some more code unit-testable...
This is for the following bar in the top:

@karlitschek @VicDeo @DeepDiver1975 Please review.