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
Ingo Schommer
63c8441410
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
admin/javascript/LeftAndMain.js
2013-03-21 00:11:17 +01:00
Ingo Schommer
2787d360c1
FIX "Insert Link" and other TinyMCE loading bugs ( fixes #8327 )
...
Caused by SS loading a URL with html entities (&)
through the Requirements API, which only works when directly
inserted into the HTML template (standard behaviour),
but garbles the URL GET parameters when loaded via the jQuery.ondemand
JavaScript/XHR logic.
It didn't fail the request, just meant that tiny_mce_gzip.php wasn't
getting all the required options from the GET parameters.
And since this newly loaded file contains the same JS globals,
it would override previously loaded (correct) state.
2013-03-20 17:58:17 +01:00
Ingo Schommer
f7400198d7
Merge pull request #1315 from dhensby/patch-4
...
FIX Adding preview method to CsvBulkLoader
2013-03-20 07:24:52 -07:00
Ingo Schommer
8bedf485d6
Don't fail TinyMCE cleanup if no current instance is set
...
Bug has been observed in IE8
2013-03-20 14:46:28 +01:00
Ingo Schommer
eb9a8d6e6e
Require Config.php in core to avoid fatal errors when building manifest
2013-03-20 14:45:43 +01:00
Ingo Schommer
5ad73a549a
Fixed TreeDropdownField loading indicators
2013-03-20 14:45:23 +01:00
Ingo Schommer
42b19cb4a5
Merge pull request #1198 from silverstripe-rebelalliance/open8231
...
ENHANCEMENT: fixed styling bug with the text in the file upload drop are...
2013-03-20 14:07:26 +01:00
Ingo Schommer
0a13d29e4a
Merge pull request #1214 from silverstripe-rebelalliance/feature/request_handling
...
FIX handleAction methods should be protected now
2013-03-20 13:52:45 +01:00
Daniel Hensby
a03d1e66ca
BUG CMS messages touch the bottom of the inputs
...
making spacing even: http://screencast.com/t/oYHnG1Bj
2013-03-20 13:50:10 +01:00
Ingo Schommer
74014650ed
Merge pull request #1205 from UndefinedOffset/3.0
...
BUG Fixed issue with cms help toggles not functioning correctly
2013-03-20 05:47:05 -07:00
Ingo Schommer
c3854e9e4c
Merge pull request #1274 from simonwelsh/update-conventions
...
Update conventions
2013-03-20 03:56:45 -07:00
Ingo Schommer
61dbafc4e5
Merge pull request #1292 from tractorcow/3.1-validationexception-fixes
...
BUG Issue with ValidationException having blank ValidationResult
2013-03-20 03:55:42 -07:00
Ingo Schommer
72d5f3cf17
Composer contribution fork/upstream docs ( fixes #8332 )
2013-03-20 11:37:41 +01:00