Google Summer of Code Application 2010

Total Page:16

File Type:pdf, Size:1020Kb

Google Summer of Code Application 2010 Google Summer of Code Application 2010 Project Idea: File Upload question type Abhinav Chittora Education : Graduation (B. Tech) 8th Semester Major : Information Technology College : Engineering College Bikaner Table of Contents: 1. Contact Information 2. Project Outline i. How we are going to upload files? ii. Where we are going to store uploaded files? iii. Configuration Options for Questions iv. Administer Roles? v. Data Entry/ Statistics/ Printable Survey/ Response Browsing/ Response Editing, how? vi. Third Party processing hooks? vii. Any thing else? 3. How will limesurvey benefit from the project? 4. Time line 5. Experience in Open Source development 6. Project related experience 7. Academic Experience 8. Why Limesurvey? 9. References & Important Links Contact Information: Name : Abhinav Chittora Email Id : bijolianabhi[at]gmail[dot]com IRC Nick : Abhinav1 IM & user id : Google Talk ( [email protected]) & Skype (bijolianabhi) Location : Bikaner ( India) Time Zone : IST (UTC + 05:30) Phone No. : +91 9460351625 Blog Address : http://experiencesoc.wordpress.com (Blog to show Google Summer of code Progress) Project Outline: Limesurvey, The Open Source Survey Application has been working in Open Source field since February 20, 2003. In its early days it was called PHPSurveyor. Limesurvey has proposed many idea for Google Summer of Code 2010. File Upload Question Type is one of them and I found myself capable to complete this project. File uploading is the main task that should be done carefully. Uploaded files should be stored at server according to survey. For this we have to note these points: - 1. How we are going to upload files? Ans: We can upload files using CakePHP with model and without model. My personal opinion is to use CakePHP to upload files with model, since we can utilize power of CakePHP with model. 2. Where we are going to store uploaded files? Ans: We can store files outside the webroot folder on the server so that we can easily protect them from the unauthorized access. Each survey will have a directory to upload the files. All the files uploaded as a response of a question in survey will be stored in a directory. Naming will be done according to token or token+time stamp. 3. Configuration Options for Questions. Ans: While defining question with file type we have to make sure about following configuration options, this configuration options can be added in advance settings:- 1. Maximum upload size ( it also depends on the PHP configuration) 2. Number of files uploaded as answer. ( this can easily handled by PHP) 3. Should the file mark as public? (just make a check box to make it public. Since the survey statistic can be viewed publicly so if user checks the button "Make Public" then the file will be available to download for users.) 4. Allowed file extensions.( we can use filter while file choose dialog to filter the files, All extension should be in upper case so that we can easily handle that.) 5. Can user remove the remove the uploaded files. 4. Administer Role? Ans: What will be admin role after uploading the files? Here I am describing some tasks of admin that can be accomplished: 1. Downloading the uploaded files ( make a page to show the list of uploaded file with check box. Admin will check the files to download them as a archived form.) 2. Viewing the uploaded files ( we can make link the name of file to preview the file and admin can download that by “ right click-> save link as “. 3. Deleting the uploaded file ( admin must have permission to delete the file, there will be option to delete the file/files). 4. Altering the uploaded files. ( admin will able to change the content and the details for the files). 5. Data Entry/ Statistics / Printable Survey / Response Browsing/ Response Editing, How? Ans: Data Entry Screen is the page where which is used to enter data in paper based survey. It should be compact and effective. If we are uploading pictures then the files can be easily shown on the page, and if we are going to upload other documents such as pdf files, document files then we can only add that on the page. Now come to Statistics page, it is used to show the statistics of the survey. Statistics will include total no of file uploaded and the total files size. So that survey admin can get the file system statistics. In case of printable survey and we need picture to upload as answer then we can add a space to affix the picture or just add a note behind the survey that please attach the picture with survey. Response browsing is the toughest task after uploading the files on the server. We have to make an interface so that the admin can browse the responses and uploaded files as well as. For this I am going to make a separate page that will contains table of all the files, here admin can browse the files by clicking them. If admin will click on a picture then it will open a <iframe> using any JavaScript library( here I will prefer Jquery) and a slide show will be start so that he can browse all the files. If admin want to download the files then there will be a option to choose the files and after choosing all the downloading files admin can click on download button it will download the selected files in archive format. Response browsing for Images: If the uploaded file is Image with any possible format then for browsing there will be a slide show based on Lightbox 2 which is based on JQuery. Slide show with Lightbox is not only a fancy slide show but also it provide some cool navigation feature. so I like Lightbox plugin of JQuery. Response browsing for Documents: If the uploaded file are documents i.e. *.doc, *.odt, *.txt, *.rtf, *.pdf, *.ppt, *.xls, and Other document formats then we can use Google Document List API [0]. There will be a link to view these files that will open the files in new tab/ windows. Google's Document List API is used to Share/Create documents. Response browsing for Video/Audio files: If user uploads some video/audio files with any format that is supported then we can create a trigger that will convert the uploaded files into the open media format such as *.ogg, *.ogv. that we can easily browse using <embed> tag and if the user is using Mozilla Firefox 3.5+ or Opera, Apple Safari, Google Chrome, then we can use HTML5 code i.e <audio> and <video> to browse the uploaded files. Response edit can be done on the same page that is described in response browsing page. Admin will have a option to edit/ delete/ add files here. 6. Third party Processing hooks? Ans: Third party processing refers to processing uploaded files before used by third party. This processing include cropping pictures/ adding watermarks in documents/ converting video in specific format etc. While defining a question having file type, we can provide some configuration option that can used for processing the files. For example if the application developer have Javascript images processing tool then we can easily provide him to attach the Javascript function as a trigger. We provide facility to add third party function to be called by limesurvey. For this we have to add a textbox which will take input a function name which should be called just after uploading the file. Through this we can easily integrate third party processing tools. Although Limesurvey need not to process the files it self but some processing tools for example Image cropping that are not much heavy can be added to Limesurvey. Image cropping can be done by Javascript Libraries. For example JCrop which is based on JQuery can be used for Image Processing. If we use this then we need not to worry about the confiltion and compitability. 7. Any thing else? Ans: I am going to make response browsing more user friendly by adding Slide shows and Document viewer in Limesurvey. Slide Show/ Document viewer can be added via some popular Javascript libraries such that Jquery, Prototype, YUI, Mootool etc. (for Slide show my personal choice is Lightbox.) How will LimeSurvey benefit from my project? Currently Limesurvey does not support file type question, After completing the project Limesurvey will able to add question with file type. This will be great feature for Limesurvey. Time Line: Here I am providing time line that I will follow. I Hope, I will follow that as state: • Before coding period starts: Understanding the code, bounding with community. • First Fortnight( May 24 – June 07, 2010) ◦ Adding file type question in Limesurvey. ◦ My university exams will be scheduled so I have to concentrate on study. • Second Fortnight ( June 08- June 23, 2010) ◦ Providing Security for uploaded files ◦ Removing security threads. ◦ Simultaneously working on feature suggestions by the community. • Third Fortnight (24 June – 12 July, 2010) ◦ Adding configuration options for file type questions. ◦ Code submission for first midterm evaluation.* ◦ Simultaneously working on feature suggestions by the community. • Forth Fortnight ( 13 July – 28 July, 2010) ◦ Adding Administrator tasks. ◦ Adding Data Entry screen/ Printable Survey/ Response Browsing Screen. ◦ Simultaneously working on feature suggestions by the community. • Fifth Fortnight ( 29 July – 16 August, 2010) ◦ Adding third party processing hooks ◦ Documenting the work done so far. ◦ Simultaneously working on feature suggestions by the community. • Sixth Fortnight ( from 17 August, 2010) ◦ Work on Documentation, testing and bug removing. ◦ Work on improving code. • After August 30, 2010** ◦ Party time :) After party I am available to code for community to code any time and will continue contributing to organization.** Note: *Submitting code for midterm refers that I am ready for evaluation.
Recommended publications
  • Emotions and Performance in Virtual Worlds
    EMOTIONSANDPERFORMANCEINVIRTUAL WORLDS An Empirical Study in the Presence of Missing Data Inauguraldissertation zur Erlangung des Doktorgrades der Wirtschafts- und Sozialwissenschaftlichen Fakultät der Universität zu Köln 2015 vorgelegt von Diplom-Informatikerin Sabrina Schiele aus Duisburg Referent: Prof. Dr. Detlef Schoder Koreferent: Prof. Dr. Claudia Loebbecke Datum der Promotion: 27.11.2015 EMOTIONSANDPERFORMANCEINVIRTUALWORLDS sabrina schiele Department of Information Systems and Information Management Faculty of Management, Economics and Social Sciences University of Cologne Sabrina Schiele: Emotions and Performance in Virtual Worlds, An Em- pirical Study in the Presence of Missing Data, 2015 To Gregor, who supported all of my decisions and always found the right words to keep me going in times of despair. ABSTRACT In this work, we first investigate characteristics of virtual worlds and de- termine important situational variables concerning virtual world usage. Moreover, we develop a model which relates individual differences of vir- tual world users, namely emotional and cognitive abilities, experiences with virtual worlds as a child, and the level of cognitive absorption per- ceived during virtual world use, to the users’ individual performance in virtual worlds. We further test our model with observed data from 4,048 study participants. Our results suggest that cognitive ability, childhood media experience, and cognitive absorption influence multiple facets of emotional capabilities, which in turn have a varyingly strong effect on virtual world performance among different groups. Notably, in the present study, the effect of emotional capabilities on performance was stronger for users which prefer virtual worlds that have more emotional content and require more social and strategic skills, particularly related to human behavior.
    [Show full text]
  • 4PSA Integrator 3.5.0 for Plesk 8.2.0 and Newer Versions User's Guide
    4PSA Integrator 3.5.0 for Plesk 8.2.0 and newer versions User's Guide For more information about 4PSA Integrator, check: http://www.4psa.com Copyright © 2011 Rack-Soft. 4PSA is a registered trademark of Rack-Soft, Inc. User's Guide Manual Version 77015.19 at 2011/02/14 17:48:20 For suggestions regarding this manual contact: [email protected] Copyright © 2011 Rack-Soft. 4PSA is a registered trademark of Rack-Soft, Inc. All rights reserved. Distribution of this work or derivative of this work is prohibited unless prior written permission is obtained from the copyright holder. Plesk is a Registered Trademark of Parallels, Inc. Linux is a Registered Trademark of Linus Torvalds. RedHat is a Registered Trademark of Red Hat Software, Inc. FreeBSD is a Registered Trademark of FreeBSD, Inc. All other trademarks and copyrights are property of their respective owners. Table of Contents Preface ................................................................................................. 5 Who Should Read This Guide ....................................................................... 5 Chapter 1. The Administrator Module ....................................................... 6 1. Manage Tools for Domains ...................................................................... 7 Tools for a Domain ................................................................................ 7 Installing Tools on a Server ..................................................................... 8 Installation Report ..............................................................................
    [Show full text]
  • Ubuntu Server Guide Ubuntu Server Guide Copyright © 2010 Canonical Ltd
    Ubuntu Server Guide Ubuntu Server Guide Copyright © 2010 Canonical Ltd. and members of the Ubuntu Documentation Project3 Abstract Welcome to the Ubuntu Server Guide! It contains information on how to install and configure various server applications on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for configuring and customizing your system. Credits and License This document is maintained by the Ubuntu documentation team (https://wiki.ubuntu.com/DocumentationTeam). For a list of contributors, see the contributors page1 This document is made available under the Creative Commons ShareAlike 2.5 License (CC-BY-SA). You are free to modify, extend, and improve the Ubuntu documentation source code under the terms of this license. All derivative works must be released under this license. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE AS DESCRIBED IN THE DISCLAIMER. A copy of the license is available here: Creative Commons ShareAlike License2. 3 https://launchpad.net/~ubuntu-core-doc 1 ../../libs/C/contributors.xml 2 /usr/share/ubuntu-docs/libs/C/ccbysa.xml Table of Contents 1. Introduction ........................................................................................................................... 1 1. Support .......................................................................................................................... 2 2. Installation ............................................................................................................................
    [Show full text]
  • Manual for Internet-Based Surveys of Drug Treatment Facilities with the European Facility Survey Questionnaire
    Manual for internet-based surveys of drug treatment facilities with the European Facility Survey Questionnaire March 2017 Table of Contents: 1. Introduction .......................................................................................................................... 3 1.1. Selection and set up of the survey platform ................................................................... 3 1.2. Import and set up of the EFSQ questionnaire ................................................................ 4 1.3. Translation of the questionnaire .................................................................................... 4 1.4. Survey management ..................................................................................................... 4 1.5. Managing contacts and invitations ................................................................................. 5 1.6. Result management and exports ................................................................................... 6 2. Running the EFSQ in LimeSurvey© ...................................................................................... 7 2.1. Installation of LimeSurvey© ............................................................................................ 7 2.2. Import and set up of the questionnaire .......................................................................... 8 2.3. Translation of the questionnaire .................................................................................... 9 2.4. Survey management ..................................................................................................
    [Show full text]
  • Manual De Usuario De "Limesurvey"
    Este documento ha sido elaborado utilizando plenamente software libre Autor: Carlos Juan Martín Pérez Versión del documento 1.0: Julio de 2008 Versión del documento 1.1: Octubre de 2008 Versión del documento 1.2: Diciembre de 2008 Versión del documento 2.0: Enero de 2009 Base de datos y Sistema de Evaluación e Investigación SIRESCA Índice de contenido Preámbulo............................................................................................5 Capítulo I. Base de Datos.....................................................................7 I. Introducción............................................................................................8 I.1. Acceso inicial.......................................................................................9 I.2. Secciones del Sistema........................................................................10 I.2. Directorio...........................................................................................11 I.3. Datos generales.................................................................................12 I.4. Oferta académica...............................................................................16 I.5. Terminología......................................................................................18 I.6. Acceso para Miembros.......................................................................19 Capítulo II. Sistema de Evaluación e Investigación............................21 II. Introducción.........................................................................................22
    [Show full text]
  • CSE 361: Web Security CSRF, XSSI, SRI, and Sandboxing
    CSE 361: Web Security CSRF, XSSI, SRI, and Sandboxing Nick Nikiforakis CSRF (Sea Surf) 3 Regular Web site usage Behind the scenes https://acmebank.com <form method=“POST” target=https://acmebank.com/transfer> <input type=“text” name=“acct-to”> <input type=“text” name=“amount”> <input type=“submit”> </form> 123-456-789 $50 Transfer OK 4 Forcing browser to perform an action for the attacker http://kittenpics.org <form method="POST" action="https://acmebank.com/transfer" id="transfer"> Processing <input type="hidden" name="act-to" value="987-654-3210"> transaction <input type="hidden" name="amount" value="100000"> </form> <script> transfer.submit() </script> 5 Cross-Site Request Forgery (CSRF / "Sea Surf") • Web application does not ensure that state-changing request came from "within" the application itself • Attack works for GET ... • Image tag with src attribute: <img src="https://acmebank.com/transfer?to=attacker&amount=10000"> • Hidden iframes, css files, scripts, ... • and POST • create iframe (or pop-up window) • fill created viewport with prefilled form • submit form 6 CSRF Examples: digg.com (2006) • digg.com determines frontpage based on how many "diggs" a story gets • vulnerable against CSRF, could be used to digg an URL of the attacker's choosing • Guess which article made it to the front page... 7 CSRF Example: WordPress < 2.06 (2007) • WordPress theme editor was susceptible • WordPress themes are PHP files • Attacker could modify files when logged-in admin visited his page • arbitrary code execution on targeted page 8 CSRF Example: Gmail filters (2007) • Google Mail insufficiently protected against CSRF • Attacker could add mail filters • e.g., forward all emails to a certain address • According to a victim, this led to a domain takeover • Attacker adds redirect filter • Attacker request AUTH code for domain transfer • Voila • Actually, this incident occurred after the bug was fixed..
    [Show full text]
  • Customizable Online Questionnaire Framework
    Customizable Online Questionnaire Framework Deliverable 5.2 Project acronym: ACT Project full title: Communities of PrACTice for Accelerating Gender Equality and Institutional Change in Research and Innovation across Europe Type of action: Coordination and Support Action Duration: 1st May 2018 – 30th April 2021 (36 months) Contract number: Grant Agreement Number 788204 Programme: Horizon 2020 – Science with and for Society (SwafS-2017-1) Deliverable number: D5.2 Workpackage: WP5 WP lead partner: FUOC Other partners ADVANCE HE (formerly ECU), JOANNEUM involved: Dissemination level: Public Document version: 1 Authors: Jörg Müller, Ricard Solans, Julià Minguillón Due date: September 30, 2019 (M17) Submission date: September 30, 2019 (M17) This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 788204 ACT – D5.2 CUSTOMIZABLE ONLINE QUESTIONNAIRE FRAMEWORK OBJECTIVES OF THE DELIVERABLE This draft specification details the customisation tasks of LimeSurvey and data exchange procedures between LimeSurvey and GenPORT+ (GenPORT and the ACT Knowledge Sharing Hub). As a work-in-progress document, this draft is expected to evolve according to the discussions around the desired functionalities of such a tool. CONSORTIUM The ACT consortium consists of 17 partners: Fundació per a la Universitat Oberta de Catalunya (project coordinator, Spain), Portia (UK), NOTUS (Spain), Joanneum Research Forschungsgesellschaft MBH (Austria), Advance HE (formerly Equality Challenge Unit) (UK),
    [Show full text]
  • Request Entity Too Large the Requested Resource
    Request Entity Too Large The Requested Resource Chattier or coplanar, Manuel never reoccupied any xylophage! Viciously Numidia, Rudyard appeased stretcher and dollops bye-bye. Is Berchtold granophyric or sawdusty when stowaway some teffs impede brassily? What the entity too large to stack of any of these cookies are still an account Request Entity Too Large error was encountered while. Please enter a valid email address. How Apache Limit POST are set to accept Strictly local service Request? Select the site that you are hosting your web application under it. You signed in with another tab or window. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. With as much detail as possible. By following several subjects on this problem by internet, I make some changes on web. Did wind and solar exceed expected power delivery during Winter Storm Uri? Request Entity Too Large response. Another tab or the requested entity too long. How do you upload the files? Learn how you can get involved with the project. Implementations of the resource was unsuccessful because the request entity too large iis. How can I fix this bug? The resource requested is only capable of generating response entities which have content characteristics not specified in the accept headers sent in the request. For the best experience, update your browser to the latest version, or switch to another browser. Whats the way to go from one release to another in a production server keeping the data intact. My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
    [Show full text]
  • Flosscatalog.Pdf
    Free/Libre Open Source Software: a guide for SMEs Software catalog Report edition: 1.8 December 2007 released under CC license Attribution-Sharealike 2.5, http://creativecommons.org/licenses/by-sa/2.5. Report edited by : Carlo Daffara, email: [email protected] Document page: http://guide.conecta.it Created in the context of the FLOSSMETRICS and OpenTTT EU project; project websites: www.flossmetrics.eu www.openttt.eu Cover image by Sven Geier, http://www.sgeier.net/fractals/ page 1 Table of Contents Introduction................................................................................................................................................3 Infrastructural software..............................................................................................................................5 ERP/CRM................................................................................................................................................23 Groupware................................................................................................................................................35 Document management............................................................................................................................46 Content management systems..................................................................................................................50 VoIP, conferencing and messaging...........................................................................................................54 Graphics
    [Show full text]
  • A Preliminary Analysis of Localization in Free Software: How Translations Are Performed Laura Arjona Reina, Gregorio Robles, Jesús González-Barahona
    A Preliminary Analysis of Localization in Free Software: How Translations Are Performed Laura Arjona Reina, Gregorio Robles, Jesús González-Barahona To cite this version: Laura Arjona Reina, Gregorio Robles, Jesús González-Barahona. A Preliminary Analysis of Localiza- tion in Free Software: How Translations Are Performed. 9th Open Source Software (OSS), Jun 2013, Koper-Capodistria, Slovenia. pp.153-167, 10.1007/978-3-642-38928-3_11. hal-01467568 HAL Id: hal-01467568 https://hal.inria.fr/hal-01467568 Submitted on 14 Feb 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Distributed under a Creative Commons Attribution| 4.0 International License A preliminary analysis of localization in free software: how translations are performed Laura Arjona Reina1, Gregorio Robles2, and Jes´usM. Gonz´alez-Barahona2 1 Technical University of Madrid (UPM), Madrid (Spain) [email protected] 2 GSyC/Libresoft, Universidad Rey Juan Carlos, Madrid (Spain) {grex,jgb}@gsyc.urjc.es Abstract. Software is more than just source code. There is a myriad of elements that compose a software project, among others documentation, translations, multimedia, artwork, marketing. In this paper, we focus on the translation efforts that free, libre, open source software (FLOSS) projects undergo to provide their software in multiple languages.
    [Show full text]
  • Virtual Classroom Simulation
    Virtual Classroom Simulation: Design and Trial in a Preservice Teacher Education Program A thesis submitted by Simon Skrødal for the degree of Doctor of Philosophy School of Education, Faculty of the Professions The University of Adelaide June 2010 Supervisory Panel: Sivakumar Alagumalai, Michael. J. Lawson, Paul Calder and Andrew Wendelborn Appendix A. Software and Resources Below is a list of software, tools and resources used in the development, testing, data collection, analysis and reporting of this research. A.1. Operating Systems The final version of the VCS has been successfully tested on the following operating systems using the Java Runtime Environment and Java Development Kit, version 6. Microsoft Windows 2000 Used for development and testing. Microsoft Windows XP Tesed only, no development work. Microsoft Windows Vista Used for development and testing. Microsoft Windows 7 Tested only, no development work. Sabayon Linux Tested only, no development work. Ubuntu Linux Tested only, no development work. * An earlier version of the VCS was successfully tested on the Apple Mac OSX. The current version has, however, not been tested on this platform. 299 Appendix A. Software and Resources A.2. For Software Development A.2.1. Platforms Apache Derby (Java DB) An open source relational database implemented entirely in Java. Java DB is Sun Microsystem’s supported distribution of Apache Derby and is now included in the Java Development Kit. The VCS uses Apache Derby for data storage and retrieval. © 2004-2007 Apache Software Foundation. http://db.apache.org/derby/ http://developers.sun.com/javadb/ Java Technology The VCS was developed on the Java 2 Platform, Standard Edition (Java 2SE)1, using the Java programming language.
    [Show full text]
  • Carnegie Mellon University Pittsburgh, Pennsylvania Carnegie Mellon
    Technology Consulting in the Community Information Systems Management Course 95-822 Computer Science Course 15-391 Fall 2008 Final Consulting Report Longé Dominica Kyunghwan Choi Carnegie Mellon University Pittsburgh, Pennsylvania www.cmu.edu/tcinc Carnegie Mellon Longé Dominica Executive Summary Student Consultant, Kyunghwan Choi Community Partner, Cara Ciminillo I. Background Information Longé Dominica is a non-profit organization with a mission to: Increase tangible resources in the Carib Territory by creating dynamic educational settings for Kalingo and non-Kalingo young adults with a focus on the arts, service, and leadership development. The organization offers three main programs in delivering its mission. These programs are available throughout the year to college students and adults. The Community Partner, Cara Ciminillo, is the founder of the organization and serves as Executive Director. She spent two years as an Americorps VISTA at Habitat for Humanity, a summer as Resident Director and Instructor with the Pennsylvania Governor’s School for International Studies, and eight years with VISIONS. II. Consulting Tasks 1. Internal Communication The staff members of the organization are dispersed around the world; there was no clear method of communication in place. All the client, partner, and donor information stored in Microsoft Excel and Word files and the data is exchanged via e-mail. Also, Ms. Ciminillo was responsible for keeping data up-to-date, which means that if Ms. Ciminillo is unavailable, other staff members did not have access to the most updated information. This often prevented tasks from being completed in a timely manner. 2. External Communication The organization is partially funded by the tuition of students participating in gap-year programs.
    [Show full text]