Sam Minnee
|
3f0136749b
|
API CHANGE: Add Security::ignore_disallowed_actions() to allow site features to be disabled when permissions have failed, rather than redirecting to the log-in form. (Trac #7097)
|
2012-06-15 15:17:48 +12:00 |
|
Sean Harvey
|
792c89e103
|
ENHANCEMENT Adding List() in the GenericTemplateGlobalProvider so
templates can use <% cached List(Member).max(LastEdited) %> instead
of deprecated "Aggregate" syntax.
|
2012-05-29 20:04:51 +12:00 |
|
Sean Harvey
|
1bf6495ae0
|
MINOR Partially reverted 4d4f9e08d9 as we don't need to check
forTemplate() exists
|
2012-05-19 18:17:25 +12:00 |
|
Sean Harvey
|
4d4f9e08d9
|
MINOR Code formatting in SSViewer
|
2012-05-19 18:09:39 +12:00 |
|
Sean Harvey
|
e5e8f489a2
|
Merge branch (pull request #247) 'template-global-fixes' of https://github.com/sminnee/sapphire into sminnee-template-global-fixes
|
2012-05-19 15:39:59 +12:00 |
|
Simon Welsh
|
ab34688273
|
BUGFIX: Looping over a PaginatedList in the template caused a seg fault/bus error.
|
2012-05-11 14:03:31 +12:00 |
|
Sean Harvey
|
ccb941ea9d
|
BUGFIX Fixed places where Object::get_static() was being used. Replace
with Config system instead.
|
2012-04-18 23:55:37 +12:00 |
|
Simon Welsh
|
f07258f3cf
|
MINOR Update @package values to match renaming sapphire
|
2012-04-15 10:50:19 +12:00 |
|
Hamish Friedlander
|
521742aaf8
|
ENHANCEMENT: Split arguments passed to SSViewer into underlay and overlay arguments to control precedence. Also fixes breakage of SecurityAdmin
|
2012-04-13 12:15:34 +12:00 |
|
Sam Minnée
|
1189322b41
|
Merge pull request #302 from robert-h-curry/7113-nested-controls-breaking-last
BUGFIX: Issue #7113: Recalculate itemIteratorCount when popping viewer state.
|
2012-04-11 17:19:46 -07:00 |
|
Sam Minnée
|
168eaf72d8
|
Merge pull request #300 from silverstripe-scienceninjas/feature/ssviewer-enhancements
Feature/ssviewer enhancements
|
2012-04-11 16:29:22 -07:00 |
|
Robert Curry
|
0daa76d0b7
|
BUGFIX: Issue #7113: Recalculate itemIteratorCount when popping viewer state.
|
2012-04-12 11:16:41 +12:00 |
|
Hamish Friedlander
|
5c336329b6
|
MINOR: When Up called and we are at the top of the scope, throw a useful error, not just an index undefined error
|
2012-04-11 22:08:05 +12:00 |
|
Hamish Friedlander
|
21bf409b7b
|
BUGFIX: Pass arguments through to subtemplates when rendering those too
|
2012-04-11 21:50:06 +12:00 |
|
Hamish Friedlander
|
e4a043ac0b
|
ENHANCEMENT: Allow arguments to be passed to templates via an array passed to SSViewer#process and via keyword=value pairs in the <% include %> tag
|
2012-04-11 21:34:27 +12:00 |
|
Andrew O'Neil
|
142a073ce3
|
MINOR: Fix E_STRICT warning in SSViewer
|
2012-04-11 17:36:56 +12:00 |
|
Sam Minnee
|
acdd07ac6f
|
BUGFIX: Allow template globals to be used in both object and value contexts (e.g. $Now.Year)
BUGFIX: Allow template globals to return objects as well as values.
|
2012-03-16 15:05:25 +13:00 |
|
Sam Minnee
|
1535ce6d36
|
BUGFIX: Removed used of lcfirst, as it's PHP 5.3 only
|
2012-03-09 18:21:01 +13:00 |
|
Stig Lindqvist
|
68d83d187b
|
BUGFIX PHP 5.2 doesn't allow calling a static method like $className::$staticMethod()
|
2012-03-09 17:36:07 +13:00 |
|
Hamish Friedlander
|
374ed19406
|
API CHANGE: Change variable expose method in TemplateGlobalProvider and TemplateIteratorProvider to (a) not clash with each other and, (b) be less generic
|
2012-03-06 09:31:57 +13:00 |
|
Hamish Friedlander
|
2c65d3a398
|
BUGFIX: Add casting support to global and iterator variable injection
|
2012-03-06 09:31:57 +13:00 |
|
Hamish Friedlander
|
fb246bdd08
|
APICHANGE: Rename getExposedVariables to match coding conventions
|
2012-03-06 09:31:56 +13:00 |
|
Hamish Friedlander
|
e4675d7172
|
BUGFIX: Restore ability to pass injected variables right into SSViewer_DataPresenter
|
2012-03-06 09:31:56 +13:00 |
|
Hamish Friedlander
|
f55c575f95
|
BUGFIX: allowing ssviewer to be called without function arguments
|
2012-03-06 09:31:56 +13:00 |
|
Hamish Friedlander
|
28bb83552a
|
API-CHANGE: moving iterator support from ViewableData to SSViewer. New set of unit tests for iterator support functions.
|
2012-03-06 09:31:55 +13:00 |
|
Hamish Friedlander
|
927dbbe717
|
API-CHANGE: Global template variables can now be called directly using SSViewer_DataPresenter instead of needing to inherit off ViewableData
|
2012-03-06 09:11:46 +13:00 |
|
Dominik Beerbohm
|
82ef236879
|
Reset ...
|
2012-01-17 00:57:39 +01:00 |
|
Dominik Beerbohm
|
3a9ea42488
|
Update view/SSViewer.php
|
2012-01-16 18:04:26 +01:00 |
|
Frank Mullenger
|
0a3de455cf
|
MINOR User error was assuming $templateList is always an array when it can also be a string.
|
2011-12-18 15:34:00 +01:00 |
|
Will Rossiter
|
01bfdbeb90
|
MINOR tweaks to SecurityAdmin layout
|
2011-10-29 15:47:08 +13:00 |
|
Simon Welsh
|
840343ffb7
|
Checks for array to string conversion (E_NOTICE as of PHP5.4)
|
2011-10-29 10:49:17 +13:00 |
|
Ingo Schommer
|
e2bf21ba1a
|
BUGFIX Escaping base URLs for anchor links rewritten by SSViewer::process() with the 'rewriteHashlinks' option enabled (which is a framework default, and necessary because of the use of a <base> tag). Also added escaping for base URLs rendered through the 'php' variation of 'rewriteHashlinks'
|
2011-10-18 11:42:55 +02:00 |
|
Ingo Schommer
|
2ce1882e38
|
ENHANCEMENT Added SSViewer::getOption() as a logical counterpart to SSViewer::setOption()
|
2011-10-18 11:39:01 +02:00 |
|
Ingo Schommer
|
9b29616710
|
API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure
|
2011-03-31 09:56:21 +13:00 |
|