-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
added CORS skip if session was created by AppAPI #40737
Conversation
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Changes in AppAPI related to this: nextcloud/app_api/pull/81 After merge of this and backport to 27 we can publish AppAPI in the AppStore, and say all is working starting from 27.1.2 |
Maybe we don't need this. We don't have to support non-OCS endpoints in the app ecosystem. |
Just to clarify why I propose to add the support:
|
@bigcat88 You're right, those APIs are not just internal but made to be used by clients. It would be nice to be able to use them in external apps. |
So yes, the apps should just have provide OCS APIs to begin with. But people follow old tutorials, so this is where we are. I guess for now it's simpler to add this hack, but I also would prefer to simply require OCS APIs for support. |
master is 28 |
why this can not be backported to 27.1.2? |
This PR targets master, so the milestone must be what master is which is 28. |
@AndyScherzinger could you perhaps help us with merging this in the right milestone? 27.1.2 |
/backport to stable27 |
@DaphneMuller what @nickvergessen said, so when this is merged (for 28) the already requested backport bot (thanks to nick) will take care of the backport and will also assign the right v27.1.x version number. 👍 |
I thought that this would be for release 27.1.2, because the date in the release calendar for 27.1.2 was in 10 days, not today. I see that the date in the calendar was wrong and has already been corrected. thank you, we will fix the error that the tests found and it will be by 27.1.3 |
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Done. Cypress errors looks unrelated to this, as the same Cypress errors are currently in other PRs. |
On this PR all cypress requests fail in "before", so it can't even log in. |
it was unrelated, now CI is green |
The backport to stable27 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable27
git pull origin stable27
# Create the new backport branch
git checkout -b fix/foo-stable27
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable27 More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
Related to: nextcloud/app_api/issues/80
This PR is about for the discussion, how to implement it in a right way.