Open kittsville opened 9 years ago
Considering the number of fixes/features in Alpha v0.3 I'm going to push this issue to Beta v1.1.
This will be implemented on the email-notifications
branch
My main issues is not implementing it but working out exactly what should be possible. Should there be all kinds of rules you can set up in the settings? Should individual librarians be able to change their subscriptions via their profile pages? Should there be the option to send reminder emails to members as well as librarians (if they have an email address)? So many possibilities that could change how this is done.
Well damn. I had uncommitted changes before I left for London which I put in a zipped folder for DropBox. Given I'd already synced DropBox that day I didn't bother firing it up in the evening. The documentation for the new action hooks was also uncommitted and not copied for completion in London.
Looks like I'll either have to rewrite that stuff or work on other issues until Alex drops by the flat (Sunday?) and fires my computer up. I guess it at least forces me to actually relax and read for a change.
By grouping notifications for late/due items in multiple emails the number of possible customisable email messages can be reduced. Just a thought.
Also, what if someone is both a librarian and a member? Could always add a checking system that trys to perform additional grouping based on email address. Although if the email address matches then notifications should not be grouped but deleted. A librarian doesn't need to be told twice in one email that a book is due (once as 'you need to return $book' and then as '$member needs to return $book').
This is complicated enough without even getting into the mess that will be testing.
I got the files off the Aberdeen desktop but they don't have the code I'd written before I left. This is all very odd and doesn't help productivity at all.
Currently there is no way for a librarian to be made aware of an item's lateness or upcoming lateness. This means librarians have to regularly check the item listing to see what items are approaching lateness. Users that have provided an email address are also not notified if an item they have borrowed is soon due for return.