diff -r 3e122c7af4b48e8a362548d517bc9283e5897a2a -r 681ef31caf6100db593beec7e9be70244f067dfa indefero/src/IDF/Form/Register.php --- a/indefero/src/IDF/Form/Register.php Wed Jul 24 23:14:15 2013 -0500 +++ b/indefero/src/IDF/Form/Register.php Sat Jul 27 19:17:56 2013 -0500 @@ -55,12 +55,6 @@ 'help_text' => __('We will never send you any unsolicited emails. We hate spam too!'), )); - $this->fields['regkey'] = new Pluf_Form_Field_Varchar( - array('required' => true, - 'label' => __('Registration Key'), - 'initial' => '', - 'help_text' => __('Please enter the key given to you by adamsna[at]datanethost.net'), - )); $this->fields['terms'] = new Pluf_Form_Field_Boolean( array('required' => true, @@ -71,8 +65,7 @@ public function clean_regkey() { - if ($this->cleaned_data['regkey'] != "2rv9o4nb5") - throw new Pluf_Form_Invalid("The regkey was incorrect - please contact Nathan for the key!"); + } /** diff -r 3e122c7af4b48e8a362548d517bc9283e5897a2a -r 681ef31caf6100db593beec7e9be70244f067dfa indefero/src/IDF/Scm/Git.php --- a/indefero/src/IDF/Scm/Git.php Wed Jul 24 23:14:15 2013 -0500 +++ b/indefero/src/IDF/Scm/Git.php Sat Jul 27 19:17:56 2013 -0500 @@ -74,9 +74,11 @@ foreach ($out as $line) { $line = trim($line); + if ($line != '') { $action = $line[0]; - + #echo "line = " . $line . "\n"; + #echo "action = " . $action; if ($action == 'A') { $filename = trim(substr($line, 1)); $return->additions[] = $filename; @@ -87,8 +89,19 @@ $filename = trim(substr($line, 1)); $return->patches[] = $filename; } else if ($action == 'R') { + // This patch is needed because it seems + // that under a merge git may show a status + // of RC and not say the location of the original file $matches = preg_split("/\t/", $line); - $return->renames[$matches[1]] = $matches[2]; + if (count($matches) != 3) + { + $return->additions[] = $matches[1]; + } + else + { + $return->renames[$matches[1]] = $matches[2]; + } + } else if ($action == 'C') { $matches = preg_split("/\t/", $line); $return->copies[$matches[1]] = $matches[2]; diff -r 3e122c7af4b48e8a362548d517bc9283e5897a2a -r 681ef31caf6100db593beec7e9be70244f067dfa indefero/src/IDF/templates/idf/register/index.html --- a/indefero/src/IDF/templates/idf/register/index.html Wed Jul 24 23:14:15 2013 -0500 +++ b/indefero/src/IDF/templates/idf/register/index.html Sat Jul 27 19:17:56 2013 -0500 @@ -19,13 +19,6 @@ -{$form.f.regkey.labelTag}: -{if $form.f.regkey.errors}{$form.f.regkey.fieldErrors}{/if} -{$form.f.regkey|unsafe}
-{$form.f.regkey.help_text} - - - {$form.f.email.labelTag}: {if $form.f.email.errors}{$form.f.email.fieldErrors}{/if} {$form.f.email|unsafe}