Feature requests / Bad words detection

ID: 15

0 participants

11

Bad words detection

This feature request is part of Community Roadmap

Description

Simple worklofw event to validate any content before publish. The goal is to check if any bad word is not in the content. If one or more is in it, the content is automatically refused.
Notifications are sent to the editor -- user in the case of ugc.
Bad word list should be very easy to manage.

Nobody is participating to this feature request.
You can be first!

Participants:

eZ debug

Timing: Jan 14 2025 23:26:43
Script start
Timing: Jan 14 2025 23:26:43
Module start 'content'
Warning: PHP: E_WARNING Jan 14 2025 23:26:43
compact(): Undefined variable $for_firstval_0660a0d411f3961db4f96346c571aea8_1 in /home/ze/public_html/share.se7enx.com/var/community/cache/template/compiled/full-a370a8553ff1eefdc63964667608b5e5.php on line 1647
Warning: PHP: E_WARNING Jan 14 2025 23:26:43
compact(): Undefined variable $for_lastval_0660a0d411f3961db4f96346c571aea8_1 in /home/ze/public_html/share.se7enx.com/var/community/cache/template/compiled/full-a370a8553ff1eefdc63964667608b5e5.php on line 1647
Warning: PHP: E_WARNING Jan 14 2025 23:26:43
compact(): Undefined variable $for_i_0660a0d411f3961db4f96346c571aea8_1 in /home/ze/public_html/share.se7enx.com/var/community/cache/template/compiled/full-a370a8553ff1eefdc63964667608b5e5.php on line 1647
Warning: eZTemplate:def @ extension/community_design/design/suncana/templates/parts/roadmap/item_list.tpl:1[0] Jan 14 2025 23:26:44
Variable 'counter' is already defined.
Warning: eZTemplate:def @ extension/community_design/design/suncana/templates/parts/roadmap/item_list.tpl:1[0] Jan 14 2025 23:26:44
Variable 'counter' is already defined.
Warning: eZTemplate:def @ extension/community_design/design/suncana/templates/parts/roadmap/item_list.tpl:1[0] Jan 14 2025 23:26:44
Variable 'counter' is already defined.
Timing: Jan 14 2025 23:26:44
Module end 'content'
Timing: Jan 14 2025 23:26:44
Script end

Main resources:

Total runtime0.2057 sec
Peak memory usage6,144.0000 KB
Database Queries180

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 683.9609214.8359
Module start 'content' 0.00600.0925 898.79692,155.3281
Module end 'content' 0.09850.1071 3,054.1250678.2734
Script end 0.2056  3,732.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00753.6587210.0004
Check MTime0.00160.7915210.0001
Mysql Total
Database connection0.00070.319510.0007
Mysqli_queries0.110753.82821800.0006
Looping result0.00140.66851770.0000
Template Total0.176585.820.0882
Template load0.00411.978520.0020
Template processing0.172483.823420.0862
Template load and register function0.00140.691910.0014
states
state_id_array0.00080.374510.0008
state_identifier_array0.00170.819820.0008
Override
Cache load0.00351.720560.0006
Sytem overhead
Fetch class attribute name0.00150.734710.0015
Fetch class attribute can translate value0.00080.373010.0008
class_abstraction
Instantiating content class attribute0.00000.002410.0000
XML
Image XML parsing0.00030.142910.0003
General
dbfile0.00160.7618160.0001
String conversion0.00000.002630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfeature_request/full.tplextension/community_design/design/suncana/override/templates/feature_request/full.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs