Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1783

Closed
Open
Created Oct 24, 2012 by Administrator@rootOwner

A little help from a rails guru

Created by: iamntz

Hi guys. I did a little thing that allows users to upload files via drag & drop. The problem is that this things requires also a server modification, which I have no idea how to do it. Also, if users upload images, the script will also provide a small preview of the file. Oh, yes, and can accept multiple files, which may be helpful?

My code is here: https://github.com/iamntz/gitlabhq/compare/drag_n_drop_upload

I was inspired by these two articles: http://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files/ and http://www.sitepoint.com/html5-file-drag-and-drop/

(also, someone from gitlab staff should provide some feedback on if this should be developed or not)

Assignee
Assign to
Time tracking