Commit Graph

268 Commits

Author SHA1 Message Date
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
Franco Springveldt 044971c6cf Update translations 2017-08-25 16:44:47 +12:00
Robbie Averill e105bc50f8 Merge remote-tracking branch 'origin/2.1' into 2.2 2017-06-01 14:21:37 +12:00
Ingo Schommer c906156c93 Only test supported releases and PHP versions 2017-02-13 22:16:47 +13:00
Brett Tasker 81eaa621e7 Update translations 2017-02-09 11:28:52 +13:00
Damian Mooyman 00682aa7bc Merge pull request #259 from webbuilders-group/ambiguous-column-fix
BUGFIX: Fixed potentential ambiguous column crash caused when query is joined to another table
2017-02-01 09:49:05 +13: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
Damian Mooyman 06da948586 Update translations 2016-11-17 12:39:49 +13:00
Damian Mooyman 6f0da00776 Merge pull request #254 from w-huber/2.2
Bug: There is no function self::get_reading_locale(), use self::get_current_locale()
2016-11-16 13:04:21 +13:00
w-huber 3bae1ffbdb Merge pull request #1 from w-huber/w-huber-patch-1
Update Translatable.php
2016-11-02 14:08:42 +01:00
w-huber c6f9bd0330 Update Translatable.php 2016-11-02 14:04:47 +01:00
Damian Mooyman 18b3c8f8bf Update translations 2016-08-17 11:08:01 +12:00
Damian Mooyman 6931031bc9 Merge pull request #250 from chrometoasters/pulls/249-no-translations
Fix link hreflang meta tags being output when there are no translations
2016-08-12 13:50:01 +12: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
Daniel Hensby 0ae31a052e Merge pull request #248 from 3Dgoo/feature/folder-check-fix
Check if FieldList has tabset before trying to add cms fields to tabs.
2016-08-01 08:44:10 +01:00
3dgoo (Michael) 0fea48a608 Check if object is folder before trying to add cms fields. 2016-08-01 16:28:25 +09:30
Damian Mooyman 61afbab8b7 Merge pull request #243 from open-sausages/pulls/siteconfig-defaults-tests
Remove SiteConfig defaults from tests (fixes #224)
2016-05-19 13:59:00 +12:00
Damian Mooyman 9b2183167f Merge branch '2.1' into 2.2 2016-05-19 13:55:29 +12:00
Damian Mooyman 98c7957362 Merge pull request #244 from open-sausages/pulls/set-locale-defaults-in-tests
Consistently add Locale to test fixtures (fixes #223)
2016-05-19 13:54:16 +12:00
Ingo Schommer d9cf71b91b Consistently add Locale to test fixtures (fixes #223)
Technically this should be fixed by changing the logic
in Translatable::get_extra_config(), which modifies the 'defaults'
configuration on the objects it applies to. Since this is called
very early during the configuration bootstrap, it sets whatever
the current value of Translatable::get_default_locale() is there.
Any changes at a later time don't affect newly created objects,
even Translatable::reset() doesn't alter the initially configured 'defaults'.
2016-05-19 12:50:42 +12:00
Damian Mooyman 8d4e345860 Add changelog for 2.2.0 2016-05-19 12:03:06 +12:00
Damian Mooyman 262f5431d9 Merge branch '2.1' into 2 2016-05-19 11:59:48 +12:00
Ingo Schommer cf043a0106 Remove SiteConfig defaults from tests (fixes #224)
Causes TranslatableSiteConfigTest.testCanEditTranslatedRootPages to fail
when used in the CWP recipe (possibly because of subsites?).
2016-05-19 11:33:14 +12:00
Damian Mooyman 29713e9d81 Update translations 2016-05-18 16:58:44 +12:00
Damian Mooyman d4f064c3f5 Merge pull request #240 from webtorque7/cachekey
Fixes #239, cacheKeyComponent updates cache key when filtering is disabled
2016-04-04 18:22:27 +12:00
Conrad 07bd3c58cb Fixes #239, cacheKeyComponent updates cache key when filtering is disabled 2016-04-04 15:10:24 +12:00
Damian Mooyman e84b61246e Merge pull request #238 from christopherdarling/gridfieldfix
API Add support for gridfield
2016-03-24 11:55:52 +13:00
Christopher Darling 87687abdab API Add support for gridfield 2016-03-23 21:55:35 +00:00
Damian Mooyman 52b8f5a932 Create 2 branch aliased as 2.2 2016-03-24 10:30:37 +13:00
flxlabs 7bfece9666 Update HtmlEditorField.Translatable.js
Should resolve Issue #214
2016-03-09 15:49:19 +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
Damian Mooyman 3e87a27ed4 Updated changelog for 2.1.1 release 2016-02-04 17:56:03 +13:00
Damian Mooyman 54d49c28ea Update translations 2016-02-04 11:03:42 +13:00
Damian Mooyman fcd8764333 Merge remote-tracking branch 'origin/2.0' into 2.1 2016-01-14 13:21:29 +13:00
Ingo Schommer f702487da4 Merge pull request #215 from webbuilders-group/2.1
BUGFIX: Fixed issue #213 causing crash when accessing a translation with a checkbox
2016-01-13 23:14:24 +13:00
Cam Findlay 8d31789a70 DOCS Added user guide 2016-01-13 22:58:33 +13:00
Ingo Schommer 68514b7cdd Set current locale on POST requests (fixes #156) 2016-01-13 22:58:33 +13:00
Ingo Schommer cbc32e830a 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.
2016-01-13 22:58:33 +13:00
UndefinedOffset 58156353d9 BUGFIX: Fixed issue #213 causing crash when accessing a translation with a checkbox 2015-12-02 10:04:22 -04:00
Damian Mooyman feced03df2 Merge pull request #208 from scott1702/2.1
Add changelog for release
2015-11-20 09:59:13 +13:00
scott1702 7208024ce0 Add changelog for release 2015-11-20 09:52:30 +13:00
Damian Mooyman d3c960a820 Update translations 2015-11-17 16:07:38 +13: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
Scott Hutchinson e3a91c3506 Merge pull request #200 from tractorcow/pulls/tests
Add tests for 3.2 and php 5.6
2015-10-30 18:56:39 +13:00
Damian Mooyman 2e75581861 Add tests for 3.2 and php 5.6 2015-10-30 17:59:48 +13:00
Damian Mooyman 295e11c0e0 Merge pull request #193 from chillu/pulls/consistent-locale-casing
Consistent locale casing, set locale on POST
2015-08-20 17:14:46 +12:00