mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-14 17:11:34 +01:00
Repair loadOriginalAuthor() and migrate JKA Network name to Code Solutions Project
This commit is contained in:
3
.env
3
.env
@@ -1,3 +0,0 @@
|
|||||||
# This file is a "template" of which env vars need to be defined for your application
|
|
||||||
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
||||||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# This file is a "template" of which env vars need to be defined for your application
|
|
||||||
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
||||||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
||||||
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite-journal
Normal file
BIN
.vs/slnx.sqlite-journal
Normal file
Binary file not shown.
2
LICENSE
2
LICENSE
@@ -186,7 +186,7 @@
|
|||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright 2017 JKA Network
|
Copyright 2017 Code Solutions Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
### CodeShare
|
### CodeShare
|
||||||
##### JKA Network
|
##### Code Solutions Project
|
||||||
|
|
||||||
FEATURES
|
FEATURES
|
||||||
-------------------
|
-------------------
|
||||||
|
|||||||
@@ -7,19 +7,19 @@
|
|||||||
<li><p>Solution: Any code snippet and its enclosed information</p></li>
|
<li><p>Solution: Any code snippet and its enclosed information</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 class="docheader top10">Privacy</h4>
|
<h4 class="docheader top10">Privacy</h4>
|
||||||
<p>All personal data bring to JKA Network in registration form are save under the General Data Protection Regulation (GDPR) (EU) 2016/679.
|
<p>All personal data bring to Code Solutions Project in registration form are save under the General Data Protection Regulation (GDPR) (EU) 2016/679.
|
||||||
You can claim your right through JKA Network email <a href="mailto:contacto@jkanetwork.com">contacto@jkanetwork.com</a>.
|
You can claim your right through Code Solutions Project email <a href="mailto:contacto@jkanetwork.com">contacto@jkanetwork.com</a>.
|
||||||
If you use CodeShare you authorized JKA Network to save and use your Email and Nickname to manage login and upload code snippets.
|
If you use CodeShare you authorized Code Solutions Project to save and use your Email and Nickname to manage login and upload code snippets.
|
||||||
</p>
|
</p>
|
||||||
<h4 class="docheader top10">About content upload to CodeShare</h4>
|
<h4 class="docheader top10">About content upload to CodeShare</h4>
|
||||||
<p>All content which the user upload to CodeShare except his email, password or comments are ceded with their
|
<p>All content which the user upload to CodeShare except his email, password or comments are ceded with their
|
||||||
all rights to JKA Network and immediately JKA Network will prescind from with their rights on these putting
|
all rights to Code Solutions Project and immediately Code Solutions Project will prescind from with their rights on these putting
|
||||||
them under the public domain<br>
|
them under the public domain<br>
|
||||||
Only JKA Network can remove comment or solutions hosted in CodeShare</p>
|
Only Code Solutions Project can remove comment or solutions hosted in CodeShare</p>
|
||||||
<h4 class="docheader top10">About user's account</h4>
|
<h4 class="docheader top10">About user's account</h4>
|
||||||
<p>The registered user in all moment can close their account but all data hosted in CodeShare will remain
|
<p>The registered user in all moment can close their account but all data hosted in CodeShare will remain
|
||||||
hosted.
|
hosted.
|
||||||
<br>JKA Network is reserved the right to ban the access to account of any user who engage <a
|
<br>Code Solutions Project is reserved the right to ban the access to account of any user who engage <a
|
||||||
href="{{path('doc')}}#vandalism">vandalism</a></p>
|
href="{{path('doc')}}#vandalism">vandalism</a></p>
|
||||||
<h4 class="docheader top10" id="cookiePolicy">Cookie policiy</h4>
|
<h4 class="docheader top10" id="cookiePolicy">Cookie policiy</h4>
|
||||||
<p>In CodeShare are used two differents cookies, one for session system and other for cookies' consent. You can
|
<p>In CodeShare are used two differents cookies, one for session system and other for cookies' consent. You can
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<h5>Source</h5>
|
<h5>Source</h5>
|
||||||
<p>CodeShare is an open source platform licensed under Apache 2.0. All code are hosted in <a href="https://gitlab.com/CodeSolutionsProject/CodeShare">GitLab</a></p>
|
<p>CodeShare is an open source platform licensed under Apache 2.0. All code are hosted in <a href="https://gitlab.com/CodeSolutionsProject/CodeShare">GitLab</a></p>
|
||||||
<h5>Developers</h5>
|
<h5>Developers</h5>
|
||||||
<p>Developed by Code Solutions Project, JKA Network's Group <a href="mailto:contacto@jkanetwork.com"><contacto@jkanetwork.com></a></p>
|
<p>Developed by Code Solutions Project <a href="mailto:contacto@jkanetwork.com"><contacto@jkanetwork.com></a></p>
|
||||||
<p>Maintenance by Jose Luis Garrido Labrador <a href="mailto:joselucross@jkanetwork.com"><joselucross@jkanetwork.com></a></p>
|
<p>Maintenance by Jose Luis Garrido Labrador <a href="mailto:joselucross@jkanetwork.com"><joselucross@jkanetwork.com></a></p>
|
||||||
<h5>Open source licenses</h5>
|
<h5>Open source licenses</h5>
|
||||||
<p><a href="http://getbootstrap.com/"><strong>Bootstrap 3</strong> by Twitter - Licensed under MIT</a></p>
|
<p><a href="http://getbootstrap.com/"><strong>Bootstrap 3</strong> by Twitter - Licensed under MIT</a></p>
|
||||||
|
|||||||
@@ -28,8 +28,10 @@
|
|||||||
<div style='text-align: center; font-size: 22px; '><a href='{{ path('codeVer',{'idc': code.idc,'lang': code.lang}) }}'>View version's history</a></div>
|
<div style='text-align: center; font-size: 22px; '><a href='{{ path('codeVer',{'idc': code.idc,'lang': code.lang}) }}'>View version's history</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{#<div id='QOZU_box'>Se necesita tener JavaScript habilitado para poder ver los comentarios de la web.</div>#}
|
{#<div id='QOZU_box'>Se necesita tener JavaScript habilitado para poder ver los comentarios de la web.</div>#}
|
||||||
|
{% if page.otherI or user.nick is defined %}
|
||||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="text-align:center;"><h3>Other implementations</h3>
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="text-align:center;"><h3>Other implementations</h3>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% if page.otherI %}
|
{% if page.otherI %}
|
||||||
{% for i in otherImplementation %}
|
{% for i in otherImplementation %}
|
||||||
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style='text-align: center;'>
|
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style='text-align: center;'>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="container justified" style="font-size: 12pt;">
|
<div class="container justified" style="font-size: 12pt;">
|
||||||
<h4 style="text-align: center">Documentation</h4>
|
<h4 style="text-align: center">Documentation</h4>
|
||||||
<h4 class="docheader top10" id="what">What is CodeShare?</h4>
|
<h4 class="docheader top10" id="what">What is CodeShare?</h4>
|
||||||
<p><strong>CodeShare</strong> is a platform where everybody can share implementations of common problems of computer programming. Developed by <strong>JKA Network</strong>, a Spanish's association that promotes the free culture.</p>
|
<p><strong>CodeShare</strong> is a platform where everybody can share implementations of common problems of computer programming. Developed by <strong>Code Solutions Project</strong>, a Spanish's association that promotes the free culture.</p>
|
||||||
<h4 class="docheader top10" id="who">Who can use CodeShare?</h4>
|
<h4 class="docheader top10" id="who">Who can use CodeShare?</h4>
|
||||||
<p><strong>Everybody can copy and distribute any code posted in this platform</strong>, and sign up and share their own solutions or post new implementations of solutions already hosted. As a warning, if someone engage vandalism (see <a href="#vandalism">vandalism in CodeShare</a>) they will be banned from publishing or editing any code, and in serious cases, ban their account permanentely. However, they will not be restricted form services of unregistered users.</p>
|
<p><strong>Everybody can copy and distribute any code posted in this platform</strong>, and sign up and share their own solutions or post new implementations of solutions already hosted. As a warning, if someone engage vandalism (see <a href="#vandalism">vandalism in CodeShare</a>) they will be banned from publishing or editing any code, and in serious cases, ban their account permanentely. However, they will not be restricted form services of unregistered users.</p>
|
||||||
<h4 class="docheader top10" id="how">How can I submit my own solution?</h4>
|
<h4 class="docheader top10" id="how">How can I submit my own solution?</h4>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<p><span class="copyleft">©</span> JKA Network 2017-{{ "now"|date("Y") }}</p>
|
<p><span class="copyleft">©</span> Code Solutions Project 2017-{{ "now"|date("Y") }}</p>
|
||||||
<p xmlns:dct="https://purl.org/dc/terms/" xmlns:vcard="https://www.w3.org/2001/vcard-rdf/3.0#">
|
<p xmlns:dct="https://purl.org/dc/terms/" xmlns:vcard="https://www.w3.org/2001/vcard-rdf/3.0#">
|
||||||
<a rel="license"
|
<a rel="license"
|
||||||
href="https://creativecommons.org/publicdomain/zero/1.0/">
|
href="https://creativecommons.org/publicdomain/zero/1.0/">
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<span resource="[_:publisher]" rel="dct:publisher">
|
<span resource="[_:publisher]" rel="dct:publisher">
|
||||||
<span property="dct:title">JKA Network</span></span>
|
<span property="dct:title">Code Solutions Project</span></span>
|
||||||
makes all the content hosted in CodeShare, included uploaded content, go to the public domain as far as the law allows it.
|
makes all the content hosted in CodeShare, included uploaded content, go to the public domain as far as the law allows it.
|
||||||
<br>
|
<br>
|
||||||
This work is published from:
|
This work is published from:
|
||||||
|
|||||||
2
Source/composer.lock
generated
2
Source/composer.lock
generated
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"_readme": [
|
"_readme": [
|
||||||
"This file locks the dependencies of your project to a known state",
|
"This file locks the dependencies of your project to a known state",
|
||||||
"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#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1d57e016803e2095db2110462e070da3",
|
"content-hash": "1d57e016803e2095db2110462e070da3",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"lang": "en",
|
"lang": "en",
|
||||||
"project": "CodeShare",
|
"project": "CodeShare",
|
||||||
"master": "Code Solutions Project",
|
"master": "Code Solutions Project",
|
||||||
"company": "JKA Network",
|
"company": "Code Solutions Project",
|
||||||
"database": {
|
"database": {
|
||||||
"SGBD": "mysql",
|
"SGBD": "mysql",
|
||||||
"path": "localhost",
|
"path": "localhost",
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ class Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the company, usually "JKA Network"
|
* Get the company, usually "Code Solutions Project"
|
||||||
*
|
*
|
||||||
* @return string whit company
|
* @return string whit company
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class DB
|
|||||||
'IDC','?'
|
'IDC','?'
|
||||||
))
|
))
|
||||||
->setParameter(0,$IDC);
|
->setParameter(0,$IDC);
|
||||||
return $this->getData($queryBuilder)[0];
|
return $this->getData($queryBuilder)[0]['UserCreator'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ $app->get('/about', function (Request $request) use($app){
|
|||||||
$user = getUser($app);
|
$user = getUser($app);
|
||||||
$page = array(
|
$page = array(
|
||||||
"title" => "About CodeShare",
|
"title" => "About CodeShare",
|
||||||
"description" => "Developed by JKA Network's Team",
|
"description" => "Developed by Code Solutions Project's Team",
|
||||||
"page" => "about",
|
"page" => "about",
|
||||||
);
|
);
|
||||||
return $app['twig']->render($app['fronthtml'].'/about.twig', array("page" => $page,'user'=>$user));
|
return $app['twig']->render($app['fronthtml'].'/about.twig', array("page" => $page,'user'=>$user));
|
||||||
|
|||||||
@@ -14,9 +14,6 @@
|
|||||||
"pimple/pimple": {
|
"pimple/pimple": {
|
||||||
"version": "v3.2.3"
|
"version": "v3.2.3"
|
||||||
},
|
},
|
||||||
"psr/container": {
|
|
||||||
"version": "1.0.0"
|
|
||||||
},
|
|
||||||
"psr/log": {
|
"psr/log": {
|
||||||
"version": "1.0.2"
|
"version": "1.0.2"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user