Commit Graph

1202 Commits

Author SHA1 Message Date
Maurits van Rees
6952923b1e Reset the required setting of the author_email widget each time.
Otherwise, the email field might get set to required when an anonymous
user visits, and then remain required when an authenticated user
visits, making it impossible for an authenticated user to fill in the
form without validation error.  Or when in the control panel the field
is set as not required anymore, that change would have no effect until
the instance was restarted.
2016-06-10 01:57:04 +02:00
Maurits van Rees
e1dbaef82a Fixed possible cross site scripting (XSS) attack on moderate comments page. 2016-06-03 00:43:21 +02:00
Tom Gross
085567431f Make tests work with lxml safe html cleaner (#97)
* Make tests work with lxml safe html cleaner

* whitespace fix in test assertion
2016-05-31 11:41:34 +02:00
Maurits van Rees
89d542e8d2 Apply hotfix 20160419 (#94)
Removed docstrings from some methods to avoid publishing them.
2016-05-04 10:40:36 +02:00
Gil Forcada Codinachs
eee8e3c1b6 Mark edit link for translation (#91)
Mark edit link for translation.
2016-04-07 18:36:19 +02:00
Johannes Raggam
ec7fe25b6c Use `getSite()` instead of portal url
For the discussion controlpanel, change base URLs from portal URL to what getSite returns, but don't change the controlpanels context binding.
This allows for more flexibility when configuring it to be allowed on a sub site with a local registry.
2016-03-11 14:16:22 +01:00
serge73
0a94f185e7 Update plone-ru.po 2016-02-12 02:05:57 +05:00
Johannes Raggam
4df90c2ade remove duplicate 2016-02-10 17:16:35 +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
Fred van Dijk
fcb4bbf94b Get rid of the monkey patch on Products.CMFPlone's CatalogTool. 2016-01-25 14:45:59 +01:00
serge73
a08714575f Create plone-ru.po 2016-01-22 15:33:33 +05:00
Maurits van Rees
e5d6916c2f In tests, use `selection.any` in querystrings.
Issue https://github.com/plone/Products.CMFPlone/issues/1040
2015-11-25 11:40:06 +01:00
Davi Lima
3f07781675 Update Site Setup link in all control panels (fixes plone/Products.CMFPlone#1255) 2015-11-23 09:13:00 -03:00
Gil Forcada
19fe254916 Remove i18n:registerTranslations directive 2015-11-09 22:47:46 +01:00
Gil Forcada
182342833b Remove locales folder
Translations have already been moved to plone.app.locales.

See:
https://github.com/plone/plone.app.discussion/pull/74
b063d4811f
2015-11-09 22:45:21 +01:00
Gil Forcada
0713bcd8bc Use plone i18n domain
plone.app.discussion is an official Plone core package,
thus their translations belong to plone.app.locales.

This commit removes the plone.app.discussion domain and changes it for
plone.

This fixes:
https://github.com/plone/plone.app.discussion/issues/66
2015-11-05 00:30:42 +01:00
esteele
98f1f3d6a4 Move portal_properties settings to configuration registry
commit b13db31e3c55fd5ed9320e9d0c93aea48366c883
Author: esteele <eric@esteele.net>
Date:   Fri Sep 18 10:14:56 2015 +0200

    Remove pdb.

commit 6b3e591583146ca661556ef50cafd02f62c79d46
Author: esteele <eric@esteele.net>
Date:   Fri Sep 18 09:50:06 2015 +0200

    Fix registry id

commit 9dfce9a739496b6023f93376535dccc9a9310517
Author: esteele <eric@esteele.net>
Date:   Thu Sep 17 18:34:42 2015 +0200

    Use registry lookup for types_use_view_action_in_listings
2015-09-20 17:31:55 +02:00
Philip Bauer
e2bd22e74b fix comment-moderation 2015-09-19 14:58:53 +02:00
Philip Bauer
35e6ab2677 remove discussion.css 2015-09-16 14:58:42 +02:00
Encolpe DEGOUTE
c2c5c0abb6 update French translations 2015-09-16 01:33:06 +02:00
ichim-david
99ef943328 Refs #764; added context class to edit link:
- This styles the link as a button which aligns with the other
  actions that have button styles from bootstrap and
  plonetheme.barcelonata
2015-09-15 23:38:23 +03:00
ichim-david
6e85735b5b Fix reply button visibility toggle by javascript 2015-09-15 22:43:34 +03:00
ichim-david
cb83fc2042 Refs #764 style tweaks needed for plonetheme.barcelonata coexistance 2015-09-15 00:14:05 +03:00
Philip Bauer
0b0258867d Fix editing comments in Plone 5 2015-09-13 18:31:38 +02:00
Philip Bauer
b7f81fc3fe Move anonymous_email_enabled after anonymous_comments in controlpanel 2015-09-13 15:38:46 +02:00
Mikel Larreategi
b4bb681837 update basque translation 2015-09-09 12:52:14 +02:00
Victor Fernandez de Alba
35862dd6dc Updated links for the renamed 'Types' control panel 2015-07-16 12:17:59 +02:00
Victor Fernandez de Alba
89a18c889d Change the category of the configlet to 'plone-general' 2015-07-15 18:05:24 +02:00
Leonardo J. Caballero G
71bb802118 Merge branch 'master' of https://github.com/plone-ve/plone.app.discussion 2015-05-31 13:43:53 -04:30
Leonardo J. Caballero G
d227307832 Updated Spanish translation with check spell 2015-05-31 13:41:42 -04:30
vangheem
4bd649e021 fix test 2015-05-30 19:28:22 -05:00
vangheem
e2192e5973 use modal pattern for comment edit 2015-05-30 15:20:32 -05:00
vangheem
68665b6f2b Only use edit overlay if available for editing comments. We will need a plone 5 alternative 2015-05-30 11:45:02 -05:00
Low Kian Seong
da84d4d642 Fixing broken test on travis 2015-05-13 20:03:11 +08:00
Gil Forcada Codinachs
4556486082 Merge pull request #67 from plonejp/master
Updated Japanese translation
2015-05-11 08:39:58 +02:00
Takanori Suzuki
44e7f16636 fix fuzzy translation for japanese 2015-05-09 15:12:29 +09:00
Takanori Suzuki
f745e7c976 update japanese translation 2015-05-09 15:05:35 +09:00
vangheem
1a04b5b042 fix test failures with csrf protection and locking behavior 2015-05-08 12:06:29 -05:00
Gil Forcada
7c8a1371ee 'X not in Y' 2015-05-03 08:56:58 +02:00
Gil Forcada
dcb2a5f51b 2 spaces between top level classes 2015-05-03 08:43:22 +02: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
8b883451ca 80 chars 2015-05-03 08:41:24 +02:00
Gil Forcada
fad5a96129 Unused variable 2015-05-03 08:27:21 +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
0ade2c4329 'X not in Y' is recommended 2015-05-03 08:25:08 +02:00
Gil Forcada
9066183ea9 2 lines between top level functions/classes 2015-05-03 08:24:08 +02:00
Gil Forcada
4bc77a2831 Sort imports
Remove unused ones as well.
2015-05-03 08:16:41 +02:00