Commit Graph

3 Commits (cb0dcc204dd8cd6015ffc25c19557b76cf213084)

Author SHA1 Message Date
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Alexei Arabadji 367b77eb1b EXT-6783 FIXED Made notifications that are saved into notification well window be persisted and offer notifications non-persisted.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/368/

--HG--
branch : product-engine
2010-05-12 14:10:26 +03:00
Dmitry Zaporozhan a4e20e9932 Implemented EXT-6783(normal sub task) - Implement saving of unread notifications.
Utilized old save and load notification code.
Main concern was with notifications that have complex responder - UserGiveItem, ObjectGiveItem. Those responders are object with own fields that need to persist through sessions.

Notifications that should be saved are marked with persist="true" in notifications.xml
Notifications using functor responders are saved automatically.
Notifications using object responders need additional tuning. Responder object should be a) serializable(implement LLNotificationResponderInterface), b) registered with LLResponderRegistry.

At this point following notifications persist through sessions: UserGiveItem, ObjectGiveItem, TeleportOffered, FrienshipOffered.

Reviewed by Mike Antipov - https://codereview.productengine.com/secondlife/r/211/

--HG--
branch : notifications
2010-04-21 14:29:31 +03:00