GithubHelp home page GithubHelp logo

icaplyon1 / blogbundle Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 823 KB

A Claroline plugin to add blog resources.

Home Page: https://github.com/claroline/Claroline

PHP 83.08% JavaScript 1.59% CSS 1.66% HTML 13.67%

blogbundle's People

Contributors

maxailloud avatar ngodfraind avatar om64 avatar ptsavdar avatar smaurier avatar stefk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blogbundle's Issues

Unable to install

The bundle cannot be installed because there's two migration classes with identical content in the Migrations folder. If one of those is deleted, everything works fine.

(I've downgraded temporarily the plugin's reference in the super project, let me know when I can upgrade it again, or just send a PR)

Internet Explorer 9

J'ai un retour disant :
"pendant la création du blog avec Internet Explorer 9 je n'arrive pas à avoir la pop-up qui permet d'écrire le nom du blog et donc de le créé." (sur firefox ça fonctionne).

Je n'ai pas d'IE9 pour vérifier ici mais j'ai en effet constater ce genre de soucis la dernière fois que j'ai utilisé claco sur ie.

Correct tag mechanism

Tag need to be a simple string in order to avoid error when filled in with an url.

To make this work the tag mechanism will be upgraded to use slug for url generating.
A new field will be add and the actual one would become the tag's label.

Undefined variable and call to removed controller

Editing the "Info bar" of a blog throws the following exception :

Variable "user" does not exist in /home/stephane/php/projets/claronext/vendor/icap/blog- bundle/Icap/BlogBundle/Resources/views/layout.html.twig at line 125

Besides, the same template keeps a reference to a pre-3.x controller:

{% render controller('ClarolineCoreBundle:ResourceType:initPicker') %}
{{ tinymce_init() }}

Adding post with date

this bug appear on the installation claco (http://claco.univ-lyon1.fr) :

When adding a post to a blog, if a date is specified with the date picker we have the message : " Cette valeur n'est pas valide.".

The value in the field set by the datepicker is in format MM/DD/YYYY. The field isn't editable with out the date picker.

Bug : no default agenda view in viewport < 1200px

When in view mode as a blog creator, there is no agenda widget, even if it is set visible in the options, when it's displayed in one column mode : in two column mode (width > 1200px) the agenda is visible.
In option mode, though, the agenda is always visible.

Blog is broken after claroline core upgrade

After upgrade of claroline core 2.1.8

"Doctrine\DBAL\DBALException" thrown with message : "An exception occurred while executing 'SELECT t0.infos AS infos1, t0.id AS id2, t3.id AS id4, t3.authorize_comment AS authorize_comment5, t3.authorize_anonymous_comment AS authorize_anonymous_comment6, t3.post_per_page AS post_per_page7, t3.auto_publish_post AS auto_publish_post8, t3.auto_publish_comment AS auto_publish_comment9, t3.banner_activate AS banner_activate10, t3.banner_background_color AS banner_background_color11, t3.banner_height AS banner_height12, t3.banner_background_image AS banner_background_image13, t3.banner_background_image_position AS banner_background_image_position14, t3.banner_background_image_repeat AS banner_background_image_repeat15, t3.blog_id AS blog_id16, t0.resourceNode_id AS resourceNode_id17 FROM icap__blog t0 LEFT JOIN icap__blog_options t3 ON t3.blog_id = t0.id WHERE t0.resourceNode_id = ? LIMIT 1' with params [21]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't3.banner_activate' in 'field list'" (500 Internal Server Error) at n/a in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 at Doctrine\DBAL\DBALException::driverExceptionDuringQuery in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 701 at Doctrine\DBAL\Connection->executeQuery in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php line 748 at Doctrine\ORM\Persisters\BasicEntityPersister->load in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 196 at Doctrine\ORM\EntityRepository->findOneBy in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 241 at Doctrine\ORM\EntityRepository->__call in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Icap\BlogBundle\Repository\BlogRepository->findOneByResourceNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Claroline\CoreBundle\Manager\ResourceManager->getResourceFromNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Controller/ResourceController.php line 168 at Claroline\CoreBundle\Controller\ResourceController->openAction in line at call_user_func_array in /home/cctest/app/bootstrap.php.cache line 2815 at Symfony\Component\HttpKernel\HttpKernel->handleRaw in /home/cctest/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle in /home/cctest/web/app.php line 19at n/a in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 at Doctrine\DBAL\DBALException::driverExceptionDuringQuery in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 701 at Doctrine\DBAL\Connection->executeQuery in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php line 748 at Doctrine\ORM\Persisters\BasicEntityPersister->load in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 196 at Doctrine\ORM\EntityRepository->findOneBy in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 241 at Doctrine\ORM\EntityRepository->__call in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Icap\BlogBundle\Repository\BlogRepository->findOneByResourceNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Claroline\CoreBundle\Manager\ResourceManager->getResourceFromNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Controller/ResourceController.php line 168 at Claroline\CoreBundle\Controller\ResourceController->openAction in line at call_user_func_array in /home/cctest/app/bootstrap.php.cache line 2815 at Symfony\Component\HttpKernel\HttpKernel->handleRaw in /home/cctest/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle in /home/cctest/web/app.php line 19

Changes in article without owner validation

If you configure the blog in a way that the owner should validate the article. If you give access to someone to add new article in your blog you have to validate the entry before the article is publish. After that the owner of the article can change the text without any validation.
The correct way should be : after a change in the text of an article the owner of the blog should have to validate the article before the article is published

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.