Commit Graph

2238 Commits

Author SHA1 Message Date
Robbie Averill
01f2663179
Use Injector to instantiate new base report instances 2022-08-26 13:53:16 +12:00
Robbie Averill
213f7167a6
ENH Fix phpcs violations 2022-08-26 13:53:08 +12:00
Steve Boyd
0bceb0903c ENH PHP 8.1 compatibility 2022-04-13 17:39:46 +12:00
Guy Sartorelli
6d565028c8
ENH Prefer dependency injection for GridFieldComponents. (#147)
GridFieldComponents packaged with silverstripe/framework are injectable as of 4.11.0
2022-03-04 10:13:45 +13:00
GuySartorelli
375c31904f
ENH Add configuration to cap report counts for large datasets. (#139)
Opted not to return the result from `getCount()` directly since the PHPDoc says this returns an int (even though it technically already returns a string if the report isn't set up correctly...)
2022-01-31 17:20:11 +13:00
Robbie Averill
9b9e673e4b ENH Replace E_USER_ERROR errors with exceptions 2020-09-24 17:11:47 -07:00
Serge Latyntcev
f3db5f72aa Fix codestyle 2019-11-21 16:04:17 +13:00
Guy Marriott
52a234410d
NEW Extracting out the method to determine parameters (filters) for update the report sourceRecords 2018-11-20 17:52:48 +13:00
Guy Marriott
edecbabe61
NEW Allow reports to specify breadcrumbs for child reports 2018-11-16 15:09:45 +13:00
Robbie Averill
786446fb67 NEW Use Injector to create new class instances and pass $params
Also adds a couple of missing PHPDoc annotations for IDE hints
2018-10-15 13:56:17 +13:00
Robbie Averill
f3230c78d4 FIX Use requestVar() to include post vars as well as get vars 2018-08-27 13:59:23 +12:00
Robbie Averill
e1296d4813 FIX Filter var can be returned correctly from get variables as a fallback 2018-07-16 17:15:30 +12:00
Robbie Averill
8a29918ac5 NEW Remove duplicated report heading 2017-12-17 21:25:19 +13:00
Damian Mooyman
b006a9968a Linting, phpdoc and code style fixes 2017-12-14 13:38:15 +13:00
Robbie Averill
b4a3529339 FIX Minor linting violation in Report 2017-12-14 13:32:50 +13:00
Christopher Joe
86f845972f BUG Actioned feedback 2017-11-27 14:46:05 +13:00
Will Rossiter
5b335ad511 NEW Add support for callable link formatting 2017-11-27 14:46:05 +13:00
Robbie Averill
26dc7373ba FIX Add primary button class to 'Filter' button 2017-10-30 11:51:00 +13:00
Saophalkun Ponlu
cda78e2d88 FIX add space below report filter form 2017-09-19 10:15:08 +12:00
Robbie Averill
f4af1fab77 API Remove Report::add_excluded_report() and make excluded_reports configurable 2017-07-16 16:36:12 +12:00
Damian Mooyman
b1ec225246
Add extra upgrade rules 2017-07-03 14:32:26 +12:00
Sam Minnee
cf5115624d API : Remove REPORTS_DIR and its use.
Relies on
https://github.com/silverstripe/silverstripe-framework/pull/7065
2017-06-28 16:39:18 +12:00
Saophalkun Ponlu
ab0b3d8a2f FIX namespaces in docs 2017-06-27 15:52:13 +12:00
Damian Mooyman
8dbdc98cc2
Upgrade module for app object refactor 2017-06-21 16:30:14 +12:00
Simon Erkelens
03125b8c6c API Changes for Authenticator refactor 2017-06-09 16:48:30 +12:00
Ingo Schommer
c37c69097d Remove empty toolbar header from reports list
See https://github.com/silverstripe/silverstripe-cms/issues/981
2017-05-18 22:06:02 +12:00
Garion Herman
19974fe1f2 Fix PHPDoc for Report::add_excluded_reports method. 2017-05-11 09:30:15 +12:00
Aaron Carlino
664fa75a02 Reorganise i18n keys 2017-05-08 17:56:43 +12:00
Damian Mooyman
4599b2b52c
API move CMSPreviewable to ORM 2017-03-15 10:38:36 +13:00
Damian Mooyman
b4e047b39f
Remove unnecessary tinymce config 2017-01-26 17:22:54 +13:00
Damian Mooyman
3c8a56f904
BUG Fix missing default on _t(‘GridField.Filter’) 2017-01-24 12:30:06 +13:00
Paul Clarke
d67aee56fe Update icon 2016-12-20 16:13:46 +13:00
Paul Clarke
417fb81ae4 add font-icon to menu 2016-12-20 13:30:50 +13:00
Daniel Hensby
804ff7c247
FIX Fixing test errors 2016-11-10 13:01:37 +00:00
Daniel Hensby
537f4da88f
Merge branch '3' 2016-11-10 12:19:27 +00:00
Damian Mooyman
8dd40b3c26 Merge pull request #50 from open-sausages/pulls/4.0/reports-filter-spacing
Add spacing below filter action
2016-10-05 19:42:45 +13:00
Sam Minnee
c813488412 MINOR: Make use of static::class 2016-09-28 11:36:52 +13:00
Sam Minnee
fe0ca63c7a FIX: Remove referencies to Object::$class
This property is being deprecated in SS4 and so this removes references
to it.
2016-09-28 10:00:51 +13:00
Paul Clarke
3d144b3afc Add spacing below filter action 2016-09-20 17:28:05 +12:00
Will Rossiter
3b32047f28 Merge pull request #49 from open-sausages/pulls/4.0/alignment-and-spacing
Alignment and spacing of main CMS panels
2016-09-19 19:05:45 +12:00
Paul Clarke
9cee3c25fb Remove custom reportAdmin css overrides 2016-09-15 18:23:43 +12:00
Ingo Schommer
1e8d94afe1 Remove HTMLEditorField.js include
This should already be handled by the CMS bundle.
2016-09-15 15:25:14 +12:00
Damian Mooyman
b2f3902996 Rename SS_ prefixed classes (#46) 2016-09-09 18:11:38 +12:00
Damian Mooyman
bd17cca223
Upgrade code for namespaces
Apply SilverStripe\Reports namespace
2016-09-08 15:37:35 +12:00
Damian Mooyman
a96ab15af3 API Fix issue with namespaced reports
Add permission code to reports
Fix include paths
2016-08-16 11:43:45 +12:00
Damian Mooyman
8f14b94433 Merge 3.4 into 3 2016-08-15 19:05:25 +12:00
Daniel Hensby
c1525c8ba6 [SS-2016-012] FIX Missing ACL check on ReportAdmin
This issue exposed reports to users able to guess the URL of a Report that they were not allowed to view the report
2016-08-15 15:54:47 +12:00
Damian Mooyman
a325bfb222 Apply SilverStripe\Admin namespace 2016-08-12 10:38:40 +12:00
Damian Mooyman
5953957881 API Update for SilverStripe\CMS namespace
Remove unused reports
2016-08-08 18:14:06 +12:00
Damian Mooyman
a446714e5e Merge 3.4 into 3
# Conflicts:
#	composer.json
2016-08-05 19:15:26 +12:00