Commit Graph

304 Commits

Author SHA1 Message Date
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 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
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 670575c18a Merge pull request #49 from creamarketing/pages-overview-redirect
BUG: redirect to pages overview not working from page edit view
2012-09-06 13:37:14 -07:00
Ingo Schommer 7a6e495afb Merge pull request #50 from creamarketing/swedish-translations
ENHANCEMENT: Added Swedish translations
2012-09-06 13:36:02 -07:00
Ingo Schommer 00140be705 Merge pull request #48 from creamarketing/doube-ajax-panel-load
BUG: double ajax request for page editing in default locale
2012-09-06 13:05:55 -07:00
Ingo Schommer 98f8b6a71a Merge pull request #47 from creamarketing/locale-dropdown-disappear
BUG: locale dropdown sometimes hidden after panel reload
2012-09-06 13:04:34 -07:00
Niklas Forsdahl c7bbb86584 ENHANCEMENT: Added Swedish translations 2012-09-03 15:09:24 +03:00
Niklas Forsdahl 451576f36d BUG: redirect to pages overview not working from page edit view
The redirect to pages overview was not working because the pages overview and page edit views
share the same session namespace, and therefore the checks to see if we need to redirect to
pages overview (i.e. if there is a translated record for the current page) matched also for
the redirected request.

Fixed by checking if we already are on the CMSPagesController before redirecting to it.
2012-09-03 14:40:46 +03:00
Niklas Forsdahl 1c40751d51 BUG: double ajax request for page editing in default locale
When editing a page in the default locale, a double ajax request was done for the editing page.
This was caused by no locale-parameter being set in this case, which caused the default locale
parameter to be added and a new ajax request was made due to this. The extra ajax request caused
the loading-animation to appear after the edit page was loaded, which looks weird.
Fixed by doing a redirect immediately the CMSPagesController is loaded and no locale is set, so
that the default locale parameter gets set at this stage.
2012-09-03 11:10:54 +03:00
Niklas Forsdahl 11b40d44ff BUG: locale dropdown sometimes hidden after panel reload
The locale dropdown was sometimes hidden after a panel reload via ajax,
due to the caching behaviour for the panel. This was caused by the fact
that the dropdown was hidden at the point in which the panel was cached
(probably due to chosen).
Fixed by always making sure the dropdown is shown on its onmatch function.
2012-09-03 11:09:27 +03:00
Ingo Schommer c3c9f1f83f BUG Correct GET param name on context menu page add (fixes #45) 2012-08-23 23:06:06 +02:00
Ingo Schommer f404ad3325 Correct CSS classes for LanguageDropdownField
Chosen wasn't applying because the field holder
didn't have ".dropdown" on it
2012-08-16 23:30:31 +02:00
Ingo Schommer 1eb107bbaf BUG Setting locale on new pages form
Previously creating a new page in non-default locale wasn't
allowed due to this bug.
2012-08-16 09:30:59 +02:00
Ingo Schommer cb3515a4d5 Added composer.json 2012-08-15 22:18:06 +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
Ingo Schommer 6d7700f8f6 BUG Fix admin/myprofile saving
Ignore the extension's init() method being called on
LeftAndMain base class,
which is the case when requests are first routed through
AdminRootController
as an intermediary rather than the endpoint controller
2012-08-14 11:22:42 +02:00
Ingo Schommer 4f433155f1 BUG Check for extensions on record in CMS (fixes #41) 2012-08-13 10:06:12 +02:00
Ingo Schommer d837220b01 Merge pull request #40 from pixeltricks/master
Translations added
2012-08-13 01:01:28 -07:00
Roland Lehmann 6d7647787e replaced DataObjectSet with DataList as a default value of a function argument 2012-08-11 23:02:35 +02:00
Roland Lehmann 06bb08b594 Added translations for en, en_GB and german 2012-08-11 06:44:33 +02:00
Ingo Schommer 8b923ca84a Merge pull request #39 from tractorcow/3.0-fatal-fixes
FIXED: Error where uninitialised Locale field would crash queries.
2012-08-09 00:35:04 -07: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
Ingo Schommer 84f5956921 Updated screenshots, added note about UTF8 urls 2012-08-08 11:23:52 +02:00
Ingo Schommer c80f366dd6 BUG Avoid redirecting with duplicate ?locale param 2012-08-07 23:01:39 +02:00
Ingo Schommer 13002cef9f Merge pull request #38 from creamarketing/create-translation-redirect
BUG: Site tree sidebar not updated when creating a new translation
2012-08-07 13:58:40 -07: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
Niklas Forsdahl eaa5555dfc BUG: Site tree sidebar not updated when creating a new translation
The site tree sidebar was not updated when creating a new translation,
due to only CurrentForm and Breadcrumbs fragments being updated by default.

Fixed by explicitly setting the X-Pjax response header to Content on
translation creation.
2012-08-03 13:31:47 +03:00
Ingo Schommer 2fb20aa7e5 Merge pull request #36 from blu42media/patch-2
remove PR_MEDIUM from _t() call in providePermissions() function
2012-07-19 04:45:08 -07:00
BLU42 Media de3e0b0590 remove PR_MEDIUM from _t() call in providePermissions() function 2012-07-18 15:11:25 -07:00
Ingo Schommer 67b27a5377 Minor JS logic error 2012-07-16 23:36:15 +02:00
Ingo Schommer 7e1b7a6240 BUG Redirect on mixed locale/record URLs
Avoids e.g. the pages tree showing two languages at once.
2012-07-16 23:35:28 +02:00
Ingo Schommer 1a4b284b32 Fixed deprecated function usage (#33) 2012-07-04 18:00:45 +02:00
Ingo Schommer 319a7faeac Merge pull request #32 from blu42media/patch-1
fixed typo in function call
2012-07-04 08:41:54 -07:00
BLU42 Media 01a61f48a4 fixed typo in function call 2012-07-02 16:03:36 -07:00
Ingo Schommer f1deebe975 BUG New add_to_class() ext registration compat with 3.0 2012-06-29 15:00:11 +02:00
Sean Harvey e14f7c26ae Merge pull request #15 from pasinter/master
Bugfix - use Form->getName() instead of deprecated Form->Name()
2012-06-14 14:12:48 -07:00
pasinter 2662571607 bugfix - use $form->getName() instead of deprecated $form->Name() 2012-06-14 22:54:25 +12: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 0cea59a2a7 Merge pull request #2 from cbryer/master
changed MetaTags function to use AbsoluteLink instead of Link in Translatable.php
2012-02-23 04:07:19 -08: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
Ingo Schommer ba5d862474 Merge pull request #1 from smares/patch-1
Patch for create translation language dropdown
2012-02-14 00:25:07 -08: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 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 96e28f6b9b MINOR Added documentation about 2011-06-09 11:32:33 +12: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