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

Use EXPORT_CONTENT_DISPOSITION for project xml export #1149

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

jochenklar
Copy link
Member

Right now, an XML project export is always shown in the browser. Changed management XML exports to be always downloaded (controlled by settings.EXPORT_CONTENT_DISPOSITION). This PR adds the same behavior for XML project exports.

@jochenklar jochenklar marked this pull request as ready for review September 16, 2024 08:57
@jochenklar
Copy link
Member Author

An additional Problem with not downloading the file right away, is that users might copy-paste the content displayed in the browser, which is not the complete XML (e.g. namespaces are missing).

@jochenklar jochenklar added this to the 2.2.2 milestone Sep 26, 2024
@jochenklar jochenklar self-assigned this Sep 26, 2024
@jochenklar jochenklar changed the base branch from 2.3.0 to 2.2.2 September 26, 2024 15:23
Base automatically changed from 2.2.2 to main October 24, 2024 11:09
@MyPyDavid
Copy link
Member

this one is for 2.3.0 right? (was not for 2.2.2 or?)

@jochenklar
Copy link
Member Author

Mhm, we could have added that to 2.2.2, but its fine I guess.

@jochenklar
Copy link
Member Author

Or for 2.2.3 😛

@MyPyDavid
Copy link
Member

Could you maybe rebase this on a proper release branch?
Are the changes just a single commit?

@jochenklar jochenklar changed the base branch from main to 2.3.0 November 14, 2024 15:17
@jochenklar jochenklar force-pushed the project_xml_content_disposition branch from 7d8fde2 to db31e9b Compare November 14, 2024 15:18
@jochenklar
Copy link
Member Author

Rebased and ready (after tests are ok).

@jochenklar jochenklar modified the milestones: RDMO 2.2.2, RDMO 2.3.0 Nov 19, 2024
Copy link
Member

@MyPyDavid MyPyDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@jochenklar jochenklar merged commit 7c51c4c into 2.3.0 Nov 19, 2024
19 checks passed
@jochenklar jochenklar deleted the project_xml_content_disposition branch November 19, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants