<commit_before><?php

/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/


/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/

/**
 * Image viewing
 */

Route::group(['prefix' => 's'] , function() {
    Route::get('list' , ['middleware' => 'auth' , 'uses' => 'FileController@imagelist']);
    Route::get('overview' , ['middleware' => 'auth' , 'uses' =>'FileController@imageoverview']);
    Route::get('{image_name}' , 'ImageController@showImage');
    Route::get('{image_name}/full' , 'ImageController@showFullImage');

});

/**
 *File and image uploading
 */

Route::group(['[prefix' => 'u'] , function() {
    Route::post('image' , 'FIleController@saveImage');
    Route::post('file' , 'FileController@saveFile');
});

/**
 * file and image uploading
 */

Route::group(['prefix' => 'f'] , function () {
    Route::get('list' , ['middleware' => 'auth' , 'uses' => 'FileController@filelist']);
    Route::get('{version}/{name}' , 'FileCOntroller@serve');
});

Route::get('/' , 'HomeController@index');
//Route::get('/about' , 'HomeController@about');
Route::get('/music' , 'HomeController@music');
//Route::get('/games' , 'HomeController@games');
Route::get('/projects' , 'HomeController@projects');
Route::get('/licenses' , 'HomeController@licenses');
Route::get('/clock' , 'HomeController@clock');
Route::get('/contact' , 'HomeController@contact');

//Route::get('upload' , ['middleware' => 'auth' , 'uses' => 'FileController@index']);
//Route::get('logout' , ['middleware' => 'auth' , 'uses' => 'UserController@logout']);

//TODO fix the login system

//Route::match(['GET' , 'POST'] , '/login' , 'UserController@login');


Route::group(['middleware' => ['web']], function () {
    //
});<commit_msg>temporary disable contact<commit_after><?php

/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/


/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/

/**
 * Image viewing
 */

Route::group(['prefix' => 's'] , function() {
    Route::get('list' , ['middleware' => 'auth' , 'uses' => 'FileController@imagelist']);
    Route::get('overview' , ['middleware' => 'auth' , 'uses' =>'FileController@imageoverview']);
    Route::get('{image_name}' , 'ImageController@showImage');
    Route::get('{image_name}/full' , 'ImageController@showFullImage');

});

/**
 *File and image uploading
 */

Route::group(['[prefix' => 'u'] , function() {
    Route::post('image' , 'FIleController@saveImage');
    Route::post('file' , 'FileController@saveFile');
});

/**
 * file and image uploading
 */

Route::group(['prefix' => 'f'] , function () {
    Route::get('list' , ['middleware' => 'auth' , 'uses' => 'FileController@filelist']);
    Route::get('{version}/{name}' , 'FileCOntroller@serve');
});

Route::get('/' , 'HomeController@index');
//Route::get('/about' , 'HomeController@about');
Route::get('/music' , 'HomeController@music');
//Route::get('/games' , 'HomeController@games');
Route::get('/projects' , 'HomeController@projects');
Route::get('/licenses' , 'HomeController@licenses');
Route::get('/clock' , 'HomeController@clock');
//Route::get('/contact' , 'HomeController@contact');

//Route::get('upload' , ['middleware' => 'auth' , 'uses' => 'FileController@index']);
//Route::get('logout' , ['middleware' => 'auth' , 'uses' => 'UserController@logout']);

//TODO fix the login system

//Route::match(['GET' , 'POST'] , '/login' , 'UserController@login');


Route::group(['middleware' => ['web']], function () {
    //
});
{'fraction_non_alphanumeric': 0.3149008020261714, 'fraction_numerical': 0.0, 'mean_word_length': 2.7521773555027713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6843966', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1288, 'n_words': 312}