Modify

Opened 22 months ago

Last modified 11 months ago

#10789 new enhancement

General Wiki Announcements can misbehave because spaces

Reported by: vladmihaisima Owned by: hasienda
Priority: normal Component: AnnouncerPlugin
Severity: minor Keywords:
Cc: Trac Release:

Description

If in the "Preference" > "Announcements" > "General Wiki Announcements" edit box you type something like "* <enter>" (notice the space), there will be nothing matched.

This can be very frustrating and no obvious for users. I would suggest either use strip function on each line, some kind of warning, or a partial list of matched wiki pages. Anything that would hint about what is the problem when you do not receive emails.

Attachments (0)

Change History (2)

comment:1 Changed 19 months ago by rjollos

vladmihaisima: Any chance you could provide a patch? :)

We hope to resume development on the AnnouncerPlugin soon!

comment:2 Changed 11 months ago by jun66j5

GeneralWikiSubscriber has the following issues.

  1. The prefs panel says Each page should be on a separate line. If enter SandBox and SandBox/* with newline and edit SandBox page, but it never notify. We should use splitlines() instead of split(' ').
  2. If using meta characters as re in prefs, it would lead error: unexpected end of regular expression on re.match().
  3. If enter Sand and edit SandBox page, it wrongly notify.

https://github.com/jun66j5/trac-announcerplugin/commit/5ed4739a31c9da57d89930958e0bf2c0b471f3f7.diff

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.