Andrew Short
93578c8d22
Remove incorrectly added diff file
2013-03-28 08:15:36 +11:00
Ingo Schommer
3c30c36b71
Fixed help_link config usage
2013-03-27 21:48:55 +01:00
Ingo Schommer
e97c034922
API i18n::$common_languages and i18n::$common_locales converted to Config API
...
They are now accessed via the Config API, and contain associative rather than indexed arrays.
Before: `array('de_DE' => array('German', 'Deutsch'))`, after: `array('de_DE' => array('name' => 'German', 'native' => 'Deutsch'))`.
Also fixed a i18n.js_i18n config accessor
2013-03-27 20:42:46 +01:00
Ingo Schommer
c1a543feb2
Merge pull request #1341 from g4b0/8347-getFieldsForImage
...
BUGFIX: fixed access to asset_preview_width in getFieldsForImage
2013-03-27 12:02:23 -07:00
g4b0
c63d840561
BUGFIX: fixed access to asset_preview_width in getFieldsForImage
2013-03-27 17:52:40 +01:00
Ingo Schommer
373da53826
Removed unused DataExtension::$extendable_statics
...
Oversight from cleanup in 876f4c5
2013-03-27 16:09:17 +01:00
Ingo Schommer
3a911ebb00
Fixed Email.admin_email config static naming
2013-03-27 13:41:24 +01:00
Ingo Schommer
ccb0155b8f
Config docs improvement: @config and LSB mentions
...
Also moved some less important "notes" further down the page.
The doc is still written too much like a technical spec, we need
something that's more accessible to beginners.
2013-03-27 12:08:12 +01:00
Ingo Schommer
315c03872a
Fixed _config.php references and usage in docs
2013-03-27 12:06:57 +01:00
Naomi Guyer
19a8545076
BUG: update deprecated 'live' jquery to 'on'
...
'live' has been deprecated since jquery v 1.7.0, and has been removed
in the latest 2 versions of jquery
2013-03-27 15:09:49 +13:00
Sam Minnée
8dbdb00400
Merge pull request #1335 from chillu/pulls/config-clone-nest
...
FIX Clone Config_LRU incl. objects in array
2013-03-26 13:46:30 -07:00
Ingo Schommer
8b4fb6ef0f
Clarified 3.1 upgrading docs
2013-03-26 19:01:36 +01:00
Ingo Schommer
a415db91d4
FIX Clone Config_LRU incl. objects in array
...
Caused key confusions when using Config::nest()/unnest()
2013-03-26 12:47:52 +01:00
Ingo Schommer
04c3b5ee94
Fixed static config in BBCodeParser ( fixes #8340 )
2013-03-26 10:15:17 +01:00
Ingo Schommer
880702fc74
Fixed static config access in Currency and i18n ( fixes #8341 )
2013-03-26 10:13:51 +01:00
Ingo Schommer
a1c5951d83
Merge pull request #1334 from wilr/5611
...
FIX: Groups should be able to have titles longer than 50 characters
2013-03-26 02:09:47 -07:00
Will Rossiter
70144ad549
FIX: Groups should be able to have titles longer than 50 characters (Fixes: open/5611)
2013-03-26 22:05:37 +13:00
Hamish Friedlander
600d9cff53
API Make Object::config use late static binding
...
Can now be used in instance scope, like:
$this->config()->db
and in static scope, like:
Page::config()->db
2013-03-26 00:37:47 +01:00
Ingo Schommer
4ea98ae440
Removed Object::*_extension() non-LSB deprecation
...
Its just a simplication, and unnecessarily complicates
module compatibilities.
2013-03-26 00:31:25 +01:00
Ingo Schommer
1916a6e8f4
Fixed config API usage (unknown call to set())
2013-03-26 00:04:01 +01:00
Ingo Schommer
3f2b6a518f
FIX Don't silently unset ParentID in "add page" dialog
...
Happened when changing the page type, because the "selectedNode"
property isn't set in all cases
2013-03-25 23:40:35 +01:00
Ingo Schommer
0a283eacb8
FIX Unset internal metadata on TreeDropdownField setValue()
...
Otherwise the hidden field value and metadata will get out of sync.
Most commonly used together with setTitle('') as well.
2013-03-25 23:39:37 +01:00
Ingo Schommer
07d99a5136
FIX Fallback for Session.cookie_path
...
Regression introduced by Config API static changes.
Effectively meant that you can no longer log in to the CMS
since the cookie path is set for each URL individually...
2013-03-25 23:03:34 +01:00
Ingo Schommer
7470f5e0b6
More upgrading notes about 3.1 and statics
2013-03-25 22:09:21 +01:00
Simon Welsh
f175d0bf66
Merge pull request #1275 from Zauberfisch/hierarchy
...
API: Hierarchy class cleanup
2013-03-25 13:03:04 -07:00
Zauberfisch
215628a1ea
API: re factored Hierarchy class to use new ::get() syntax
...
API: removed broken & unused method Hierarchy->partialTreeAsUL()
2013-03-25 19:55:19 +00:00
Ingo Schommer
c8f26e673a
3.1 changelog improvements
2013-03-25 09:52:55 +01:00
Ingo Schommer
42a422775e
Fixed path in docs
2013-03-24 22:47:01 +01:00
Ingo Schommer
3334eafcb1
API Marked statics private, use Config API instead ( #8317 )
...
See "Static configuration properties are now immutable, you must use Config API." in the 3.1 change log for details.
2013-03-24 17:20:53 +01:00
Ingo Schommer
f55bd9d3af
Allow for short versions in Deprecation::notification_version()
2013-03-24 17:20:36 +01:00
Ingo Schommer
183396a8ab
Disable RequestHandler->handleAction() deprecation until we have fixed LeftAndMain usage
2013-03-24 17:20:36 +01:00
Ingo Schommer
00fb8cf679
Formatting and docs changes to configuration.md
2013-03-24 17:20:36 +01:00
Ingo Schommer
69ae1f338f
FIX Clean cache on Config->remove()
2013-03-24 17:20:36 +01:00
Ingo Schommer
bb52f2a214
FIX Allow FALSE in Config API, call remove() will NULL key on update()
2013-03-24 17:20:36 +01:00
Andrew Short
222e554ce6
Merge pull request #1328 from a2nt/html_tabs_fix
...
FIX Localized HtmlEditorField Tabs
2013-03-24 04:20:24 -07:00
a2nt
27b0cda054
FIX Localized HtmlEditorField Tabs
...
Tabs can have only lattin characters in it's name
2013-03-24 15:19:45 +06:00
Sam Minnee
5779097939
NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring.
...
Anyone who has run "sudo -u www-data ./framework/sake dev/build" knows that SilverStripe's temp
folder permissions can be very brittle. This patch resolves this by making the temp folder
user-specific.
To minimise directory pollution it first creates a chmod 777 parent folder with the same name
as the current folder. It then creates a subfolder of this with the same name as the current
user.
The positive impact of this change is that sake can be used without fear of messing up file
permissions. This means, among other things, that we can put a Composer post-update-cmd into
the installer to run dev/build. Progress!
The negative impact is that you will get two caches if you run sake as a different user. However,
that is much better than the current situation - which is a bunch of bugs - and if you're concerned
about that, you still have the option of running sake as www-data.
2013-03-24 18:39:50 +13:00
Simon Welsh
7ce010928d
Merge pull request #1327 from ss23/patch-2
...
BUG Database config values aren't escaped
2013-03-23 12:16:13 -07:00
Simon Welsh
12ed83f88b
Merge pull request #1326 from ss23/patch-1
...
Missing closing <a> tag in installer
2013-03-23 12:13:39 -07:00
Stephen Shkardoon
9b9f367e93
BUG Database config values aren't escaped
...
Causes minor UI issues if you try use database configuration values that happen to have " or other values in them.
2013-03-24 01:05:33 +13:00
Stephen Shkardoon
f27410c257
Missing closing <a> tag in installer
2013-03-24 00:06:54 +13:00
Ingo Schommer
bfab74ac6e
Merge pull request #1321 from silverstripe-rebelalliance/feature/config
...
FIX ConfigStaticManifest persisting access level after parsing a static
2013-03-22 02:25:54 -07:00
Sean Harvey
9f35b13b48
Merge pull request #1322 from ajshort/pulls/class-spec-parsing
...
FIX Incorrect parsing of T_STRING values in class spec parsing
2013-03-21 21:20:35 -07:00
Andrew Short
d3e4863f52
FIX Incorrect parsing of T_STRING values in class spec parsing
...
* Due to missing break, the T_STRING case would fall through to array.
* The values were being added to the wrong variable.
* Added missing support for missing null values.
2013-03-22 14:37:55 +11:00
Hamish Friedlander
47edbfe8fc
FIX ConfigStaticManifest persisting access level after parsing a static
2013-03-22 14:26:48 +13:00
Ingo Schommer
74df4a5627
Merge pull request #1312 from chillu/pulls/deprecation-docs
...
Deprecation docs
2013-03-21 16:35:48 -07:00
Ingo Schommer
ea0cedb3da
Removed internal/outdated/speculative docs from requirements.md
2013-03-21 12:44:34 +01:00
Hamish Friedlander
c6eb1924ca
Merge pull request #1317 from chillu/pulls/config.php-after-statics
...
FIX Load _config.php's after static config manifest
2013-03-20 16:23:35 -07:00
Ingo Schommer
81a51331d6
IX Load _config.php's after static config manifest
...
This allows more sophisticated handling of config alterations
in _config.php. One example is additions to DataObject::$db
based on configuration which requires some processing.
See https://github.com/unclecheese/TranslatableDataObject/blob/master/TranslatableDataObject.php
2013-03-21 00:16:36 +01:00
Damian Mooyman
dd6aaaf484
ENHANCEMENT Additional image generation functions now self-determine if a modification to the underlying image backend is necessary before generating additional image files.
2013-03-21 12:15:28 +13:00