Commit Graph

78 Commits

Author SHA1 Message Date
Simon Elvery
27208655b9 ENHANCEMENT Don't show translations dropdown if all translations have been created. 2013-01-10 00:39:45 +01:00
Simon Elvery
44f8180110 NEW Make it easier to show original values for custom fields. 2013-01-10 00:35:59 +01:00
Roman
061057ca04 Added a callback hook "onTranslatableCreate" that can be used to create translations of dependent objects 2012-12-17 17:24:24 +01:00
Ingo Schommer
f925a4102e BUG dev/build fails to add extra fields to SiteConfig (fixes #65)
Caused by Translatable->populateSiteConfigDefaults()
triggering before newly created fields are available in the
"SiteConfig" database table.
2012-11-15 13:08:14 +01:00
Simon Elvery
2422195945 BUGFIX Allow has_one relationships to be translated.
Fixes #63
2012-11-13 16:08:04 +10:00
s-m
9d9e2fa3d1 BUG fixed possibly undefined variable, fixes #57 2012-10-13 12:15:04 +02:00
Ingo Schommer
51c7d9e2ef Coding conventions fixes (mostly line length) 2012-10-02 22:34:16 +02:00
Ingo Schommer
00dda353e3 BUG Skip SiteConfig->populateDefaults() on first dev/build 2012-09-22 16:44:52 +02:00
Damian Mooyman
a44546bcdd FIXED: Issue with siteconfig translation incorrectly ignoring canTranslate permissions and crashing
UPDATED: Cleanup and refactoring to make more readable
UPDATED: Translation of siteconfig now better handles singleton(SiteConfig)
UPDATED: Renamed populateSiteConfig to populateSiteConfigDefaults to better reflect its purpose

FIXED: Parameter typing on getStagingSiteConfig

bla
2012-09-22 16:41:09 +02:00
Damian Mooyman
67915ea695 FIXED: Simplified code 2012-09-07 17:08:49 +02:00
Damian Mooyman
91596197ee FIXED: Issue where translation of siteconfigs would create additional objects.
ADDED: Test case assertion
FIXED: Coding convention
2012-09-07 17:08:49 +02:00
Damian Mooyman
1120f2974e FIXED: Crash during dev/build on new database construction 2012-09-07 17:08:48 +02:00
Damian Mooyman
a3b3ec8c4e FIXED: Issue where $enable_siteconfig_generation flag was not being set correctly, causing failed test cases_
FIXED: Duplicate entries in test database
2012-09-07 17:08:48 +02:00
Damian Mooyman
405fa7e3cf FIXED: Allowed hidden "Locale" field to exist in the CMS form for SiteConfig (and other data objects) 2012-09-07 17:08:48 +02:00
Damian Mooyman
9978765abc UPDATED: Refactored Translation module specific code out of the SiteConfig 2012-09-07 17:08:48 +02:00
Ingo Schommer
7d9a802073 BUG Use new ORM methods (fixes #42)
This subtly changes the caching behaviour
where get_one() calls are replaced, results
will be no longer cached. There's no built-in core
way to cache DataList results, so for now we accept
that there's less caching due to this internal change.
2012-08-14 11:25:00 +02:00
Roland Lehmann
6d7647787e replaced DataObjectSet with DataList as a default value of a function argument 2012-08-11 23:02:35 +02:00
Damian Mooyman
d846a72d39 FIXED: Error where uninitialised Locale field would crash queries. This is noticeable during full text search, when full model fields might not be initialised. 2012-08-09 15:40:11 +12:00
Ruud Arentsen
5b38cc31b8 Translation of SiteConfig
Fixed editing of translated configs, and added a link for the 'add
translation' not working for siteconfigs
2012-08-06 09:39:46 +02:00
BLU42 Media
de3e0b0590 remove PR_MEDIUM from _t() call in providePermissions() function 2012-07-18 15:11:25 -07:00
Ingo Schommer
f1deebe975 BUG New add_to_class() ext registration compat with 3.0 2012-06-29 15:00:11 +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
Chris Bryer
baa7566933 modified MetaTags function to provide absolute links instead of using normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use different subdomains or TLD's. 2012-02-22 22:44:03 -05:00
Sebastian Mares
658cac4df6 Copy values to keys in updateCMSFields' $alreadyTranslatedLocales since it's later used by LanguageDropdownField to exclude languages for which a translation already exists and LanguageDropdownField operates on array keys.
Also removed unused index/key variable $i from foreach loop that displays the existing translations.
2012-02-12 21:58:28 +01: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