Commit Graph

182 Commits

Author SHA1 Message Date
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
084b22a414 Added some installation pointers 2012-12-03 10:11:45 +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
Ingo Schommer
6413eca05d Merge pull request #70 from lrc/create-member-bugfix
BUGFIX Ensure members can be created with individual locale setting.
2012-11-15 03:38:31 -08:00
Ingo Schommer
9032711ea0 Merge pull request #69 from lrc/hasones-translatable
BUGFIX Allow has_one relationships to be translated.
2012-11-15 03:37:12 -08:00
Ingo Schommer
8b33120c8c Merge pull request #68 from lrc/visual-enhancements
ENHANCEMENT Better visual hierarchy in CMS for translated objects.
2012-11-15 03:36:27 -08:00
Ingo Schommer
5270364efc Merge pull request #67 from creamarketing/languagedropdown-in-linkform
ENHANCEMENT: Add language dropdown for link form
2012-11-15 03:34:21 -08:00
Simon Elvery
a4df078f9a BUGFIX Ensure members can be created with individual locale setting. 2012-11-13 16:39:36 +10:00
Simon Elvery
2422195945 BUGFIX Allow has_one relationships to be translated.
Fixes #63
2012-11-13 16:08:04 +10:00
Simon Elvery
a713764833 ENHANCEMENT Better visual hierarchy in CMS for translated objects.
This should really be taken care of in CMS by default styling for CompositeFields, but this will do for now.
2012-11-13 16:03:23 +10:00
Niklas Forsdahl
846398d128 Correct translation for language dropdown field in link form 2012-11-12 15:59:06 +02:00
Niklas Forsdahl
616a123ddc ENHANCEMENT: Add language dropdown for link form
Adds a language dropdown to the link form in the html editor, so that linking
to pages in different locales is possible.
2012-11-12 15:48:06 +02:00
Sam Minnee
1bb392c8dc Relaxed version requirements to allow newer version 2012-11-03 15:09:08 +13:00
Ingo Schommer
f1b155a97a Removing SQLite3 support from travis
No time to fix bugs for it at the moment,
and it decreases the usefulness of travis otherwise.
2012-10-31 00:27:09 +01:00
Ingo Schommer
971bcd8b62 Merge pull request #60 from priithansen/patch-1
Documentation link fixed
2012-10-30 14:46:18 -07:00
priithansen
943670d4c5 Documentation link fixed 2012-10-30 14:01:24 +02:00
Ingo Schommer
c0aad11170 Note about 2.4 compat 2012-10-16 18:30:57 +02:00
Will Rossiter
56384c2e67 Merge pull request #58 from s-m/reEnableFilter-Bug
BUG fixed possibly undefined variable, fixes #57
2012-10-13 15:08:59 -07:00
s-m
9d9e2fa3d1 BUG fixed possibly undefined variable, fixes #57 2012-10-13 12:15:04 +02:00
Ingo Schommer
e15bb030c8 Fixed github links in README 2012-10-08 22:50:43 +02:00
Ingo Schommer
1d7a84b637 Caveats section for README 2012-10-08 22:44:45 +02:00
Ingo Schommer
745b2bcc8e Removed MetaTitle/MetaDescription fields from search form
They have been removed from core (master)
2012-10-02 23:09:29 +02:00
Ingo Schommer
c8863f6977 ENHANCEMENT Travis CI support 2012-10-02 22:50:44 +02:00
Ingo Schommer
51c7d9e2ef Coding conventions fixes (mostly line length) 2012-10-02 22:34:16 +02:00
Ingo Schommer
4035f50717 MINOR Updated lang files 2012-10-01 21:52:34 +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
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