diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100755 new mode 100644 diff --git a/app/commands/.gitkeep b/app/commands/.gitkeep old mode 100755 new mode 100644 diff --git a/app/config/app.php b/app/config/app.php old mode 100755 new mode 100644 index b54890a..349cee5 --- a/app/config/app.php +++ b/app/config/app.php @@ -13,7 +13,7 @@ return array( | */ - 'debug' => true, + 'debug' => false, /* |-------------------------------------------------------------------------- @@ -78,7 +78,9 @@ return array( | */ - 'key' => 'yIqW9jqrcRHEzlFmg0tlESRxDUOKqdgB', + 'key' => 'BxihI0sqIe0oWk27hzF8QCGyaS81SOOO', + + 'cipher' => MCRYPT_RIJNDAEL_128, /* |-------------------------------------------------------------------------- @@ -180,6 +182,7 @@ return array( 'Schema' => 'Illuminate\Support\Facades\Schema', 'Seeder' => 'Illuminate\Database\Seeder', 'Session' => 'Illuminate\Support\Facades\Session', + 'SoftDeletingTrait' => 'Illuminate\Database\Eloquent\SoftDeletingTrait', 'SSH' => 'Illuminate\Support\Facades\SSH', 'Str' => 'Illuminate\Support\Str', 'URL' => 'Illuminate\Support\Facades\URL', diff --git a/app/config/auth.php b/app/config/auth.php old mode 100755 new mode 100644 diff --git a/app/config/cache.php b/app/config/cache.php old mode 100755 new mode 100644 diff --git a/app/config/compile.php b/app/config/compile.php old mode 100755 new mode 100644 diff --git a/app/config/database.php b/app/config/database.php old mode 100755 new mode 100644 index b7288ff..d9b4f5d --- a/app/config/database.php +++ b/app/config/database.php @@ -66,8 +66,8 @@ return array( 'pgsql' => array( 'driver' => 'pgsql', 'host' => 'localhost', - 'database' => 'database', - 'username' => 'root', + 'database' => 'forge', + 'username' => 'forge', 'password' => '', 'charset' => 'utf8', 'prefix' => '', diff --git a/app/config/local/app.php b/app/config/local/app.php new file mode 100644 index 0000000..c56fcb9 --- /dev/null +++ b/app/config/local/app.php @@ -0,0 +1,18 @@ + true, + +); diff --git a/app/config/local/database.php b/app/config/local/database.php new file mode 100644 index 0000000..fbcb95a --- /dev/null +++ b/app/config/local/database.php @@ -0,0 +1,47 @@ + array( + + 'mysql' => array( + 'driver' => 'mysql', + 'host' => 'localhost', + 'database' => 'homestead', + 'username' => 'homestead', + 'password' => 'secret', + 'charset' => 'utf8', + 'collation' => 'utf8_unicode_ci', + 'prefix' => '', + ), + + 'pgsql' => array( + 'driver' => 'pgsql', + 'host' => 'localhost', + 'database' => 'homestead', + 'username' => 'homestead', + 'password' => 'secret', + 'charset' => 'utf8', + 'prefix' => '', + 'schema' => 'public', + ), + + ), + +); diff --git a/app/config/mail.php b/app/config/mail.php old mode 100755 new mode 100644 index 41b4c4b..76fd9e4 --- a/app/config/mail.php +++ b/app/config/mail.php @@ -11,7 +11,7 @@ return array( | sending of e-mail. You may specify which one you're using throughout | your application here. By default, Laravel is setup for SMTP mail. | - | Supported: "smtp", "mail", "sendmail" + | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "log" | */ @@ -35,9 +35,9 @@ return array( | SMTP Host Port |-------------------------------------------------------------------------- | - | This is the SMTP port used by your application to delivery e-mails to - | users of your application. Like the host we have set this value to - | stay compatible with the Mailgun e-mail applications by default. + | This is the SMTP port used by your application to deliver e-mails to + | users of the application. Like the host we have set this value to + | stay compatible with the Mailgun e-mail application by default. | */ diff --git a/app/config/packages/.gitkeep b/app/config/packages/.gitkeep old mode 100755 new mode 100644 diff --git a/app/config/queue.php b/app/config/queue.php index 6a879f7..940a4cd 100755 --- a/app/config/queue.php +++ b/app/config/queue.php @@ -11,7 +11,7 @@ return array( | API, giving you convenient access to each back-end using the same | syntax for each one. Here you may set the default queue driver. | - | Supported: "sync", "beanstalkd", "sqs", "iron" + | Supported: "sync", "beanstalkd", "sqs", "iron", "redis" | */ @@ -55,6 +55,7 @@ return array( 'token' => 'your-token', 'project' => 'your-project-id', 'queue' => 'your-queue-name', + 'encrypt' => true, ), 'redis' => array( diff --git a/app/config/remote.php b/app/config/remote.php old mode 100755 new mode 100644 diff --git a/app/config/services.php b/app/config/services.php new file mode 100644 index 0000000..c8aba2a --- /dev/null +++ b/app/config/services.php @@ -0,0 +1,31 @@ + array( + 'domain' => '', + 'secret' => '', + ), + + 'mandrill' => array( + 'secret' => '', + ), + + 'stripe' => array( + 'model' => 'User', + 'secret' => '', + ), + +); diff --git a/app/config/session.php b/app/config/session.php old mode 100755 new mode 100644 diff --git a/app/config/testing/cache.php b/app/config/testing/cache.php old mode 100755 new mode 100644 diff --git a/app/config/testing/session.php b/app/config/testing/session.php old mode 100755 new mode 100644 diff --git a/app/config/view.php b/app/config/view.php old mode 100755 new mode 100644 diff --git a/app/config/workbench.php b/app/config/workbench.php old mode 100755 new mode 100644 diff --git a/app/controllers/.gitkeep b/app/controllers/.gitkeep old mode 100755 new mode 100644 diff --git a/app/controllers/BaseController.php b/app/controllers/BaseController.php old mode 100755 new mode 100644 diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php old mode 100755 new mode 100644 diff --git a/app/controllers/MentorManagementController.php b/app/controllers/MentorManagementController.php deleted file mode 100644 index 9263026..0000000 --- a/app/controllers/MentorManagementController.php +++ /dev/null @@ -1,88 +0,0 @@ -getKey(); - } - - /** - * Get the password for the user. - * - * @return string - */ - public function getAuthPassword() - { - return $this->password; - } - - /** - * Get the e-mail address where password reminders are sent. - * - * @return string - */ - public function getReminderEmail() - { - return $this->email; - } + protected $hidden = array('password', 'remember_token'); } diff --git a/app/routes.php b/app/routes.php old mode 100755 new mode 100644 index 557ff58..3e10dcf --- a/app/routes.php +++ b/app/routes.php @@ -15,6 +15,3 @@ Route::get('/', function() { return View::make('hello'); }); - -Route::resource('mentors', 'MentorManagementController'); - diff --git a/app/start/artisan.php b/app/start/artisan.php old mode 100755 new mode 100644 diff --git a/app/start/global.php b/app/start/global.php old mode 100755 new mode 100644 diff --git a/app/start/local.php b/app/start/local.php old mode 100755 new mode 100644 diff --git a/app/storage/.gitignore b/app/storage/.gitignore old mode 100755 new mode 100644 diff --git a/app/storage/cache/.gitignore b/app/storage/cache/.gitignore old mode 100755 new mode 100644 diff --git a/app/storage/logs/.gitignore b/app/storage/logs/.gitignore old mode 100755 new mode 100644 diff --git a/app/storage/meta/.gitignore b/app/storage/meta/.gitignore old mode 100755 new mode 100644 diff --git a/app/storage/sessions/.gitignore b/app/storage/sessions/.gitignore old mode 100755 new mode 100644 diff --git a/app/storage/views/.gitignore b/app/storage/views/.gitignore old mode 100755 new mode 100644 diff --git a/app/tests/ExampleTest.php b/app/tests/ExampleTest.php old mode 100755 new mode 100644 diff --git a/app/tests/TestCase.php b/app/tests/TestCase.php old mode 100755 new mode 100644 diff --git a/app/views/emails/auth/reminder.blade.php b/app/views/emails/auth/reminder.blade.php old mode 100755 new mode 100644 index d92f2b3..aebea9e --- a/app/views/emails/auth/reminder.blade.php +++ b/app/views/emails/auth/reminder.blade.php @@ -7,7 +7,8 @@