mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
455d95f6c4
61 changed files with 1010 additions and 211 deletions
|
@ -41,10 +41,10 @@ class SeedFollows extends Command
|
||||||
{
|
{
|
||||||
$limit = 10000;
|
$limit = 10000;
|
||||||
|
|
||||||
for ($i=0; $i < $limit; $i++) {
|
for ($i=0; $i < $limit; $i++) {
|
||||||
try {
|
try {
|
||||||
$actor = Profile::orderByRaw('rand()')->firstOrFail();
|
$actor = Profile::inRandomOrder()->firstOrFail();
|
||||||
$target = Profile::orderByRaw('rand()')->firstOrFail();
|
$target = Profile::inRandomOrder()->firstOrFail();
|
||||||
|
|
||||||
$follow = new Follower;
|
$follow = new Follower;
|
||||||
$follow->profile_id = $actor->id;
|
$follow->profile_id = $actor->id;
|
||||||
|
|
|
@ -36,4 +36,24 @@ class LoginController extends Controller
|
||||||
{
|
{
|
||||||
$this->middleware('guest')->except('logout');
|
$this->middleware('guest')->except('logout');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Validate the user login request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function validateLogin($request)
|
||||||
|
{
|
||||||
|
$rules = [
|
||||||
|
$this->username() => 'required|string',
|
||||||
|
'password' => 'required|string',
|
||||||
|
];
|
||||||
|
|
||||||
|
if(config('pixelfed.recaptcha')) {
|
||||||
|
$rules['g-recaptcha-response'] = 'required|recaptcha';
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->validate($request, $rules);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,12 +52,19 @@ class RegisterController extends Controller
|
||||||
{
|
{
|
||||||
$this->validateUsername($data['username']);
|
$this->validateUsername($data['username']);
|
||||||
|
|
||||||
return Validator::make($data, [
|
|
||||||
|
$rules = [
|
||||||
'name' => 'required|string|max:255',
|
'name' => 'required|string|max:255',
|
||||||
'username' => 'required|alpha_dash|min:2|max:15|unique:users',
|
'username' => 'required|alpha_dash|min:2|max:15|unique:users',
|
||||||
'email' => 'required|string|email|max:255|unique:users',
|
'email' => 'required|string|email|max:255|unique:users',
|
||||||
'password' => 'required|string|min:6|confirmed',
|
'password' => 'required|string|min:6|confirmed',
|
||||||
]);
|
];
|
||||||
|
|
||||||
|
if(config('pixelfed.recaptcha')) {
|
||||||
|
$rules['g-recaptcha-response'] = 'required|recaptcha';
|
||||||
|
}
|
||||||
|
|
||||||
|
return Validator::make($data, $rules);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -26,7 +26,7 @@ class CommentController extends Controller
|
||||||
$reply = new Status();
|
$reply = new Status();
|
||||||
$reply->profile_id = $profile->id;
|
$reply->profile_id = $profile->id;
|
||||||
$reply->caption = $comment;
|
$reply->caption = $comment;
|
||||||
$reply->rendered = $comment;
|
$reply->rendered = e($comment);
|
||||||
$reply->in_reply_to_id = $status->id;
|
$reply->in_reply_to_id = $status->id;
|
||||||
$reply->in_reply_to_profile_id = $status->profile_id;
|
$reply->in_reply_to_profile_id = $status->profile_id;
|
||||||
$reply->save();
|
$reply->save();
|
||||||
|
|
|
@ -16,8 +16,8 @@ class DiscoverController extends Controller
|
||||||
public function home()
|
public function home()
|
||||||
{
|
{
|
||||||
$following = Follower::whereProfileId(Auth::user()->profile->id)->pluck('following_id');
|
$following = Follower::whereProfileId(Auth::user()->profile->id)->pluck('following_id');
|
||||||
$people = Profile::whereNotIn('id', $following)->orderByRaw('rand()')->take(3)->get();
|
$people = Profile::inRandomOrder()->where('id', '!=', Auth::user()->profile->id)->whereNotIn('id', $following)->take(3)->get();
|
||||||
$posts = Status::whereHas('media')->whereNotIn('profile_id', $following)->orderBy('created_at', 'desc')->take('21')->get();
|
$posts = Status::whereHas('media')->where('profile_id', '!=', Auth::user()->profile->id)->whereNotIn('profile_id', $following)->orderBy('created_at', 'desc')->take('21')->get();
|
||||||
return view('discover.home', compact('people', 'posts'));
|
return view('discover.home', compact('people', 'posts'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ class SettingsController extends Controller
|
||||||
{
|
{
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'name' => 'required|string|max:30',
|
'name' => 'required|string|max:30',
|
||||||
'bio' => 'string|max:125'
|
'bio' => 'nullable|string|max:125'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$changes = false;
|
$changes = false;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
use Auth, Cache;
|
use Auth, Cache;
|
||||||
use App\Jobs\StatusPipeline\NewStatusPipeline;
|
use App\Jobs\StatusPipeline\{NewStatusPipeline, StatusDelete};
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use App\{Media, Profile, Status, User};
|
use App\{Media, Profile, Status, User};
|
||||||
use Vinkla\Hashids\Facades\Hashids;
|
use Vinkla\Hashids\Facades\Hashids;
|
||||||
|
@ -60,4 +60,24 @@ class StatusController extends Controller
|
||||||
|
|
||||||
return redirect($status->url());
|
return redirect($status->url());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function delete(Request $request)
|
||||||
|
{
|
||||||
|
if(!Auth::check()) {
|
||||||
|
abort(403);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->validate($request, [
|
||||||
|
'type' => 'required|string',
|
||||||
|
'item' => 'required|integer|min:1'
|
||||||
|
]);
|
||||||
|
|
||||||
|
$status = Status::findOrFail($request->input('item'));
|
||||||
|
|
||||||
|
if($status->profile_id === Auth::user()->profile->id || Auth::user()->is_admin == true) {
|
||||||
|
StatusDelete::dispatch($status);
|
||||||
|
}
|
||||||
|
|
||||||
|
return redirect(Auth::user()->url());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
68
app/Jobs/StatusPipeline/StatusDelete.php
Normal file
68
app/Jobs/StatusPipeline/StatusDelete.php
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Jobs\StatusPipeline;
|
||||||
|
|
||||||
|
use App\{Media, StatusHashtag, Status};
|
||||||
|
use Illuminate\Bus\Queueable;
|
||||||
|
use Illuminate\Queue\SerializesModels;
|
||||||
|
use Illuminate\Queue\InteractsWithQueue;
|
||||||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|
||||||
|
class StatusDelete implements ShouldQueue
|
||||||
|
{
|
||||||
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
protected $status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new job instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct(Status $status)
|
||||||
|
{
|
||||||
|
$this->status = $status;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Execute the job.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function handle()
|
||||||
|
{
|
||||||
|
$status = $this->status;
|
||||||
|
$this->unlinkRemoveMedia($status);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function unlinkRemoveMedia($status)
|
||||||
|
{
|
||||||
|
if($status->media()->count() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach($status->media as $media) {
|
||||||
|
$thumbnail = storage_path("app/{$media->thumbnail_path}");
|
||||||
|
$photo = storage_path("app/{$media->media_path}");
|
||||||
|
|
||||||
|
try {
|
||||||
|
if(is_file($thumbnail)) {
|
||||||
|
unlink($thumbnail);
|
||||||
|
}
|
||||||
|
if(is_file($photo)) {
|
||||||
|
unlink($photo);
|
||||||
|
}
|
||||||
|
$media->delete();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$status->likes()->delete();
|
||||||
|
StatusHashtag::whereStatusId($status->id)->delete();
|
||||||
|
$status->delete();
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
|
@ -45,7 +45,7 @@ class StatusEntityLexer implements ShouldQueue
|
||||||
public function parseHashtags()
|
public function parseHashtags()
|
||||||
{
|
{
|
||||||
$status = $this->status;
|
$status = $this->status;
|
||||||
$text = $status->caption;
|
$text = e($status->caption);
|
||||||
$tags = HashtagLexer::getHashtags($text);
|
$tags = HashtagLexer::getHashtags($text);
|
||||||
$rendered = $text;
|
$rendered = $text;
|
||||||
if(count($tags) > 0) {
|
if(count($tags) > 0) {
|
||||||
|
|
|
@ -6,6 +6,7 @@ use App\User;
|
||||||
use Auth, Horizon;
|
use Auth, Horizon;
|
||||||
use App\Observers\UserObserver;
|
use App\Observers\UserObserver;
|
||||||
use Illuminate\Support\Facades\Blade;
|
use Illuminate\Support\Facades\Blade;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class AppServiceProvider extends ServiceProvider
|
||||||
|
@ -17,6 +18,8 @@ class AppServiceProvider extends ServiceProvider
|
||||||
*/
|
*/
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
|
Schema::defaultStringLength(191);
|
||||||
|
|
||||||
User::observe(UserObserver::class);
|
User::observe(UserObserver::class);
|
||||||
|
|
||||||
Horizon::auth(function ($request) {
|
Horizon::auth(function ($request) {
|
||||||
|
|
|
@ -55,8 +55,6 @@ class RestrictedNames {
|
||||||
"js",
|
"js",
|
||||||
"localdomain",
|
"localdomain",
|
||||||
"localhost",
|
"localhost",
|
||||||
"login",
|
|
||||||
"logout",
|
|
||||||
"mail",
|
"mail",
|
||||||
"mailer-daemon",
|
"mailer-daemon",
|
||||||
"mailerdaemon",
|
"mailerdaemon",
|
||||||
|
@ -108,8 +106,6 @@ class RestrictedNames {
|
||||||
"tutorial",
|
"tutorial",
|
||||||
"tutorials",
|
"tutorials",
|
||||||
"usenet",
|
"usenet",
|
||||||
"user",
|
|
||||||
"users",
|
|
||||||
"uucp",
|
"uucp",
|
||||||
"webmaster",
|
"webmaster",
|
||||||
"wpad",
|
"wpad",
|
||||||
|
@ -126,8 +122,23 @@ class RestrictedNames {
|
||||||
// Laravel Horizon
|
// Laravel Horizon
|
||||||
"horizon",
|
"horizon",
|
||||||
|
|
||||||
// Reserved route
|
// Reserved routes
|
||||||
|
"account",
|
||||||
|
"api",
|
||||||
|
"auth",
|
||||||
"i",
|
"i",
|
||||||
|
"discover",
|
||||||
|
"home",
|
||||||
|
"login",
|
||||||
|
"logout",
|
||||||
|
"p",
|
||||||
|
"password",
|
||||||
|
"search",
|
||||||
|
"settings",
|
||||||
|
"site",
|
||||||
|
"timeline",
|
||||||
|
"user",
|
||||||
|
"users",
|
||||||
];
|
];
|
||||||
|
|
||||||
public static function get()
|
public static function get()
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"99designs/http-signatures-guzzlehttp": "^2.0",
|
"99designs/http-signatures-guzzlehttp": "^2.0",
|
||||||
"bitverse/identicon": "^1.1",
|
"bitverse/identicon": "^1.1",
|
||||||
"fideloper/proxy": "^4.0",
|
"fideloper/proxy": "^4.0",
|
||||||
|
"greggilbert/recaptcha": "dev-master",
|
||||||
"intervention/image": "^2.4",
|
"intervention/image": "^2.4",
|
||||||
"kitetail/zttp": "^0.3.0",
|
"kitetail/zttp": "^0.3.0",
|
||||||
"laravel/framework": "5.6.*",
|
"laravel/framework": "5.6.*",
|
||||||
|
|
351
composer.lock
generated
351
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "97f3eec3dc712904b69a71f92d0e3a3f",
|
"content-hash": "7be7e27683f56b7ec28eeef962cf2437",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "99designs/http-signatures",
|
"name": "99designs/http-signatures",
|
||||||
|
@ -571,6 +571,58 @@
|
||||||
],
|
],
|
||||||
"time": "2018-02-07T20:20:57+00:00"
|
"time": "2018-02-07T20:20:57+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "greggilbert/recaptcha",
|
||||||
|
"version": "dev-master",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/greggilbert/recaptcha.git",
|
||||||
|
"reference": "c2ed383785a4fe20467ce470c97c303e5c5b85de"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/greggilbert/recaptcha/zipball/c2ed383785a4fe20467ce470c97c303e5c5b85de",
|
||||||
|
"reference": "c2ed383785a4fe20467ce470c97c303e5c5b85de",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/support": "~5.1",
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.2-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/migrations"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"Greggilbert\\Recaptcha\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Greg Gilbert",
|
||||||
|
"email": "greg@greg-gilbert.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "reCAPTCHA Validator for Laravel 5",
|
||||||
|
"homepage": "http://github.com/greggilbert/recaptcha",
|
||||||
|
"keywords": [
|
||||||
|
"captcha",
|
||||||
|
"laravel",
|
||||||
|
"laravel5",
|
||||||
|
"recaptcha"
|
||||||
|
],
|
||||||
|
"time": "2017-08-31T03:39:47+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/guzzle",
|
"name": "guzzlehttp/guzzle",
|
||||||
"version": "6.3.3",
|
"version": "6.3.3",
|
||||||
|
@ -754,16 +806,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "intervention/image",
|
"name": "intervention/image",
|
||||||
"version": "2.4.1",
|
"version": "2.4.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Intervention/image.git",
|
"url": "https://github.com/Intervention/image.git",
|
||||||
"reference": "3603dbcc9a17d307533473246a6c58c31cf17919"
|
"reference": "e82d274f786e3d4b866a59b173f42e716f0783eb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Intervention/image/zipball/3603dbcc9a17d307533473246a6c58c31cf17919",
|
"url": "https://api.github.com/repos/Intervention/image/zipball/e82d274f786e3d4b866a59b173f42e716f0783eb",
|
||||||
"reference": "3603dbcc9a17d307533473246a6c58c31cf17919",
|
"reference": "e82d274f786e3d4b866a59b173f42e716f0783eb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -783,7 +835,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.3-dev"
|
"dev-master": "2.4-dev"
|
||||||
},
|
},
|
||||||
"laravel": {
|
"laravel": {
|
||||||
"providers": [
|
"providers": [
|
||||||
|
@ -820,7 +872,7 @@
|
||||||
"thumbnail",
|
"thumbnail",
|
||||||
"watermark"
|
"watermark"
|
||||||
],
|
],
|
||||||
"time": "2017-09-21T16:29:17+00:00"
|
"time": "2018-05-29T14:19:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "jakub-onderka/php-console-color",
|
"name": "jakub-onderka/php-console-color",
|
||||||
|
@ -2315,16 +2367,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/console.git",
|
"url": "https://github.com/symfony/console.git",
|
||||||
"reference": "058f120b8e06ebcd7b211de5ffae07b2db00fbdd"
|
"reference": "2d5d973bf9933d46802b01010bd25c800c87c242"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/console/zipball/058f120b8e06ebcd7b211de5ffae07b2db00fbdd",
|
"url": "https://api.github.com/repos/symfony/console/zipball/2d5d973bf9933d46802b01010bd25c800c87c242",
|
||||||
"reference": "058f120b8e06ebcd7b211de5ffae07b2db00fbdd",
|
"reference": "2d5d973bf9933d46802b01010bd25c800c87c242",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2352,7 +2404,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2379,20 +2431,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Console Component",
|
"description": "Symfony Console Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-16T09:05:32+00:00"
|
"time": "2018-05-30T07:26:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/css-selector",
|
"name": "symfony/css-selector",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/css-selector.git",
|
"url": "https://github.com/symfony/css-selector.git",
|
||||||
"reference": "0383a1a4eb1ffcac28719975d3e01bfa14be8ab3"
|
"reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/css-selector/zipball/0383a1a4eb1ffcac28719975d3e01bfa14be8ab3",
|
"url": "https://api.github.com/repos/symfony/css-selector/zipball/03ac71606ecb0b0ce792faa17d74cc32c2949ef4",
|
||||||
"reference": "0383a1a4eb1ffcac28719975d3e01bfa14be8ab3",
|
"reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2401,7 +2453,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2432,20 +2484,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony CssSelector Component",
|
"description": "Symfony CssSelector Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-11T15:58:37+00:00"
|
"time": "2018-05-30T07:26:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/debug",
|
"name": "symfony/debug",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/debug.git",
|
"url": "https://github.com/symfony/debug.git",
|
||||||
"reference": "4e7c98de67cc4171d4c986554e09a511da40f3d8"
|
"reference": "449f8b00b28ab6e6912c3e6b920406143b27193b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/debug/zipball/4e7c98de67cc4171d4c986554e09a511da40f3d8",
|
"url": "https://api.github.com/repos/symfony/debug/zipball/449f8b00b28ab6e6912c3e6b920406143b27193b",
|
||||||
"reference": "4e7c98de67cc4171d4c986554e09a511da40f3d8",
|
"reference": "449f8b00b28ab6e6912c3e6b920406143b27193b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2461,7 +2513,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2488,20 +2540,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Debug Component",
|
"description": "Symfony Debug Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-16T09:05:32+00:00"
|
"time": "2018-05-16T14:33:22+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher",
|
"name": "symfony/event-dispatcher",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/event-dispatcher.git",
|
"url": "https://github.com/symfony/event-dispatcher.git",
|
||||||
"reference": "63353a71073faf08f62caab4e6889b06a787f07b"
|
"reference": "2391ed210a239868e7256eb6921b1bd83f3087b5"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/63353a71073faf08f62caab4e6889b06a787f07b",
|
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2391ed210a239868e7256eb6921b1bd83f3087b5",
|
||||||
"reference": "63353a71073faf08f62caab4e6889b06a787f07b",
|
"reference": "2391ed210a239868e7256eb6921b1bd83f3087b5",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2524,7 +2576,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2551,20 +2603,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony EventDispatcher Component",
|
"description": "Symfony EventDispatcher Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-04-06T07:35:43+00:00"
|
"time": "2018-04-06T07:35:57+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/finder",
|
"name": "symfony/finder",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/finder.git",
|
"url": "https://github.com/symfony/finder.git",
|
||||||
"reference": "8c633f5a815903a1fe6e3fc135f207267a8a79af"
|
"reference": "087e2ee0d74464a4c6baac4e90417db7477dc238"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/finder/zipball/8c633f5a815903a1fe6e3fc135f207267a8a79af",
|
"url": "https://api.github.com/repos/symfony/finder/zipball/087e2ee0d74464a4c6baac4e90417db7477dc238",
|
||||||
"reference": "8c633f5a815903a1fe6e3fc135f207267a8a79af",
|
"reference": "087e2ee0d74464a4c6baac4e90417db7477dc238",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2573,7 +2625,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2600,20 +2652,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Finder Component",
|
"description": "Symfony Finder Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-16T09:05:32+00:00"
|
"time": "2018-05-16T14:33:22+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-foundation",
|
"name": "symfony/http-foundation",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/http-foundation.git",
|
"url": "https://github.com/symfony/http-foundation.git",
|
||||||
"reference": "277b757a2d3960170d99d372e171a8a18916467a"
|
"reference": "a916c88390fb861ee21f12a92b107d51bb68af99"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/277b757a2d3960170d99d372e171a8a18916467a",
|
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/a916c88390fb861ee21f12a92b107d51bb68af99",
|
||||||
"reference": "277b757a2d3960170d99d372e171a8a18916467a",
|
"reference": "a916c88390fb861ee21f12a92b107d51bb68af99",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2621,12 +2673,13 @@
|
||||||
"symfony/polyfill-mbstring": "~1.1"
|
"symfony/polyfill-mbstring": "~1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"predis/predis": "~1.0",
|
||||||
"symfony/expression-language": "~3.4|~4.0"
|
"symfony/expression-language": "~3.4|~4.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2653,34 +2706,34 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony HttpFoundation Component",
|
"description": "Symfony HttpFoundation Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-25T11:08:56+00:00"
|
"time": "2018-05-25T14:55:38+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-kernel",
|
"name": "symfony/http-kernel",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/http-kernel.git",
|
"url": "https://github.com/symfony/http-kernel.git",
|
||||||
"reference": "450a1bda817f2dce25a9e13f0f011336743f2a48"
|
"reference": "b5ab9d4cdbfd369083744b6b5dfbf454e31e5f90"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/450a1bda817f2dce25a9e13f0f011336743f2a48",
|
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/b5ab9d4cdbfd369083744b6b5dfbf454e31e5f90",
|
||||||
"reference": "450a1bda817f2dce25a9e13f0f011336743f2a48",
|
"reference": "b5ab9d4cdbfd369083744b6b5dfbf454e31e5f90",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
"symfony/debug": "~3.4|~4.0",
|
"symfony/debug": "~3.4|~4.0",
|
||||||
"symfony/event-dispatcher": "~3.4|~4.0",
|
"symfony/event-dispatcher": "~4.1",
|
||||||
"symfony/http-foundation": "~3.4.4|~4.0.4",
|
"symfony/http-foundation": "~4.1",
|
||||||
"symfony/polyfill-ctype": "~1.8"
|
"symfony/polyfill-ctype": "~1.8"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/config": "<3.4",
|
"symfony/config": "<3.4",
|
||||||
"symfony/dependency-injection": "<3.4.5|<4.0.5,>=4",
|
"symfony/dependency-injection": "<4.1",
|
||||||
"symfony/var-dumper": "<3.4",
|
"symfony/var-dumper": "<4.1",
|
||||||
"twig/twig": "<1.34|<2.4,>=2"
|
"twig/twig": "<1.34|<2.4,>=2"
|
||||||
},
|
},
|
||||||
"provide": {
|
"provide": {
|
||||||
|
@ -2692,7 +2745,7 @@
|
||||||
"symfony/config": "~3.4|~4.0",
|
"symfony/config": "~3.4|~4.0",
|
||||||
"symfony/console": "~3.4|~4.0",
|
"symfony/console": "~3.4|~4.0",
|
||||||
"symfony/css-selector": "~3.4|~4.0",
|
"symfony/css-selector": "~3.4|~4.0",
|
||||||
"symfony/dependency-injection": "^3.4.5|^4.0.5",
|
"symfony/dependency-injection": "^4.1",
|
||||||
"symfony/dom-crawler": "~3.4|~4.0",
|
"symfony/dom-crawler": "~3.4|~4.0",
|
||||||
"symfony/expression-language": "~3.4|~4.0",
|
"symfony/expression-language": "~3.4|~4.0",
|
||||||
"symfony/finder": "~3.4|~4.0",
|
"symfony/finder": "~3.4|~4.0",
|
||||||
|
@ -2701,7 +2754,7 @@
|
||||||
"symfony/stopwatch": "~3.4|~4.0",
|
"symfony/stopwatch": "~3.4|~4.0",
|
||||||
"symfony/templating": "~3.4|~4.0",
|
"symfony/templating": "~3.4|~4.0",
|
||||||
"symfony/translation": "~3.4|~4.0",
|
"symfony/translation": "~3.4|~4.0",
|
||||||
"symfony/var-dumper": "~3.4|~4.0"
|
"symfony/var-dumper": "~4.1"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"symfony/browser-kit": "",
|
"symfony/browser-kit": "",
|
||||||
|
@ -2713,7 +2766,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2740,7 +2793,7 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony HttpKernel Component",
|
"description": "Symfony HttpKernel Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-25T13:32:52+00:00"
|
"time": "2018-05-30T12:52:34+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-ctype",
|
"name": "symfony/polyfill-ctype",
|
||||||
|
@ -2913,16 +2966,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/process",
|
"name": "symfony/process",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/process.git",
|
"url": "https://github.com/symfony/process.git",
|
||||||
"reference": "3621fa74d0576a6f89d63bc44fabd376711bd0b0"
|
"reference": "73445bd33b0d337c060eef9652b94df72b6b3434"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/process/zipball/3621fa74d0576a6f89d63bc44fabd376711bd0b0",
|
"url": "https://api.github.com/repos/symfony/process/zipball/73445bd33b0d337c060eef9652b94df72b6b3434",
|
||||||
"reference": "3621fa74d0576a6f89d63bc44fabd376711bd0b0",
|
"reference": "73445bd33b0d337c060eef9652b94df72b6b3434",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2931,7 +2984,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -2958,20 +3011,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Process Component",
|
"description": "Symfony Process Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-16T09:05:32+00:00"
|
"time": "2018-05-30T07:26:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/routing",
|
"name": "symfony/routing",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/routing.git",
|
"url": "https://github.com/symfony/routing.git",
|
||||||
"reference": "e8833b64b139926cbe1610d53722185e55c18e44"
|
"reference": "180b51c66d10f09e562c9ebc395b39aacb2cf8a2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/routing/zipball/e8833b64b139926cbe1610d53722185e55c18e44",
|
"url": "https://api.github.com/repos/symfony/routing/zipball/180b51c66d10f09e562c9ebc395b39aacb2cf8a2",
|
||||||
"reference": "e8833b64b139926cbe1610d53722185e55c18e44",
|
"reference": "180b51c66d10f09e562c9ebc395b39aacb2cf8a2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3003,7 +3056,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3036,20 +3089,20 @@
|
||||||
"uri",
|
"uri",
|
||||||
"url"
|
"url"
|
||||||
],
|
],
|
||||||
"time": "2018-05-16T14:21:07+00:00"
|
"time": "2018-05-30T07:26:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/translation",
|
"name": "symfony/translation",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/translation.git",
|
"url": "https://github.com/symfony/translation.git",
|
||||||
"reference": "e1f5863d0a9e79cfec7f031421ced3fe1d403e66"
|
"reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/translation/zipball/e1f5863d0a9e79cfec7f031421ced3fe1d403e66",
|
"url": "https://api.github.com/repos/symfony/translation/zipball/16328f5b217cebc8dd4adfe4aeeaa8c377581f5a",
|
||||||
"reference": "e1f5863d0a9e79cfec7f031421ced3fe1d403e66",
|
"reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3064,6 +3117,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
"symfony/config": "~3.4|~4.0",
|
"symfony/config": "~3.4|~4.0",
|
||||||
|
"symfony/console": "~3.4|~4.0",
|
||||||
"symfony/dependency-injection": "~3.4|~4.0",
|
"symfony/dependency-injection": "~3.4|~4.0",
|
||||||
"symfony/finder": "~2.8|~3.0|~4.0",
|
"symfony/finder": "~2.8|~3.0|~4.0",
|
||||||
"symfony/intl": "~3.4|~4.0",
|
"symfony/intl": "~3.4|~4.0",
|
||||||
|
@ -3077,7 +3131,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3104,20 +3158,20 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Translation Component",
|
"description": "Symfony Translation Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2018-05-21T10:09:47+00:00"
|
"time": "2018-05-30T07:26:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/var-dumper",
|
"name": "symfony/var-dumper",
|
||||||
"version": "v4.0.11",
|
"version": "v4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/var-dumper.git",
|
"url": "https://github.com/symfony/var-dumper.git",
|
||||||
"reference": "3c34cf3f4bbac9e003d9325225e9ef1a49180a18"
|
"reference": "bc88ad53e825ebacc7b190bbd360781fce381c64"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/3c34cf3f4bbac9e003d9325225e9ef1a49180a18",
|
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/bc88ad53e825ebacc7b190bbd360781fce381c64",
|
||||||
"reference": "3c34cf3f4bbac9e003d9325225e9ef1a49180a18",
|
"reference": "bc88ad53e825ebacc7b190bbd360781fce381c64",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3126,20 +3180,26 @@
|
||||||
"symfony/polyfill-php72": "~1.5"
|
"symfony/polyfill-php72": "~1.5"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0"
|
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
|
||||||
|
"symfony/console": "<3.4"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
|
"symfony/process": "~3.4|~4.0",
|
||||||
"twig/twig": "~1.34|~2.4"
|
"twig/twig": "~1.34|~2.4"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
|
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
|
||||||
"ext-intl": "To show region name in time zone dump"
|
"ext-intl": "To show region name in time zone dump",
|
||||||
|
"symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
|
||||||
},
|
},
|
||||||
|
"bin": [
|
||||||
|
"Resources/bin/var-dump-server"
|
||||||
|
],
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.0-dev"
|
"dev-master": "4.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3173,7 +3233,7 @@
|
||||||
"debug",
|
"debug",
|
||||||
"dump"
|
"dump"
|
||||||
],
|
],
|
||||||
"time": "2018-04-26T16:12:06+00:00"
|
"time": "2018-04-29T07:56:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tightenco/collect",
|
"name": "tightenco/collect",
|
||||||
|
@ -3734,25 +3794,28 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "myclabs/deep-copy",
|
"name": "myclabs/deep-copy",
|
||||||
"version": "1.7.0",
|
"version": "1.8.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/myclabs/DeepCopy.git",
|
"url": "https://github.com/myclabs/DeepCopy.git",
|
||||||
"reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
|
"reference": "478465659fd987669df0bd8a9bf22a8710e5f1b6"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
|
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/478465659fd987669df0bd8a9bf22a8710e5f1b6",
|
||||||
"reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
|
"reference": "478465659fd987669df0bd8a9bf22a8710e5f1b6",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^5.6 || ^7.0"
|
"php": "^7.1"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"myclabs/deep-copy": "self.version"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/collections": "^1.0",
|
"doctrine/collections": "^1.0",
|
||||||
"doctrine/common": "^2.6",
|
"doctrine/common": "^2.6",
|
||||||
"phpunit/phpunit": "^4.1"
|
"phpunit/phpunit": "^7.1"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3775,7 +3838,7 @@
|
||||||
"object",
|
"object",
|
||||||
"object graph"
|
"object graph"
|
||||||
],
|
],
|
||||||
"time": "2017-10-19T19:58:43+00:00"
|
"time": "2018-05-29T17:25:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nunomaduro/collision",
|
"name": "nunomaduro/collision",
|
||||||
|
@ -4158,23 +4221,23 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
"version": "6.0.4",
|
"version": "6.0.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||||
"reference": "52187754b0eed0b8159f62a6fa30073327e8c2ca"
|
"reference": "865662550c384bc1db7e51d29aeda1c2c161d69a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/52187754b0eed0b8159f62a6fa30073327e8c2ca",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/865662550c384bc1db7e51d29aeda1c2c161d69a",
|
||||||
"reference": "52187754b0eed0b8159f62a6fa30073327e8c2ca",
|
"reference": "865662550c384bc1db7e51d29aeda1c2c161d69a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-xmlwriter": "*",
|
"ext-xmlwriter": "*",
|
||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
"phpunit/php-file-iterator": "^1.4.2",
|
"phpunit/php-file-iterator": "^2.0",
|
||||||
"phpunit/php-text-template": "^1.2.1",
|
"phpunit/php-text-template": "^1.2.1",
|
||||||
"phpunit/php-token-stream": "^3.0",
|
"phpunit/php-token-stream": "^3.0",
|
||||||
"sebastian/code-unit-reverse-lookup": "^1.0.1",
|
"sebastian/code-unit-reverse-lookup": "^1.0.1",
|
||||||
|
@ -4217,29 +4280,29 @@
|
||||||
"testing",
|
"testing",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2018-04-29T14:59:09+00:00"
|
"time": "2018-06-01T07:51:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-file-iterator",
|
"name": "phpunit/php-file-iterator",
|
||||||
"version": "1.4.5",
|
"version": "2.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
||||||
"reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
|
"reference": "e20525b0c2945c7c317fff95660698cb3d2a53bc"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/e20525b0c2945c7c317fff95660698cb3d2a53bc",
|
||||||
"reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
|
"reference": "e20525b0c2945c7c317fff95660698cb3d2a53bc",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": "^7.1"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.4.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4254,7 +4317,7 @@
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Sebastian Bergmann",
|
"name": "Sebastian Bergmann",
|
||||||
"email": "sb@sebastian-bergmann.de",
|
"email": "sebastian@phpunit.de",
|
||||||
"role": "lead"
|
"role": "lead"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -4264,7 +4327,7 @@
|
||||||
"filesystem",
|
"filesystem",
|
||||||
"iterator"
|
"iterator"
|
||||||
],
|
],
|
||||||
"time": "2017-11-27T13:52:08+00:00"
|
"time": "2018-05-28T12:13:49+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-text-template",
|
"name": "phpunit/php-text-template",
|
||||||
|
@ -4407,34 +4470,34 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "7.1.5",
|
"version": "7.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "ca64dba53b88aba6af32aebc6b388068db95c435"
|
"reference": "3cf0836680bf5c365c627e8566d46c9e1f544db9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ca64dba53b88aba6af32aebc6b388068db95c435",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3cf0836680bf5c365c627e8566d46c9e1f544db9",
|
||||||
"reference": "ca64dba53b88aba6af32aebc6b388068db95c435",
|
"reference": "3cf0836680bf5c365c627e8566d46c9e1f544db9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
"doctrine/instantiator": "^1.1",
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-libxml": "*",
|
"ext-libxml": "*",
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
"ext-xml": "*",
|
"ext-xml": "*",
|
||||||
"myclabs/deep-copy": "^1.6.1",
|
"myclabs/deep-copy": "^1.7",
|
||||||
"phar-io/manifest": "^1.0.1",
|
"phar-io/manifest": "^1.0.1",
|
||||||
"phar-io/version": "^1.0",
|
"phar-io/version": "^1.0",
|
||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
"phpspec/prophecy": "^1.7",
|
"phpspec/prophecy": "^1.7",
|
||||||
"phpunit/php-code-coverage": "^6.0.1",
|
"phpunit/php-code-coverage": "^6.0.7",
|
||||||
"phpunit/php-file-iterator": "^1.4.3",
|
"phpunit/php-file-iterator": "^2.0",
|
||||||
"phpunit/php-text-template": "^1.2.1",
|
"phpunit/php-text-template": "^1.2.1",
|
||||||
"phpunit/php-timer": "^2.0",
|
"phpunit/php-timer": "^2.0",
|
||||||
"phpunit/phpunit-mock-objects": "^6.1.1",
|
|
||||||
"sebastian/comparator": "^3.0",
|
"sebastian/comparator": "^3.0",
|
||||||
"sebastian/diff": "^3.0",
|
"sebastian/diff": "^3.0",
|
||||||
"sebastian/environment": "^3.1",
|
"sebastian/environment": "^3.1",
|
||||||
|
@ -4444,10 +4507,14 @@
|
||||||
"sebastian/resource-operations": "^1.0",
|
"sebastian/resource-operations": "^1.0",
|
||||||
"sebastian/version": "^2.0.1"
|
"sebastian/version": "^2.0.1"
|
||||||
},
|
},
|
||||||
|
"conflict": {
|
||||||
|
"phpunit/phpunit-mock-objects": "*"
|
||||||
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"ext-pdo": "*"
|
"ext-pdo": "*"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
"ext-soap": "*",
|
||||||
"ext-xdebug": "*",
|
"ext-xdebug": "*",
|
||||||
"phpunit/php-invoker": "^2.0"
|
"phpunit/php-invoker": "^2.0"
|
||||||
},
|
},
|
||||||
|
@ -4457,7 +4524,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "7.1-dev"
|
"dev-master": "7.2-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4483,63 +4550,7 @@
|
||||||
"testing",
|
"testing",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2018-04-29T15:09:19+00:00"
|
"time": "2018-06-01T07:54:27+00:00"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "phpunit/phpunit-mock-objects",
|
|
||||||
"version": "6.1.1",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
|
|
||||||
"reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/70c740bde8fd9ea9ea295be1cd875dd7b267e157",
|
|
||||||
"reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"doctrine/instantiator": "^1.0.5",
|
|
||||||
"php": "^7.1",
|
|
||||||
"phpunit/php-text-template": "^1.2.1",
|
|
||||||
"sebastian/exporter": "^3.1"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^7.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"ext-soap": "*"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "6.1-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"classmap": [
|
|
||||||
"src/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"BSD-3-Clause"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Sebastian Bergmann",
|
|
||||||
"email": "sebastian@phpunit.de",
|
|
||||||
"role": "lead"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Mock Object library for PHPUnit",
|
|
||||||
"homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
|
|
||||||
"keywords": [
|
|
||||||
"mock",
|
|
||||||
"xunit"
|
|
||||||
],
|
|
||||||
"time": "2018-04-11T04:50:36+00:00"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/code-unit-reverse-lookup",
|
"name": "sebastian/code-unit-reverse-lookup",
|
||||||
|
@ -5197,7 +5208,9 @@
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"stability-flags": [],
|
"stability-flags": {
|
||||||
|
"greggilbert/recaptcha": 20
|
||||||
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|
|
@ -150,6 +150,7 @@ return [
|
||||||
/*
|
/*
|
||||||
* Package Service Providers...
|
* Package Service Providers...
|
||||||
*/
|
*/
|
||||||
|
Greggilbert\Recaptcha\RecaptchaServiceProvider::class,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Application Service Providers...
|
* Application Service Providers...
|
||||||
|
@ -209,6 +210,7 @@ return [
|
||||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||||
'View' => Illuminate\Support\Facades\View::class,
|
'View' => Illuminate\Support\Facades\View::class,
|
||||||
|
|
||||||
|
'Recaptcha' => Greggilbert\Recaptcha\Facades\Recaptcha::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -71,6 +71,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'open_registration' => env('OPEN_REGISTRATION', true),
|
'open_registration' => env('OPEN_REGISTRATION', true),
|
||||||
|
'recaptcha' => env('RECAPTCHA_ENABLED', false),
|
||||||
|
|
||||||
'remote_follow_enabled' => env('REMOTE_FOLLOW', false),
|
'remote_follow_enabled' => env('REMOTE_FOLLOW', false),
|
||||||
|
|
||||||
|
|
66
config/recaptcha.php
Normal file
66
config/recaptcha.php
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| API Keys
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Set the public and private API keys as provided by reCAPTCHA.
|
||||||
|
|
|
||||||
|
| In version 2 of reCAPTCHA, public_key is the Site key,
|
||||||
|
| and private_key is the Secret key.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'public_key' => env('RECAPTCHA_PUBLIC_KEY', ''),
|
||||||
|
'private_key' => env('RECAPTCHA_PRIVATE_KEY', ''),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Template
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Set a template to use if you don't want to use the standard one.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'template' => '',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Determine how to call out to get response; values are 'curl' or 'native'.
|
||||||
|
| Only applies to v2.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'driver' => 'curl',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Various options for the driver
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'options' => [
|
||||||
|
|
||||||
|
'curl_timeout' => 1,
|
||||||
|
'curl_verify' => true,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Version
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Set which version of ReCaptcha to use.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'version' => 2,
|
||||||
|
|
||||||
|
];
|
BIN
public/css/app.css
vendored
BIN
public/css/app.css
vendored
Binary file not shown.
Binary file not shown.
6
resources/assets/sass/custom.scss
vendored
6
resources/assets/sass/custom.scss
vendored
|
@ -59,11 +59,7 @@ body, button, input, textarea {
|
||||||
display: -webkit-box !important;
|
display: -webkit-box !important;
|
||||||
display: -ms-flexbox !important;
|
display: -ms-flexbox !important;
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
-webkit-box-align: center !important;
|
margin: auto !important;
|
||||||
-ms-flex-align: center !important;
|
|
||||||
align-items: center !important;
|
|
||||||
padding: 0;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card.status-container .status-comments {
|
.card.status-container .status-comments {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
'likedPhoto' => 'le gustó tu foto.',
|
'likedPhoto' => 'le gustó tu foto.',
|
||||||
|
'startedFollowingYou' => 'empezó a seguirte.',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -14,9 +14,9 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'password' => 'La contraseña debe tener al menos seis caracteres y coincidir con la de confirmación.',
|
'password' => 'La contraseña debe tener al menos seis caracteres y coincidir con la de confirmación.',
|
||||||
'reset' => '¡Tu password se ha cambiado!',
|
'reset' => '¡Tu contraseña se ha cambiado!',
|
||||||
'sent' => 'Te hemos enviado a tu correo un enlace para cambiar tu contraseña.',
|
'sent' => 'Te hemos enviado a tu correo un enlace para cambiar tu contraseña.',
|
||||||
'token' => 'El token para canbiar la contraseña no es válido.',
|
'token' => 'El "token" para canbiar la contraseña no es válido.',
|
||||||
'user' => "No hemos podido encontrar a ningún usuario con esa contraseña.",
|
'user' => "No hemos podido encontrar a ningún usuario con esa contraseña.",
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'emptyTimeline' => 'Este usuario todavía no ha publicado nada.',
|
'emptyTimeline' => '¡Este usuario todavía no ha publicado nada!',
|
||||||
|
'emptyFollowers' => '¡Este usuario todavía no tiene seguidores!',
|
||||||
|
'emptyFollowing' => '¡Este usuario todavía no está siguiendo a nadie!',
|
||||||
|
'savedWarning' => 'Solamente tú puedes ver lo que has guardado',
|
||||||
];
|
];
|
||||||
|
|
7
resources/lang/es/timeline.php
Normal file
7
resources/lang/es/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
+<?php
|
||||||
|
+
|
||||||
|
+return [
|
||||||
|
+
|
||||||
|
+ 'emptyPersonalTimeline' => 'Tu línea temporal está vacía.'
|
||||||
|
+
|
||||||
|
+];
|
14
resources/lang/gl/README.md
Normal file
14
resources/lang/gl/README.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Tradución ao galego (gl) PIXELFED
|
||||||
|
|
||||||
|
## Notas
|
||||||
|
|
||||||
|
_v 1_
|
||||||
|
|
||||||
|
traducindo a versión beta
|
||||||
|
_usuaria_ = persoa usuaria
|
||||||
|
e así todo
|
||||||
|
|
||||||
|
|
||||||
|
en _validator.php_ o uso do artigo _The_ é confuso no medio de tanta variable sin coñecer
|
||||||
|
o contexto, así que unha vez se inclúa a tradución haberá que melloralo.
|
||||||
|
En moitos casos quiteino cando o contido da variable (semella) actuar como nome.
|
19
resources/lang/gl/auth.php
Normal file
19
resources/lang/gl/auth.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used during authentication for various
|
||||||
|
| messages that we need to display to the user. You are free to modify
|
||||||
|
| these language lines according to your application's requirements.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => 'As credenciais non constan nos nosos rexistros.',
|
||||||
|
'throttle' => 'Demasiados intentos de conexión. Por favor, inténteo de novo en :seconds seconds.',
|
||||||
|
|
||||||
|
];
|
8
resources/lang/gl/notification.php
Normal file
8
resources/lang/gl/notification.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'likedPhoto' => 'gustoulle a súa foto.',
|
||||||
|
'startedFollowingYou' => 'comezou a seguila.',
|
||||||
|
|
||||||
|
];
|
19
resources/lang/gl/pagination.php
Normal file
19
resources/lang/gl/pagination.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Pagination Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used by the paginator library to build
|
||||||
|
| the simple pagination links. You are free to change them to anything
|
||||||
|
| you want to customize your views to better match your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'previous' => '« Anterior',
|
||||||
|
'next' => 'Seguinte »',
|
||||||
|
|
||||||
|
];
|
22
resources/lang/gl/passwords.php
Normal file
22
resources/lang/gl/passwords.php
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are the default lines which match reasons
|
||||||
|
| that are given by the password broker for a password update attempt
|
||||||
|
| has failed, such as for an invalid token or invalid new password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'password' => 'Os contrasinais deben ser ao menos de seis caracteres e concordar na confirmación.',
|
||||||
|
'reset' => 'Restableceuse o seu contrasinal!',
|
||||||
|
'sent' => 'Acabamos de enviarlle unha ligazón para restablecer o contrasinal!',
|
||||||
|
'token' => 'Este testemuño de restablecemento de contrasinal non é válido.',
|
||||||
|
'user' => "Non atopamos unha usuaria con ese enderezo de correo.",
|
||||||
|
|
||||||
|
];
|
8
resources/lang/gl/profile.php
Normal file
8
resources/lang/gl/profile.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'emptyTimeline' => 'Esta usuaria aínda non publicou!',
|
||||||
|
'emptyFollowers' => 'Esta usuaria aínda non ten seguidoras!',
|
||||||
|
'emptyFollowing' => 'Esta usuaria aínda non segue a ninguén!',
|
||||||
|
'savedWarning' => 'Só vostede pode ver o que gardou',
|
||||||
|
];
|
7
resources/lang/gl/timeline.php
Normal file
7
resources/lang/gl/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'emptyPersonalTimeline' => 'A súa liña temporal está baldeira.'
|
||||||
|
|
||||||
|
];
|
122
resources/lang/gl/validation.php
Normal file
122
resources/lang/gl/validation.php
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines contain the default error messages used by
|
||||||
|
| the validator class. Some of these rules have multiple versions such
|
||||||
|
| as the size rules. Feel free to tweak each of these messages here.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'accepted' => 'O :attribute debe aceptarse.',
|
||||||
|
'active_url' => 'O :attribute non é un URL válido.',
|
||||||
|
'after' => 'A :attribute debe ser unha data posterior :date.',
|
||||||
|
'after_or_equal' => 'A :attribute debe ser unha data posterior ou igual a must be a date after or equal to :date.',
|
||||||
|
'alpha' => 'O :attribute só pode conter letras.',
|
||||||
|
'alpha_dash' => 'O :attribute podería conter só letras, números e guións.',
|
||||||
|
'alpha_num' => 'O :attribute podería conter só letras e números.',
|
||||||
|
'array' => 'A :attribute debe ser unha cadea.',
|
||||||
|
'before' => 'A :attribute debe ser unha data anterior a :date.',
|
||||||
|
'before_or_equal' => 'A :attribute debe ser unha data anterior ou igual a :date.',
|
||||||
|
'between' => [
|
||||||
|
'numeric' => ' :attribute debe estar entre :min e :max.',
|
||||||
|
'file' => 'O :attribute debe estar entre :min e :max kilobytes.',
|
||||||
|
'string' => 'O :attribute debe ter entre :min e :max caracteres.',
|
||||||
|
'array' => 'O :attribute debe ter entre :min e :max elementos.',
|
||||||
|
],
|
||||||
|
'boolean' => 'O campo :attribute debe ser verdadeiro ou falso.',
|
||||||
|
'confirmed' => 'O :attribute de confirmación non coincide.',
|
||||||
|
'date' => 'A :attribute non é unha data válida.',
|
||||||
|
'date_format' => 'O :attribute non segue o formato :format.',
|
||||||
|
'different' => ' :attribute e :other deben ser diferentes.',
|
||||||
|
'digits' => ' :attribute deben ser :digits díxitos.',
|
||||||
|
'digits_between' => ' :attribute debe ter entre :min e :max díxitos.',
|
||||||
|
'dimensions' => 'The :attribute ten unhas dimensións de imaxe non válidas.',
|
||||||
|
'distinct' => 'O campo :attribute ten un valor duplo.',
|
||||||
|
'email' => 'The :attribute debe ser un enderezo de correo válido.',
|
||||||
|
'exists' => 'O :attribute escollido non é válido.',
|
||||||
|
'file' => ' :attribute debe ser un ficheiro.',
|
||||||
|
'filled' => 'O campo :attribute debe ter un valor.',
|
||||||
|
'image' => ' :attribute ten que ser unha imaxe.',
|
||||||
|
'in' => ' :attribute escollido non é válido.',
|
||||||
|
'in_array' => 'O campo :attribute non existe en :other.',
|
||||||
|
'integer' => ' :attribute debe ser un enteiro.',
|
||||||
|
'ip' => ' :attribute ten que ser un enderezo IP válido.',
|
||||||
|
'ipv4' => ' :attribute ten que ser un enderezo IPv4 válido.',
|
||||||
|
'ipv6' => ' :attribute ten que ser un enderezo IPv6 válido.',
|
||||||
|
'json' => ' :attribute debe ser unha cadea JSON válida.',
|
||||||
|
'max' => [
|
||||||
|
'numeric' => ' :attribute non pode ser maior de :max.',
|
||||||
|
'file' => ' :attribute non pode ser maior de :max kilobytes.',
|
||||||
|
'string' => ' :attribute non pode ser maior de :max caracteres.',
|
||||||
|
'array' => 'O :attribute non pode ter máis de :max elementos.',
|
||||||
|
],
|
||||||
|
'mimes' => ' :attribute debe ser un ficheiro de tipo: :values.',
|
||||||
|
'mimetypes' => ' :attribute debe ser un ficheiro de tipo: :values.',
|
||||||
|
'min' => [
|
||||||
|
'numeric' => ' :attribute debe ser como mínimo :min.',
|
||||||
|
'file' => ' :attribute debe ser como mínimo :min kilobytes.',
|
||||||
|
'string' => ' :attribute debe ser como mínimo :min characters.',
|
||||||
|
'array' => ' :attribute debe ter ao menos :min elementos.',
|
||||||
|
],
|
||||||
|
'not_in' => 'O :attribute escollido non é válido.',
|
||||||
|
'not_regex' => 'O formato de :attribute non é válido',
|
||||||
|
'numeric' => ' :attribute debe ser un número.',
|
||||||
|
'present' => 'O campo :attribute debe estar presente.',
|
||||||
|
'regex' => 'O formato de :attribute non é válido.',
|
||||||
|
'required' => 'O campo :attribute é requerido.',
|
||||||
|
'required_if' => 'O campo :attribute é requerido cando :other é :value.',
|
||||||
|
'required_unless' => 'O campo :attribute é requerido a non ser que :other esté en :values.',
|
||||||
|
'required_with' => 'O campo :attribute é requerido cando :values é presente.',
|
||||||
|
'required_with_all' => 'O campo :attribute é requerido cando :values é presente.',
|
||||||
|
'required_without' => 'O campo :attribute é requerido cando :values non está presente.',
|
||||||
|
'required_without_all' => 'O campo :attribute é requerido cando non está presente :values.',
|
||||||
|
'same' => ' :attribute e :other deben coincidir.',
|
||||||
|
'size' => [
|
||||||
|
'numeric' => ' :attribute debe ser :size.',
|
||||||
|
'file' => ' :attribute debe ser :size kilobytes.',
|
||||||
|
'string' => ' :attribute debe ser :size caracteres.',
|
||||||
|
'array' => ' :attribute debe conter :size elementos.',
|
||||||
|
],
|
||||||
|
'string' => ' :attribute debe ser unha cadea.',
|
||||||
|
'timezone' => ' :attribute debe ser unha zona válida.',
|
||||||
|
'unique' => 'O nome :attribute xa está collido.',
|
||||||
|
'uploaded' => ' :attribute fallou ao subir.',
|
||||||
|
'url' => 'O formato de :attribute non é válido.',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify custom validation messages for attributes using the
|
||||||
|
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||||
|
| specify a specific custom language line for a given attribute rule.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'custom' => [
|
||||||
|
'attribute-name' => [
|
||||||
|
'rule-name' => 'custom-message',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used to swap attribute place-holders
|
||||||
|
| with something more reader friendly such as E-Mail Address instead
|
||||||
|
| of "email". This simply helps us make messages a little cleaner.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'attributes' => [],
|
||||||
|
|
||||||
|
];
|
|
@ -1,5 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'emptyTimeline' => 'למשתמש זה עדיין אין פוסטים!',
|
'emptyTimeline' => 'למשתמש זה עדיין אין פוסטים!',
|
||||||
|
'emptyFollowers' => 'למשתמש זה עדיין אין עוקבים!',
|
||||||
|
'emptyFollowing' => 'משתמש זה עדיין אינו עוקב אחרי אף אחד!',
|
||||||
|
'savedWarning' => 'רק אתם יכולים לראות את מה ששמרתם',
|
||||||
];
|
];
|
||||||
|
|
7
resources/lang/he/timeline.php
Normal file
7
resources/lang/he/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'emptyPersonalTimeline' => 'ציר הזמן שלך ריק.'
|
||||||
|
|
||||||
|
];
|
19
resources/lang/ja/auth.php
Normal file
19
resources/lang/ja/auth.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used during authentication for various
|
||||||
|
| messages that we need to display to the user. You are free to modify
|
||||||
|
| these language lines according to your application's requirements.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => 'これらの認証情報は正しくありません。',
|
||||||
|
'throttle' => 'ログイン試行回数が多すぎます。 :seconds 秒後にもう一度お試しください。',
|
||||||
|
|
||||||
|
];
|
8
resources/lang/ja/notification.php
Normal file
8
resources/lang/ja/notification.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'likedPhoto' => '写真がお気に入りされました。',
|
||||||
|
'startedFollowingYou' => 'フォローされました。',
|
||||||
|
|
||||||
|
];
|
19
resources/lang/ja/pagination.php
Normal file
19
resources/lang/ja/pagination.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Pagination Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used by the paginator library to build
|
||||||
|
| the simple pagination links. You are free to change them to anything
|
||||||
|
| you want to customize your views to better match your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'previous' => '« 戻る',
|
||||||
|
'next' => '次へ »',
|
||||||
|
|
||||||
|
];
|
22
resources/lang/ja/passwords.php
Normal file
22
resources/lang/ja/passwords.php
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are the default lines which match reasons
|
||||||
|
| that are given by the password broker for a password update attempt
|
||||||
|
| has failed, such as for an invalid token or invalid new password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'password' => 'パスワードは6文字以上で、確認と一致している必要があります。',
|
||||||
|
'reset' => 'パスワードをリセットしました!',
|
||||||
|
'sent' => 'パスワードリセットのためのリンクをメールで送信しました!',
|
||||||
|
'token' => 'このパスワードリセットトークンは無効です。',
|
||||||
|
'user' => "このメールアドレスと一致するユーザーを見つけることが出来ません。",
|
||||||
|
|
||||||
|
];
|
8
resources/lang/ja/profile.php
Normal file
8
resources/lang/ja/profile.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'emptyTimeline' => 'このユーザーはまだ何も投稿していません!',
|
||||||
|
'emptyFollowers' => 'このユーザーにはまだフォロワーがいません!',
|
||||||
|
'emptyFollowing' => 'このユーザーはまだ誰もフォローしていません!',
|
||||||
|
'savedWarning' => 'あなたが保存したものはあなただけが見ることが出来ます。',
|
||||||
|
];
|
7
resources/lang/ja/timeline.php
Normal file
7
resources/lang/ja/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'emptyPersonalTimeline' => 'あなたのタイムラインには何もありません。'
|
||||||
|
|
||||||
|
];
|
122
resources/lang/ja/validation.php
Normal file
122
resources/lang/ja/validation.php
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines contain the default error messages used by
|
||||||
|
| the validator class. Some of these rules have multiple versions such
|
||||||
|
| as the size rules. Feel free to tweak each of these messages here.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'accepted' => ':attribute を受け入れる必要があります。',
|
||||||
|
'active_url' => ':attribute は有効なURLではありません。',
|
||||||
|
'after' => ':attribute は :date 以降の日付である必要があります。',
|
||||||
|
'after_or_equal' => ':attribute は :date と同じかそれ以降の日付である必要があります。',
|
||||||
|
'alpha' => ':attribute には文字を含めることが出来ます。',
|
||||||
|
'alpha_dash' => ':attribute には文字、数字、ダッシュを含めることが出来ます。',
|
||||||
|
'alpha_num' => ':attribute には文字、または数字を含めることが出来ます。',
|
||||||
|
'array' => ':attribute は配列である必要があります。',
|
||||||
|
'before' => ':attribute は :date 以前の日付である必要があります。',
|
||||||
|
'before_or_equal' => ':attribute は :date と同じかそれ以前の日付である必要があります。',
|
||||||
|
'between' => [
|
||||||
|
'numeric' => ':attribute は :min から :max の間である必要があります。',
|
||||||
|
'file' => ':attribute は :min から :max キロバイトの間である必要があります。',
|
||||||
|
'string' => ':attribute は :min から :max 文字の間である必要があります。',
|
||||||
|
'array' => ':attribute は :min アイテムから :max アイテムの間である必要があります。',
|
||||||
|
],
|
||||||
|
'boolean' => ':attribute フィールドは true か false である必要があります。',
|
||||||
|
'confirmed' => ':attribute の確認が一致しません。',
|
||||||
|
'date' => ':attribute は有効な日付ではありません。',
|
||||||
|
'date_format' => ':attribute は :format と一致しません。',
|
||||||
|
'different' => ':attribute と :other は異なる必要があります。',
|
||||||
|
'digits' => ':attribute は :digits である必要があります。',
|
||||||
|
'digits_between' => ':attribute は :min から :max 間の数字である必要があります。',
|
||||||
|
'dimensions' => ':attribute は無効な画像サイズです。',
|
||||||
|
'distinct' => ':attribute フィールドに重複した値があります。',
|
||||||
|
'email' => ':attribute は有効なメールアドレスである必要があります。',
|
||||||
|
'exists' => '選択された :attribute は無効です。',
|
||||||
|
'file' => ':attribute はファイルである必要があります。',
|
||||||
|
'filled' => ':attribute フィールドには値が必要です。',
|
||||||
|
'image' => ':attribute は画像である必要があります。',
|
||||||
|
'in' => '選択された :attribute は無効です。',
|
||||||
|
'in_array' => ':attribute フィールドは :other には存在しません。',
|
||||||
|
'integer' => ':attribute は整数である必要があります。',
|
||||||
|
'ip' => ':attribute は有効なIPアドレスである必要があります。',
|
||||||
|
'ipv4' => ':attribute は有効なIPv4アドレスである必要があります。',
|
||||||
|
'ipv6' => ':attribute は有効なIPv6アドレスである必要があります。',
|
||||||
|
'json' => ':attribute は有効なJSON文字列である必要があります。',
|
||||||
|
'max' => [
|
||||||
|
'numeric' => ':attribute は :max 以下である必要があります。',
|
||||||
|
'file' => ':attribute は :max キロバイト以下である必要があります。',
|
||||||
|
'string' => ':attribute の文字数は :max 以下である必要があります。',
|
||||||
|
'array' => ':attribute は :max 以上のアイテム数を持つことは出来ません。',
|
||||||
|
],
|
||||||
|
'mimes' => ':attribute は :values タイプのファイルである必要があります。',
|
||||||
|
'mimetypes' => ':attribute は :values タイプのファイルである必要があります。',
|
||||||
|
'min' => [
|
||||||
|
'numeric' => ':attribute は最低でも :min 以上である必要があります。',
|
||||||
|
'file' => ':attribute は最低でも :min キロバイト以上である必要があります。',
|
||||||
|
'string' => ':attribute の文字数は最低でも :min 以上である必要があります。',
|
||||||
|
'array' => ':attribute は最低でも :min アイテム以上である必要があります。',
|
||||||
|
],
|
||||||
|
'not_in' => '選択された :attribute は無効です。',
|
||||||
|
'not_regex' => ':attribute は無効なフォーマットです。',
|
||||||
|
'numeric' => ':attribute は数字である必要があります。',
|
||||||
|
'present' => ':attribute フィールドは存在する必要があります。',
|
||||||
|
'regex' => ':attribute は無効なフォーマットです。',
|
||||||
|
'required' => ':attribute フィールドは必要です。',
|
||||||
|
'required_if' => ':other が :value の場合、 :attribute は必要です。',
|
||||||
|
'required_unless' => ':other が :values にない場合、 :attribute フィールドは必要です。',
|
||||||
|
'required_with' => ':values が存在する場合、 :attribute は必要です。',
|
||||||
|
'required_with_all' => ':values が存在する場合、 :attribute は必要です。',
|
||||||
|
'required_without' => ':values が存在しない場合、 :attribute は必要です。',
|
||||||
|
'required_without_all' => ':values が一つも存在しない場合、 :attribute は必要です。',
|
||||||
|
'same' => ':attribute と :other は一致する必要があります。',
|
||||||
|
'size' => [
|
||||||
|
'numeric' => ':attribute は :size である必要があります。',
|
||||||
|
'file' => ':attribute は :size キロバイトである必要があります。',
|
||||||
|
'string' => ':attribute の文字数は :size である必要があります。',
|
||||||
|
'array' => ':attribute には :size のアイテムが含まれている必要があります。',
|
||||||
|
],
|
||||||
|
'string' => ':attribute は文字列である必要があります。',
|
||||||
|
'timezone' => ':attribute は有効なゾーンである必要があります。',
|
||||||
|
'unique' => ':attribute は既に使用されています。',
|
||||||
|
'uploaded' => ':attribute のアップロードに失敗しました。',
|
||||||
|
'url' => ':attribute は無効なフォーマットです。',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify custom validation messages for attributes using the
|
||||||
|
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||||
|
| specify a specific custom language line for a given attribute rule.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'custom' => [
|
||||||
|
'attribute-name' => [
|
||||||
|
'rule-name' => 'custom-message',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used to swap attribute place-holders
|
||||||
|
| with something more reader friendly such as E-Mail Address instead
|
||||||
|
| of "email". This simply helps us make messages a little cleaner.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'attributes' => [],
|
||||||
|
|
||||||
|
];
|
8
resources/lang/oc/notification.php
Normal file
8
resources/lang/oc/notification.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'likedPhoto' => 'a aimat vòstra fòto.',
|
||||||
|
'startedFollowingYou' => 'a començat de vos seguir.',
|
||||||
|
|
||||||
|
];
|
5
resources/lang/oc/profile.php
Normal file
5
resources/lang/oc/profile.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'emptyTimeline' => 'Aqueste utilizaire a pas encara de publicacion !',
|
||||||
|
];
|
8
resources/lang/pl/notification.php
Normal file
8
resources/lang/pl/notification.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'likedPhoto' => 'polubił Twoje zdjęcie.',
|
||||||
|
'startedFollowingYou' => 'zaczął Cię obserwować.',
|
||||||
|
|
||||||
|
];
|
8
resources/lang/pl/profile.php
Normal file
8
resources/lang/pl/profile.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'emptyTimeline' => 'Ten użytkownik nie opublikował jeszcze niczego!',
|
||||||
|
'emptyFollowers' => 'Nikt nie obserwuje tego użytkownika!',
|
||||||
|
'emptyFollowing' => 'Ten użytkownik nie obserwuje nikogo!',
|
||||||
|
'savedWarning' => 'Tylko Ty widzisz to, co zapisałeś',
|
||||||
|
];
|
7
resources/lang/pl/timeline.php
Normal file
7
resources/lang/pl/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'emptyPersonalTimeline' => 'Twoja oś czasu jest pusta.'
|
||||||
|
|
||||||
|
];
|
|
@ -13,7 +13,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'failed' => 'Dessa autentiseringsuppgifter matchar inte de i vårat register.',
|
'failed' => 'Dessa autentiseringsuppgifter matchar inte de i vårt register.',
|
||||||
'throttle' => 'För många inloggningsförsök. Var god försök igen om :seconds sekunder.',
|
'throttle' => 'För många inloggningsförsök. Var god försök igen om :seconds sekunder.',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
8
resources/lang/sv/notification.php
Normal file
8
resources/lang/sv/notification.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'likedPhoto' => 'gillade ditt foto.',
|
||||||
|
'startedFollowingYou' => 'började följa dig.',
|
||||||
|
|
||||||
|
];
|
8
resources/lang/sv/profile.php
Normal file
8
resources/lang/sv/profile.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'emptyTimeline' => 'Den här användaren har inga inlägg än!',
|
||||||
|
'emptyFollowers' => 'Den här användaren har inga följare än!',
|
||||||
|
'emptyFollowing' => 'Den här användaren följer inte någon än!',
|
||||||
|
'savedWarning' => 'Du är den enda som kan se vad du har sparat',
|
||||||
|
];
|
7
resources/lang/sv/timeline.php
Normal file
7
resources/lang/sv/timeline.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'emptyPersonalTimeline' => 'Din tidslinje är tom.'
|
||||||
|
|
||||||
|
];
|
|
@ -28,6 +28,7 @@
|
||||||
{!! $notification->rendered !!}
|
{!! $notification->rendered !!}
|
||||||
<span class="text-muted notification-timestamp pl-1">{{$notification->created_at->diffForHumans(null, true, true, true)}}</span>
|
<span class="text-muted notification-timestamp pl-1">{{$notification->created_at->diffForHumans(null, true, true, true)}}</span>
|
||||||
</span>
|
</span>
|
||||||
|
@if($notification->actor->followedBy(Auth::user()->profile) == false)
|
||||||
<span class="float-right notification-action">
|
<span class="float-right notification-action">
|
||||||
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$notification->actor->id}}" data-action="follow">
|
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$notification->actor->id}}" data-action="follow">
|
||||||
@csrf
|
@csrf
|
||||||
|
@ -35,6 +36,7 @@
|
||||||
<button class="btn btn-primary font-weight-bold px-4 py-0" type="submit">Follow</button>
|
<button class="btn btn-primary font-weight-bold px-4 py-0" type="submit">Follow</button>
|
||||||
</form>
|
</form>
|
||||||
</span>
|
</span>
|
||||||
|
@endif
|
||||||
@break
|
@break
|
||||||
@endswitch
|
@endswitch
|
||||||
</li>
|
</li>
|
||||||
|
@ -42,4 +44,4 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -47,6 +47,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if(config('pixelfed.recaptcha'))
|
||||||
|
<div class="row my-3">
|
||||||
|
{!! Recaptcha::render() !!}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="form-group row mb-0">
|
<div class="form-group row mb-0">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold">
|
<button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold">
|
||||||
|
|
|
@ -75,6 +75,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if(config('pixelfed.recaptcha'))
|
||||||
|
<div class="row my-3">
|
||||||
|
{!! Recaptcha::render() !!}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold">
|
<button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold">
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
@endif
|
@endif
|
||||||
<a class="dropdown-item font-weight-bold" href="{{ Auth::user()->url() }}">My Profile</a>
|
<a class="dropdown-item font-weight-bold" href="{{ Auth::user()->url() }}">My Profile</a>
|
||||||
<a class="dropdown-item font-weight-bold" href="{{url(config('app.url') . '/settings')}}">Settings</a>
|
<a class="dropdown-item font-weight-bold" href="{{route('settings')}}">Settings</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item font-weight-bold" href="{{route('remotefollow')}}">Remote Follow</a>
|
<a class="dropdown-item font-weight-bold" href="{{route('remotefollow')}}">Remote Follow</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<div class="profile-stats pb-3 d-inline-flex lead">
|
<div class="profile-stats pb-3 d-inline-flex lead">
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark" href="{{$profile->url()}}">
|
<a class="text-dark" href="{{$profile->url()}}">
|
||||||
<span class="font-weight-bold">{{$profile->statuses()->count()}}</span>
|
<span class="font-weight-bold">{{$profile->statuses()->whereNull('in_reply_to_id')->count()}}</span>
|
||||||
Posts
|
Posts
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,6 +56,25 @@
|
||||||
<span class="following-name text-muted">
|
<span class="following-name text-muted">
|
||||||
{{$user->name}}
|
{{$user->name}}
|
||||||
</span>
|
</span>
|
||||||
|
@if(Auth::check() && Auth::id() != $user->user_id)
|
||||||
|
@if ($user->followedBy(Auth::user()->profile) == true)
|
||||||
|
<span class="float-right notification-action">
|
||||||
|
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$user->id}}" data-action="unfollow">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="item" value="{{$user->id}}">
|
||||||
|
<button class="btn btn-outline-secondary font-weight-bold px-4 py-0" type="submit">Unfollow</button>
|
||||||
|
</form>
|
||||||
|
</span>
|
||||||
|
@else
|
||||||
|
<span class="float-right notification-action">
|
||||||
|
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$user->id}}" data-action="follow">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="item" value="{{$user->id}}">
|
||||||
|
<button class="btn btn-primary font-weight-bold px-4 py-0" type="submit">Follow</button>
|
||||||
|
</form>
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -75,4 +94,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<div class="profile-stats pb-3 d-inline-flex lead">
|
<div class="profile-stats pb-3 d-inline-flex lead">
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark" href="{{$profile->url()}}">
|
<a class="text-dark" href="{{$profile->url()}}">
|
||||||
<span class="font-weight-bold">{{$profile->statuses()->count()}}</span>
|
<span class="font-weight-bold">{{$profile->statuses()->whereNull('in_reply_to_id')->count()}}</span>
|
||||||
Posts
|
Posts
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,6 +56,25 @@
|
||||||
<span class="following-name text-muted">
|
<span class="following-name text-muted">
|
||||||
{{$user->name}}
|
{{$user->name}}
|
||||||
</span>
|
</span>
|
||||||
|
@if(Auth::check() && Auth::id() != $user->user_id)
|
||||||
|
@if ($user->followedBy(Auth::user()->profile) == true)
|
||||||
|
<span class="float-right notification-action">
|
||||||
|
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$user->id}}" data-action="unfollow">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="item" value="{{$user->id}}">
|
||||||
|
<button class="btn btn-outline-secondary font-weight-bold px-4 py-0" type="submit">Unfollow</button>
|
||||||
|
</form>
|
||||||
|
</span>
|
||||||
|
@else
|
||||||
|
<span class="float-right notification-action">
|
||||||
|
<form class="follow-form" method="post" action="/i/follow" style="display: inline;" data-id="{{$user->id}}" data-action="follow">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="item" value="{{$user->id}}">
|
||||||
|
<button class="btn btn-primary font-weight-bold px-4 py-0" type="submit">Follow</button>
|
||||||
|
</form>
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -75,4 +94,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-stats pb-3 d-inline-flex lead">
|
<div class="profile-stats pb-3 d-inline-flex lead">
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<span class="font-weight-bold">{{$user->statuses()->count()}}</span>
|
<span class="font-weight-bold">{{$user->statuses()->whereNull('in_reply_to_id')->count()}}</span>
|
||||||
Posts
|
Posts
|
||||||
</div>
|
</div>
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
|
|
|
@ -44,9 +44,23 @@
|
||||||
<input type="hidden" name="item" value="{{$status->id}}">
|
<input type="hidden" name="item" value="{{$status->id}}">
|
||||||
<button class="btn btn-link text-dark p-0" type="submit"><span class="icon-heart" style="font-size:25px;"></span></button>
|
<button class="btn btn-link text-dark p-0" type="submit"><span class="icon-heart" style="font-size:25px;"></span></button>
|
||||||
</form>
|
</form>
|
||||||
<span class="icon-speech"></span>
|
<span class="icon-speech pr-3"></span>
|
||||||
|
@if(Auth::check())
|
||||||
|
@if(Auth::user()->profile->id === $status->profile->id || Auth::user()->is_admin == true)
|
||||||
|
<form method="post" action="/i/delete" class="d-inline-flex">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="type" value="post">
|
||||||
|
<input type="hidden" name="item" value="{{$status->id}}">
|
||||||
|
<button type="submit" class="btn btn-link text-dark p-0"><span class="icon-trash" style="font-size:25px;"></span></button>
|
||||||
|
</form>
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<span class="icon-notebook"></span>
|
<form class="bookmark-form" method="post" action="/i/bookmark" style="display: inline;" data-id="{{$status->id}}" data-action="bookmark">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="item" value="{{$status->id}}">
|
||||||
|
<button class="btn btn-link text-dark p-0" type="submit"><span class="icon-notebook" style="font-size:25px;"></span></button>
|
||||||
|
</form>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="likes font-weight-bold mb-0">
|
<div class="likes font-weight-bold mb-0">
|
||||||
|
|
|
@ -13,6 +13,17 @@
|
||||||
<a class="dropdown-item" href="{{$item->url()}}">Go to post</a>
|
<a class="dropdown-item" href="{{$item->url()}}">Go to post</a>
|
||||||
<a class="dropdown-item" href="{{route('report.form')}}?type=post&id={{$item->id}}">Report Inappropriate</a>
|
<a class="dropdown-item" href="{{route('report.form')}}?type=post&id={{$item->id}}">Report Inappropriate</a>
|
||||||
<a class="dropdown-item" href="#">Embed</a>
|
<a class="dropdown-item" href="#">Embed</a>
|
||||||
|
@if(Auth::check())
|
||||||
|
@if(Auth::user()->profile->id === $item->profile->id || Auth::user()->is_admin == true)
|
||||||
|
<form method="post" action="/i/delete">
|
||||||
|
@csrf
|
||||||
|
<input type="hidden" name="type" value="post">
|
||||||
|
<input type="hidden" name="item" value="{{$item->id}}">
|
||||||
|
<button type="submit" class="dropdown-item btn btn-link">Delete</button>
|
||||||
|
</form>
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,8 +66,17 @@
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
@if(isset($showSingleComment) && $showSingleComment === true)
|
@if(isset($showSingleComment) && $showSingleComment === true)
|
||||||
<p class="mb-0">
|
<p class="mb-0">
|
||||||
<span class="font-weight-bold pr-1"><bdi><a class="text-dark" href="{{$status->profile->url()}}">{{$status->profile->username}}</a></bdi></span>
|
<span class="font-weight-bold pr-1">
|
||||||
<span class="comment-text">{!!$status->rendered!!}</span><a href="{{$status->url()}}" class="text-dark small font-weight-bold float-right">{{$status->created_at->diffForHumans(null, true, true, true)}}</a>
|
<bdi>
|
||||||
|
<a class="text-dark" href="{{$status->profile->url()}}">{{$status->profile->username}}</a>
|
||||||
|
</bdi>
|
||||||
|
</span>
|
||||||
|
<span class="comment-text">{!!$status->rendered!!}</span>
|
||||||
|
<span class="float-right">
|
||||||
|
<a href="{{$status->url()}}" class="text-dark small font-weight-bold">
|
||||||
|
{{$status->created_at->diffForHumans(null, true, true, true)}}
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
@else
|
@else
|
||||||
@foreach($item->comments->reverse()->take(3) as $comment)
|
@foreach($item->comments->reverse()->take(3) as $comment)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-weight-bold text-muted small">Upload Image</label>
|
<label class="font-weight-bold text-muted small">Upload Image</label>
|
||||||
<input type="file" class="form-control-file" name="photo">
|
<input type="file" class="form-control-file" name="photo" accept="image/*">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-weight-bold text-muted small">Caption</label>
|
<label class="font-weight-bold text-muted small">Caption</label>
|
||||||
|
@ -59,4 +59,4 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-weight-bold text-muted small">Upload Image</label>
|
<label class="font-weight-bold text-muted small">Upload Image</label>
|
||||||
<input type="file" class="form-control-file" name="photo">
|
<input type="file" class="form-control-file" name="photo" accept="image/*">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-weight-bold text-muted small">Caption</label>
|
<label class="font-weight-bold text-muted small">Caption</label>
|
||||||
|
@ -50,4 +50,4 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -56,6 +56,7 @@ Route::domain(config('pixelfed.domain.app'))->group(function() {
|
||||||
Route::get('remote-follow', 'FederationController@remoteFollow')->name('remotefollow');
|
Route::get('remote-follow', 'FederationController@remoteFollow')->name('remotefollow');
|
||||||
Route::post('remote-follow', 'FederationController@remoteFollowStore');
|
Route::post('remote-follow', 'FederationController@remoteFollowStore');
|
||||||
Route::post('comment', 'CommentController@store');
|
Route::post('comment', 'CommentController@store');
|
||||||
|
Route::post('delete', 'StatusController@delete');
|
||||||
Route::post('like', 'LikeController@store');
|
Route::post('like', 'LikeController@store');
|
||||||
Route::post('follow', 'FollowerController@store');
|
Route::post('follow', 'FollowerController@store');
|
||||||
Route::post('bookmark', 'BookmarkController@store');
|
Route::post('bookmark', 'BookmarkController@store');
|
||||||
|
|
Loading…
Reference in a new issue