Florian Thoma
5deae7a8f9
BUGFIX support for dropdowns of has_one relations
2014-05-21 14:39:07 +10:00
Ingo Schommer
03311b4d00
Removed testLocalePersistsInAllPageTypes()
...
Doesn't respect custom business logic such as
validate() methods denying page creation to certain
users, or page creation on the root level.
The test doesn't add a whole lot of value,
since the baseline translation creation doesn't
really differ between page types.
2013-10-22 00:20:17 +02:00
Jeremy Thomerson
7534807137
Test case: class changes propagate to translations when published
2013-08-18 02:03:12 +00:00
Ingo Schommer
b898134b11
NEW Translatable.enforce_global_unique_urls config setting
...
See https://github.com/silverstripe/silverstripe-cms/pull/216
and https://github.com/silverstripe/silverstripe-cms/pull/772
for context
2013-08-03 13:01:39 +02:00
Jeremy Thomerson
a008f928c6
FIX: get_one_by_locale didn't work when filter disabled
2013-08-03 12:43:46 +02:00
Ingo Schommer
c551915745
Merge remote-tracking branch 'origin/1.0'
2013-06-28 10:12:58 +02:00
Jeremy Thomerson
f75a5fd5e3
TEST: adds test for changing class name of default locale translation
...
Adds test case for silverstripe/silverstripe-translatable#97
2013-06-06 02:59:51 +00:00
Jeremy Thomerson
f4e5137392
FIX: make getTranslations work even when translation classes differ
...
Even though it is an edge-case, some sites may allow translation groups to be
composed of different classes. In that case, Translatable->getTranslations()
should still work.
Also, this commit adds a helper function for testing two array for equality
where you don't care about the order of the elements. This cleaned up a lot
of copy and paste boilerplate code that was sorting arrays to test.
2013-06-06 02:59:51 +00:00
Ingo Schommer
51cd0146df
Merge branch '1.0'
...
Conflicts:
.travis.yml
code/model/Translatable.php
2013-06-03 12:06:29 +02:00
Ingo Schommer
3551a94e67
Fixed quoting of test SQL
2013-06-03 12:05:22 +02:00
Jeremy Thomerson
cde0f57c43
FIX support disabled locale filter for delayed querying
...
Fixes silverstripe/silverstripe-translatable#113
2013-06-01 14:14:54 +00:00
Ingo Schommer
5c7682013c
Misc 3.1 compat changes
...
Removed nested_urls check, its the only supported mode now
2013-03-26 13:55:21 +01:00
Ingo Schommer
20c2e9a190
Fixed add_extension() and add_to_class() usage
2013-03-19 09:59:08 +01:00
Ingo Schommer
2f0a629df1
Fixed extraStatics usage
2013-03-19 09:44:15 +01:00
Simon Elvery
44f8180110
NEW Make it easier to show original values for custom fields.
2013-01-10 00:35:59 +01:00
Ingo Schommer
51c7d9e2ef
Coding conventions fixes (mostly line length)
2012-10-02 22:34:16 +02:00
Damian Mooyman
ba62557aac
FIXED: Odd crash with error "Invalid CRT parameters detected" in test cases. Replaced with equivalent non-crashing code.
2012-09-07 17:08:48 +02:00
Ingo Schommer
610874755c
BUGFIX 3.0 compatibility: Query manipulation, CMS links, separation of settings fields, new place for language selector on tree
2012-05-15 23:04:57 +02:00
Ingo Schommer
515b02809d
MINOR Fixing TranslatableTest to work with new CMS preview feature in master (log out user to avoid redirection before checking URLs)
2011-07-09 15:47:10 +02:00
Ingo Schommer
edcb9ae582
BUGFIX Added Translatable->updateSettingsFields(), fixed related unit test
2011-05-02 08:30:40 +12:00
Ingo Schommer
7348ce7077
MINOR Subclassing from DataExtension instead of DataObjectDecorator
2011-05-01 22:29:20 +12:00
Ingo Schommer
e40b5f909b
MINOR Fixed @package
2011-03-23 10:15:23 +13:00
Ingo Schommer
2a3cc650dc
MINOR Initial commit, moved files from 'sapphire' and 'cms' modules
2011-03-22 22:18:48 +13:00