Jens W. Klein
bcb9315772
add newsfile
2022-05-02 00:43:21 +02:00
Jens W. Klein
f443deacbd
use plone.base and remove dependencies to CMFPlone
2022-05-02 00:39:34 +02:00
Jens W. Klein
75c6a5dcc1
find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} +
2022-05-01 23:14:41 +02:00
Jens W. Klein
34b758f2bd
black
2022-05-01 23:14:09 +02:00
Jens W. Klein
e72d86b985
isort
2022-05-01 23:14:00 +02:00
Katja Suess
dde8640fc5
Update test_comments_viewlet.py
2020-01-11 11:43:35 +01:00
Philip Bauer
95861b28d5
fix tests with py3
2018-09-18 15:13:38 +02:00
Markus Hilbert
3c36af8ebc
Fixed tests when IRichText behavior is used.
2018-07-11 12:35:46 +02:00
Philip Bauer
71dcbf8465
some py3 fixes
2018-03-18 17:01:27 +01:00
Philip Bauer
93a227c80d
Add Python 2 / 3 compatibility
2018-01-25 13:04:11 +01:00
KUMAR AKSHAY
964dcea523
kakshay unittest ( #121 )
...
remove unittest2 dependency
2017-05-08 09:24:38 +02:00
Maurits van Rees
802e3ec04c
Make comment on private content not publicly available in search results.
...
This is part of PloneHotfix20161129.
Updated metadata.xml version to 1000. This leaves more room for
profile version increases in earlier releases. We apply the rolemap
step again to avoid accidentally missing it.
2017-01-14 17:58:48 +01:00
Gil Forcada
cb1bf28c16
Cleanup
...
Follow https://github.com/plone/jenkins.plone.org/blob/master/docs/source/run-qa-on-package.rst
to clean up the code.
2016-02-05 09:43:42 +01:00
Gil Forcada
8410b7525f
Do not redefine comment
2015-05-03 08:42:52 +02:00
Gil Forcada
754e712372
Typo
2015-05-03 08:42:07 +02:00
Gil Forcada
ce48a9ed46
2 spaces before inline comment
2015-05-03 08:41:56 +02:00
Gil Forcada
411f36e708
One argument per line
2015-05-03 08:27:03 +02:00
Gil Forcada
2baafcbfd8
Typo
2015-05-03 08:25:19 +02:00
Gil Forcada
4bc77a2831
Sort imports
...
Remove unused ones as well.
2015-05-03 08:16:41 +02:00
David Glick
8690461ffb
create doc1 in the text fixture rather than in setup for each test
2015-03-09 21:51:45 -07:00
Vincent Fretin
acacc8281a
add a test for delete-own-comment view
2014-09-20 16:21:55 +02:00
Andrea Cecchi
4f255a355d
rebased CHANGES and tests
2014-05-15 17:51:22 +02:00
Andrea Cecchi
e453e0050b
fixed HISTORY and add delete test to test_comments_viewlet
2014-05-15 17:51:22 +02:00
Andrea Cecchi
fd16144b9b
fixed edit test
2014-05-15 17:51:05 +02:00
Andrea Cecchi
3711d2fb5f
rebased branch from master
2014-05-15 17:51:05 +02:00
Guido A.J. Stevens
a82352a36c
Make comments editable
2014-05-15 17:50:32 +02:00
maartenkling
8ccd648928
user member.getId as author_username, so membrane users and plone users have portraits and author urls
2014-02-02 14:55:37 +01:00
Timo Stollenwerk
a8dc5dd3f0
Remove test_suite functions since they are only needed for zope.testing < 3.8.0.
2013-12-19 09:54:03 +01:00
Benoît Suttor
c3ce01edd0
Use defaultUser.png instead of defaultUser.gif
...
Indeed, defaultUser.gif is in a deprecated skins folder (Products/CMFPlone/
skins/plone_deprecated/defaultUser.gif) and not defaultUser.png
(Products/CMFPlone/skins/plone_images/defaultUser.png).
Test is also updated.
2013-11-13 15:53:12 +01:00
JeanMichel FRANCOIS
410b8c998a
Fix ownership of comments.
2013-11-05 10:23:15 +01:00
tisto
fbc78e2951
Remove portal_discussion tool.
2013-10-10 15:36:18 +02:00
Timo Stollenwerk
9049368cba
Refactor tests to use the PLONE_APP_CONTENTTYPES_FIXTURE instead of the PLONE_FIXTURE. This fixes all test p.a.discussion test failures.
2013-08-29 22:20:47 +02:00
Andreas Zeidler
b027789391
prevent the viewlet from raising an error for objects that are not annotatable
2013-08-15 00:01:22 +02:00
Timo Stollenwerk
29fe4bbec7
Pep8.
2013-04-17 19:34:17 +02:00
David Glick
58b4205f38
Revert "Attempt to fix test_format_time()."
...
This reverts commit c231794940
.
2012-08-02 22:21:26 -07:00
David Glick
7fe9f062e8
Revert "Update master"
...
This reverts commit 53ec8e52ea
.
2012-08-02 22:21:19 -07:00
Karl Johan Kleist
53ec8e52ea
Update master
2012-07-18 06:58:17 +03:00
Karl Johan Kleist
c231794940
Attempt to fix test_format_time().
2012-07-18 06:56:14 +03:00
Karl Johan Kleist
636e77e3b2
Reverting, as per Timo's comment in 49734cd39b (commitcomment-1559057)
.
...
So Jenkins is running the tests using the en-US locale?
2012-07-10 10:56:56 +03:00
Karl Johan Kleist
49734cd39b
Fallback for localized time is now ISO style.
...
https://jenkins.plone.org/job/plone-4.3-tests/89/testReport/junit/plone.app.discussion.tests.test_comments_viewlet/TestCommentsViewlet/test_format_time/
2012-07-07 11:58:46 +03:00
tisto
0558a9b739
Pep8
2012-01-14 07:26:01 +01:00
Timo Stollenwerk
e17cfa68a1
Fix whitespace/Pep8/Pyflakes in tests.
2012-01-09 16:43:54 +01:00
Timo Stollenwerk
f8019b0c10
Use plone.app.testing in test_comments_viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=48899
2011-04-16 09:25:16 +00:00
Hanno Schlichting
9db8909ea7
Avoid using deprecated test assertions, see http://docs.python.org/dev/library/unittest.html#deprecated-aliases for the full list
...
svn path=/plone.app.discussion/trunk/; revision=48881
2011-04-15 16:23:38 +00:00
Ross Patterson
3708429a37
Move some policy out of the conversation storage adapter into a view,
...
specifically "enabled()". Prevents having to replace/migrate
persistent objects to change policy which really only concerns the
context and possibly the request, not the conversation storage. Fixes
#11372 .
svn path=/plone.app.discussion/trunk/; revision=48849
2011-04-15 04:29:46 +00:00
David Glick
eb004aab44
merge r46437 and r46946 from davisagli-features: respect the per-comment mime_type setting, and use the old cooked text/html from legacy comments when migrating
...
svn path=/plone.app.discussion/trunk/; revision=48356
2011-04-02 19:51:37 +00:00
Maurits van Rees
478273aa80
minor code cleanup
...
svn path=/plone.app.discussion/trunk/; revision=47599
2011-02-15 16:23:12 +00:00
Maurits van Rees
81d74cfe6b
Fixed test failure for the default user portrait, which changed from
...
defaultUser.gif to defaultUser.png in Products.PlonePAS 4.0.5.
svn path=/plone.app.discussion/trunk/; revision=47597
2011-02-15 16:19:13 +00:00
Timo Stollenwerk
c438743a3b
Show a 'Comments are moderated.' message next to the comment form if comments are moderated.
...
svn path=/plone.app.discussion/trunk/; revision=46782
2011-01-07 10:20:24 +00:00
Maurits van Rees
a2a17085a3
Nuke trailing white space
...
svn path=/plone.app.discussion/trunk/; revision=46366
2010-12-15 23:52:56 +00:00