Skip to content

Commit 17dcfb7

Browse files
committed
init
0 parents  commit 17dcfb7

File tree

309 files changed

+73971
-0
lines changed

Some content is hidden

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

309 files changed

+73971
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/bootstrap/compiled.php
2+
/vendor
3+
composer.phar
4+
composer.lock
5+
.DS_Store
6+
error_log

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!

LICENSE

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2012 Igor Vaynberg
2+
3+
Version: @@ver@@ Timestamp: @@timestamp@@
4+
5+
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
6+
General Public License version 2 (the "GPL License"). You may choose either license to govern your
7+
use of this software only upon the condition that you accept all of the terms of either the Apache
8+
License or the GPL License.
9+
10+
You may obtain a copy of the Apache License and the GPL License at:
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
http://www.gnu.org/licenses/gpl-2.0.html
14+
15+
Unless required by applicable law or agreed to in writing, software distributed under the Apache License
16+
or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
17+
either express or implied. See the Apache License and the GPL License for the specific language governing
18+
permissions and limitations under the Apache License and the GPL License.

README.md

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
Select2
2+
=======
3+
4+
Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
5+
6+
To get started, checkout examples and documentation at http://ivaynberg.github.com/select2
7+
8+
Use cases
9+
---------
10+
11+
* Enhancing native selects with search.
12+
* Enhancing native selects with a better multi-select interface.
13+
* Loading data from JavaScript: easily load items via ajax and have them searchable.
14+
* Nesting optgroups: native selects only support one level of nested. Select2 does not have this restriction.
15+
* Tagging: ability to add new items on the fly.
16+
* Working with large, remote datasets: ability to partially load a dataset based on the search term.
17+
* Paging of large datasets: easy support for loading more pages when the results are scrolled to the end.
18+
* Templating: support for custom rendering of results and selections.
19+
20+
Browser compatibility
21+
---------------------
22+
* IE 8+
23+
* Chrome 8+
24+
* Firefox 10+
25+
* Safari 3+
26+
* Opera 10.6+
27+
28+
Integrations
29+
------------
30+
31+
* [Wicket-Select2](https://github.com/ivaynberg/wicket-select2) (Java / [Apache Wicket](http://wicket.apache.org))
32+
* [select2-rails](https://github.com/argerim/select2-rails) (Ruby on Rails)
33+
* [AngularUI](http://angular-ui.github.com/#directives-select2) ([AngularJS](angularjs.org))
34+
* [Django](https://github.com/applegrew/django-select2)
35+
* [Symfony](https://github.com/19Gerhard85/sfSelect2WidgetsPlugin)
36+
* [Bootstrap](https://github.com/t0m/select2-bootstrap-css) (CSS skin)
37+
* [Yii](https://github.com/tonybolzan/yii-select2)
38+
39+
Internationalization (i18n)
40+
---------------------------
41+
42+
Select2 supports multiple languages by simply including the right
43+
language JS file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.).
44+
45+
Missing a language? Just copy `select2_locale_en.js.template`, translate
46+
it, and make a pull request back to Select2 here on GitHub.
47+
48+
Bug tracker
49+
-----------
50+
51+
Have a bug? Please create an issue here on GitHub!
52+
53+
https://github.com/ivaynberg/select2/issues
54+
55+
Mailing list
56+
------------
57+
58+
Have a question? Ask on our mailing list!
59+
60+
61+
62+
https://groups.google.com/d/forum/select2
63+
64+
65+
Copyright and license
66+
---------------------
67+
68+
Copyright 2012 Igor Vaynberg
69+
70+
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
71+
General Public License version 2 (the "GPL License"). You may choose either license to govern your
72+
use of this software only upon the condition that you accept all of the terms of either the Apache
73+
License or the GPL License.
74+
75+
You may obtain a copy of the Apache License and the GPL License in the LICENSE file, or at:
76+
77+
http://www.apache.org/licenses/LICENSE-2.0
78+
http://www.gnu.org/licenses/gpl-2.0.html
79+
80+
Unless required by applicable law or agreed to in writing, software distributed under the Apache License
81+
or the GPL License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
82+
either express or implied. See the Apache License and the GPL License for the specific language governing
83+
permissions and limitations under the Apache License and the GPL License.

app/commands/.gitkeep

Whitespace-only changes.

app/config/app.php

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

app/config/auth.php

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 drivers 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+
*/
56+
57+
'reminder' => array(
58+
59+
'email' => 'emails.auth.reminder', 'table' => 'password_reminders',
60+
61+
),
62+
63+
);

0 commit comments

Comments
 (0)