-
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/5.2.5: compiled assets updated the changelog added php7.4 Apply fixes from StyleCI (#636) additional checks for #635 Apply fixes from StyleCI (#632) refactored directory structure removed unnecessary font links and documented sass files compiled assets updated the readme changes canvas:setup to canvas:ui fixed the optional decimal compiled assets Apply fixes from StyleCI (#629) cleanup and refactor
- Loading branch information
Showing
59 changed files
with
387 additions
and
427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* @var \Illuminate\Database\Eloquent\Factory $factory */ | ||
$factory->define(\Canvas\Post::class, function (Faker\Generator $faker) { | ||
return [ | ||
'id' => $faker->uuid, | ||
'slug' => $faker->slug, | ||
'title' => $faker->word, | ||
'summary' => $faker->sentence, | ||
'body' => $faker->realText(), | ||
'published_at' => today()->toDateTimeString(), | ||
'featured_image' => $faker->imageUrl(), | ||
'featured_image_caption' => $faker->sentence, | ||
'user_id' => function () { | ||
return factory(\Illuminate\Foundation\Auth\User::class)->create()->id; | ||
}, | ||
'meta' => [ | ||
'title' => $faker->sentence, | ||
'description' => $faker->sentence, | ||
'canonical_link' => $faker->sentence, | ||
], | ||
]; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/* @var \Illuminate\Database\Eloquent\Factory $factory */ | ||
$factory->define(\Canvas\View::class, function (Faker\Generator $faker) { | ||
return [ | ||
'post_id' => function () { | ||
return factory(\Canvas\Post::class)->create()->id; | ||
}, | ||
'ip' => $faker->ipv4, | ||
'agent' => $faker->userAgent, | ||
'referer' => $faker->url, | ||
]; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/* @var \Illuminate\Database\Eloquent\Factory $factory */ | ||
$factory->define(\Canvas\Visit::class, function (Faker\Generator $faker) { | ||
return [ | ||
'post_id' => function () { | ||
return factory(\Canvas\Post::class)->create()->id; | ||
}, | ||
'ip' => $faker->ipv4, | ||
'agent' => $faker->userAgent, | ||
'referer' => $faker->url, | ||
]; | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.