Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#7065 closed enhancement (fixed)

max_wiki_size, max_ticket_size settings

Reported by: datallah@… Owned by: Remy Blank
Priority: normal Milestone: 0.11.2
Component: wiki system Version:
Severity: major Keywords: patch
Cc: remy.blank@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In the aftermath of #7064, it seems that it would be beneficial to be able to restrict wiki pages and tickets to a configurable maximum size.

We (in the developer.pidgin.im instance) have had people defacing tickets and wiki pages with large amounts of text - this would mitigate the problem somewhat and make the problem less painful to deal with.

Attachments (1)

7065-limit-wiki-ticket-comment-size-r7439.patch (2.4 KB ) - added by Remy Blank <remy.blank@…> 16 years ago.
Patch against 0.11-stable adding options to limit wiki page and ticket comment length

Download all attachments as: .zip

Change History (9)

comment:1 by anonymous, 17 years ago

Severity: blockermajor

Sorry, I didn't mean to make it a blocker.

comment:2 by Tim Hatch, 17 years ago

I started looking into this, and the option exists for ticket descriptions since 0.11 ([ticket] max_description_size which defaults to the same as attachments do). No such thing for wiki pages though.

comment:3 by Christian Boos, 17 years ago

Component: generalwiki system
Milestone: 0.11.1
Owner: changed from Jonas Borgström to Christian Boos

Goes along the lines of resource control, so OK for 0.11.1 (here, resource as in CPU/memory of course ;-) ).

by Remy Blank <remy.blank@…>, 16 years ago

Patch against 0.11-stable adding options to limit wiki page and ticket comment length

comment:4 by Remy Blank <remy.blank@…>, 16 years ago

Cc: remy.blank@… added
Keywords: patch added

The patch above introduces two new configuration options:

  • [ticket] max_comment_size: limits the size of ticket comments.
  • [wiki] max_size: limits the size of wiki pages.

The default value is the same as for [ticket] max_description_size and [attachment] max_size.

comment:5 by Jonas Borgström, 16 years ago

patch looks good. I still think the SpamFilter plugin is the only real defense against this type of problem but I guess people can find this useful.

comment:6 by Remy Blank, 16 years ago

Resolution: fixed
Status: newclosed

Patch applied in [7465].

comment:7 by Remy Blank, 16 years ago

Milestone: 0.11.30.11.2

Setting proper milestone.

comment:8 by Christian Boos, 16 years ago

Owner: changed from Christian Boos to Remy Blank

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.