Modify

Opened 4 years ago

Last modified 4 months ago

#10789 new enhancement

General Wiki Announcements can misbehave because spaces

Reported by: Vlad-Mihai Sima Owned by:
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 (3)

comment:1 Changed 4 years ago by Ryan J Ollos

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

We hope to resume development on the AnnouncerPlugin soon!

comment:2 Changed 3 years ago by Jun Omae

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

comment:3 Changed 4 months ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.