Commit Graph

8230 Commits

Author SHA1 Message Date
Ingo Schommer
652f0ec007 MINOR Infinite cache 2012-04-15 17:17:16 +02:00
Ingo Schommer
796975f53b MINOR Don't set locale on adapter in i18n::_t() for performance reasons, we're passing it with each individual translate() call anyway 2012-04-15 17:17:16 +02:00
Ingo Schommer
190c758639 MINOR Reverting to use directory scanning rather than Zend_Translate() in i18n::get_existing_languages(), as the only way to determine this information from Zend is loading all locales (which is way too slow e.g. for loading a language drop down in the member profile) 2012-04-15 17:17:15 +02:00
Ingo Schommer
326ff4a783 MINOR Added array fallback support to i18nSSLegacyAdapter 2012-04-15 17:17:15 +02:00
Ingo Schommer
0e0e5dd07a BUGFIX Ensuring that every locale (and its lang part) are registered as languages in i18n::include_by_locale() to avoid expensive re-parsing on subsequent i18n::_t() calls to the same locale 2012-04-15 17:17:15 +02:00
Ingo Schommer
bd23a07bba API CHANGE Using Zend_Translate with YAML translation files, replacing the $lang global and PHP files in the /lang folders. 2012-04-15 17:17:15 +02:00
Ingo Schommer
0a0be63ee2 ENHANCEMENT Added $exclusive flag to SS_ClassLoader->pushManifest() to allow for multiple manifests co-existing (useful for tests which rely on core classes but also want to test their own manifests) 2012-04-15 17:17:15 +02:00
Ingo Schommer
a3e74bb2ef MINOR Added Zend_Translate dependency (v1.11.11) 2012-04-15 17:17:14 +02:00
Ingo Schommer
3342c84abe MINOR Added zend_translate_railsyaml dependency 2012-04-15 17:17:14 +02:00
Ingo Schommer
7e7d98861e MINOR Removed legacy PHP translation files 2012-04-15 17:17:14 +02:00
Ingo Schommer
6c1c98e3b3 MINOR Converted YML lang files 2012-04-15 17:17:14 +02:00
Ingo Schommer
edd4ef2c25 MINOR Updated translations from translate.ss.org 2012-04-15 17:17:13 +02:00
Stig Lindqvist
5e79e81b31 MINOR ConfigManifest cache fixes
- Do not skip the cache if there are currently no environmental specific spec, just use the an empty variantKeySpec.
- When doing a regeneration of the config, clear the previous values from the array before regeneration.
2012-04-15 17:13:28 +02:00
Sean Harvey
ebe75fefab MINOR Update locations to server requirements page 2012-04-15 16:29:14 +12:00
Sean Harvey
515a2ccfcc MINOR Updating old URLs in installer, show message about creating admin
account
2012-04-15 16:01:06 +12:00
Sean Harvey
e71b8d6215 MINOR Installer cleanups, removing references to old "command line
installation" which is no longer supported.
MINOR Removed stray semi-colon when showing version in installer
template.
2012-04-15 15:05:20 +12:00
Will Rossiter
befbd3e6a8 MINOR: remove reference to sapphire in CMSVersion 2012-04-15 15:00:52 +12:00
Sean Harvey
effc654009 MINOR Moved ModulePath to GenericTemplateGlobalProvider 2012-04-15 10:50:21 +12:00
Sean Harvey
d7973ea006 MINOR Don't show warning if running tests 2012-04-15 10:50:20 +12:00
Sean Harvey
b2d602f275 MINOR Formatting code text properly in changelog 2012-04-15 10:50:20 +12:00
Sean Harvey
8949dfa691 ENHANCEMENT Replaced locations of sapphire with $ModulePath(framework) in templates, based off Controller which implements TemplateGlobalProvider 2012-04-15 10:50:20 +12:00
Sean Harvey
b755ab62e5 MINOR Update docs about sapphire rename, ModulePath template variable 2012-04-15 10:50:20 +12:00
Sean Harvey
01e0ce7b24 MINOR Ensure assertions of RequirementsTest use "framework" as the
FRAMEWORK_DIR, otherwise assertions of require() calls in
RequirementsTest_Conditionals template fail
2012-04-15 10:50:20 +12:00
Sean Harvey
f238fa4492 MINOR Fallbacks for _register_database path when FRAMEWORK_PATH isn't
available yet (during installation)
2012-04-15 10:50:20 +12:00
Sean Harvey
c45027d247 MINOR Fix tests to check against dynamic FRAMEWORK_DIR and $project
instead of hardcoding these checks
2012-04-15 10:50:20 +12:00
Sean Harvey
6405c44bc2 MINOR Enable the highest level of error_reporting() in install, to be
consistent with Core.php
2012-04-15 10:50:20 +12:00
Simon Welsh
f07258f3cf MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Simon Welsh
656369008c API-CHANGE Update docs to match renaming of sapphire to framework 2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251 API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
Simon Welsh
f8082e4814 MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
Sean Harvey
f57a763524 MINOR Ensure incomplete tests also have a backtrace 2012-04-15 00:26:17 +12:00
Sean Harvey
ce097a7b54 ENHANCEMENT If there are no test failures, but incomplete tests, mark
summary of test run as "ok but incomplete" in yellow for CliTestReporter
2012-04-15 00:07:15 +12:00
Sean Harvey
edaed5ef7e BUGFIX If SS_Backtrace::get_rendered_backtrace() has $plainText argument
to TRUE, ensure there is no HTML in the output.
2012-04-15 00:05:49 +12:00
Sean Harvey
7e3a698d56 BUGFIX Fixed missing $properties arg to DatalessField::SmallFieldHolder 2012-04-14 23:40:03 +12:00
Sean Harvey
fc18b2c788 ENHANCEMENT TestReporter now reports incomplete tests properly 2012-04-14 23:11:54 +12:00
Sean Harvey
0e31846937 Merge pull request #319 from silverstripe/templatedforms
Templated form field enhancements
2012-04-14 03:28:18 -07:00
Will Rossiter
7df26fd702 BUGFIX: fix missing TabSet template from previous changes and selection group using wrong holder. 2012-04-14 22:08:00 +12:00
Will Rossiter
07d2d5273a ENHANCEMENT: populate FormField:: on the fly based on class name of field rather than requiring explict definition. 2012-04-14 17:36:19 +12:00
Will Rossiter
907568b182 ENHANCEMENT: move hard coded template HTML for composite field and field group out to separate template files. 2012-04-14 17:36:08 +12:00
Sean Harvey
38f3f23614 Merge pull request #314 from silverstripe-scienceninjas/bugfixes/php-peg
Bugfixes/php peg
2012-04-13 16:55:58 -07:00
Ingo Schommer
3572b31a94 MINOR Default app title when SiteConfig object is not present (fixes #7114) 2012-04-13 16:21:30 +02:00
Ingo Schommer
2db0be6cc0 Merge pull request #313 from halkyon/sapphire
---

Re-enable E_STRICT after it was temporarily turned off.

Additionally, this fixes "class SS_Log not found" errors by explicitly requiring the required debugging classes in Core.php bootstrap code, because `SS_ClassLoader::registerAutoloader()` cant always guarantee that at the time the strict error was issued the Debug/Log classes were loaded yet.

This should be pulled *after* this issue is fixed: http://open.silverstripe.org/ticket/7135 which allieviates the problem of changing every `getCMSFields` method when upgrading because of the parameter differences.
2012-04-13 15:56:57 +02:00
Ingo Schommer
8ba9c3ca6b API CHANGE Removed $params argument to DataObject->getCMSFields(), please use FormScaffolder directly (fixes #7135) 2012-04-13 15:46:47 +02:00
Ingo Schommer
0f8a6999a1 MINOR Passing rendered form to renderWith() call, underlying logic changed (see #7136) 2012-04-13 15:35:46 +02:00
Ingo Schommer
6e872c34d4 Merge pull request #311 from silverstripe-scienceninjas/sapphire
---

Fixes http://open.silverstripe.org/ticket/7136
2012-04-13 15:32:13 +02:00
Ingo Schommer
1e2d8160f8 MINOR HTML5 for BlankPage.ss default template 2012-04-13 15:32:05 +02:00
Will Rossiter
1701de8c6f Merge pull request #315 from silverstripe-big-o/breadcrumbs-tabs-overflow-Trac6882
ENHANCEMENT: Breadcrumbs tabs overflow. Fixes 6882.
2012-04-12 22:52:19 -07:00
Jeremy Bridson
20aeb76979 BUGFIX:fixed overflow issues in cms-content-header with back button / breadcrumbs / tabs 2012-04-13 16:08:05 +12:00
Jeremy Bridson
6a7668fefb ENHANCEMENT:Trac 6882 - created include template for back button and altered the templates accordingly 2012-04-13 16:06:15 +12:00
Hamish Friedlander
fc5592ef17 MINOR: PHP-PEG is now triple licensed under BSD, MPL and GPL by request 2012-04-13 15:33:12 +12:00