fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

Remove deprecated avatars and uploads implementation #335

Open timcowlishaw opened 5 days ago

timcowlishaw commented 5 days ago

The last step on https://github.com/fablabbcn/smartcitizen-api/issues/166 which we missed at the time - reopening a new PR as it was simpler than rebasing the old one and dealing with the conflicts. It makes sense to do this before the rethinking of the json serializations i think!

This completely removes the deprecated user "avatar" property and "upload" model - all users (apart from two) have had their avatars migrated to use the new profile picture property, and the frontend has already been updated to use profile_picture exclusively.

Maybe worth a test on staging (with the UI) before deploying, but this shouldn't change anything user facing

timcowlishaw commented 5 days ago

@oscgonfer this is up on staging - if when you get a sec you could confirm that everything looks correct in the UI (ie, nothing has changed vs on production) that'd be amazing! no rush though