Developed with love by KnpLabs Hire us for your project!
20

SuluCommentBundle

by sulu

Sulu comment bundle

SuluCommentBundle

Build Status
Scrutinizer Code Quality
Code Coverage
StyleCI

The SuluCommentBundle adds support for adding comments to different types of entities (pages, articles, custom) in Sulu.

Included features:

  • Website renderer
  • Sulu-Admin integration to delete and update comments

Status

This repository will become version 1.0 of SuluCommentBundle. It is under heavy development and currently its APIs
and code are not stable yet (pre 1.0).

Requirements

  • Composer
  • PHP ^5.5 || ^7.0
  • Sulu ^1.3

For detailed requirements see composer.json.

Documentation

The the Documentation is stored in the
Resources/doc/ folder.

Installation

All the installation instructions are located in the
Documentation.

License

This bundle is under the MIT license. See the complete license in the bundle

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the
Sulu Minimal Edition to allow developers of the bundle to reproduce the issue
by simply cloning it and following some steps.

Installation

composer require sulu/comment-bundle

Configure the routing

sulu_comment_api:
    type: rest
    resource: "@SuluCommentBundle/Resources/config/routing_api.xml"
    prefix: /admin/api

sulu_comment:
    resource: "@SuluCommentBundle/Resources/config/routing.xml"
    prefix: /admin/comments

Add bundle to AbstractKernel:

new Sulu\Bundle\CommentBundle\SuluCommentBundle(),    
The MIT License (MIT)

Copyright (c) 2016 Sulu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
sulu_comment:
default_templates:
comments: SuluCommentBundle:WebsiteComment:comments.html.twig
comment: SuluCommentBundle:WebsiteComment:comment.html.twig
types:
templates:
comments: SuluCommentBundle:WebsiteComment:comments.html.twig
comment: SuluCommentBundle:WebsiteComment:comment.html.twig
objects:
comment:
model: Sulu\Bundle\CommentBundle\Entity\Comment
repository: Sulu\Bundle\CommentBundle\Entity\CommentRepository
thread:
model: Sulu\Bundle\CommentBundle\Entity\Thread
repository: Sulu\Bundle\CommentBundle\Entity\ThreadRepository
  • Added export button to lists (#22)
    By alexander-schranz, 2 years ago
  • removed changelog
    By wachterjohannes, 3 years ago
  • Prepared files for release 0.1.0 (#19)
    By alexander-schranz, 3 years ago
  • fixed set-title before comment-events (#18)
    By alexander-schranz, 3 years ago
  • added thread-type filter (#17)
    By alexander-schranz, 3 years ago
  • add filter for thread and comment rest api (#16)
    By wachterjohannes, 3 years ago
  • added types parameter to thread-controller (#15)
    By web-flow, 4 years ago
  • added base installation documentation (only backend) (#14)
    By wachterjohannes, 4 years ago
  • correct misspelling (#13)
    By wachterjohannes, 4 years ago
  • dutch translations (#12)
    By wachterjohannes, 4 years ago
  • merge pull request #7 from nickvanderzwet/support-1.3-sulu
    By wachterjohannes, 4 years ago
  • added creator to default list
    By wachterjohannes, 4 years ago
  • Merge pull request #11 from sulu/bugfix/filter-hidden-comments
    By web-flow, 4 years ago
  • added filter for hidden comments
    By wachterjohannes, 4 years ago
  • Merge pull request #10 from sulu/enhancement/list-type
    By web-flow, 4 years ago
  • added list-type to field-descriptor type
    By wachterjohannes, 4 years ago
  • Merge pull request #9 from sulu/bugfix/comment-publish
    By web-flow, 4 years ago
  • fixed publish handling
    By wachterjohannes, 4 years ago
  • Merge pull request #4 from sulu/feature/admin-interface
    By web-flow, 4 years ago
  • fixed translations for publish/unpublish
    By wachterjohannes, 4 years ago
  • added testcases
    By wachterjohannes, 4 years ago
  • init basic admin interface
    By wachterjohannes, 4 years ago
  • added pagination to comment-controller
    By wachterjohannes, 4 years ago
  • fixed collation for comment table
    By wachterjohannes, 4 years ago
  • introduced type and entity-id in comment-event
    By wachterjohannes, 4 years ago
  • added build
    By chirimoya, 4 years ago
  • added pre/post persist comment event (#6)
    By chirimoya, 4 years ago
  • added website-comment-controller (#5)
    By chirimoya, 4 years ago
  • added remove-comment to thread
    By wachterjohannes, 4 years ago
  • init basic entities (#3)
    By chirimoya, 4 years ago