Weekly reports of the project will be available here:
**5 May - 12 May:**
- Friday: Talking with all coaches, we will be using the #wikimedia-sibu channel on IRC for communication. Every sunday at 13:00 UTC we will have a meeting with everybody, and in between there will also be communication.
- Sunday: Discussion about the name. Maybe we should go for glam2commons.
- Monday-Friday:
- Created a new tool account in Tool Labs
- Set up the environment for a new Flask OAuth tool.
- Made a test app called 'sibutest'.
**13 May - 19 May:**
- Written GSoC weekly blog post.
- Added OAuth authentication using wikimedia credentials to the test app [[https://tools.wmflabs.org/sibutest/| sibutest]].
**20 May - 26 May:**
- Completed the metadata mapping for a single image to be upload to commons from the Nationaal Archief glam. Please find [[https://github.com/infobliss/sibutest/blob/master/NationaalArchief2.py| here]].
- The sibutest app is ready except that the Mediawiki OAuth is failing for some reason. Please find the issue in the comment.
**27 May - 02 June:**
- Read some documentation of the Europeana API from [[http://labs.europeana.eu/api| here]].
- Successfully configured the pywikibot for uploading images in the test app sibutest. The upload is not taking place for some APIError as written in the comment.
**03 June - 09 June:**
- Designed and implemented a basic UI for the app. Please find [[https://tools.wmflabs.org/sibutest| here]].
**10 June - 16 June:**
- Modified code so that the category field given by the user is correctly included in the commons metadata now.
- Added a button for adding multiple categories for an image.
- The "Home" button behavior has been properly modified. Now it shows the login button if not logged in else it shows the glam form to be filled for uploading an image.
- Replaced the textbox for entering the glam name with a dropdown.
**17 June - 23 June:**
- Written generic library functions for the following tasks: (Please find [[https://github.com/infobliss/sibutest2/blob/master/libraries/gen_lib.py| here]])
- Function to load the json from given url and get the parsed json.
- The function that builds the wiki metadata from the glam metadata of the image.
- Function to genrate a standard title for the image to be uploaded.
- Function to upload the image file.
- Created the help page for unique ID information of an image.
- Written code to display the Commons URL once an image is successfully uploaded to Wikimedia Commons.
**24 June - 30 June:**
- First evaluation has been completed.
- Discussed with my mentors regarding the possible approaches to make the app scalable so that support for new GLAMs can be easily added to the app.
**01 July - 07 July:**
- Written code for easily adding new GLAMs to the test app by following an OOP approach. Please find the code [[https://github.com/infobliss/sibutest2/tree/master/OOP| here]].
**08 July - 14 July:**
- Discussed extensively with my co-mentor Zhuyifei regarding the possible implications of our OOP approach.
- Studied the code of the [[http://wikipedia.ramselehof.de/flinfo.php| Flinfo]] app for uploading images.
- Changed our OOP design suitably so that each image upload is an instance of the base GLAM class.
- Added infobox templates Photograph and Art Photo.
- Click [[https://infoblissblog.wordpress.com/gsoc-2017-week-viii-ix| here]] for detailed report.
**15 July - 21 July:**
- Integrated the new code into Toollabs.
- Properly organized the github code into two branches with the help of Zhuyifei.
- Changed the implementation of the uploading module from UploadRobot to site.upload. But the uploads aren't taking place. I am investigating the cause.
- Discussed at large about providing support for multiple uploads with my mentors. Judged the pros and cons of the possible approaches.
**22 July - 28 July:**
- Enabled the flow for Nationaal Archief GLAM for uploading images via search string.
- Made the UI for the same.
- Created a page in Wiki Commons to describe how a new GLAM can be added to the tool.
**29 July - 04 Aug:**
- Locally integrated Amsterdam Museum into the tool. Some more work is remaining such as showing the images as same size thumbnails in a gallery in a non-overlapping manner.
- Rewritten some code to accommodate the changes corresponding to the addition of Amsterdam Museum GLAM.