@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Illuminate\Support\Facades\Schema; |
|
4 | -use Illuminate\Database\Schema\Blueprint; |
|
5 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | +use Illuminate\Database\Schema\Blueprint; |
|
5 | +use Illuminate\Support\Facades\Schema; |
|
6 | 6 | |
7 | 7 | class CreateTelescopeEntriesTable extends Migration |
8 | 8 | { |
@@ -6,8 +6,8 @@ |
||
6 | 6 | |
7 | 7 | use Exception; |
8 | 8 | use Facilitador\Models\Value; |
9 | -use Support\Support\ValueCollection; |
|
10 | 9 | use Illuminate\Database\Eloquent\Model as Entity; |
10 | +use Support\Support\ValueCollection; |
|
11 | 11 | |
12 | 12 | class EntityWasSaved |
13 | 13 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Http\Controllers; |
4 | 4 | |
5 | -use Response; |
|
6 | 5 | use Audit\Models\Change; |
6 | +use Response; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * A log of model changes, used for auditing Admin activity. Can also be used |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Notifications\Logs; |
4 | 4 | |
5 | +use Audit\Models\Logs\Finger; |
|
5 | 6 | use Illuminate\Bus\Queueable; |
6 | -use Illuminate\Notifications\Notification; |
|
7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
9 | 9 | use Illuminate\Notifications\Messages\SlackMessage; |
10 | -use Audit\Models\Logs\Finger; |
|
10 | +use Illuminate\Notifications\Notification; |
|
11 | 11 | |
12 | 12 | class LogWritten extends Notification implements ShouldQueue |
13 | 13 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Notifications\Logs; |
4 | 4 | |
5 | +use Audit\Models\Logs\Finger; |
|
5 | 6 | use Illuminate\Bus\Queueable; |
6 | -use Illuminate\Notifications\Notification; |
|
7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
9 | 9 | use Illuminate\Notifications\Messages\SlackMessage; |
10 | -use Audit\Models\Logs\Finger; |
|
10 | +use Illuminate\Notifications\Notification; |
|
11 | 11 | |
12 | 12 | class ModelChanged extends Notification implements ShouldQueue |
13 | 13 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Notifications\Logs; |
4 | 4 | |
5 | +use Audit\Models\Logs\LaraLogsRequest; |
|
5 | 6 | use Illuminate\Bus\Queueable; |
6 | -use Illuminate\Notifications\Notification; |
|
7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
9 | 9 | use Illuminate\Notifications\Messages\SlackMessage; |
10 | -use Audit\Models\Logs\LaraLogsRequest; |
|
10 | +use Illuminate\Notifications\Notification; |
|
11 | 11 | |
12 | 12 | class RouteRequested extends Notification implements ShouldQueue |
13 | 13 | { |
@@ -5,8 +5,6 @@ |
||
5 | 5 | // Deps |
6 | 6 | |
7 | 7 | use Audit\Models\Change; |
8 | -use Event; |
|
9 | -use Route; |
|
10 | 8 | |
11 | 9 | /** |
12 | 10 | * Create a log of all model changing events |
@@ -2,9 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Services; |
4 | 4 | |
5 | -use Carbon\Carbon; |
|
6 | -use Illuminate\Support\Facades\Schema; |
|
7 | 5 | use Audit\Models\Audits; |
6 | +use Illuminate\Support\Facades\Schema; |
|
8 | 7 | |
9 | 8 | class AuditsService |
10 | 9 | { |
@@ -2,31 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Audit\Http\Controllers; |
4 | 4 | |
5 | -use App; |
|
6 | -use URL; |
|
7 | -use View; |
|
8 | -use Facilitador; |
|
9 | -use Event; |
|
10 | -use Former; |
|
11 | -use Request; |
|
12 | -use SupportURL; |
|
13 | -use Redirect; |
|
14 | -use Response; |
|
15 | -use stdClass; |
|
16 | -use Validator; |
|
17 | -use Illuminate\Support\Str; |
|
18 | -use Support\Template\Input\Search; |
|
19 | -use Bkwld\Library\Utils\File; |
|
20 | -use Facilitador\Input\Sidebar; |
|
21 | -use Support\Elements\Fields\Listing; |
|
22 | -use Translation\Template\Localize; |
|
23 | -use Facilitador\Input\Position; |
|
24 | -use Facilitador\Input\NestedModels; |
|
25 | -use Facilitador\Input\ModelValidator; |
|
26 | -use Facilitador\Models\Base as BaseModel; |
|
27 | 5 | use Facilitador\Http\Controllers\Admin\Base as Controller; |
28 | -use Support\Exceptions\ValidationFail; |
|
29 | -use Bkwld\Library\Laravel\Validator as BkwldLibraryValidator; |
|
30 | 6 | |
31 | 7 | /** |
32 | 8 | * The base controller is gives Decoy most of the magic/for-free mojo |