Skip to content

Conversation

bodom91
Copy link
Contributor

@bodom91 bodom91 commented Aug 2, 2017

Addressed to #589

@bodom91 bodom91 requested a review from php-coder August 2, 2017 13:00
@mystamps-bot
Copy link

mystamps-bot commented Aug 2, 2017

1 Message
📖 @bodom91 thank you for the PR! All quality checks have been passed! Next step is to wait when @php-coder will review this code

Generated by 🚫 Danger

@bodom91 bodom91 force-pushed the gh589_Admin_daily_report branch from ed9a15d to f9ed21d Compare August 2, 2017 13:13
@bodom91 bodom91 changed the title admin_deily_report #589_admin_deily_report Aug 2, 2017
@php-coder php-coder mentioned this pull request Aug 2, 2017
@php-coder php-coder changed the title #589_admin_deily_report Implement "Admin can see a daily report on the site" Aug 2, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f9ed21d on bodom91:gh589_Admin_daily_report into ** on php-coder:master**.

Copy link
Owner

@php-coder php-coder left a comment

Choose a reason for hiding this comment

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

The last minor improvements and I'll merge it.

Thank you!

t_catalog = Catalog
t_search = Search
t_view_suspicious_activities = view suspicious activities
t_daily_statistics = view daily statistics
Copy link
Owner

Choose a reason for hiding this comment

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

s/t_daily_statistics/t_view_daily_statistics/

}

@Override
public AdminDailyReport getDailyStatistics() {
Copy link
Owner

Choose a reason for hiding this comment

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

s/getDailyStatistics/getDailyReport/

}

@Override
public String getTextOfDailyStatisticsMail(AdminDailyReport report) {
Copy link
Owner

Choose a reason for hiding this comment

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

s/getTextOfDailyStatisticsMail/prepareDailyStatistics/

);
}

@Override
Copy link
Owner

Choose a reason for hiding this comment

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

Add @PreAuthorize(HasAuthority.VIEW_DAILY_STATS)

mailService.sendDailyStatisticsToAdmin(getDailyStatistics());
}

@Override
Copy link
Owner

Choose a reason for hiding this comment

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

Add @PreAuthorize(HasAuthority.VIEW_DAILY_STATS)

@bodom91 bodom91 force-pushed the gh589_Admin_daily_report branch from f9ed21d to eb748c1 Compare August 2, 2017 14:02
@bodom91 bodom91 force-pushed the gh589_Admin_daily_report branch from eb748c1 to 6a92fcf Compare August 2, 2017 14:17
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 6a92fcf on bodom91:gh589_Admin_daily_report into ** on php-coder:master**.

@php-coder
Copy link
Owner

Merged in eb57501

@bodom91 Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants