Permalink
Browse files

Housekeeping updates for 2.2 announcement version (calling it 2.2.2)

  • Loading branch information...
1 parent 88f809a commit 77249efc816ed3793be7215f9cc0405455d55348 @ryancramerdesign committed May 22, 2012
View
@@ -14,7 +14,7 @@ http://processwire.com
Download ProcessWire at:
http://github.com/ryancramerdesign/ProcessWire
-Follow ProcessWire on Twitter at:
+Follow ProcessWire on Twitter at @processwire
http://twitter.com/processwire/
@@ -69,6 +69,9 @@ does not contain any files specific to your site, only to ProcessWire.
All the files specific to your site are stored in /site/ and you would
leave that directory alone during an upgrade.
+After upgrading, you may get an error on the first web request you try,
+but that should only happen once, so just reload the page.
+
If you are interested, this process is outlined in more detail in our
upgrade FAQ:
View
@@ -110,7 +110,6 @@
*/
$config->adminEmail = '';
-
/**
* Prefix to use in page URLs for page numbers, i.e. a prefix of 'page' would use 'page1', 'page2', etc.
*
View
@@ -64,3 +64,10 @@
*/
$config->dateFormat = 'Y-m-d H:i:s';
+/**
+ * protectCSRF: enables CSRF (cross site request forgery) protection on all PW forms,
+ * recommended for improved security.
+ *
+ */
+$config->protectCSRF = true;
+
@@ -35,7 +35,7 @@ class ProcessWire extends Wire {
const versionMajor = 2;
const versionMinor = 2;
- const versionRevision = 0;
+ const versionRevision = 2;
/**
* Given a Config object, instantiates ProcessWire and it's API
@@ -23,8 +23,8 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
public static function getModuleInfo() {
return array(
'title' => __('Repeater', __FILE__), // Module Title
- 'summary' => __('Maintains a collection of fields that are repeated for any number of times. BETA TEST ONLY, NOT FOR PRODUCTION USE.', __FILE__), // Module Summary
- 'version' => 001,
+ 'summary' => __('Maintains a collection of fields that are repeated for any number of times.', __FILE__), // Module Summary
+ 'version' => 100,
'autoload' => true,
'installs' => 'InputfieldRepeater'
);
@@ -23,8 +23,8 @@ class InputfieldRepeater extends Inputfield {
public static function getModuleInfo() {
return array(
'title' => __('Repeater', __FILE__), // Module Title
- 'summary' => __('Repeats fields from another template. Provides the input for FieldtypeRepeater. BETA TEST ONLY, NOT FOR PRODUCTION USE.', __FILE__), // Module Summary
- 'version' => 001,
+ 'summary' => __('Repeats fields from another template. Provides the input for FieldtypeRepeater.', __FILE__), // Module Summary
+ 'version' => 100,
'requires' => 'FieldtypeRepeater',
);
}
@@ -31,7 +31,7 @@ class InputfieldPassword extends InputfieldText {
if($trackChanges) $this->setTrackChanges(false);
$this->attr('value', '');
$out = "\n<p><input " . $this->getAttributesString() . " /></p>" .
- "\n<p><input type='password' size='{$this->size}' name='_{$this->name}' value='' /> " . $this->_('(confirm)') . "</p>";
+ "\n<p><input type='password' size='{$this->size}' name='_{$this->name}' value='' /> <span class='detail'>" . $this->_('(confirm)') . "</span></p>";
$this->attr('value', $value);
if($trackChanges) $this->setTrackChanges(true);
return $out;
@@ -139,7 +139,7 @@
<?php endif; ?>
- ProcessWire <?php echo $config->version . '.' . $config->systemVersion; ?> &copy; <?php echo date("Y"); ?> Ryan Cramer
+ ProcessWire <?php echo $config->version . ' <!--v' . $config->systemVersion; ?>--> &copy; <?php echo date("Y"); ?> Ryan Cramer
</p>
<?php if($config->debug && $this->user->isSuperuser()) include($config->paths->adminTemplates . "debug.inc"); ?>

0 comments on commit 77249ef

Please sign in to comment.