composer update && rewrite user authentication page names
This commit is contained in:
@@ -15,7 +15,7 @@ This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
|
|||||||
|
|
||||||
1.) Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
|
1.) Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
|
||||||
|
|
||||||
$ nohup bin/console gos:websocket:server &
|
$ nohup php bin/console gos:websocket:server --env=prod &
|
||||||
|
|
||||||
2.) React JS WebPack watch generator w/ babel presets: es2015, react
|
2.) React JS WebPack watch generator w/ babel presets: es2015, react
|
||||||
|
|
||||||
@@ -32,4 +32,9 @@ This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
|
|||||||
|
|
||||||
3.) Connect to Prod
|
3.) Connect to Prod
|
||||||
|
|
||||||
ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang
|
$ ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang
|
||||||
|
|
||||||
|
4.) Stunnel config
|
||||||
|
|
||||||
|
$ sudo nano /etc/stunnel/stunnel.conf
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,8 @@
|
|||||||
"predis/predis": "^1.0",
|
"predis/predis": "^1.0",
|
||||||
"snc/redis-bundle": "^2.0",
|
"snc/redis-bundle": "^2.0",
|
||||||
"hwi/oauth-bundle": "^0.5.1",
|
"hwi/oauth-bundle": "^0.5.1",
|
||||||
"cleentfaar/slack-bundle": "^0.20.1"
|
"cleentfaar/slack-bundle": "^0.20.1",
|
||||||
|
"symfony/translation": "^3.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"sensio/generator-bundle": "^3.0",
|
"sensio/generator-bundle": "^3.0",
|
||||||
|
|||||||
716
composer.lock
generated
716
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
{% trans_default_domain 'FOSUserBundle' %}
|
||||||
|
|
||||||
{% block title %} - Sign up{% endblock %}
|
{% block title %} - Registration{% endblock %}
|
||||||
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
<section class="header-content">
|
<section class="header-content">
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
border="0"/>
|
border="0"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<h1> Sign up </h1>
|
<h1> Registration </h1>
|
||||||
<div class="db">
|
<div class="db">
|
||||||
<form action="{{ path('fos_user_registration_register') }}"
|
<form action="{{ path('fos_user_registration_register') }}"
|
||||||
method="post">
|
method="post">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
{% trans_default_domain 'FOSUserBundle' %}
|
||||||
|
|
||||||
{% block title %} - Sign in{% endblock %}
|
{% block title %} - Login{% endblock %}
|
||||||
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
{% if error %}
|
{% if error %}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
border="0"/>
|
border="0"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<h1>Sign in</h1>
|
<h1>Login</h1>
|
||||||
<form action="{{ path("fos_user_security_check") }}" method="post"
|
<form action="{{ path("fos_user_security_check") }}" method="post"
|
||||||
class="ac-custom ac-checkbox ac-boxfill">
|
class="ac-custom ac-checkbox ac-boxfill">
|
||||||
|
|
||||||
|
|||||||
@@ -167,7 +167,8 @@ main .user-list-container .user-friend h1 {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
main .user-list-container .user-friend img {
|
main .user-list-container .user-friend .img,
|
||||||
|
main .user-list-container .user-friend .img img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,6 +265,11 @@ main .user-request-container h1 {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main .user-request-container .img,
|
||||||
|
main .user-request-container .img img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
main .user-request-container button {
|
main .user-request-container button {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
|
{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ path('fos_user_registration_register') }}" class="small">Sign up</a> ·
|
<a href="{{ path('fos_user_registration_register') }}" class="small">Registration</a> ·
|
||||||
<a href="{{ path('fos_user_security_login') }}" class="small">Sign in</a>
|
<a href="{{ path('fos_user_security_login') }}" class="small">Login</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<h3>
|
<h3>
|
||||||
|
|||||||
@@ -780,7 +780,11 @@ class SymfonyRequirements extends RequirementCollection
|
|||||||
{
|
{
|
||||||
$size = ini_get('realpath_cache_size');
|
$size = ini_get('realpath_cache_size');
|
||||||
$size = trim($size);
|
$size = trim($size);
|
||||||
$unit = strtolower(substr($size, -1, 1));
|
$unit = '';
|
||||||
|
if (!ctype_digit($size)) {
|
||||||
|
$unit = strtolower(substr($size, -1, 1));
|
||||||
|
$size = (int) substr($size, 0, -1);
|
||||||
|
}
|
||||||
switch ($unit) {
|
switch ($unit) {
|
||||||
case 'g':
|
case 'g':
|
||||||
return $size * 1024 * 1024 * 1024;
|
return $size * 1024 * 1024 * 1024;
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ $hasMinorProblems = (bool) count($minorProblems);
|
|||||||
}
|
}
|
||||||
.sf-reset ul a,
|
.sf-reset ul a,
|
||||||
.sf-reset ul a:hover {
|
.sf-reset ul a:hover {
|
||||||
background: url(../images/blue-arrow.png) no-repeat right 6px;
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpiYACBjjOhDEiACSggCKTLgXQ5TJARqhIkcReIKxgqTGYxwvV0nDEGkmeAOIwJySiQ4HsgvseIpGo3ELsCtZ9lRDIvDCiwhwHJPEFkJwEEGACq6hdnax8y1AAAAABJRU5ErkJggg==) no-repeat right 7px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
.sf-reset ul, ol {
|
.sf-reset ul, ol {
|
||||||
|
|||||||
Reference in New Issue
Block a user