-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue #83: Refactor wopi controller #84
Merged
Merged
Conversation
This file contains 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
Collaborator
donquixote
commented
Jan 8, 2025
•
edited
Loading
edited
- Fixes Refactor WopiController #83
- Depends on Issue #75: WOPI proof #79
donquixote
force-pushed
the
issue-83-refactor-wopi-controller
branch
3 times, most recently
from
January 9, 2025 14:23
1883815
to
0a91f3a
Compare
AaronGilMartinez
requested changes
Jan 10, 2025
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.
I think is going to the right direction, added some remarks just in case.
donquixote
force-pushed
the
issue-83-refactor-wopi-controller
branch
4 times, most recently
from
January 15, 2025 02:38
b0bd89d
to
7819c85
Compare
AaronGilMartinez
requested changes
Jan 15, 2025
donquixote
force-pushed
the
issue-83-refactor-wopi-controller
branch
2 times, most recently
from
January 15, 2025 19:36
dabead7
to
19b7ce9
Compare
AaronGilMartinez
requested changes
Jan 17, 2025
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.
Changes look good, but to be sure a rebase would be needed please.
… in services.yml, and setting Content-Type header. Without that, the ExceptionWopiSubscriber was not actually registered as an event subscriber. It did not matter because routes with any '_format' other than 'html' already behave in the desired way. Now, to replicate the prior behavior, we must explicitly set the 'Content-Type' header to 'text/plain'.
…t keep 403. Changes: - Use wildcard loading for media entity in WopiController. - Change 'not found' response code and message for WOPI requests, to replicate old behavior. Subsequent commit will change to actual 404.
…sages for jwt-related problems.
…d assertNotFoundResponse().
donquixote
force-pushed
the
issue-83-refactor-wopi-controller
branch
from
January 17, 2025 14:43
19b7ce9
to
b6b4a36
Compare
AaronGilMartinez
approved these changes
Jan 20, 2025
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.