Re: [galaxy-dev] show urls in csv (in eye mode)

2013-03-20 Thread Hagai Cohen
Hi, I found that in order to change static/scripts/mvc/data.js, I had to delete static/scripts/packed/mvc/data.js. After doing so, I have added the following patch in order to add links inside tabular view. else if (column_types[index] === 'str' || column_types === 'list') { /* Left a

Re: [galaxy-dev] show urls in csv (in eye mode)

2013-03-18 Thread Hagai Cohen
Hi, I want to do this using a function which converts each URL into an html link ( after the .text() was called). (For example to use: https://github.com/maranomynet/linkify). But now the galaxy code is a bit different and I can't find where should I change the code. I have found the _renderCell f

Re: [galaxy-dev] show urls in csv (in eye mode)

2013-02-03 Thread Hagai Cohen
Right. I will convert it to text, allowing only simple links ( with href only) to be shown. Thanks, Hagai On Wed, Jan 30, 2013 at 8:03 PM, James Taylor wrote: > You may want to be careful with this solution because it allows script > injection, any HTML including javascript in the uploaded tabu

Re: [galaxy-dev] show urls in csv (in eye mode)

2013-01-30 Thread James Taylor
You may want to be careful with this solution because it allows script injection, any HTML including javascript in the uploaded tabular file will be executed by the .html call, with complete access to everything in the Galaxy browser window (like your session cookies). -- James Taylor, Assistant P

Re: [galaxy-dev] show urls in csv (in eye mode)

2013-01-29 Thread Hagai Cohen
Hi, I found a simple solution. In the file: templates/dataset/tabular_chunked.mako inside the method: renderCell - replace all jQuery .text(..) calls with .html(..) calls. Note: Any entry in the csv with html syntax will be shown like html (links, tags. etc). On Tue, Jan 29, 2013 at 1:39 PM,

[galaxy-dev] show urls in csv (in eye mode)

2013-01-29 Thread Hagai Cohen
Hi, I have a tool which outputs a csv file with links. When I press the eye icon - I would like these links to be shown as links in the browser. It is possible? Thanks, Hagai ___ Please keep all replies on the list by using "reply all" in you