AamAadmiParty / cleansweep

Volunteer & Campaign Management System
Other
40 stars 21 forks source link

Google+ Profile Image is displayed on login in with Google Sign in #175

Closed er-anup closed 8 years ago

er-anup commented 8 years ago

Made Changes in 1) notifications.py : Imported urllib2 and json library. Add Google profile image url in session db 2) volunteercard.html : Displayed the image of Google+ profile.

raghavio commented 8 years ago

No need to store the image url. What if user changes it? Get it every time using the id. Also, replace your key with old key in default_settings and get it like app.config['GOOGLE_KEY_WHATEVER']

er-anup commented 8 years ago

I have written function in helpers.py changed /cleansweep/plugins/volunteers/templates/Volunteers.html and /cleansweep/plugins/volunteers/templates/widgets/VolunteeCcard.html

er-anup commented 8 years ago

Removed Decorator Function from get_google_photo_url Add get_google_photo_url in helpers function

anandology commented 8 years ago

squashed and merged the commits. see e095186 and 2329ca2.