Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Anonymous feedback form #26

Open
scizzorz opened this issue Sep 19, 2013 · 5 comments
Open

Anonymous feedback form #26

scizzorz opened this issue Sep 19, 2013 · 5 comments
Labels

Comments

@scizzorz
Copy link
Member

You know, for anonymous feedback. Could just send email to all the admins instead of recording it as a file.

@philipdexter
Copy link
Member

Anonymous feedback for the class? Or pyboard in general?

@scizzorz
Copy link
Member Author

Uhh, my original intent was for the class, but I guess Pyboard feedback wouldn't be bad? Although they could pretty easily leave anon feedback on GitHub by just making a throwaway account and opening an issue... I'd say just do it for the class.

Might want an option to disable this, though. Some teachers may not like feedback...

@philipdexter
Copy link
Member

True. Good idea

@scizzorz
Copy link
Member Author

app.config['FEEDBACK'] = True|False

Simple enough. Or whatever the syntax is in serverconfig.py, I forgot.

@scizzorz
Copy link
Member Author

This issue should actually be really trivial to implement. Grab the /email/to endpoint from a previous commit and change the yous to the admins and the from to app.config['EMAIL_FROM'] or whatever, with a hardcoded subject of 'Anonymous feedback for ' + app.config['COURSE_NAME']. Admins can probably be grabbed with a list comprehension like admins = [User(x) for x in os.listdir('users')] and then admins = [x.email for x in admins if x.section == 'admin'].

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants