xtfc / pyboard

A simple submission system that I use for my class
1 stars 0 forks source link

Announcements #17

Closed scizzorz closed 11 years ago

scizzorz commented 11 years ago

I'd imagine that's what the /emails/to/<to> endpoint is for, but I think it's something that could easily be tracked / maintained by Pyboard as well at /announcements or something. In terms of actual implementation, it'd probably be pretty easy to just toss them in announcements with alphabetically ascending names, and then reverse sort them to show the most recent first. It would need to be a little more complex if they need metadata, but if not, that should work.

philipdexter commented 11 years ago

Originally it was created because I hated automatically creating and maintaining gmail contact lists for all 4 sections (a51-a54).

I like the idea of announcements. It (probably) could replace the /emails/to/<to> entirely. Especially if it auto-emailed the class when a new announcement was posted.

scizzorz commented 11 years ago

If we made announcements posted through Pyboard itself (rather than, say, just adding a new file to anouncements), then it should be trivial to auto-email the announcement out when it writes the file.