Ingo Schommer
d6deffe8a6
Merge pull request #2817 from lerni/patch-1
...
use the yml config system instead of _config.php for extensions
2014-02-03 11:00:52 -08:00
Ingo Schommer
d0ec30dd26
Merge pull request #2815 from Firesphere/patch-2
...
Don't show next for anything above TotalPages
2014-02-03 11:00:08 -08:00
Lukas
389b7f929b
use the yml config system instead of _config.php for extensions
2014-02-03 14:26:49 +01:00
Andrew Short
1a803cbf7e
Correct module inclusion criteria.
2014-02-03 15:52:57 +11:00
Andrew Short
e927fb3118
Use placeholder module name.
2014-02-03 15:48:14 +11:00
Ingo Schommer
254734982d
Improved module dev docs
2014-02-03 17:01:48 +13:00
Andrew Short
4ac5a749b0
Register config as a service.
2014-02-03 11:30:39 +11:00
Andrew Short
2f817ba177
NEW: Allow specifying a factory to use for creating services.
...
A service factory can be used for creating instances where a non-trivial
construction process is required. This is done by adding a `factory`
key to the service definition.
2014-02-03 11:30:22 +11:00
Simon Erkelens
412cbbccc8
Don't show next for anything above TotalPages
...
Bots often have the habit of trying a next page, even if there isn't one.
Thus, using CurrentPage < TotalPages, prevents from unwanted next-links being shown.
2014-02-02 21:13:48 +01:00
Ingo Schommer
a0f6329dc4
Merge pull request #2811 from silverstripe-rebelalliance/shortcode
...
NEW: Fixed broken documentation link for Shortcodes
2014-02-02 11:19:54 -08:00
Ingo Schommer
cd99e720b6
Merge pull request #2228 from wilr/oldroutes
...
Remove old routes
2014-01-30 19:09:25 -08:00
Simon Welsh
d29b083b84
Merge pull request #2812 from Rhym/patch-1
...
Add a reference for setting the Limit of items.
2014-01-30 18:44:42 -08:00
Kirk Mayo
3a9bd54280
NEW: Fixed broken documentation link for Shortcodes
2014-01-31 15:35:18 +13:00
Ingo Schommer
827ace033a
Merge pull request #2787 from dhensby/i18n-chaining
...
API Adding chaining to i18nTextCollector::write()
2014-01-30 18:27:00 -08:00
Ingo Schommer
124886a7f9
Merge pull request #2799 from yearofthegus/document-magic-members
...
Documented magic properties of DataObject
2014-01-30 18:26:23 -08:00
Ingo Schommer
8a83ea2c15
Merge branch 'madmatt-pulls/apidocs-package-list' into 3.1
2014-01-31 15:18:10 +13:00
Ingo Schommer
b980b24aff
Merge pull request #2810 from silverstripe-rebelalliance/issueNot2808
...
BUG: Fixes #2808 fixed case type in documentation
2014-01-30 18:17:02 -08:00
Ingo Schommer
ab070944d5
Merge branch 'pulls/apidocs-package-list' of https://github.com/madmatt/silverstripe-framework into madmatt-pulls/apidocs-package-list
...
Conflicts:
view/SSTemplateParser.php
view/SSTemplateParser.php.inc
2014-01-31 15:15:59 +13:00
Ingo Schommer
91b363b141
Merge pull request #2756 from madmatt/pulls/behat-form-context
...
Update theHtmlFieldShouldContain step to include negation.
2014-01-30 18:09:55 -08:00
Ingo Schommer
558d202bf2
Merge pull request #2746 from micmania1/move-test-theme-setup
...
API moved useTestTheme to base Sapphire test class so that it can be used elsewhere
2014-01-30 18:08:21 -08:00
Kirk Mayo
7a9a968d1b
BUG: Fixes #2808 fixed case type in documentation
2014-01-31 14:55:53 +13:00
Ryan Potter
75de6a2848
Add a reference for setting the Limit of items.
2014-01-31 11:20:17 +13:00
Kirk Mayo
44a8537f68
BUG: #2503 Fixes performReadonlyTransformation for OptionSetField
...
NEW: Adding unit test for performReadonlyTransformation #nd fixing OptionSetField #2503
BUG: Fixing undefined variables and function parameters for PerformReadonlyTransformation unit tests
NEW: Adding unit test to OptionsetField for read only fields
2014-01-30 16:09:55 +13:00
Damian Mooyman
293c672fa7
BUG Default Member.Locale now chooses a better default value when i18n.locale is not a valid translation
...
This will resolve issues in cases where the site locale may be assigned a value that does not have an explicit translation. E.g. if the locale is en_NZ (and it's appropriate for this to be the assigned locale), Afrikaans will no longer be the default selected locale when creating members. Now en_US is chosen as a better fallback default.
This is a minor ease of use fix that means fewer CMS users can be accidentally created in Afrikaans within NZ based sites.
Test cases included.
2014-01-30 15:55:14 +13:00
Will Rossiter
587c489d0f
Add getters for Versioned object properties
2014-01-30 13:59:29 +13:00
Will Rossiter
6d9d53059c
Tidy up active tab styles to match background, border alignment on page tabs.
...
Before: https://www.evernote.com/shard/s6/sh/82f0a398-c80a-4cb7-81d7-a10b6e2c85ff/b1dfa1ae8ffcbd633b548fa3b2ea8951
After: https://www.evernote.com/shard/s6/sh/66cbe9d3-df0a-42c8-a6e8-a82c68161efe/27df7167802de9c3a267d40324972aa3
Tested throughout the CMS in IE8, Firefox and Chrome.
2014-01-29 15:47:15 +13:00
Will Rossiter
93085b9660
Correct whitespace / phpdoc
2014-01-28 20:00:47 +13:00
Will Rossiter
079b29bfff
FIX Add missing extraClass to FieldGroup_holder
...
FieldGroup_holder doesn't use FieldGroup
2014-01-28 20:00:20 +13:00
Russell Michell
9e2c7b6572
BUG Ensure TreeMultiSelectField doesn't populate menus with "unchanged".
...
TreeMultiSelectField's default for its value property is 'unchanged'
which causes menus to not load and generates console errors. Fixes #2795
2014-01-28 08:45:15 +13:00
Gus King
5797efa263
Documented magic properties of DataObject
2014-01-26 00:11:32 -05:00
Ingo Schommer
48949ba89a
Improved i18n JS docs
2014-01-24 11:12:23 +13:00
Ingo Schommer
53e790ff98
Improved Link() docs
2014-01-22 22:28:10 +13:00
Ingo Schommer
318073b05d
Merge pull request #2789 from mrsmuneton/ControllerLinkDocumentation
...
Adding a Link section to controller.md.
2014-01-22 22:22:53 +13:00
Ingo Schommer
55608d57f6
Merge pull request #2767 from HARVS1789UK/2766-moneyfield-set-readonly
...
BUG: #2766 Corrects MoneyField::performReadonlyTransformation()
2014-01-22 22:08:16 +13:00
Simon Welsh
cf01ca818a
Revert "MINOR: Added behat test to cover changes made in e69e65c."
...
This reverts commit e0b4e6125c
.
2014-01-22 15:20:48 +13:00
Mateusz U
ce3a944903
Merge pull request #2780 from madmatt/pulls/securityadmin-js2
...
BUGFIX: Fix JS for PermissionCheckboxsetField in SecurityAdmin
2014-01-20 19:00:00 -08:00
Andrew Short
85d4e6c9a8
Merge pull request #2768 from wilr/gridfieldvalidator
...
FIX: Ensure GridFieldDetailForm has the current record validator.
2014-01-20 16:48:10 -08:00
Ray
ba6513b2b1
Adding a Link section to controller.md showing the Link() function returning custom route value.
2014-01-19 17:46:21 -08:00
Will Rossiter
11a809798b
Merge pull request #2788 from MarcusDalgren/session-cookie-fix
...
Fix Session::set_cookie_domain
2014-01-17 12:20:55 -08:00
Marcus Dalgren
9934230ad8
Fix Session::set_cookie_domain
2014-01-17 15:27:51 +01:00
Daniel Hensby
973b967e6b
API Adding chaining to i18nTextCollector::write()
...
Allowing chaining off of the i18nTextCollector::write() function so it's
inline with DataObject::write()
2014-01-17 12:18:10 +00:00
Mateusz U
027022ef67
Merge pull request #2785 from halkyon/cmsmenu_test_fix
...
Fixing failing tests because ?locale= is appended to the end of the URL.
2014-01-16 17:50:40 -08:00
Sean Harvey
9d11f6f2f5
Fixing failing tests because ?locale= is appended to the end of the URL.
...
Switching from assertEquals to assertContains to be more flexible when
extensions like Translatable add query vars at the end of the links.
2014-01-17 13:48:46 +13:00
madmatt
e0b4e6125c
MINOR: Added behat test to cover changes made in e69e65c
.
2014-01-15 16:20:19 +13:00
madmatt
e69e65c1e3
BUGFIX: Fix JS for PermissionCheckboxsetField in SecurityAdmin
2014-01-15 15:51:35 +13:00
Ryan Wachtl
5f87d344f1
FIX Overriding of theme templates in project folder
...
Fixes issue of templates not being found when a Page's main/Layout templates are split between the project and theme folders. Adds more expansive testing for template loading.
2014-01-14 15:05:24 -06:00
Will Rossiter
9b5a9afe2b
Merge pull request #2773 from Zauberfisch/patch-1
...
Removed $MetaTitle from docs(closes #2761 )
2014-01-13 21:19:45 -08:00
Daniel Black
fb12d1ee37
Update install.php5
...
Defaulting to MySQL here is really dumb. There is an explicit type as an argument so falling back to mysql could result in "I couldn't write to path ....db" despite the real error that the include of the sqlite3/code/SQLiteDatabaseConfigurationHelper.php failed for some reason.
Other uses of getDatabaseConfigurationHelper also need a similar error handler.
2014-01-14 13:07:09 +11:00
Zauberfisch
0e95f7f2a6
Removed $MetaTitle from docs( closes #2761 )
2014-01-13 19:00:41 +00:00
Joe Harvey
405426799b
Issue #2766 - Moves logic to return ReadonlyField versions of MoneyFields child fields to performReadonlyTransformation() method and reverts changes to MoneyField::setReadonly() as per Wilr’s ( https://github.com/wilr ) request
2014-01-13 08:35:40 +00:00