-
Notifications
You must be signed in to change notification settings - Fork 34
Implement "Admin can see a daily report on the site" #618
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
Conversation
Generated by 🚫 Danger |
ed9a15d
to
f9ed21d
Compare
Changes Unknown when pulling f9ed21d on bodom91:gh589_Admin_daily_report into ** on php-coder:master**. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/getTextOfDailyStatisticsMail/prepareDailyStatistics/
); | ||
} | ||
|
||
@Override |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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)
f9ed21d
to
eb748c1
Compare
eb748c1
to
6a92fcf
Compare
Changes Unknown when pulling 6a92fcf on bodom91:gh589_Admin_daily_report into ** on php-coder:master**. |
Addressed to #589