Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.

Commit 5753e8e

Browse files
Adding authentication
1 parent cb13e2d commit 5753e8e

File tree

15 files changed

+14539
-113
lines changed

15 files changed

+14539
-113
lines changed

.phpstorm.meta.php

Lines changed: 478 additions & 0 deletions
Large diffs are not rendered by default.

_ide_helper.php

Lines changed: 13477 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
namespace TimeClock\Http\Controllers;
4+
5+
class HomeController extends Controller
6+
{
7+
/**
8+
* Create a new controller instance.
9+
*
10+
* @return void
11+
*/
12+
public function __construct()
13+
{
14+
$this->middleware('auth');
15+
}
16+
17+
/**
18+
* Show the application dashboard.
19+
*
20+
* @return \Illuminate\Http\Response
21+
*/
22+
public function index()
23+
{
24+
return view('home');
25+
}
26+
}

app/Http/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Kernel extends HttpKernel
3030
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
3131
\TimeClock\Http\Middleware\VerifyCsrfToken::class,
3232
\Illuminate\Routing\Middleware\SubstituteBindings::class,
33+
\JacobBennett\Http2ServerPush\Middleware\AddHttp2ServerPush::class,
3334
],
3435

3536
'api' => [

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"require": {
1111
"php": ">=5.6.4",
1212
"barryvdh/laravel-debugbar": "^2.3",
13+
"jacobbennett/laravel-http2serverpush": "^1.3",
1314
"laravel/framework": "5.3.*"
1415
},
1516
"require-dev": {

composer.lock

Lines changed: 162 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public function up()
1515
{
1616
Schema::create('users', function (Blueprint $table) {
1717
$table->increments('id');
18-
$table->string('name');
18+
$table->string('first_name');
19+
$table->string('last_name');
1920
$table->string('email')->unique();
2021
$table->string('password');
2122
$table->rememberToken();

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
TimeClock is an open source application designed for small business and enterprises alike.
66

7-
Featured include:
7+
Features include:
88
* Easy hourly employee management
99
* Easy vacation time management
1010
* And much more!
@@ -15,4 +15,8 @@ If you discover a security vulnerability within TimeClock, please send an e-mail
1515

1616
## License
1717

18-
The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).
18+
TimeClock is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).
19+
20+
## Support
21+
22+
Although TimeClock is extremely easy to use and setup to-do its use of the Laravel framework support is available to businesses wanting it. Please contact me at [email protected] for a quote on pricing for support. I can install and support TimeClock in almost any use case, however, depending on the environment available to use I may not be able to perform a reliable install. I am also willing to host TimeClock for a monthly fee dependent on the size and reliability required for you use case.

0 commit comments

Comments
 (0)