Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#3706 closed New feature (fixed)

Scheduled report : select at which hour reports should be sent

Reported by: JulienM Owned by: JulienM
Priority: normal Milestone: 1.x - Piwik 1.x
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by JulienM)

Currently, reports are sent as early as possible : when the selected period (day, week or month) is over.

Add a new field in the report creation form to specify at which hour the report should be sent.

This is particularly useful for SMS reports that are currently being sent around midnight.

Depends on #3704

Change History (12)

comment:1 Changed 15 months ago by JulienM (JulienMoumne)

  • Owner set to JulienM
  • Status changed from new to assigned

comment:2 Changed 15 months ago by JulienM (JulienMoumne)

  • Description modified (diff)

comment:3 Changed 15 months ago by JulienM (JulienMoumne)

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7790]) fixes #3704 #3706

comment:4 Changed 15 months ago by JulienM (JulienMoumne)

(In [7791]) refs #3704 #3706 r7790 missing test updates

comment:5 Changed 15 months ago by JulienM (JulienMoumne)

(In [7792]) refs #3704 #3706 r7790 time() in unit tests needs to be made invariant for slow machines

comment:6 Changed 15 months ago by matt (mattab)

(In [7803]) I can replicate failure locally by executing: phpunit --filter TaskScheduler
Temporarily disabling the tests that stub the Option object, which I think may be causing the problem? refs #3704 #3706

comment:7 Changed 15 months ago by matt (mattab)

(In [7808]) small UX chagne + trigger update refs #3704 #3706

comment:8 Changed 15 months ago by matt (mattab)

(In [7810]) Re-enabling tests refs #3704 #3706

comment:9 Changed 15 months ago by JulienM (JulienMoumne)

(In [7813]) refs #3704 #3706 r7790

  • fix test for slow execution
  • re-enable tests

comment:10 Changed 15 months ago by JulienM (JulienMoumne)

(In [7814]) refs #3704 #3706 r7790 restore event dispatcher & piwik options

comment:11 Changed 15 months ago by JulienM (JulienMoumne)

(In [7820]) refs #3704 #3706 r7790 restore Piwik_PDFReports_API

comment:12 Changed 15 months ago by matt (mattab)

Nice changes & tests, kuddos!

Note: See TracTickets for help on using tickets.