Commit Graph

8530 Commits

Author SHA1 Message Date
Sean Harvey
3d15159e22 Merge pull request #331 from silverstripe-big-o/breadcrumbs-tabs-overflow-Trac6882
ENHANCEMENT:fixed issues with overflow between tabs and breadcrumbs in c...
2012-04-16 16:49:55 -07:00
Will Rossiter
7a4392ca03 Merge pull request #324 from halkyon/installer_fixes
MINOR: Fix install not loading because of Zend/Translate.php dependency in i18n.php
2012-04-16 16:34:53 -07:00
Sean Harvey
5f73643e3f BUGFIX Hardcoding locales in installer, because we can't include i18n
properly, and including core/Core.php is too much.
2012-04-17 11:02:18 +12:00
Sean Harvey
ad2a21cc92 API CHANGE getSysTempDir() is now deprecated, use sys_get_temp_dir()
instead!
2012-04-17 10:53:41 +12:00
Sean Harvey
dc0031cf26 BUGFIX Fixed broken installer trying to include i18n thirdparty Zend
libs, which depends on Core.php being included first because include
paths are setup there first. This has the effect of removing redundant
code in the installer like temp path discovery, as Core takes care of
that for us.
2012-04-17 10:53:40 +12:00
Sean Harvey
e6007c2637 MINOR Removed redundant system temp path discovery in tiny_mce_gzip,
juse use sys_get_temp_dir() instead which is always available.
2012-04-17 10:53:40 +12:00
Sean Harvey
4a3070757b MINOR Fixed tests 2012-04-17 10:53:40 +12:00
Sean Harvey
3ff6002936 ENHANCEMENT Always use sys_get_temp_dir() which will return the system
temp folder for PHP 5.2+, since we don't support older versions we don't
need to patch around this any longer.
2012-04-17 10:53:40 +12:00
Sean Harvey
d0984ec897 MINOR Line break after sentence of message 2012-04-17 10:53:40 +12:00
Ingo Schommer
ac1ad813dc Merge pull request #310 from simonwelsh/sapphire
---

ssmacron had a reference to sapphire. Rather than trying to figure out how to make it variable, moving the plugin into third party means the path doesnt need it. ssbuttons is also moved and now all the tinyMCE related JS is in sapphire.

See also https://github.com/silverstripe/silverstripe-cms/pull/95
2012-04-16 12:31:35 +02:00
Ingo Schommer
7ce1572d38 MINOR Stability fixes on new tokenizer implementation of i18nTextCollector, allowing to specify writer and locale arguments on task execution 2012-04-16 12:25:49 +02:00
Simon Welsh
df08c2fadf API-CHANGE Move tinymce plugins in thirdparty 2012-04-16 12:25:49 +02:00
Ingo Schommer
c7ef4abe5d Merge pull request #327 from halkyon/doc_changes
MINOR Documentation about renaming sapphire to framework
2012-04-16 01:56:21 -07:00
Ingo Schommer
51d4b86f2c Merge pull request #326 from halkyon/function_exists_removal
MINOR Removed function_exists() checks which aren't necessary for PHP 5.2+
2012-04-16 01:55:23 -07:00
Ingo Schommer
dc09d25fee Merge pull request #325 from halkyon/missing_lang
MINOR Fixed broken SecurityTest, missing entry in en.yml for ERRORWRONGC...
2012-04-16 01:52:40 -07:00
Jeremy Bridson
64300caae3 ENHANCEMENT:fixed issues with overflow between tabs and breadcrumbs in cms-content-header 2012-04-16 16:31:24 +12:00
Sean Harvey
311bfba6e2 Merge pull request #330 from robert-h-curry/7071-postgresql-gridfield-test-failures
BUGFIX: Fixes #7071. Change gridfield tests to not assume ids are always in order of addition.
2012-04-15 21:05:05 -07:00
Sean Harvey
c62b8e62bf Merge pull request #329 from silverstripe-big-o/filter-header-styling
BUGFIX:fixed broken filter header styling in users
2012-04-15 21:03:30 -07:00
Robert Curry
5686392a67 BUGFIX: Fixes #7071. Change gridfield tests to not assume ids are always
in order of addition.
2012-04-16 15:47:35 +12:00
Jeremy Bridson
e91c609bd2 BUGFIX:fixed broken filter header styling in users 2012-04-16 15:30:34 +12:00
Sean Harvey
b0952902ab Merge pull request #328 from mateusz/yml-linefeeds2
BUGFIX: normalise the config file, PCRE does not handle Windows/Mac line breaks (os7133)
2012-04-15 19:34:08 -07:00
Mateusz Uzdowski
b34be8190e BUGFIX: normalise the config file, PCRE does not handle Windows/Mac linebreaks (os7133) 2012-04-16 14:32:37 +12:00
Sean Harvey
e99ada4ebd Merge pull request #323 from ajoneil/fix-deprecation-notice
MINOR: Fix deprecation notice when saving user settings
2012-04-15 19:16:43 -07:00
Andrew O'Neil
a89228e934 MINOR: Fix deprecation notice when saving user settings 2012-04-16 14:13:21 +12:00
Sean Harvey
6ca7294c65 BUGFIX Fixed broken path, should be RailsYAML not RailsYaml 2012-04-16 14:04:41 +12:00
Sean Harvey
51b5120480 MINOR Documentation about renaming sapphire to framework 2012-04-16 13:43:48 +12:00
Sean Harvey
bbf04ee7ea MINOR Removed function_exists() checks which aren't necessary for PHP 5.2+ 2012-04-16 13:15:41 +12:00
Sean Harvey
1aa919d3a7 MINOR Fixed broken SecurityTest, missing entry in en.yml for ERRORWRONGCRED 2012-04-16 12:48:26 +12:00
Sean Harvey
38320691e4 Merge pull request #322 from ajoneil/cmstitle-config-system
MINOR: Use config system for cms title, rather than eval.
2012-04-15 16:14:29 -07:00
Andrew O'Neil
3b9f99394b MINOR: Use config system for cms title, rather than eval. 2012-04-16 11:04:55 +12:00
Ingo Schommer
1334711ba3 MINOR Removed outdated docs about missing template iterators 2012-04-15 21:16:58 +02:00
Ingo Schommer
7a7bfeb901 Merge branch 'yml-lang-file' 2012-04-15 20:55:38 +02:00
Ingo Schommer
6e13512200 MINOR Fixed up some language mappings in i18n (slightly different locales exported from getlocalization.com) 2012-04-15 20:54:24 +02:00
Ingo Schommer
ef5e6394d6 MINOR Don't break on empty YAML files 2012-04-15 20:43:32 +02:00
Ingo Schommer
a452b6aae5 MINOR Using SS locale notation for new YAML files (underscore instead of dashed) 2012-04-15 20:39:25 +02:00
Ingo Schommer
c649fa3acf MINOR Workaround for duplicate require_once calls of same class in two locations (SS core and Zend_Translate_RailsYAML) 2012-04-15 18:46:04 +02:00
Ingo Schommer
d3b63dae0c MINOR Allowing to flush translation cache through ?flush=1 2012-04-15 18:46:04 +02:00
Ingo Schommer
d57e864110 MINOR Fixed tests related to i18nLegacyAdapter changes 2012-04-15 18:46:02 +02:00
Ingo Schommer
f61dbfda09 MINOR Updated lang file to new generated YML format 2012-04-15 18:09:02 +02:00
Ingo Schommer
cbcee57496 ENHANCEMENT New i18nTextCollector_Writer_RailsYaml 2012-04-15 18:08:59 +02:00
Ingo Schommer
fca2c205b7 API CHANGE Removed $priority arguments from _t(), use module priorities instead.
ENHANCEMENT Refactored i18nTextCollector collection logic alongside $priority removal, from regex to (slightly more maintainable) PHP tokenizer. Using var_export() for generating PHP, which auto-escapes strings more robustly.
ENHANCEMENT Refactored i18nTextCollector into pluggable writers (in preparation of new YML output format)
2012-04-15 17:17:17 +02:00
Ingo Schommer
d44f6b3e1f MINOR Removed deprecated usage of $priority argument in _t() calls 2012-04-15 17:17:17 +02:00
Ingo Schommer
b81863cfd9 MINOR Caching DataObject->fieldLabels() in memory, to avoid _t() being called excessively through fieldLabel() 2012-04-15 17:17:17 +02:00
Ingo Schommer
3002598a5e MINOR Hardcoding correct module priorities in i18n.php 2012-04-15 17:17:16 +02:00
Ingo Schommer
9e95ba0045 BUGFIX Disable performance intensive Zend_Locale::isLocale() valiations in Zend_Translate_Adapter, which is only used for i18n class in SilverStripe core, so a controlled environment where valid locales are assumed 2012-04-15 17:17:16 +02:00
Ingo Schommer
95cdbe9d2c MINOR Avoid duplicate var declaration in i18n::_t() 2012-04-15 17:17:16 +02:00
Ingo Schommer
27ec83ce40 MINOR i18n::_t() getter performance optimisation (saves 10% on default CMS execution!) 2012-04-15 17:17:16 +02:00
Ingo Schommer
03de6e5e5f MINOR Removed i18nSSLegacyTranslator from default setup for performance reasons, document how to re-apply it 2012-04-15 17:17:16 +02:00
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