server ver
This commit is contained in:
0
.gitattributes
vendored
Normal file → Executable file
0
.gitattributes
vendored
Normal file → Executable file
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
node_modules/
|
||||
.env
|
||||
vendor/
|
||||
storage/
|
||||
public/b/
|
||||
public/thumbs/
|
||||
public/old/
|
||||
public/database/
|
||||
public/asbach/
|
||||
public/images/
|
||||
resources/views/unused/
|
0
.phpstorm.meta.php
Normal file → Executable file
0
.phpstorm.meta.php
Normal file → Executable file
0
_ide_helper.php
Normal file → Executable file
0
_ide_helper.php
Normal file → Executable file
0
app/Console/Commands/AddTags.php
Normal file → Executable file
0
app/Console/Commands/AddTags.php
Normal file → Executable file
0
app/Console/Commands/Inspire.php
Normal file → Executable file
0
app/Console/Commands/Inspire.php
Normal file → Executable file
0
app/Console/Commands/ReadException.php
Normal file → Executable file
0
app/Console/Commands/ReadException.php
Normal file → Executable file
0
app/Console/Kernel.php
Normal file → Executable file
0
app/Console/Kernel.php
Normal file → Executable file
0
app/Events/Event.php
Normal file → Executable file
0
app/Events/Event.php
Normal file → Executable file
0
app/Exceptions/Handler.php
Normal file → Executable file
0
app/Exceptions/Handler.php
Normal file → Executable file
0
app/Helpers/HumanReadable.php
Normal file → Executable file
0
app/Helpers/HumanReadable.php
Normal file → Executable file
0
app/Http/Controllers/CategoryController.php
Normal file → Executable file
0
app/Http/Controllers/CategoryController.php
Normal file → Executable file
0
app/Http/Controllers/CommentController.php
Normal file → Executable file
0
app/Http/Controllers/CommentController.php
Normal file → Executable file
0
app/Http/Controllers/Controller.php
Normal file → Executable file
0
app/Http/Controllers/Controller.php
Normal file → Executable file
0
app/Http/Controllers/MessageController.php
Normal file → Executable file
0
app/Http/Controllers/MessageController.php
Normal file → Executable file
0
app/Http/Controllers/ReportController.php
Normal file → Executable file
0
app/Http/Controllers/ReportController.php
Normal file → Executable file
2
app/Http/Controllers/UserController.php
Normal file → Executable file
2
app/Http/Controllers/UserController.php
Normal file → Executable file
@@ -126,7 +126,7 @@ class UserController extends Controller
|
||||
\Session::flash('info', 'Cannot register when logged in');
|
||||
return redirect('/');
|
||||
}
|
||||
return view('apply');
|
||||
return view('apply_open');
|
||||
}
|
||||
|
||||
public function loggain()
|
||||
|
6
app/Http/Controllers/VideoController.php
Normal file → Executable file
6
app/Http/Controllers/VideoController.php
Normal file → Executable file
@@ -125,9 +125,9 @@ class VideoController extends Controller
|
||||
return new JsonResponse(['error' => 'erroneous_file_encoding']);
|
||||
}
|
||||
$video->videotitle = $request->get('videotitle', null);
|
||||
$video->interpret = $request->get('interpret', null);
|
||||
$video->songtitle = $request->get('songtitle', null);
|
||||
$video->imgsource = $request->get('imgsource', null);
|
||||
$video->interpret = htmlspecialchars($request->get('interpret', null));
|
||||
$video->songtitle = htmlspecialchars($request->get('songtitle', null));
|
||||
$video->imgsource = htmlspecialchars($request->get('imgsource', null));
|
||||
$video->user()->associate($user);
|
||||
$video->category()->associate(Category::findOrFail($request->get('category')));
|
||||
$video->hash = $hash;
|
||||
|
0
app/Http/Controllers/aboutController.php
Normal file → Executable file
0
app/Http/Controllers/aboutController.php
Normal file → Executable file
0
app/Http/Controllers/rulezController.php
Normal file → Executable file
0
app/Http/Controllers/rulezController.php
Normal file → Executable file
0
app/Http/Controllers/tmp/.gitkeep
Normal file → Executable file
0
app/Http/Controllers/tmp/.gitkeep
Normal file → Executable file
BIN
app/Http/Controllers/tmp/test.png
Normal file → Executable file
BIN
app/Http/Controllers/tmp/test.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 485 KiB |
0
app/Http/Kernel.php
Normal file → Executable file
0
app/Http/Kernel.php
Normal file → Executable file
0
app/Http/Middleware/Authenticate.php
Normal file → Executable file
0
app/Http/Middleware/Authenticate.php
Normal file → Executable file
0
app/Http/Middleware/EncryptCookies.php
Normal file → Executable file
0
app/Http/Middleware/EncryptCookies.php
Normal file → Executable file
0
app/Http/Middleware/Jsonp.php
Normal file → Executable file
0
app/Http/Middleware/Jsonp.php
Normal file → Executable file
0
app/Http/Middleware/LogoutBanned.php
Normal file → Executable file
0
app/Http/Middleware/LogoutBanned.php
Normal file → Executable file
0
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file → Executable file
0
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file → Executable file
0
app/Http/Middleware/Theme.php
Normal file → Executable file
0
app/Http/Middleware/Theme.php
Normal file → Executable file
0
app/Http/Middleware/VerifyCsrfToken.php
Normal file → Executable file
0
app/Http/Middleware/VerifyCsrfToken.php
Normal file → Executable file
0
app/Http/Requests/Request.php
Normal file → Executable file
0
app/Http/Requests/Request.php
Normal file → Executable file
2
app/Http/routes.php
Normal file → Executable file
2
app/Http/routes.php
Normal file → Executable file
@@ -130,7 +130,7 @@ Route::group(["middleware" => "theme"], function() {
|
||||
Route::get('upload', 'VideoController@create')->middleware('auth');
|
||||
Route::get('categories', 'CategoryController@index')->middleware('auth');
|
||||
Route::get('webm', function() { return view('webm'); })->middleware('auth');
|
||||
Route::get('settings', function() { return view('settings'); })->middleware('auth');
|
||||
Route::get('settings', function() { return 404; })->middleware('auth');
|
||||
Route::get('matrix', function() { return view('matrix'); })->middleware('auth');
|
||||
#Route::get('about', function() { return view('about'); })->middleware('auth');
|
||||
Route::get('about', 'aboutController@index')->middleware('auth');
|
||||
|
0
app/Jobs/Job.php
Normal file → Executable file
0
app/Jobs/Job.php
Normal file → Executable file
0
app/Listeners/.gitkeep
Normal file → Executable file
0
app/Listeners/.gitkeep
Normal file → Executable file
0
app/Models/About.php
Normal file → Executable file
0
app/Models/About.php
Normal file → Executable file
0
app/Models/Banner.php
Normal file → Executable file
0
app/Models/Banner.php
Normal file → Executable file
0
app/Models/Category.php
Normal file → Executable file
0
app/Models/Category.php
Normal file → Executable file
0
app/Models/Comment.php
Normal file → Executable file
0
app/Models/Comment.php
Normal file → Executable file
0
app/Models/Donation.php
Normal file → Executable file
0
app/Models/Donation.php
Normal file → Executable file
0
app/Models/Icon.php
Normal file → Executable file
0
app/Models/Icon.php
Normal file → Executable file
0
app/Models/Message.php
Normal file → Executable file
0
app/Models/Message.php
Normal file → Executable file
0
app/Models/ModeratorLog.php
Normal file → Executable file
0
app/Models/ModeratorLog.php
Normal file → Executable file
0
app/Models/Role.php
Normal file → Executable file
0
app/Models/Role.php
Normal file → Executable file
0
app/Models/Rulez.php
Normal file → Executable file
0
app/Models/Rulez.php
Normal file → Executable file
0
app/Models/User.php
Normal file → Executable file
0
app/Models/User.php
Normal file → Executable file
0
app/Models/UserFavorite.php
Normal file → Executable file
0
app/Models/UserFavorite.php
Normal file → Executable file
0
app/Models/Video.php
Normal file → Executable file
0
app/Models/Video.php
Normal file → Executable file
0
app/Models/aboutController.php
Normal file → Executable file
0
app/Models/aboutController.php
Normal file → Executable file
0
app/Policies/.gitkeep
Normal file → Executable file
0
app/Policies/.gitkeep
Normal file → Executable file
0
app/Providers/AppServiceProvider.php
Normal file → Executable file
0
app/Providers/AppServiceProvider.php
Normal file → Executable file
0
app/Providers/AuthServiceProvider.php
Normal file → Executable file
0
app/Providers/AuthServiceProvider.php
Normal file → Executable file
0
app/Providers/BladeServiceProvider.php
Normal file → Executable file
0
app/Providers/BladeServiceProvider.php
Normal file → Executable file
0
app/Providers/EventServiceProvider.php
Normal file → Executable file
0
app/Providers/EventServiceProvider.php
Normal file → Executable file
0
app/Providers/MarkdownServiceProvider.php
Normal file → Executable file
0
app/Providers/MarkdownServiceProvider.php
Normal file → Executable file
0
app/Providers/RouteServiceProvider.php
Normal file → Executable file
0
app/Providers/RouteServiceProvider.php
Normal file → Executable file
1
app/Services/Markdown.php
Normal file → Executable file
1
app/Services/Markdown.php
Normal file → Executable file
@@ -258,6 +258,7 @@ class Markdown extends \Parsedown {
|
||||
protected function inlineUrl($Excerpt) {
|
||||
$e = parent::inlineUrl($Excerpt);
|
||||
if (is_null($e)) return;
|
||||
$e['element']['attributes']['href'] = htmlspecialchars($e['element']['attributes']['href']);
|
||||
if (static::isImage($e['element']['attributes']['href'])) {
|
||||
$e['element']['name'] = 'img';
|
||||
$e['element']['attributes']['src'] = $e['element']['attributes']['href'];
|
||||
|
0
bootstrap/app.php
Normal file → Executable file
0
bootstrap/app.php
Normal file → Executable file
0
bootstrap/autoload.php
Normal file → Executable file
0
bootstrap/autoload.php
Normal file → Executable file
0
bootstrap/cache/.gitignore
vendored
Normal file → Executable file
0
bootstrap/cache/.gitignore
vendored
Normal file → Executable file
0
composer.json
Normal file → Executable file
0
composer.json
Normal file → Executable file
0
composer.lock
generated
Normal file → Executable file
0
composer.lock
generated
Normal file → Executable file
0
config/app.php
Normal file → Executable file
0
config/app.php
Normal file → Executable file
0
config/auth.php
Normal file → Executable file
0
config/auth.php
Normal file → Executable file
0
config/broadcasting.php
Normal file → Executable file
0
config/broadcasting.php
Normal file → Executable file
0
config/cache.php
Normal file → Executable file
0
config/cache.php
Normal file → Executable file
0
config/captcha.php
Normal file → Executable file
0
config/captcha.php
Normal file → Executable file
0
config/comments.php
Normal file → Executable file
0
config/comments.php
Normal file → Executable file
0
config/compile.php
Normal file → Executable file
0
config/compile.php
Normal file → Executable file
0
config/database.php
Normal file → Executable file
0
config/database.php
Normal file → Executable file
0
config/discord.php
Normal file → Executable file
0
config/discord.php
Normal file → Executable file
0
config/filesystems.php
Normal file → Executable file
0
config/filesystems.php
Normal file → Executable file
0
config/ide-helper.php
Normal file → Executable file
0
config/ide-helper.php
Normal file → Executable file
0
config/mail.php
Normal file → Executable file
0
config/mail.php
Normal file → Executable file
0
config/queue.php
Normal file → Executable file
0
config/queue.php
Normal file → Executable file
0
config/recaptcha.php
Normal file → Executable file
0
config/recaptcha.php
Normal file → Executable file
0
config/sentry.php
Normal file → Executable file
0
config/sentry.php
Normal file → Executable file
0
config/services.php
Normal file → Executable file
0
config/services.php
Normal file → Executable file
0
config/session.php
Normal file → Executable file
0
config/session.php
Normal file → Executable file
0
config/taggable.php
Normal file → Executable file
0
config/taggable.php
Normal file → Executable file
0
config/verify.php
Normal file → Executable file
0
config/verify.php
Normal file → Executable file
0
config/view.php
Normal file → Executable file
0
config/view.php
Normal file → Executable file
0
database/.gitignore
vendored
Normal file → Executable file
0
database/.gitignore
vendored
Normal file → Executable file
0
database/factories/ModelFactory.php
Normal file → Executable file
0
database/factories/ModelFactory.php
Normal file → Executable file
0
database/migrations/.gitkeep
Normal file → Executable file
0
database/migrations/.gitkeep
Normal file → Executable file
0
database/migrations/2015_03_20_193906_verify_init.php
Normal file → Executable file
0
database/migrations/2015_03_20_193906_verify_init.php
Normal file → Executable file
0
database/migrations/2015_09_11_071445_create_videos_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_071445_create_videos_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_073012_create_categories_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_073012_create_categories_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_073654_create_comments_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_073654_create_comments_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_091705_add_hash_to_videos_table.php
Normal file → Executable file
0
database/migrations/2015_09_11_091705_add_hash_to_videos_table.php
Normal file → Executable file
0
database/migrations/2015_09_12_075501_add_activation_token_to_users_table.php
Normal file → Executable file
0
database/migrations/2015_09_12_075501_add_activation_token_to_users_table.php
Normal file → Executable file
0
database/migrations/2015_09_17_092718_create_moderator_log_table.php
Normal file → Executable file
0
database/migrations/2015_09_17_092718_create_moderator_log_table.php
Normal file → Executable file
0
database/migrations/2015_09_17_110239_add_background_to_users_table.php
Normal file → Executable file
0
database/migrations/2015_09_17_110239_add_background_to_users_table.php
Normal file → Executable file
0
database/migrations/2015_09_22_132140_create_user_video_table.php
Normal file → Executable file
0
database/migrations/2015_09_22_132140_create_user_video_table.php
Normal file → Executable file
0
database/migrations/2015_10_12_093808_create_messages_table.php
Normal file → Executable file
0
database/migrations/2015_10_12_093808_create_messages_table.php
Normal file → Executable file
0
database/migrations/2015_10_17_210135_add_read_field_to_messages_table.php
Normal file → Executable file
0
database/migrations/2015_10_17_210135_add_read_field_to_messages_table.php
Normal file → Executable file
0
database/migrations/2016_06_05_074310_adds_categories_field_to_users_table.php
Normal file → Executable file
0
database/migrations/2016_06_05_074310_adds_categories_field_to_users_table.php
Normal file → Executable file
0
database/migrations/2016_08_12_142635_add_banning_to_user_table.php
Normal file → Executable file
0
database/migrations/2016_08_12_142635_add_banning_to_user_table.php
Normal file → Executable file
0
database/migrations/2016_09_22_092717_add_icons.php
Normal file → Executable file
0
database/migrations/2016_09_22_092717_add_icons.php
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user