-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(files): only send config update requests if user is logged in #50680
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
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
Contributor
Author
|
/backport to stable31 |
artonge
approved these changes
Feb 6, 2025
Pytal
approved these changes
Feb 6, 2025
skjnldsv
approved these changes
Feb 6, 2025
6f92823 to
c6948eb
Compare
Contributor
Author
|
/compile |
959fad8 to
22e2454
Compare
Member
|
/compile amend / |
Member
|
Rebased |
22e2454 to
336ab6a
Compare
skjnldsv
approved these changes
Feb 7, 2025
skjnldsv
previously requested changes
Feb 7, 2025
Member
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.
Cypress failure is related. 500 error on sorting user config change
susnux
commented
Feb 7, 2025
b0c9b1e to
409cb14
Compare
Contributor
Author
Yep |
skjnldsv
approved these changes
Feb 7, 2025
susnux
commented
Feb 8, 2025
Since we use the files app also for public shares it is not guaranteed that there is a user logged in, in that case the update for user / view config will fail. So ensure there is a user or do not send a request. Also refactor both stores to setup styles to fix (remove) initialization hack, which causes Typescript issues. Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
a538002 to
48bf91a
Compare
2 tasks
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Since we use the files app also for public shares it is not guaranteed that there is a user logged in, in that case the update for user / view config will fail.
So ensure there is a user or do not send a request.
Also refactor both stores to setup styles to fix (remove) initialization hack, which causes Typescript issues.
TODO
Checklist