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

Remove possibility for synchronous ajax requests #11756

Merged
merged 1 commit into from Jan 15, 2020
Merged

Remove possibility for synchronous ajax requests #11756

merged 1 commit into from Jan 15, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented May 31, 2017

There were still some last synchronous ajax requests in dashboard management. Don't think it should be a problem to have them async as those requests shouldn't take long.

Not sure if we should maybe move that to next major version, as it might break UI for some plugins

fixes #8246

@sgiehl sgiehl added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels May 31, 2017
@mattab mattab modified the milestones: 3.1.0, 4.0.0 Jun 21, 2017
@tsteur
Copy link
Member

tsteur commented Jul 7, 2017

Awesome to get rid of sync requests finally. Could probably even merge earlier removing all calls to sync=true and then separate PR to hard coded to no longer use sync? This way we would get rid of sync calls earlier but also fine to wait for everything in Piwik 4.

I presume failing tests are not related to this? http://builds-artifacts.piwik.org/piwik/piwik/nosyncajax/23402/

If tests succeed 👍

@mattab
Copy link
Member

mattab commented Aug 28, 2018

@sgiehl do you think we could maybe merge this earlier than 4.0.0 (cf previous comment)?

@sgiehl
Copy link
Member Author

sgiehl commented Aug 28, 2018

The usage of sync ajax requests have been fully removed in #12546 already. I've rebased that branch now. The only remaining thing is to remove the possibility to use sync requests at all. But that shouldn't be merged before 4.0

@sgiehl sgiehl changed the base branch from 3.x-dev to 4.x-dev January 13, 2020 12:12
@sgiehl sgiehl merged commit ad01133 into 4.x-dev Jan 15, 2020
@sgiehl sgiehl deleted the nosyncajax branch January 15, 2020 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants