fossasia / meilix-generator

WebApp for generating a custom ISO image based on Meilix http://meilix.org
GNU Lesser General Public License v3.0
1.53k stars 113 forks source link

Added function calls for uploading files in the index function - (Solves - #309) #382

Closed pranav1698 closed 5 years ago

pranav1698 commented 5 years ago

Checklist

Short description of what this resolves:

The index function is now somewhat abstracted, by replacing the code for uploading files into function calls which will take care of the file upload This will help in implementing file checking for each of wallpaper, logo, and the zipFiles.

Changes proposed in this pull request:

Fixes #309

pranav1698 commented 5 years ago

Sure, I will update the pr

pranav1698 commented 5 years ago

Preview link: https://dry-wave-80127.herokuapp.com

pranav1698 commented 5 years ago

@rpotter12 please review now

pranav1698 commented 5 years ago

Ofcourse, it is working in the present this just reduces the big index function to function calls using functions for seperate tasks

pranav1698 commented 5 years ago

Thanks @rpotter12 @abishekvashok for the approvals I think we can merge this now