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

Make it possible to force archiving for custom date ranges #14856

Merged
merged 1 commit into from Sep 5, 2019

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Sep 4, 2019

In some cases it might be very useful to be able to define custom date ranges to be archived by core:archive. E.g. if someone always wants to get the last 10 days stats via api, there is currently no way to get that pre-archived.

The new config option would make it possible to define any range that is valid to be preprocessed

@sgiehl sgiehl added the Needs Review PRs that need a code review label Sep 4, 2019
@viezel
Copy link

viezel commented Sep 4, 2019

👏 yes please

core/CronArchive.php Outdated Show resolved Hide resolved
config/global.ini.php Show resolved Hide resolved
@sgiehl
Copy link
Member Author

sgiehl commented Sep 5, 2019

@tsteur updated

@tsteur tsteur merged commit ff39851 into 3.x-dev Sep 5, 2019
@tsteur tsteur deleted the customperiodarchiving branch September 5, 2019 20:11
@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants