Robbie Averill
c09866f586
FIX Translatable now handles multibute URLs when they are enabled
2019-04-05 14:29:03 +13:00
Guy
4cf60e9393
Merge remote-tracking branch 'origin/2.2' into 2.3
2018-06-19 10:09:17 +12:00
Damian Mooyman
603abfe1d6
Merge pull request #279 from creative-commoners/pulls/2.2/fix-invalid-stage-pt2
...
BUG Fix invalid stage being specified for queried records
2018-06-13 09:28:24 +12:00
Guy
6a6bc6d677
BUG Fix invalid stage being specified for queried records
2018-06-12 15:16:33 +12:00
Damian Mooyman
bea626eba3
BUG Fix invalid stage being specified for queried records
2018-06-11 15:08:34 +12:00
Robbie Averill
50f145a891
Merge branch '2.2' into 2.3
2018-04-20 16:36:23 +12:00
JorisDebonnet
60b8ba9cdc
Avoid flagging pages as "modified"
...
I moved the internals of `writeToStage` in here, in order to be able to use `writeWithoutVersion`.
2018-04-20 16:32:41 +12:00
Daniel Hensby
bb4d553b9c
Merge pull request #273 from thaissa/language-dropdown-fix
2018-02-09 12:16:21 +00:00
Thaissa Mendes
4cfae43fad
When using LanguageDropdownField on searchable_fields, it doesn't get instantiated with title parameter - and as DropdownField class doesn't require it, we should make it optional
2018-02-09 09:49:03 -02:00
Micah Sheets
62523e23df
Update Translatable.php
2017-08-15 10:06:38 +12:00
UndefinedOffset
e302c4ec46
BUGFIX: Fixed ambiguous column crash caused when publishing a versioned object if the query is joined against another table
2017-01-31 15:56:04 -04:00
w-huber
c6f9bd0330
Update Translatable.php
2016-11-02 14:04:47 +01:00
Michal Kleiner
7f34bac485
Adjust block indentation
2016-08-04 16:32:59 +12:00
Michal Kleiner
4324d5b607
Output extra meta tags only when there are any existing translations
2016-08-04 16:32:17 +12:00
3dgoo (Michael)
0fea48a608
Check if object is folder before trying to add cms fields.
2016-08-01 16:28:25 +09:30
Conrad
07bd3c58cb
Fixes #239 , cacheKeyComponent updates cache key when filtering is disabled
2016-04-04 15:10:24 +12:00
Christopher Darling
87687abdab
API Add support for gridfield
2016-03-23 21:55:35 +00:00
Daniel Hensby
1ad0d0b0a2
Merge pull request #231 from micmania1/cms-dependency
2016-03-07 15:40:26 +00:00
micmania1
d706885322
Moved translatable dependency from CMS
2016-03-03 23:13:23 +00:00
UndefinedOffset
58156353d9
BUGFIX: Fixed issue #213 causing crash when accessing a translation with a checkbox
2015-12-02 10:04:22 -04:00
Daniel Hensby
59a9d4d06e
Merge remote-tracking branch 2.0 into 2.1
...
Conflicts:
.travis.yml
README.md
composer.json
2015-11-03 21:44:46 +00:00
Ingo Schommer
da30096d65
Set current locale on POST requests ( fixes #156 )
2015-06-01 20:54:38 +12:00
Ingo Schommer
a0a6ec2f91
Consistently use uppercase "Locale" GET param
...
Causes inconsistent behaviour between form field name ("Locale")
and view state in GET parameters ("Locale" and "locale").
Related to #156 .
2015-06-01 20:54:04 +12:00
Damian Mooyman
6aefb2e09f
BUG Fix compat with userforms/translatable
2015-05-29 15:52:14 +12:00
Ingo Schommer
05b4b84f19
Fixed 3.x deprecations, updated dep from 3.1 to 3.2
2015-04-29 18:56:06 +12:00
Damian Mooyman
c0d302eb8e
Improve dev/build with obsolete class names
2015-02-24 11:17:03 +13:00
Ingo Schommer
986beafa44
Compatibility with 3.2
...
3.2 still uses SQLQuery rather than SQLSelect,
but changes the getWhere() return signature.
2015-02-23 18:51:59 +13:00
Dirk Adler
1b196d8a83
fixes URLSegment validation for non nested urls
2014-11-19 17:02:18 +13:00
Florian Thoma
5deae7a8f9
BUGFIX support for dropdowns of has_one relations
2014-05-21 14:39:07 +10:00
Ingo Schommer
36c4125fbc
Merge pull request #153 from Zauberfisch/master
...
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
2013-11-22 12:06:14 -08:00
Ingo Schommer
06ab7c9084
Fixed template entity namespace messing up Transifex
2013-11-14 14:37:24 +01:00
Zauberfisch
d194b50b94
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
2013-10-28 00:26:59 +00:00
Ingo Schommer
522dff2487
Merge pull request #152 from mateusz/return-list-bug
...
BUG Satisfy the API contract - always return SS_List instance.
2013-10-16 12:17:32 -07:00
Mateusz Uzdowski
8cdeb8005e
BUG Satisfy the API contract - always return SS_List instance.
...
Currently returning null in some situations.
2013-10-16 16:45:31 +13:00
Gus King
8f922beff3
Added check to see if the DataObject actually has translation before iterating over.
2013-10-14 19:39:29 +13:00
Hamish Friedlander
3acb8b9fba
FIX 63366327
breaking "Existing Translations" links
...
CMSEditLink() was changed to always add a locale, but the link
creation for "Existing Translations" in Translatable#updateCMSFields
assumed there was no query string on the end of CMSEditLink()s return
value
Note that youll still end up with duplicate locale parameters after
this patch, but it will work as PHP always takes the last parameter
for preference. A seperate patch for Controller::join_links will
fix the duplicate parameters
2013-09-20 11:21:28 +12:00
Ingo Schommer
6336632713
Fall back to global locale state for link updates ( #139 )
2013-09-05 16:06:58 +02:00
Ingo Schommer
15e9037c1b
Only suffix unique URLSegment if enforce_global_unique_urls=true ( #138 )
2013-09-05 15:55:45 +02:00
Ingo Schommer
69adec9455
Merge pull request #132 from jthomerson/pulls/only_write_translations_when_class_actually_changed
...
Only write translations when class actually changed
2013-09-05 05:02:50 -07:00
Ingo Schommer
b24316167a
Merge pull request #133 from Ekman/master
...
Links in head will now include translated versions of each page including itself
2013-08-20 12:44:20 -07:00
Niklas Ekman
fa850239f4
Fixed tabs
2013-08-20 21:35:39 +02:00
Niklas Ekman
6f38a21640
Fixed tabs
2013-08-20 21:05:11 +02:00
Niklas Ekman
a66de759bb
SilverStripe coding convetions
2013-08-19 10:00:08 +02:00
Niklas Ekman
03722d2a8e
MetaTags now includes translated versions of itself including the default translation
2013-08-18 18:41:08 +02:00
Jeremy Thomerson
9e37602ef7
Make publishing default locale node faster
...
When you publish a node in the default locale it calls forceChange to make
every field behave as if it has changed. The problem in Translatable is then
it would think that you actually changed the class of the default locale node
and it would force a change on every translation. This was unnecessary when you
have not actually changed the class name. If you have a great deal of
translations this was causing a significant lag when you publish anything in
the default locale.
2013-08-18 02:32:07 +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
Ingo Schommer
b90e2294b5
Merge pull request #123 from Mark-M/patch-1
...
Fix Issue #122 : Set default field value to current locale
2013-08-03 03:49:52 -07: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
69fe99735b
Merge pull request #128 from jthomerson/pulls/enhance_disabling_locale_filter
...
ENHANCEMENT: better pattern for dis-/enabling locale filter
2013-08-03 03:17:38 -07:00
Jeremy Thomerson
080b9e45ea
ENHANCEMENT: better pattern for dis-/enabling locale filter
2013-07-31 15:37:30 +00:00