Commit 3fe3fcddee5aa5ca9832328123c29d0f85015abe

Authored by univirtual
0 parents

Enviando proyecto a Git Hub

.gitattributes 0 → 100755
  1 +++ a/.gitattributes
  1 +* text=auto
0 2 \ No newline at end of file
... ...
.gitignore 0 → 100755
  1 +++ a/.gitignore
  1 +/bootstrap/compiled.php
  2 +/vendor
  3 +composer.phar
  4 +composer.lock
  5 +.env.local.php
  6 +.env.php
  7 +.DS_Store
  8 +Thumbs.db
0 9 \ No newline at end of file
... ...
CONTRIBUTING.md 0 → 100755
  1 +++ a/CONTRIBUTING.md
  1 +# Contribution Guidelines
  2 +
  3 +Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!
0 4 \ No newline at end of file
... ...
app/commands/.gitkeep 0 → 100755
  1 +++ a/app/commands/.gitkeep
... ...
app/config/app.php 0 → 100755
  1 +++ a/app/config/app.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Application Debug Mode
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | When your application is in debug mode, detailed error messages with
  11 + | stack traces will be shown on every error that occurs within your
  12 + | application. If disabled, a simple generic error page is shown.
  13 + |
  14 + */
  15 +
  16 + 'debug' => true,
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Application URL
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | This URL is used by the console to properly generate URLs when using
  24 + | the Artisan command line tool. You should set this to the root of
  25 + | your application so that it is used when running Artisan tasks.
  26 + |
  27 + */
  28 +
  29 + 'url' => 'http://localhost',
  30 +
  31 + /*
  32 + |--------------------------------------------------------------------------
  33 + | Application Timezone
  34 + |--------------------------------------------------------------------------
  35 + |
  36 + | Here you may specify the default timezone for your application, which
  37 + | will be used by the PHP date and date-time functions. We have gone
  38 + | ahead and set this to a sensible default for you out of the box.
  39 + |
  40 + */
  41 +
  42 + 'timezone' => 'UTC',
  43 +
  44 + /*
  45 + |--------------------------------------------------------------------------
  46 + | Application Locale Configuration
  47 + |--------------------------------------------------------------------------
  48 + |
  49 + | The application locale determines the default locale that will be used
  50 + | by the translation service provider. You are free to set this value
  51 + | to any of the locales which will be supported by the application.
  52 + |
  53 + */
  54 +
  55 + 'locale' => 'es',
  56 +
  57 + /*
  58 + |--------------------------------------------------------------------------
  59 + | Supported Languages
  60 + |--------------------------------------------------------------------------
  61 + |
  62 + | These languages may also be supported by your application.
  63 + |
  64 + */
  65 + 'languages' => array('es','en'),
  66 +
  67 + /*
  68 + |--------------------------------------------------------------------------
  69 + | Encryption Key
  70 + |--------------------------------------------------------------------------
  71 + |
  72 + | This key is used by the Illuminate encrypter service and should be set
  73 + | to a random, 32 character string, otherwise these encrypted strings
  74 + | will not be safe. Please do this before deploying an application!
  75 + |
  76 + */
  77 +
  78 + 'key' => 'elJAV6RJqZujVUPozeLBoKhTcuH6xlIQ',
  79 +
  80 + /*
  81 + |--------------------------------------------------------------------------
  82 + | Autoloaded Service Providers
  83 + |--------------------------------------------------------------------------
  84 + |
  85 + | The service providers listed here will be automatically loaded on the
  86 + | request to your application. Feel free to add your own services to
  87 + | this array to grant expanded functionality to your applications.
  88 + |
  89 + */
  90 +
  91 + 'providers' => array(
  92 +
  93 + 'Illuminate\Foundation\Providers\ArtisanServiceProvider',
  94 + 'Illuminate\Auth\AuthServiceProvider',
  95 + 'Illuminate\Cache\CacheServiceProvider',
  96 + 'Illuminate\Session\CommandsServiceProvider',
  97 + 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
  98 + 'Illuminate\Routing\ControllerServiceProvider',
  99 + 'Illuminate\Cookie\CookieServiceProvider',
  100 + 'Illuminate\Database\DatabaseServiceProvider',
  101 + 'Illuminate\Encryption\EncryptionServiceProvider',
  102 + 'Illuminate\Filesystem\FilesystemServiceProvider',
  103 + 'Illuminate\Hashing\HashServiceProvider',
  104 + 'Illuminate\Html\HtmlServiceProvider',
  105 + 'Illuminate\Log\LogServiceProvider',
  106 + 'Illuminate\Mail\MailServiceProvider',
  107 + 'Illuminate\Database\MigrationServiceProvider',
  108 + 'Illuminate\Pagination\PaginationServiceProvider',
  109 + 'Illuminate\Queue\QueueServiceProvider',
  110 + 'Illuminate\Redis\RedisServiceProvider',
  111 + 'Illuminate\Remote\RemoteServiceProvider',
  112 + 'Illuminate\Auth\Reminders\ReminderServiceProvider',
  113 + 'Illuminate\Database\SeedServiceProvider',
  114 + 'Illuminate\Session\SessionServiceProvider',
  115 + 'Illuminate\Translation\TranslationServiceProvider',
  116 + 'Illuminate\Validation\ValidationServiceProvider',
  117 + 'Illuminate\View\ViewServiceProvider',
  118 + 'Illuminate\Workbench\WorkbenchServiceProvider',
  119 +
  120 + ),
  121 +
  122 + /*
  123 + |--------------------------------------------------------------------------
  124 + | Service Provider Manifest
  125 + |--------------------------------------------------------------------------
  126 + |
  127 + | The service provider manifest is used by Laravel to lazy load service
  128 + | providers which are not needed for each request, as well to keep a
  129 + | list of all of the services. Here, you may set its storage spot.
  130 + |
  131 + */
  132 +
  133 + 'manifest' => storage_path().'/meta',
  134 +
  135 + /*
  136 + |--------------------------------------------------------------------------
  137 + | Class Aliases
  138 + |--------------------------------------------------------------------------
  139 + |
  140 + | This array of class aliases will be registered when this application
  141 + | is started. However, feel free to register as many as you wish as
  142 + | the aliases are "lazy" loaded so they don't hinder performance.
  143 + |
  144 + */
  145 +
  146 + 'aliases' => array(
  147 +
  148 + 'App' => 'Illuminate\Support\Facades\App',
  149 + 'Artisan' => 'Illuminate\Support\Facades\Artisan',
  150 + 'Auth' => 'Illuminate\Support\Facades\Auth',
  151 + 'Blade' => 'Illuminate\Support\Facades\Blade',
  152 + 'Cache' => 'Illuminate\Support\Facades\Cache',
  153 + 'ClassLoader' => 'Illuminate\Support\ClassLoader',
  154 + 'Config' => 'Illuminate\Support\Facades\Config',
  155 + 'Controller' => 'Illuminate\Routing\Controller',
  156 + 'Cookie' => 'Illuminate\Support\Facades\Cookie',
  157 + 'Crypt' => 'Illuminate\Support\Facades\Crypt',
  158 + 'DB' => 'Illuminate\Support\Facades\DB',
  159 + 'Eloquent' => 'Illuminate\Database\Eloquent\Model',
  160 + 'Event' => 'Illuminate\Support\Facades\Event',
  161 + 'File' => 'Illuminate\Support\Facades\File',
  162 + 'Form' => 'Illuminate\Support\Facades\Form',
  163 + 'Hash' => 'Illuminate\Support\Facades\Hash',
  164 + 'HTML' => 'Illuminate\Support\Facades\HTML',
  165 + 'Input' => 'Illuminate\Support\Facades\Input',
  166 + 'Lang' => 'Illuminate\Support\Facades\Lang',
  167 + 'Log' => 'Illuminate\Support\Facades\Log',
  168 + 'Mail' => 'Illuminate\Support\Facades\Mail',
  169 + 'Paginator' => 'Illuminate\Support\Facades\Paginator',
  170 + 'Password' => 'Illuminate\Support\Facades\Password',
  171 + 'Queue' => 'Illuminate\Support\Facades\Queue',
  172 + 'Redirect' => 'Illuminate\Support\Facades\Redirect',
  173 + 'Redis' => 'Illuminate\Support\Facades\Redis',
  174 + 'Request' => 'Illuminate\Support\Facades\Request',
  175 + 'Response' => 'Illuminate\Support\Facades\Response',
  176 + 'Route' => 'Illuminate\Support\Facades\Route',
  177 + 'Schema' => 'Illuminate\Support\Facades\Schema',
  178 + 'Seeder' => 'Illuminate\Database\Seeder',
  179 + 'Session' => 'Illuminate\Support\Facades\Session',
  180 + 'SSH' => 'Illuminate\Support\Facades\SSH',
  181 + 'Str' => 'Illuminate\Support\Str',
  182 + 'URL' => 'Illuminate\Support\Facades\URL',
  183 + 'Validator' => 'Illuminate\Support\Facades\Validator',
  184 + 'View' => 'Illuminate\Support\Facades\View',
  185 +
  186 + ),
  187 +
  188 +);
... ...
app/config/auth.php 0 → 100755
  1 +++ a/app/config/auth.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Authentication Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the authentication driver that will be utilized.
  11 + | This driver manages the retrieval and authentication of the users
  12 + | attempting to get access to protected areas of your application.
  13 + |
  14 + | Supported: "database", "eloquent"
  15 + |
  16 + */
  17 +
  18 + 'driver' => 'eloquent',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | Authentication Model
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | When using the "Eloquent" authentication driver, we need to know which
  26 + | Eloquent model should be used to retrieve your users. Of course, it
  27 + | is often just the "User" model but you may use whatever you like.
  28 + |
  29 + */
  30 +
  31 + 'model' => 'User',
  32 +
  33 + /*
  34 + |--------------------------------------------------------------------------
  35 + | Authentication Table
  36 + |--------------------------------------------------------------------------
  37 + |
  38 + | When using the "Database" authentication driver, we need to know which
  39 + | table should be used to retrieve your users. We have chosen a basic
  40 + | default value but you may easily change it to any table you like.
  41 + |
  42 + */
  43 +
  44 + 'table' => 'users',
  45 +
  46 + /*
  47 + |--------------------------------------------------------------------------
  48 + | Password Reminder Settings
  49 + |--------------------------------------------------------------------------
  50 + |
  51 + | Here you may set the settings for password reminders, including a view
  52 + | that should be used as your password reminder e-mail. You will also
  53 + | be able to set the name of the table that holds the reset tokens.
  54 + |
  55 + | The "expire" time is the number of minutes that the reminder should be
  56 + | considered valid. This security feature keeps tokens short-lived so
  57 + | they have less time to be guessed. You may change this as needed.
  58 + |
  59 + */
  60 +
  61 + 'reminder' => array(
  62 +
  63 + 'email' => 'emails.auth.reminder',
  64 +
  65 + 'table' => 'password_reminders',
  66 +
  67 + 'expire' => 60,
  68 +
  69 + ),
  70 +
  71 +);
... ...
app/config/cache.php 0 → 100755
  1 +++ a/app/config/cache.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Cache Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default cache "driver" that will be used when
  11 + | using the Caching library. Of course, you may use other drivers any
  12 + | time you wish. This is the default when another is not specified.
  13 + |
  14 + | Supported: "file", "database", "apc", "memcached", "redis", "array"
  15 + |
  16 + */
  17 +
  18 + 'driver' => 'file',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | File Cache Location
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | When using the "file" cache driver, we need a location where the cache
  26 + | files may be stored. A sensible default has been specified, but you
  27 + | are free to change it to any other place on disk that you desire.
  28 + |
  29 + */
  30 +
  31 + 'path' => storage_path().'/cache',
  32 +
  33 + /*
  34 + |--------------------------------------------------------------------------
  35 + | Database Cache Connection
  36 + |--------------------------------------------------------------------------
  37 + |
  38 + | When using the "database" cache driver you may specify the connection
  39 + | that should be used to store the cached items. When this option is
  40 + | null the default database connection will be utilized for cache.
  41 + |
  42 + */
  43 +
  44 + 'connection' => null,
  45 +
  46 + /*
  47 + |--------------------------------------------------------------------------
  48 + | Database Cache Table
  49 + |--------------------------------------------------------------------------
  50 + |
  51 + | When using the "database" cache driver we need to know the table that
  52 + | should be used to store the cached items. A default table name has
  53 + | been provided but you're free to change it however you deem fit.
  54 + |
  55 + */
  56 +
  57 + 'table' => 'cache',
  58 +
  59 + /*
  60 + |--------------------------------------------------------------------------
  61 + | Memcached Servers
  62 + |--------------------------------------------------------------------------
  63 + |
  64 + | Now you may specify an array of your Memcached servers that should be
  65 + | used when utilizing the Memcached cache driver. All of the servers
  66 + | should contain a value for "host", "port", and "weight" options.
  67 + |
  68 + */
  69 +
  70 + 'memcached' => array(
  71 +
  72 + array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
  73 +
  74 + ),
  75 +
  76 + /*
  77 + |--------------------------------------------------------------------------
  78 + | Cache Key Prefix
  79 + |--------------------------------------------------------------------------
  80 + |
  81 + | When utilizing a RAM based store such as APC or Memcached, there might
  82 + | be other applications utilizing the same cache. So, we'll specify a
  83 + | value to get prefixed to all our keys so we can avoid collisions.
  84 + |
  85 + */
  86 +
  87 + 'prefix' => 'laravel',
  88 +
  89 +);
... ...
app/config/compile.php 0 → 100755
  1 +++ a/app/config/compile.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Additional Compiled Classes
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Here you may specify additional classes to include in the compiled file
  11 + | generated by the `artisan optimize` command. These should be classes
  12 + | that are included on basically every request into the application.
  13 + |
  14 + */
  15 +
  16 +
  17 +
  18 +);
0 19 \ No newline at end of file
... ...
app/config/database.php 0 → 100755
  1 +++ a/app/config/database.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | PDO Fetch Style
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | By default, database results will be returned as instances of the PHP
  11 + | stdClass object; however, you may desire to retrieve records in an
  12 + | array format for simplicity. Here you can tweak the fetch style.
  13 + |
  14 + */
  15 +
  16 + 'fetch' => PDO::FETCH_CLASS,
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Default Database Connection Name
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | Here you may specify which of the database connections below you wish
  24 + | to use as your default connection for all database work. Of course
  25 + | you may use many connections at once using the Database library.
  26 + |
  27 + */
  28 +
  29 + 'default' => 'pgsql',
  30 +
  31 + /*
  32 + |--------------------------------------------------------------------------
  33 + | Database Connections
  34 + |--------------------------------------------------------------------------
  35 + |
  36 + | Here are each of the database connections setup for your application.
  37 + | Of course, examples of configuring each database platform that is
  38 + | supported by Laravel is shown below to make development simple.
  39 + |
  40 + |
  41 + | All database work in Laravel is done through the PHP PDO facilities
  42 + | so make sure you have the driver for your particular database of
  43 + | choice installed on your machine before you begin development.
  44 + |
  45 + */
  46 +
  47 + 'connections' => array(
  48 +
  49 + 'sqlite' => array(
  50 + 'driver' => 'sqlite',
  51 + 'database' => __DIR__.'/../database/production.sqlite',
  52 + 'prefix' => '',
  53 + ),
  54 +
  55 + 'mysql' => array(
  56 + 'driver' => 'mysql',
  57 + 'host' => 'localhost',
  58 + 'database' => 'database',
  59 + 'username' => 'root',
  60 + 'password' => '',
  61 + 'charset' => 'utf8',
  62 + 'collation' => 'utf8_unicode_ci',
  63 + 'prefix' => '',
  64 + ),
  65 +
  66 + 'pgsql' => array(
  67 + 'driver' => 'pgsql',
  68 + 'host' => 'localhost',
  69 + 'database' => 'portal',
  70 + 'username' => 'portal',
  71 + 'password' => 'p0rtal',
  72 + 'charset' => 'utf8',
  73 + 'prefix' => '',
  74 + 'schema' => 'public',
  75 + ),
  76 +
  77 + 'campus_univirtual' => array(
  78 + 'driver' => 'pgsql',
  79 + 'host' => 'localhost',
  80 + 'database' => 'campus_univirtual',
  81 + 'username' => 'campus_univirtual',
  82 + 'password' => 'c4mpus_un1v1rtu4l',
  83 + 'charset' => 'utf8',
  84 + 'prefix' => '',
  85 + 'schema' => 'public',
  86 + ),
  87 +
  88 + 'comunidad' => array(
  89 + 'driver' => 'pgsql',
  90 + 'host' => 'localhost',
  91 + 'database' => 'moodle_aula',
  92 + 'username' => 'postcomunidad',
  93 + 'password' => 'p0stc0mun1dad',
  94 + 'charset' => 'utf8',
  95 + 'prefix' => '',
  96 + 'schema' => 'public',
  97 + ),
  98 +
  99 + 'aula' => array(
  100 + 'driver' => 'pgsql',
  101 + 'host' => 'localhost',
  102 + 'database' => 'moodle_comunidad',
  103 + 'username' => 'postaula',
  104 + 'password' => 'p0staula',
  105 + 'charset' => 'utf8',
  106 + 'prefix' => '',
  107 + 'schema' => 'public',
  108 + ),
  109 +
  110 + 'aprendiendojuntos' => array(
  111 + 'driver' => 'pgsql',
  112 + 'host' => 'localhost',
  113 + 'database' => 'aprendiendojuntos',
  114 + 'username' => 'aprendiendojuntos',
  115 + 'password' => 'apr3nd13nd0junt0s',
  116 + 'charset' => 'utf8',
  117 + 'prefix' => '',
  118 + 'schema' => 'public',
  119 + ),
  120 +
  121 + 'pandora' => array(
  122 + 'driver' => 'pgsql',
  123 + 'host' => 'localhost',
  124 + 'database' => 'pandora',
  125 + 'username' => 'pandora',
  126 + 'password' => 'pand0ra',
  127 + 'charset' => 'utf8',
  128 + 'prefix' => '',
  129 + 'schema' => 'public',
  130 + ),
  131 +
  132 + 'eureka2' => array(
  133 + 'driver' => 'pgsql',
  134 + 'host' => 'localhost',
  135 + 'database' => 'eureka2',
  136 + 'username' => 'eureka2',
  137 + 'password' => 'T+<VvY638b&slS7',
  138 + 'charset' => 'utf8',
  139 + 'prefix' => 'eureka_',
  140 + 'schema' => 'public',
  141 + ),
  142 +
  143 + 'eureka' => array(
  144 + 'driver' => 'pgsql',
  145 + 'host' => 'localhost',
  146 + 'database' => 'eureka',
  147 + 'username' => 'eureka',
  148 + 'password' => '3ur3ka',
  149 + 'charset' => 'utf8',
  150 + 'prefix' => '',
  151 + 'schema' => 'public',
  152 + ),
  153 +
  154 +
  155 +
  156 + 'sqlsrv' => array(
  157 + 'driver' => 'sqlsrv',
  158 + 'host' => 'localhost',
  159 + 'database' => 'database',
  160 + 'username' => 'root',
  161 + 'password' => '',
  162 + 'prefix' => '',
  163 + ),
  164 +
  165 + ),
  166 +
  167 + /*
  168 + |--------------------------------------------------------------------------
  169 + | Migration Repository Table
  170 + |--------------------------------------------------------------------------
  171 + |
  172 + | This table keeps track of all the migrations that have already run for
  173 + | your application. Using this information, we can determine which of
  174 + | the migrations on disk haven't actually been run in the database.
  175 + |
  176 + */
  177 +
  178 + 'migrations' => 'migrations',
  179 +
  180 + /*
  181 + |--------------------------------------------------------------------------
  182 + | Redis Databases
  183 + |--------------------------------------------------------------------------
  184 + |
  185 + | Redis is an open source, fast, and advanced key-value store that also
  186 + | provides a richer set of commands than a typical key-value systems
  187 + | such as APC or Memcached. Laravel makes it easy to dig right in.
  188 + |
  189 + */
  190 +
  191 + 'redis' => array(
  192 +
  193 + 'cluster' => false,
  194 +
  195 + 'default' => array(
  196 + 'host' => '127.0.0.1',
  197 + 'port' => 6379,
  198 + 'database' => 0,
  199 + ),
  200 +
  201 + ),
  202 +
  203 +);
... ...
app/config/mail.php 0 → 100755
  1 +++ a/app/config/mail.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Mail Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  11 + | sending of e-mail. You may specify which one you're using throughout
  12 + | your application here. By default, Laravel is setup for SMTP mail.
  13 + |
  14 + | Supported: "smtp", "mail", "sendmail"
  15 + |
  16 + */
  17 +
  18 + 'driver' => 'smtp',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | SMTP Host Address
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | Here you may provide the host address of the SMTP server used by your
  26 + | applications. A default option is provided that is compatible with
  27 + | the Mailgun mail service which will provide reliable deliveries.
  28 + |
  29 + */
  30 +
  31 + 'host' => 'smtp.mailgun.org',
  32 +
  33 + /*
  34 + |--------------------------------------------------------------------------
  35 + | SMTP Host Port
  36 + |--------------------------------------------------------------------------
  37 + |
  38 + | This is the SMTP port used by your application to delivery e-mails to
  39 + | users of your application. Like the host we have set this value to
  40 + | stay compatible with the Mailgun e-mail applications by default.
  41 + |
  42 + */
  43 +
  44 + 'port' => 587,
  45 +
  46 + /*
  47 + |--------------------------------------------------------------------------
  48 + | Global "From" Address
  49 + |--------------------------------------------------------------------------
  50 + |
  51 + | You may wish for all e-mails sent by your application to be sent from
  52 + | the same address. Here, you may specify a name and address that is
  53 + | used globally for all e-mails that are sent by your application.
  54 + |
  55 + */
  56 +
  57 + 'from' => array('address' => null, 'name' => null),
  58 +
  59 + /*
  60 + |--------------------------------------------------------------------------
  61 + | E-Mail Encryption Protocol
  62 + |--------------------------------------------------------------------------
  63 + |
  64 + | Here you may specify the encryption protocol that should be used when
  65 + | the application send e-mail messages. A sensible default using the
  66 + | transport layer security protocol should provide great security.
  67 + |
  68 + */
  69 +
  70 + 'encryption' => 'tls',
  71 +
  72 + /*
  73 + |--------------------------------------------------------------------------
  74 + | SMTP Server Username
  75 + |--------------------------------------------------------------------------
  76 + |
  77 + | If your SMTP server requires a username for authentication, you should
  78 + | set it here. This will get used to authenticate with your server on
  79 + | connection. You may also set the "password" value below this one.
  80 + |
  81 + */
  82 +
  83 + 'username' => null,
  84 +
  85 + /*
  86 + |--------------------------------------------------------------------------
  87 + | SMTP Server Password
  88 + |--------------------------------------------------------------------------
  89 + |
  90 + | Here you may set the password required by your SMTP server to send out
  91 + | messages from your application. This will be given to the server on
  92 + | connection so that the application will be able to send messages.
  93 + |
  94 + */
  95 +
  96 + 'password' => null,
  97 +
  98 + /*
  99 + |--------------------------------------------------------------------------
  100 + | Sendmail System Path
  101 + |--------------------------------------------------------------------------
  102 + |
  103 + | When using the "sendmail" driver to send e-mails, we will need to know
  104 + | the path to where Sendmail lives on this server. A default path has
  105 + | been provided here, which will work well on most of your systems.
  106 + |
  107 + */
  108 +
  109 + 'sendmail' => '/usr/sbin/sendmail -bs',
  110 +
  111 + /*
  112 + |--------------------------------------------------------------------------
  113 + | Mail "Pretend"
  114 + |--------------------------------------------------------------------------
  115 + |
  116 + | When this option is enabled, e-mail will not actually be sent over the
  117 + | web and will instead be written to your application's logs files so
  118 + | you may inspect the message. This is great for local development.
  119 + |
  120 + */
  121 +
  122 + 'pretend' => false,
  123 +
  124 +);
0 125 \ No newline at end of file
... ...
app/config/packages/.gitkeep 0 → 100755
  1 +++ a/app/config/packages/.gitkeep
... ...
app/config/portal.php 0 → 100755
  1 +++ a/app/config/portal.php
  1 +<?php
  2 +/**
  3 +* @author @arenasdaniel
  4 +* @copyright univirtual.utp.edu.co, 2014
  5 +*
  6 +*/
  7 +return array(
  8 + 'rutas'=>array(
  9 + //Ruta de la carpeta interfaz en el Servidor
  10 + 'ruta_servidor_interfaz'=>'/datos/apache2/htdocs/univirtual/portal/interfaz/',
  11 + //Ruta de la carpeta archivos de las notas en el Servidor
  12 + 'ruta_servidor_recursos'=>'/datos/apache2/htdocs/univirtual/portal/archivos/',
  13 + //Ruta Web absoluta del Portal Univirtual
  14 + 'ruta_absoluta_portal'=>'http://portal-univirtual.utp.edu.co/portal/',
  15 + //Ruta Web absoluta de Pandora
  16 + 'ruta_absoluta_pandora'=>'http://pruebas-univirtual.utp.edu.co/pandora/',
  17 + //Ruta Web absoluta de Eureka
  18 + 'ruta_absoluta_eureka'=>'http://univirtual.utp.edu.co/eureka/',
  19 + //Ruta Web absoluta de Campus Univirtual
  20 + 'ruta_absoluta_campusUnivirtual'=>'https://pruebas-univirtual.utp.edu.co/campus_univirtual/',
  21 + //Ruta Web absoluta de Aprendiendo Juntos
  22 + 'ruta_absoluta_aprendiendojuntos'=>'https://pruebas-univirtual.utp.edu.co/aprendiendojuntos/',
  23 + //Ruta del scripts de login
  24 + 'ruta_login'=>'http://portal-univirtual.utp.edu.co/portal/scripts/login/login.php',
  25 + // ruta menu de administración
  26 + 'ruta_menu_admin'=>'../../scripts/accesoUsuario/menuAdmin.php',
  27 + //ruta para salir del administrador
  28 + 'ruta_salir'=>'../../scripts/login/salir',
  29 + //Ruta de los archivos de las notas
  30 + 'ruta_archivos_nota'=>'/datos/apache2/htdocs/univirtual/portal/archivos_nota',
  31 + 'imagen_volante'=>'volante.jpg',
  32 + //Ruta de los archivos de los registros
  33 + 'ruta_registros_sgc'=>'/datos/apache2/htdocs/univirtual/portal/archivos_registroSGC/',
  34 + 'ruta_registros_sgc'=>'/datos/apache2/htdocs/univirtual/portal/archivos_registroSGC/',
  35 + //Ruta selector de procesos
  36 + 'ruta_web_portal'=>'portal-univirtual.utp.edu.co/portal',
  37 + //Bancio de Elegibles
  38 + 'ruta_elegibles'=>'/datos/apache2/htdocs/univirtual/elegibles/',
  39 + 'ruta_web_elegibles'=>'https://pruebas-univirtual.utp.edu.co/elegibles/',
  40 + 'url_formulario_convenio'=>'univirtual.utp.edu.co/formacionmen2012/index.php?id=inscripcion',
  41 + 'url_confirmacion_inscripcion'=>'https://pruebas-univirtual.utp.edu.co/portal/scripts/inscripcionesConvenio/verificarCorreo.php',
  42 + 'url_confirmacion_formulario_inscripcion'=>'https://pruebas-univirtual.utp.edu.co/portal/scripts/inscripciones/verificarCorreo.php',
  43 + ),
  44 +#-----------------------------------------------------------------
  45 +# Configuración
  46 +#-----------------------------------------------------------------
  47 +
  48 + 'constantes'=>array(
  49 +
  50 + 'num_registros_x_pagina'=>150, //cantidad de registros que se muestran por defecto
  51 +
  52 + 'num_tags_x_nube'=25, //cantidad de tags que se muestran por defecto en la nube
  53 +
  54 + 'numero_foros_comunidad'=>6, // cantidad de foros de comunidad a mostrar
  55 +
  56 + 'numero_recomendados_portada'=6, //cantidad de recomendados que se muestran en la portada
  57 +
  58 + 'numero_comentarios_nota'=>5, //cantidad de comentarios que se muestran en las notas
  59 +
  60 + 'numero_registros_convenios'=>10 // cantidad de registros de convenios a mostrar
  61 +
  62 + 'estado_convenio_en_ejecucion'=>2, //Definicion del estado del convenio
  63 +
  64 + 'numero_registros_oferta_academica'=>12, //cantidad de registros de oferta academica a mostrar
  65 +
  66 + 'educacion_continua'=>4, // categorias de la oferta academica
  67 +
  68 + // Definicion de los estados de la oferta academica
  69 + 'oferta_academica_en_construccion'=>1,
  70 +
  71 + 'oferta_academica_finalizada'=>4,
  72 +
  73 + 'correo_mercadeo_univirtual'=>'contactounivirtual@utp.edu.co' //Definicion de el correo de mercadeo
  74 +
  75 + 'grupo_suscripcion_defecto'=>22, // grupo de las suscripciones por defecto
  76 +
  77 + 'numero_open_courses'=>6, // cantidad de cursos libres que se muestran en la página de inicio del portal
  78 +
  79 + 'numero_oar_univirtual'=>6, // cantidad de oars de la cuenta univirtual de pandadora a mostrar en la pagina de inicio
  80 +
  81 + 'numero_educacion_en_los_medios',=>6 //cantidad de elementos de Educación Virtual en los Medios que se muestran en la página de inicio del portal
  82 +
  83 + 'password_cambio'=> 'cambiar' //valor que debe tomar la contraseña cuando los usuarios soliciten el cambio de la misma
  84 + ),
  85 +
  86 + 'area_nota'=>array(
  87 +
  88 + 'id_area_portada'=>11,
  89 + 'id_area_boletin_conexion'12,
  90 + 'id_area_semanario_rvt'13,
  91 + 'id_area_e-flyers'14,
  92 + 'id_area_semanario_ei2'15,
  93 + 'id_area_formacion_docente'17,
  94 + 'id_area_campana'18,
  95 + ),
  96 +
  97 + 'nota'=>array(
  98 +
  99 + 'id_persona_nota'=>25, // publicador de notas temporal
  100 + //Definicion de los niveles de las notas
  101 + 'id_nota_para_publicar'=>6,
  102 + 'id_nota_principal'=>1,
  103 + 'id_nota_nivel_2'=>3,
  104 + 'id_nota_nivel_3'=>4,
  105 + 'id_nota_archivo'=>5,
  106 + 'id_nota_para_eliminar'=>7,
  107 + ),
  108 +
  109 +
  110 + 'boletin'=>array(
  111 +
  112 + //Definiciones de estado de los boletines del portal
  113 + 'id_estado_boletin_programado'=>1,
  114 + 'id_estado_boletin_aprobado'=>2,
  115 + 'id_estado_boletin_rechazado'=>3,
  116 + 'id_estado_boletin_enviado' =>4,
  117 +
  118 + // Definiciones de los id's de las plantillas disponibles para los boletines del portal
  119 + 'id_plantilla_boletin_conexion'=>1,
  120 + 'id_plantilla_boletin_volante'=2,
  121 + 'id_plantilla_boletin_semanariorvt'=>3,
  122 + 'id_plantilla_boletin_semanarioei2'=>5,
  123 + ),
  124 +
  125 + 'campus'=>array(
  126 +
  127 + 'rol_profesor_campus'=>3,
  128 + 'rol_estudiante_campus'=>5,
  129 + 'rol_estudiante_ruta'=>8,
  130 + 'rol_asesor_campus'=>9,
  131 + 'rol_estudiante_desmatriculado_campus'=>17,
  132 + 'rol_participante_ruta'=>19,
  133 + 'id_cursos_excluidos_campus'=>'4',
  134 + 'id_usuarios_excluidos_campus'=>'1,2,14,15',
  135 + 'id_metacurso'=>1,
  136 + ),
  137 +
  138 + 'correo'=>array(
  139 +
  140 + 'servidor_correo'=>'172.16.1.24',
  141 + 'puerto_correo'=>25,
  142 + ),
  143 +
  144 + 'extensiones'=>array(
  145 +
  146 + 'array_extensiones_imagenes'=>array("jpg","png","gif"),
  147 +
  148 + 'array_extensiones_animaciones'=>array("swf"),
  149 + 'array_extensiones_documentos'=>array("doc","docx","pdf","xls","xlsx","ppt","pps","rar","zip","html","htm","mp4","mp3"),
  150 + ),
  151 +
  152 + 'vistas'=>array(
  153 +
  154 + 'oracle_port'=>1452,
  155 + 'oracle_host1'=>'clusteroracle.utp.edu.co',
  156 + 'oracle_host2'=>'clusteroracle.utp.edu.co',
  157 + 'oracle_sid'=>'PRODUCT'
  158 + 'oracle_user'=>'CONSULTA_UNIVIRTUAL',
  159 + 'oracle_passwd'=>'x10v$rta!5key',
  160 + ),
  161 +
  162 + 'sincronizacion'=>array(
  163 +
  164 + 'periodo_acdemico'=>'20141',
  165 + 'correo_responsable'=>'univirtual-utp@utp.edu.co',
  166 + 'correos_destino'=>'univirtual-utp@utp.edu.co,soporteunivirtual@utp.edu.co,coordinacionunivirtual@gmail.com,krolopez@utp.edu.co,iso9001univirtual@utp.edu.co',
  167 + 'correos_destino_notificacion_actividades'=>'pedagogiaunivirtual@utp.edu.co,soporteunivirtual@utp.edu.co,joraloz@utp.edu.co,coordinacionunivirtual@gmail.com,andrespalechor@gmail.com',
  168 + ),
  169 +
  170 + 'procesos'=>array(
  171 +
  172 + 'estado_inicial_inscripcion'=>1,
  173 + 'confirmacion_manual'=>0,
  174 + 'confirmacion_enlace'1,
  175 + ),
  176 +
  177 + 'banco_elegibles'=>array(
  178 +
  179 + 'responsable_elegibles'=>'contactounivirtual@utp.edu.co',
  180 + 'id_curso_estados_convenio'=>11,
  181 + 'curso_pedagogia'=>'Pedagogía para la Educación Virtual',
  182 + 'curso_estrategias'=>'Estrategias Didácticas para la Educación mediada por TIC',
  183 + 'correo_convenio'=>'contactounivirtual@utp.edu.co',
  184 + 'estado_preinscrito'=>1,
  185 + 'estado_lista_espera'=>2,
  186 + 'estado_retirado'=>3,
  187 + 'estado_aval_men'=>4,
  188 + 'estado_no_aval_men'=>5,
  189 + 'estado_no_aval_institucional'=>6,
  190 + 'estado_preinscrito_evento'=>1,
  191 + 'estado_lista_espera_evento'=>2,
  192 + 'inscripcion_formulario'=>'PAGINA_WEB',
  193 + 'inscripcion_sitio'=>'SITIO',
  194 + 'inscripcion_lotes'=>'LOTES',
  195 + 'id_rol_participante_evento'=>'1',
  196 + 'tipo_evento_presencial'=>1,
  197 + 'certificado_nov_29_2012'=>1,
  198 + 'participante_evento'=>1,
  199 + 'expositor_evento'=>4,
  200 + 'organizador_evento'=>5,
  201 + 'id_constancia_pepe'=>6,
  202 + 'id_constancia_webinar_pandora'=>7,
  203 + 'id_pais_inscripcion'=>288,
  204 + 'id_tipo_documento'=>2,
  205 + ),
  206 +
  207 + 'cursos_portal'=>array(
  208 +
  209 + 'id_categoria_mostrar'=>'2,3,7',
  210 + 'id_tipo_mostrar'=>'5,6',
  211 + 'id_profe_prueba'=>14,
  212 + ),
  213 +
  214 + 'aplicaciones'=>array(
  215 +
  216 + 'umbral_horas_activas'=>1800,
  217 + ),
  218 +);
0 219 \ No newline at end of file
... ...
app/config/queue.php 0 → 100755
  1 +++ a/app/config/queue.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Queue Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The Laravel queue API supports a variety of back-ends via an unified
  11 + | API, giving you convenient access to each back-end using the same
  12 + | syntax for each one. Here you may set the default queue driver.
  13 + |
  14 + | Supported: "sync", "beanstalkd", "sqs", "iron"
  15 + |
  16 + */
  17 +
  18 + 'default' => 'sync',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | Queue Connections
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | Here you may configure the connection information for each server that
  26 + | is used by your application. A default configuration has been added
  27 + | for each back-end shipped with Laravel. You are free to add more.
  28 + |
  29 + */
  30 +
  31 + 'connections' => array(
  32 +
  33 + 'sync' => array(
  34 + 'driver' => 'sync',
  35 + ),
  36 +
  37 + 'beanstalkd' => array(
  38 + 'driver' => 'beanstalkd',
  39 + 'host' => 'localhost',
  40 + 'queue' => 'default',
  41 + 'ttr' => 60,
  42 + ),
  43 +
  44 + 'sqs' => array(
  45 + 'driver' => 'sqs',
  46 + 'key' => 'your-public-key',
  47 + 'secret' => 'your-secret-key',
  48 + 'queue' => 'your-queue-url',
  49 + 'region' => 'us-east-1',
  50 + ),
  51 +
  52 + 'iron' => array(
  53 + 'driver' => 'iron',
  54 + 'host' => 'mq-aws-us-east-1.iron.io',
  55 + 'token' => 'your-token',
  56 + 'project' => 'your-project-id',
  57 + 'queue' => 'your-queue-name',
  58 + ),
  59 +
  60 + 'redis' => array(
  61 + 'driver' => 'redis',
  62 + 'queue' => 'default',
  63 + ),
  64 +
  65 + ),
  66 +
  67 + /*
  68 + |--------------------------------------------------------------------------
  69 + | Failed Queue Jobs
  70 + |--------------------------------------------------------------------------
  71 + |
  72 + | These options configure the behavior of failed queue job logging so you
  73 + | can control which database and table are used to store the jobs that
  74 + | have failed. You may change them to any database / table you wish.
  75 + |
  76 + */
  77 +
  78 + 'failed' => array(
  79 +
  80 + 'database' => 'mysql', 'table' => 'failed_jobs',
  81 +
  82 + ),
  83 +
  84 +);
... ...
app/config/remote.php 0 → 100755
  1 +++ a/app/config/remote.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Remote Connection Name
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Here you may specify the default connection that will be used for SSH
  11 + | operations. This name should correspond to a connection name below
  12 + | in the server list. Each connection will be manually accessible.
  13 + |
  14 + */
  15 +
  16 + 'default' => 'production',
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Remote Server Connections
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | These are the servers that will be accessible via the SSH task runner
  24 + | facilities of Laravel. This feature radically simplifies executing
  25 + | tasks on your servers, such as deploying out these applications.
  26 + |
  27 + */
  28 +
  29 + 'connections' => array(
  30 +
  31 + 'production' => array(
  32 + 'host' => '',
  33 + 'username' => '',
  34 + 'password' => '',
  35 + 'key' => '',
  36 + 'keyphrase' => '',
  37 + 'root' => '/var/www',
  38 + ),
  39 +
  40 + ),
  41 +
  42 + /*
  43 + |--------------------------------------------------------------------------
  44 + | Remote Server Groups
  45 + |--------------------------------------------------------------------------
  46 + |
  47 + | Here you may list connections under a single group name, which allows
  48 + | you to easily access all of the servers at once using a short name
  49 + | that is extremely easy to remember, such as "web" or "database".
  50 + |
  51 + */
  52 +
  53 + 'groups' => array(
  54 +
  55 + 'web' => array('production')
  56 +
  57 + ),
  58 +
  59 +);
0 60 \ No newline at end of file
... ...
app/config/session.php 0 → 100755
  1 +++ a/app/config/session.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Session Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default session "driver" that will be used on
  11 + | requests. By default, we will use the lightweight native driver but
  12 + | you may specify any of the other wonderful drivers provided here.
  13 + |
  14 + | Supported: "file", "cookie", "database", "apc",
  15 + | "memcached", "redis", "array"
  16 + |
  17 + */
  18 +
  19 + 'driver' => 'file',
  20 +
  21 + /*
  22 + |--------------------------------------------------------------------------
  23 + | Session Lifetime
  24 + |--------------------------------------------------------------------------
  25 + |
  26 + | Here you may specify the number of minutes that you wish the session
  27 + | to be allowed to remain idle before it expires. If you want them
  28 + | to immediately expire on the browser closing, set that option.
  29 + |
  30 + */
  31 +
  32 + 'lifetime' => 120,
  33 +
  34 + 'expire_on_close' => false,
  35 +
  36 + /*
  37 + |--------------------------------------------------------------------------
  38 + | Session File Location
  39 + |--------------------------------------------------------------------------
  40 + |
  41 + | When using the native session driver, we need a location where session
  42 + | files may be stored. A default has been set for you but a different
  43 + | location may be specified. This is only needed for file sessions.
  44 + |
  45 + */
  46 +
  47 + 'files' => storage_path().'/sessions',
  48 +
  49 + /*
  50 + |--------------------------------------------------------------------------
  51 + | Session Database Connection
  52 + |--------------------------------------------------------------------------
  53 + |
  54 + | When using the "database" or "redis" session drivers, you may specify a
  55 + | connection that should be used to manage these sessions. This should
  56 + | correspond to a connection in your database configuration options.
  57 + |
  58 + */
  59 +
  60 + 'connection' => null,
  61 +
  62 + /*
  63 + |--------------------------------------------------------------------------
  64 + | Session Database Table
  65 + |--------------------------------------------------------------------------
  66 + |
  67 + | When using the "database" session driver, you may specify the table we
  68 + | should use to manage the sessions. Of course, a sensible default is
  69 + | provided for you; however, you are free to change this as needed.
  70 + |
  71 + */
  72 +
  73 + 'table' => 'sessions',
  74 +
  75 + /*
  76 + |--------------------------------------------------------------------------
  77 + | Session Sweeping Lottery
  78 + |--------------------------------------------------------------------------
  79 + |
  80 + | Some session drivers must manually sweep their storage location to get
  81 + | rid of old sessions from storage. Here are the chances that it will
  82 + | happen on a given request. By default, the odds are 2 out of 100.
  83 + |
  84 + */
  85 +
  86 + 'lottery' => array(2, 100),
  87 +
  88 + /*
  89 + |--------------------------------------------------------------------------
  90 + | Session Cookie Name
  91 + |--------------------------------------------------------------------------
  92 + |
  93 + | Here you may change the name of the cookie used to identify a session
  94 + | instance by ID. The name specified here will get used every time a
  95 + | new session cookie is created by the framework for every driver.
  96 + |
  97 + */
  98 +
  99 + 'cookie' => 'laravel_session',
  100 +
  101 + /*
  102 + |--------------------------------------------------------------------------
  103 + | Session Cookie Path
  104 + |--------------------------------------------------------------------------
  105 + |
  106 + | The session cookie path determines the path for which the cookie will
  107 + | be regarded as available. Typically, this will be the root path of
  108 + | your application but you are free to change this when necessary.
  109 + |
  110 + */
  111 +
  112 + 'path' => '/',
  113 +
  114 + /*
  115 + |--------------------------------------------------------------------------
  116 + | Session Cookie Domain
  117 + |--------------------------------------------------------------------------
  118 + |
  119 + | Here you may change the domain of the cookie used to identify a session
  120 + | in your application. This will determine which domains the cookie is
  121 + | available to in your application. A sensible default has been set.
  122 + |
  123 + */
  124 +
  125 + 'domain' => null,
  126 +
  127 + /*
  128 + |--------------------------------------------------------------------------
  129 + | HTTPS Only Cookies
  130 + |--------------------------------------------------------------------------
  131 + |
  132 + | By setting this option to true, session cookies will only be sent back
  133 + | to the server if the browser has a HTTPS connection. This will keep
  134 + | the cookie from being sent to you if it can not be done securely.
  135 + |
  136 + */
  137 +
  138 + 'secure' => false,
  139 +
  140 +);
... ...
app/config/testing/cache.php 0 → 100755
  1 +++ a/app/config/testing/cache.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Cache Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default cache "driver" that will be used when
  11 + | using the Caching library. Of course, you may use other drivers any
  12 + | time you wish. This is the default when another is not specified.
  13 + |
  14 + | Supported: "file", "database", "apc", "memcached", "redis", "array"
  15 + |
  16 + */
  17 +
  18 + 'driver' => 'array',
  19 +
  20 +);
0 21 \ No newline at end of file
... ...
app/config/testing/session.php 0 → 100755
  1 +++ a/app/config/testing/session.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Session Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default session "driver" that will be used on
  11 + | requests. By default, we will use the lightweight native driver but
  12 + | you may specify any of the other wonderful drivers provided here.
  13 + |
  14 + | Supported: "native", "cookie", "database", "apc",
  15 + | "memcached", "redis", "array"
  16 + |
  17 + */
  18 +
  19 + 'driver' => 'array',
  20 +
  21 +);
0 22 \ No newline at end of file
... ...
app/config/view.php 0 → 100755
  1 +++ a/app/config/view.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | View Storage Paths
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Most templating systems load templates from disk. Here you may specify
  11 + | an array of paths that should be checked for your views. Of course
  12 + | the usual Laravel view path has already been registered for you.
  13 + |
  14 + */
  15 +
  16 + 'paths' => array(__DIR__.'/../views'),
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Pagination View
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | This view will be used to render the pagination link output, and can
  24 + | be easily customized here to show any view you like. A clean view
  25 + | compatible with Twitter's Bootstrap is given to you by default.
  26 + |
  27 + */
  28 +
  29 + 'pagination' => 'pagination::slider-3',
  30 +
  31 +);
... ...
app/config/workbench.php 0 → 100755
  1 +++ a/app/config/workbench.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Workbench Author Name
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | When you create new packages via the Artisan "workbench" command your
  11 + | name is needed to generate the composer.json file for your package.
  12 + | You may specify it now so it is used for all of your workbenches.
  13 + |
  14 + */
  15 +
  16 + 'name' => '',
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Workbench Author E-Mail Address
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | Like the option above, your e-mail address is used when generating new
  24 + | workbench packages. The e-mail is placed in your composer.json file
  25 + | automatically after the package is created by the workbench tool.
  26 + |
  27 + */
  28 +
  29 + 'email' => '',
  30 +
  31 +);
0 32 \ No newline at end of file
... ...
app/controllers/.gitkeep 0 → 100755
  1 +++ a/app/controllers/.gitkeep
... ...
app/controllers/BaseController.php 0 → 100755
  1 +++ a/app/controllers/BaseController.php
  1 +<?php
  2 +
  3 +class BaseController extends Controller {
  4 +
  5 + /**
  6 + * Setup the layout used by the controller.
  7 + *
  8 + * @return void
  9 + */
  10 + protected function setupLayout()
  11 + {
  12 + if ( ! is_null($this->layout))
  13 + {
  14 + $this->layout = View::make($this->layout);
  15 + }
  16 + }
  17 +
  18 +}
0 19 \ No newline at end of file
... ...
app/controllers/HomeController.php 0 → 100755
  1 +++ a/app/controllers/HomeController.php
  1 +<?php
  2 +
  3 +class HomeController extends BaseController {
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Home Controller
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | You may wish to use controllers instead of, or in addition to, Closure
  11 + | based routes. That's great! Here is an example controller method to
  12 + | get you started. To route to this controller, just add the route:
  13 + |
  14 + | Route::get('/', 'HomeController@showWelcome');
  15 + |
  16 + */
  17 +
  18 + public function showWelcome()
  19 + {
  20 + return View::make('hello');
  21 + }
  22 +
  23 +}
0 24 \ No newline at end of file
... ...
app/database/migrations/.gitkeep 0 → 100755
  1 +++ a/app/database/migrations/.gitkeep
... ...
app/database/production.sqlite 0 → 100755
  1 +++ a/app/database/production.sqlite
... ...
app/database/seeds/.gitkeep 0 → 100755
  1 +++ a/app/database/seeds/.gitkeep
... ...
app/database/seeds/DatabaseSeeder.php 0 → 100755
  1 +++ a/app/database/seeds/DatabaseSeeder.php
  1 +<?php
  2 +
  3 +class DatabaseSeeder extends Seeder {
  4 +
  5 + /**
  6 + * Run the database seeds.
  7 + *
  8 + * @return void
  9 + */
  10 + public function run()
  11 + {
  12 + Eloquent::unguard();
  13 +
  14 + // $this->call('UserTableSeeder');
  15 + }
  16 +
  17 +}
0 18 \ No newline at end of file
... ...
app/filters.php 0 → 100755
  1 +++ a/app/filters.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Application & Route Filters
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| Below you will find the "before" and "after" events for the application
  9 +| which may be used to do any work before or after a request into your
  10 +| application. Here you may also register your custom route filters.
  11 +|
  12 +*/
  13 +
  14 +App::before(function($request)
  15 +{
  16 + //
  17 +});
  18 +
  19 +
  20 +App::after(function($request, $response)
  21 +{
  22 + //
  23 +});
  24 +
  25 +/*
  26 +|--------------------------------------------------------------------------
  27 +| Authentication Filters
  28 +|--------------------------------------------------------------------------
  29 +|
  30 +| The following filters are used to verify that the user of the current
  31 +| session is logged into this application. The "basic" filter easily
  32 +| integrates HTTP Basic authentication for quick, simple checking.
  33 +|
  34 +*/
  35 +
  36 +Route::filter('auth', function()
  37 +{
  38 + if (Auth::guest()) return Redirect::guest('login');
  39 +});
  40 +
  41 +
  42 +Route::filter('auth.basic', function()
  43 +{
  44 + return Auth::basic();
  45 +});
  46 +
  47 +/*
  48 +|--------------------------------------------------------------------------
  49 +| Guest Filter
  50 +|--------------------------------------------------------------------------
  51 +|
  52 +| The "guest" filter is the counterpart of the authentication filters as
  53 +| it simply checks that the current user is not logged in. A redirect
  54 +| response will be issued if they are, which you may freely change.
  55 +|
  56 +*/
  57 +
  58 +Route::filter('guest', function()
  59 +{
  60 + if (Auth::check()) return Redirect::to('/');
  61 +});
  62 +
  63 +/*
  64 +|--------------------------------------------------------------------------
  65 +| CSRF Protection Filter
  66 +|--------------------------------------------------------------------------
  67 +|
  68 +| The CSRF filter is responsible for protecting your application against
  69 +| cross-site request forgery attacks. If this special token in a user
  70 +| session does not match the one given in this request, we'll bail.
  71 +|
  72 +*/
  73 +
  74 +Route::filter('csrf', function()
  75 +{
  76 + if (Session::token() != Input::get('_token'))
  77 + {
  78 + throw new Illuminate\Session\TokenMismatchException;
  79 + }
  80 +});
0 81 \ No newline at end of file
... ...
app/lang/en/pagination.php 0 → 100755
  1 +++ a/app/lang/en/pagination.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Pagination Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines are used by the paginator library to build
  11 + | the simple pagination links. You are free to change them to anything
  12 + | you want to customize your views to better match your application.
  13 + |
  14 + */
  15 +
  16 + 'previous' => '&laquo; Previous',
  17 +
  18 + 'next' => 'Next &raquo;',
  19 +
  20 +);
0 21 \ No newline at end of file
... ...
app/lang/en/reminders.php 0 → 100755
  1 +++ a/app/lang/en/reminders.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Password Reminder Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines are the default lines which match reasons
  11 + | that are given by the password broker for a password update attempt
  12 + | has failed, such as for an invalid token or invalid new password.
  13 + |
  14 + */
  15 +
  16 + "password" => "Passwords must be at least six characters and match the confirmation.",
  17 +
  18 + "user" => "We can't find a user with that e-mail address.",
  19 +
  20 + "token" => "This password reset token is invalid.",
  21 +
  22 + "sent" => "Password reminder sent!",
  23 +
  24 +);
... ...
app/lang/en/validation.php 0 → 100755
  1 +++ a/app/lang/en/validation.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Validation Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines contain the default error messages used by
  11 + | the validator class. Some of these rules have multiple versions such
  12 + | as the size rules. Feel free to tweak each of these messages here.
  13 + |
  14 + */
  15 +
  16 + "accepted" => "The :attribute must be accepted.",
  17 + "active_url" => "The :attribute is not a valid URL.",
  18 + "after" => "The :attribute must be a date after :date.",
  19 + "alpha" => "The :attribute may only contain letters.",
  20 + "alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
  21 + "alpha_num" => "The :attribute may only contain letters and numbers.",
  22 + "array" => "The :attribute must be an array.",
  23 + "before" => "The :attribute must be a date before :date.",
  24 + "between" => array(
  25 + "numeric" => "The :attribute must be between :min and :max.",
  26 + "file" => "The :attribute must be between :min and :max kilobytes.",
  27 + "string" => "The :attribute must be between :min and :max characters.",
  28 + "array" => "The :attribute must have between :min and :max items.",
  29 + ),
  30 + "confirmed" => "The :attribute confirmation does not match.",
  31 + "date" => "The :attribute is not a valid date.",
  32 + "date_format" => "The :attribute does not match the format :format.",
  33 + "different" => "The :attribute and :other must be different.",
  34 + "digits" => "The :attribute must be :digits digits.",
  35 + "digits_between" => "The :attribute must be between :min and :max digits.",
  36 + "email" => "The :attribute must be a valid email address.",
  37 + "exists" => "The selected :attribute is invalid.",
  38 + "image" => "The :attribute must be an image.",
  39 + "in" => "The selected :attribute is invalid.",
  40 + "integer" => "The :attribute must be an integer.",
  41 + "ip" => "The :attribute must be a valid IP address.",
  42 + "max" => array(
  43 + "numeric" => "The :attribute may not be greater than :max.",
  44 + "file" => "The :attribute may not be greater than :max kilobytes.",
  45 + "string" => "The :attribute may not be greater than :max characters.",
  46 + "array" => "The :attribute may not have more than :max items.",
  47 + ),
  48 + "mimes" => "The :attribute must be a file of type: :values.",
  49 + "min" => array(
  50 + "numeric" => "The :attribute must be at least :min.",
  51 + "file" => "The :attribute must be at least :min kilobytes.",
  52 + "string" => "The :attribute must be at least :min characters.",
  53 + "array" => "The :attribute must have at least :min items.",
  54 + ),
  55 + "not_in" => "The selected :attribute is invalid.",
  56 + "numeric" => "The :attribute must be a number.",
  57 + "regex" => "The :attribute format is invalid.",
  58 + "required" => "The :attribute field is required.",
  59 + "required_if" => "The :attribute field is required when :other is :value.",
  60 + "required_with" => "The :attribute field is required when :values is present.",
  61 + "required_with_all" => "The :attribute field is required when :values is present.",
  62 + "required_without" => "The :attribute field is required when :values is not present.",
  63 + "required_without_all" => "The :attribute field is required when none of :values are present.",
  64 + "same" => "The :attribute and :other must match.",
  65 + "size" => array(
  66 + "numeric" => "The :attribute must be :size.",
  67 + "file" => "The :attribute must be :size kilobytes.",
  68 + "string" => "The :attribute must be :size characters.",
  69 + "array" => "The :attribute must contain :size items.",
  70 + ),
  71 + "unique" => "The :attribute has already been taken.",
  72 + "url" => "The :attribute format is invalid.",
  73 +
  74 + /*
  75 + |--------------------------------------------------------------------------
  76 + | Custom Validation Language Lines
  77 + |--------------------------------------------------------------------------
  78 + |
  79 + | Here you may specify custom validation messages for attributes using the
  80 + | convention "attribute.rule" to name the lines. This makes it quick to
  81 + | specify a specific custom language line for a given attribute rule.
  82 + |
  83 + */
  84 +
  85 + 'custom' => array(
  86 + 'attribute-name' => array(
  87 + 'rule-name' => 'custom-message',
  88 + ),
  89 + ),
  90 +
  91 + /*
  92 + |--------------------------------------------------------------------------
  93 + | Custom Validation Attributes
  94 + |--------------------------------------------------------------------------
  95 + |
  96 + | The following language lines are used to swap attribute place-holders
  97 + | with something more reader friendly such as E-Mail Address instead
  98 + | of "email". This simply helps us make messages a little cleaner.
  99 + |
  100 + */
  101 +
  102 + 'attributes' => array(),
  103 +
  104 +);
... ...
app/models/User.php 0 → 100755
  1 +++ a/app/models/User.php
  1 +<?php
  2 +
  3 +use Illuminate\Auth\UserInterface;
  4 +use Illuminate\Auth\Reminders\RemindableInterface;
  5 +
  6 +class User extends Eloquent implements UserInterface, RemindableInterface {
  7 +
  8 + /**
  9 + * The database table used by the model.
  10 + *
  11 + * @var string
  12 + */
  13 + protected $table = 'users';
  14 +
  15 + /**
  16 + * The attributes excluded from the model's JSON form.
  17 + *
  18 + * @var array
  19 + */
  20 + protected $hidden = array('password');
  21 +
  22 + /**
  23 + * Get the unique identifier for the user.
  24 + *
  25 + * @return mixed
  26 + */
  27 + public function getAuthIdentifier()
  28 + {
  29 + return $this->getKey();
  30 + }
  31 +
  32 + /**
  33 + * Get the password for the user.
  34 + *
  35 + * @return string
  36 + */
  37 + public function getAuthPassword()
  38 + {
  39 + return $this->password;
  40 + }
  41 +
  42 + /**
  43 + * Get the e-mail address where password reminders are sent.
  44 + *
  45 + * @return string
  46 + */
  47 + public function getReminderEmail()
  48 + {
  49 + return $this->email;
  50 + }
  51 +
  52 +}
0 53 \ No newline at end of file
... ...
app/routes.php 0 → 100755
  1 +++ a/app/routes.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Application Routes
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| Here is where you can register all of the routes for an application.
  9 +| It's a breeze. Simply tell Laravel the URIs it should respond to
  10 +| and give it the Closure to execute when that URI is requested.
  11 +|
  12 +*/
  13 +