Skip to content

Commit 2c77f14

Browse files
committed
changes
changes
1 parent 0f8d2e9 commit 2c77f14

File tree

1,612 files changed

+248560
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,612 files changed

+248560
-31
lines changed

.gitignore

+27-31
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1-
# Windows image file caches
2-
Thumbs.db
3-
ehthumbs.db
4-
5-
# Folder config file
6-
Desktop.ini
7-
8-
# Recycle Bin used on file shares
9-
$RECYCLE.BIN/
10-
11-
# Windows Installer files
12-
*.cab
13-
*.msi
14-
*.msm
15-
*.msp
16-
17-
# =========================
18-
# Operating System Files
19-
# =========================
20-
21-
# OSX
22-
# =========================
23-
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Windows Installer files
12+
*.cab
13+
*.msi
14+
*.msm
15+
*.msp
16+
17+
# =========================
18+
# Operating System Files
19+
# =========================
20+
21+
# OSX
22+
# =========================
23+
2424
.DS_Store
2525
.AppleDouble
2626
.LSOverride
2727

28-
# Icon must end with two \r
29-
Icon
28+
# Icon must ends with two \r.
29+
Icon
30+
3031

3132
# Thumbnails
3233
._*
@@ -35,9 +36,4 @@ Icon
3536
.Spotlight-V100
3637
.Trashes
3738

38-
# Directories potentially created on remote AFP share
39-
.AppleDB
40-
.AppleDesktop
41-
Network Trash Folder
42-
Temporary Items
43-
.apdisk
39+
vendor

CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contribution Guidelines
2+
3+
Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace KodeInfo\Handlers;
4+
5+
use Redis;
6+
use Response;
7+
8+
class UserUpdatedEventHandler {
9+
10+
CONST EVENT = 'users.update';
11+
CONST CHANNEL = 'users.update';
12+
13+
public function handle($data)
14+
{
15+
$redis = Redis::connection();
16+
$redis->publish(self::CHANNEL, Response::json($data));
17+
18+
}
19+
20+
}

app/KodeInfo/JSHelper.php

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
/**
3+
* Created by PhpStorm.
4+
* User: Imran
5+
* Date: 9/20/14
6+
* Time: 1:28 AM
7+
*/
8+
9+
namespace KodeInfo;
10+
11+
12+
class JSHelper {
13+
14+
public function __toString()
15+
{
16+
return json_encode(['token'=>csrf_token()]);
17+
}
18+
19+
}

app/commands/.gitkeep

Whitespace-only changes.

app/config/app.php

+194
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
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' => 'en',
56+
57+
/*
58+
|--------------------------------------------------------------------------
59+
| Application Fallback Locale
60+
|--------------------------------------------------------------------------
61+
|
62+
| The fallback locale determines the locale to use when the current one
63+
| is not available. You may change the value to correspond to any of
64+
| the language folders that are provided through your application.
65+
|
66+
*/
67+
68+
'fallback_locale' => 'en',
69+
70+
/*
71+
|--------------------------------------------------------------------------
72+
| Encryption Key
73+
|--------------------------------------------------------------------------
74+
|
75+
| This key is used by the Illuminate encrypter service and should be set
76+
| to a random, 32 character string, otherwise these encrypted strings
77+
| will not be safe. Please do this before deploying an application!
78+
|
79+
*/
80+
81+
'key' => 'Mkena0Veiy8ehloYeOLjbnIEAhPC1AlB',
82+
83+
'cipher' => MCRYPT_RIJNDAEL_128,
84+
85+
/*
86+
|--------------------------------------------------------------------------
87+
| Autoloaded Service Providers
88+
|--------------------------------------------------------------------------
89+
|
90+
| The service providers listed here will be automatically loaded on the
91+
| request to your application. Feel free to add your own services to
92+
| this array to grant expanded functionality to your applications.
93+
|
94+
*/
95+
96+
'providers' => array(
97+
98+
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
99+
'Illuminate\Auth\AuthServiceProvider',
100+
'Illuminate\Cache\CacheServiceProvider',
101+
'Illuminate\Session\CommandsServiceProvider',
102+
'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
103+
'Illuminate\Routing\ControllerServiceProvider',
104+
'Illuminate\Cookie\CookieServiceProvider',
105+
'Illuminate\Database\DatabaseServiceProvider',
106+
'Illuminate\Encryption\EncryptionServiceProvider',
107+
'Illuminate\Filesystem\FilesystemServiceProvider',
108+
'Illuminate\Hashing\HashServiceProvider',
109+
'Illuminate\Html\HtmlServiceProvider',
110+
'Illuminate\Log\LogServiceProvider',
111+
'Illuminate\Mail\MailServiceProvider',
112+
'Illuminate\Database\MigrationServiceProvider',
113+
'Illuminate\Pagination\PaginationServiceProvider',
114+
'Illuminate\Queue\QueueServiceProvider',
115+
'Illuminate\Redis\RedisServiceProvider',
116+
'Illuminate\Remote\RemoteServiceProvider',
117+
'Illuminate\Auth\Reminders\ReminderServiceProvider',
118+
'Illuminate\Database\SeedServiceProvider',
119+
'Illuminate\Session\SessionServiceProvider',
120+
'Illuminate\Translation\TranslationServiceProvider',
121+
'Illuminate\Validation\ValidationServiceProvider',
122+
'Illuminate\View\ViewServiceProvider',
123+
'Illuminate\Workbench\WorkbenchServiceProvider'
124+
125+
),
126+
127+
/*
128+
|--------------------------------------------------------------------------
129+
| Service Provider Manifest
130+
|--------------------------------------------------------------------------
131+
|
132+
| The service provider manifest is used by Laravel to lazy load service
133+
| providers which are not needed for each request, as well to keep a
134+
| list of all of the services. Here, you may set its storage spot.
135+
|
136+
*/
137+
138+
'manifest' => storage_path().'/meta',
139+
140+
/*
141+
|--------------------------------------------------------------------------
142+
| Class Aliases
143+
|--------------------------------------------------------------------------
144+
|
145+
| This array of class aliases will be registered when this application
146+
| is started. However, feel free to register as many as you wish as
147+
| the aliases are "lazy" loaded so they don't hinder performance.
148+
|
149+
*/
150+
151+
'aliases' => array(
152+
153+
'App' => 'Illuminate\Support\Facades\App',
154+
'Artisan' => 'Illuminate\Support\Facades\Artisan',
155+
'Auth' => 'Illuminate\Support\Facades\Auth',
156+
'Blade' => 'Illuminate\Support\Facades\Blade',
157+
'Cache' => 'Illuminate\Support\Facades\Cache',
158+
'ClassLoader' => 'Illuminate\Support\ClassLoader',
159+
'Config' => 'Illuminate\Support\Facades\Config',
160+
'Controller' => 'Illuminate\Routing\Controller',
161+
'Cookie' => 'Illuminate\Support\Facades\Cookie',
162+
'Crypt' => 'Illuminate\Support\Facades\Crypt',
163+
'DB' => 'Illuminate\Support\Facades\DB',
164+
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
165+
'Event' => 'Illuminate\Support\Facades\Event',
166+
'File' => 'Illuminate\Support\Facades\File',
167+
'Form' => 'Illuminate\Support\Facades\Form',
168+
'Hash' => 'Illuminate\Support\Facades\Hash',
169+
'HTML' => 'Illuminate\Support\Facades\HTML',
170+
'Input' => 'Illuminate\Support\Facades\Input',
171+
'Lang' => 'Illuminate\Support\Facades\Lang',
172+
'Log' => 'Illuminate\Support\Facades\Log',
173+
'Mail' => 'Illuminate\Support\Facades\Mail',
174+
'Paginator' => 'Illuminate\Support\Facades\Paginator',
175+
'Password' => 'Illuminate\Support\Facades\Password',
176+
'Queue' => 'Illuminate\Support\Facades\Queue',
177+
'Redirect' => 'Illuminate\Support\Facades\Redirect',
178+
'Redis' => 'Illuminate\Support\Facades\Redis',
179+
'Request' => 'Illuminate\Support\Facades\Request',
180+
'Response' => 'Illuminate\Support\Facades\Response',
181+
'Route' => 'Illuminate\Support\Facades\Route',
182+
'Schema' => 'Illuminate\Support\Facades\Schema',
183+
'Seeder' => 'Illuminate\Database\Seeder',
184+
'Session' => 'Illuminate\Support\Facades\Session',
185+
'SoftDeletingTrait' => 'Illuminate\Database\Eloquent\SoftDeletingTrait',
186+
'SSH' => 'Illuminate\Support\Facades\SSH',
187+
'Str' => 'Illuminate\Support\Str',
188+
'URL' => 'Illuminate\Support\Facades\URL',
189+
'Validator' => 'Illuminate\Support\Facades\Validator',
190+
'View' => 'Illuminate\Support\Facades\View',
191+
192+
),
193+
194+
);

app/config/auth.php

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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+
);

0 commit comments

Comments
 (0)