Giter VIP home page Giter VIP logo

collective.ploneboard's People

Contributors

rodfersou avatar tisto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

collective.ploneboard's Issues

Translations

The board currently only really works in German. There are some German terms hard-coded in the templates. A locales dir is in place. First, we should make sure the board works well in English.

Any takers?

Traceback when unauthenticated

2018-11-05 17:55:28 ERROR Zope.SiteErrorLog 1541447728.780.556996271402 http://rodrigo.dedyn.io:58080/Plone/board/view
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module collective.ploneboard.browser.messageboard, line 12, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 137, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 191, in render
  Module chameleon.template, line 171, in render
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 797, in render
  Module 9cfa7a59a836de9940eedf5028816633.py, line 1223, in render_master
  Module 9cfa7a59a836de9940eedf5028816633.py, line 458, in render_content
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 785, in __fill_main
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 604, in render_main
KeyError: 'last_comment_date'

 - Expression: "python:toLocalizedTime(conversation['last_comment_date'])"
 - Filename:   /home/rodfersou/.projects/collective.ploneboard/src/collective/ploneboard/browser/messageboard.pt:56:54
 - Source:     ... ="python:toLocalizedTime(conversation['last_comment_date'])" ...
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:  repeat: {...} (0)
               template: <ViewPageTemplateFile - at 0x7fcb9a331c90>
               views: <ViewMapper - at 0x7fcb99b2c250>
               modules: <instance - at 0x7fcbaf8a0128>
               args: <tuple - at 0x7fcbb3c90050>
               here: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               user: <ImplicitAcquisitionWrapper - at 0x7fcba0dceaa0>
               nothing: <NoneType - at 0x7fcbb4456de0>
               container: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               request: <instance - at 0x7fcba146c5f0>
               wrapped_repeat: <SafeMapping - at 0x7fcb998f1c58>
               traverse_subpath: <list - at 0x7fcb99df6998>
               default: <object - at 0x7fcbb3c66550>
               loop: {...} (2)
               context: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               view: <MessageboardView view at 0x7fcb99b2c1d0>
               translate: <function translate at 0x7fcb99ae2398>
               root: <ImplicitAcquisitionWrapper Zope at 0x7fcba0fcde10>
               options: {...} (0)
               target_language: <NoneType - at 0x7fcbb4456de0>

Robot Framework tests

We do have functional acceptance tests. Though, I'd prefer to have some Robot Framework tests. I am happy to set up the basics, I can even write the top level TDD scenarios, but it would be great if someone could step up to write the actual tests.

Any takers?

Number of comments in board view are not working.

Steps to reproduce:

  1. Create a new Plone site
  2. Create a new board
  3. Add conversations and replies
  4. Go back to the board view
    -> The total comments column (currently commented out) always show 0 comments.

FYI: I commented out the "# of conversations" column for now. See: 257ca00

Getting Configuration Conflict Error after installing on Plone 5.1.4

I'm getting a ConfigurationConflictError and my instance fails to start after installing collective.ploneboard on Plone 5.1.4
Traceback below

  File "/home/david/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 620, in execute_actions
    for action in resolveConflicts(self.actions):
  File "/home/david/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts
    raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
  For: ('adapter', (<InterfaceClass zope.interface.Interface>, <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>, <class 'plone.app.discussion.browser.comments.CommentForm'>), <InterfaceClass plone.z3cform.fieldsets.interfaces.IFormExtender>, u'')
    File "/home/david/acme.site/src/collective.ploneboard/src/collective/ploneboard/browser/configure.zcml", line 11.2-13.66
        <adapter
          factory=".commentextender.CommentExtender"
          provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
    File "/home/david/plone/buildout-cache/eggs/plone.app.discussion-3.0.8-py2.7.egg/plone/app/discussion/browser/captcha.zcml", line 18.8-20.74
              <adapter
                  factory=".captcha.CaptchaExtender"
                  provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />

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.