incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #6777 Create a site-wide notification mechanism
Date Tue, 22 Oct 2013 13:52:39 GMT
`allura.tests.functional.test_admin:TestExport.test_access` among others fails with:

  vim +20   allura/templates/login.html  # top-level template code
    {% extends g.theme.master %}
  vim +80   allura/templates/jinja_master/master.html  # top-level template code
  vim +127  allura/templates/jinja_master/theme_macros.html  # template
    {% set note = g.theme.get_site_notification() %}
  vim +873  allura/lib/  # get_site_notification
    note = SiteNotification.current()
  vim +638  allura/model/  # current
    if not
AttributeError: 'NoneType' object has no attribute 'active'


** [tickets:#6777] Create a site-wide notification mechanism**

**Status:** in-progress
**Created:** Fri Oct 18, 2013 09:37 PM UTC by Cory Johns
**Last Updated:** Mon Oct 21, 2013 10:34 PM UTC
**Owner:** Cory Johns

It's sometimes useful to present some information to all users in a semi-persistent fashion,
related to the site as a whole.  Create a mechanism to store and present these notifications.

The notifications should be semi-persistent, unlike the existing flash messages.  The notifications
should be closable; once closed, they should not show up for that user again until a new message
is in effect.  The notifications should also support a (per message?) configurable number
of impressions per user; after the user has seen the message the specified number of times,
it should no longer be shown to that user.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message