Project

General

Profile

Feature #2044

Integrate svg-edit

Added by Yannick Warnier almost 9 years ago. Updated about 8 years ago.

Status:
Bug resolved
Priority:
Normal
Category:
-
Target version:
Start date:
22/09/2010
Due date:
% Done:

80%

Estimated time:
Complexity:
Wizard-level
SCRUM pts - complexity:
?

Description

http://code.google.com/p/svg-edit/

SVG-edit allows for inline edition of SVG graphical elements. This could allow drawing from inside the documents tool.


Files

lang.it.zip (2.96 KB) lang.it.zip Furio Petrossi, 11/10/2010 19:30

History

#1

Updated by Juan Carlos Raña Trabado almost 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Juan Carlos Raña Trabado
  • Target version set to 1.8.8 stable

I takes the job, I do work, but then I need help to improve and secure

#3

Updated by Juan Carlos Raña Trabado almost 9 years ago

  • % Done changed from 0 to 60
#4

Updated by Juan Carlos Raña Trabado almost 9 years ago

TODO: much to clean and secure code, implementing groups and adjust directories. Try some fix for iexplorer

#6

Updated by Ivan Tcholakov almost 9 years ago

No, Adobe's plugin does not work, sorry.

Ivan Tcholakov wrote:

For IE: http://www.adobe.com/svg/viewer/install/

#7

Updated by Juan Carlos Raña Trabado almost 9 years ago

Thanks Ivan, I'm glad you're here.

#8

Updated by Juan Carlos Raña Trabado almost 9 years ago

For versions prior to IExplorer 9, perhaps we could do something with http://code.google.com/p/svgweb/ . An integration proposalwith htmlarea svg-edit and svgweb http://tracker.moodle.org/browse/MDL-22848
To IExplorer 9 people think svg-edit is working on it. Should wait and see what happens with version 9 and arrangements of the guys from svg-edit.
While not working on button Iexplorer Chamilo creation should not be in Microsoft browsers.

#9

Updated by Juan Carlos Raña Trabado almost 9 years ago

I've also worked a fckeditor plugin to insert into the page html code svg, but I have not gotten the svg code go to edit screen FCKEditor. Although I managed to load and operation of svg-edit in a window after pressing the button editor. FCKEditor plugin that I'm not going to play for now, I have no time for everything

#12

Updated by Juan Carlos Raña Trabado almost 9 years ago

Students can make drawings into a course inside his shared folder.
And change new draw files to visibles

http://code.google.com/p/chamilo/source/detail?r=2a5ad47d673ae53a95d29b7d83a7b1fabe6a5dd9&repo=classic

#16

Updated by Juan Carlos Raña Trabado almost 9 years ago

There seems to be a problem with file codification, they have accents and other special characters. May be in SVG-Edit

#18

Updated by Juan Carlos Raña Trabado almost 9 years ago

I open a new task to include an edit button to edit title, comments and metadata of svg files
Feature #2101

#21

Updated by Juan Carlos Raña Trabado almost 9 years ago

upgrade to 2.6 alpha (support internal and external libraries,
shapes, grid, contextual menu, ...) and hack to get object libraries into a
frame

http://code.google.com/p/chamilo/source/detail?r=aea0bd1872ae8f24a0492b5d11a6cc394dd75cae&repo=classic

#23

Updated by Juan Carlos Raña Trabado almost 9 years ago

add mimetype file svg and icon to documents tool, filter browsers
support for svg, replace image file by image mimetype svg when list svg-edit
imagelib

And, now we can display svg files directly into Chamilo if the browser supports them

http://code.google.com/p/chamilo/source/detail?r=b9ea4c2ecb49b6ac16070c508fdcbc967bc88579&repo=classic

http://code.google.com/p/chamilo/source/detail?r=ce317b85f043cd960a11bbac6c0c38aa3a7f33a9&repo=classic

http://code.google.com/p/chamilo/source/detail?r=279ff86e146b4fb31c6ea3415b24ab6979291902&repo=classic

#24

Updated by Juan Carlos Raña Trabado almost 9 years ago

Feature #2044 move function support_svg to main_api and add support for show
svg files into learnpath
http://code.google.com/p/chamilo/source/detail?r=996bcf4be6ceb9feb9edd7cdba0b940434c22ac0&repo=classic

#29

Updated by Juan Carlos Raña Trabado almost 9 years ago

  • Status changed from Assigned to Bug resolved
  • % Done changed from 70 to 80

This integration is completed. Are the following tasks:

- Review the work of browscap and if not satisfactory to modify the function api_support_svg

- Upgrade to svg-edit 2.6 and compress javascript, and change call files

- Enable the ability to edit the name and metadata when editing a svg file (Feature # 2101)

- Allow students to edit svg files when they are in your shared files directory (Feature # 2124)

- Check security and internationalization. Especially in the javascript (please Ivan)

- Add an svg image library to Chamilo (GLP)

-All enhancements and fixes that the imagination can generate. The outcome and the possibilities are amazing

#31

Updated by Furio Petrossi almost 9 years ago

In last Firefox and Chrome the edit image stay gray and a message is done

Your browser does not support SVG files. To use the drawing tool you must have an
advanced browser like: Firefox 1.5+, Chrome 1+, Safari 4+, Opera 9.50+ or IE9

#32

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

In last Firefox and Chrome the edit image stay gray and a message is done
[...]

Furio, please:

What browsers versions are?

Can you check if your server has browscap? (see into php.ini)

Browscap can also check your server > Platform Administration> System Information

#33

Updated by Furio Petrossi almost 9 years ago

I said the problem in chamilodev site My campus - HG (09/10/2010 - 10:31) CET time, I didn't explored the problem in my site (the hg clone was not complete).
Firefox 3.6.10 Chrome 7.0.517.36beta

#34

Updated by Juan Carlos Raña Trabado almost 9 years ago

The problem is that server makers have not loaded the browscap.ini file or, if any, does not have the latest version. As this can be a problem for users without access to php.ini settings seek an alternative method

#35

Updated by Juan Carlos Raña Trabado almost 9 years ago

Now, browscap not use, but in the future browscap can be very useful, especially for users with an own server

#36

Updated by Juan Carlos Raña Trabado almost 9 years ago

add library Browser.php, change api_support_svg, remove check
browscap into install.lib.php, add api_check_browscap() to main_api and call
this from diagnoser

http://code.google.com/p/chamilo/source/detail?r=7613a7b07376728ba4979b667e5597c5d6ce8549&repo=classic

Furio check already, please

#38

Updated by Furio Petrossi almost 9 years ago

I tested only in chamilodev: editor is OK (Note: I don't know how save svg/png and open image point to local computer, I don't knoe if it's the expected behaviour).

I will test locally and remotely in my servers as soon as possible.

#39

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

I tested only in chamilodev: editor is OK (Note: I don't know how save svg/png and open image point to local computer, I don't knoe if it's the expected behaviour).

I will test locally and remotely in my servers as soon as possible.

any help will be placed somewhere. Here are two videos of an older version

[[http://www.youtube.com/watch?v=zpC7b1ZJvvM]]

[[http://www.youtube.com/watch?v=mDzZEoGUDe8]]

#40

Updated by Furio Petrossi almost 9 years ago

Is it possible to add italian in Edito preferences?

#41

Updated by Furio Petrossi almost 9 years ago

A little note: fos saving images http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html show a window with image for a locas save; not so in Chamilo nor the image is saved in Course directories.

#42

Updated by Juan Carlos Raña Trabado almost 9 years ago

  • Status changed from Bug resolved to Needs testing
#43

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

Is it possible to add italian in Edito preferences?

Now, italian is already enabled, will also be charged automatically. However, the translation should be corrected and expanded

#44

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

A little note: fos saving images http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html show a window with image for a locas save; not so in Chamilo nor the image is saved in Course directories.

The correct operation is to Chamilo, files are automatically saved in the current directory not in the user's personal computer. The online files are created and stored online, just as happens with html documents

#45

Updated by Furio Petrossi almost 9 years ago

Sorry if I ask insistantly, but in chamilodev and also in my server installation the image is not saved by Chamilo, also giving a name to the file definying properties.

#46

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

Sorry if I ask insistantly, but in chamilodev and also in my server installation the image is not saved by Chamilo, also giving a name to the file definying properties.

Thanks to your insistence I will be able to fix

#48

Updated by Furio Petrossi almost 9 years ago

There is the italian translation: I'll send this file also to svg-edit people.

I continue don't seeing the saved files in my directories, also in a local installation.

#51

Updated by Juan Carlos Raña Trabado almost 9 years ago

Furio Petrossi wrote:

There is the italian translation: I'll send this file also to svg-edit people.

I continue don't seeing the saved files in my directories, also in a local installation.

Tanks Furio. Now I think you can import, load and saved files. Please, could you give me feedback of what happens, it matters much to install
are running (Windows, Ubuntu, php version, browser with which accessed and version ...)

#52

Updated by Furio Petrossi almost 9 years ago

Now the talian localization was added in original svg-edit trunk as well as 2.5.1. one

#53

Updated by Juan Carlos Raña Trabado almost 9 years ago

We need change the system to avoid duplicate: it is not enough to change the name of the file, you also have to change the name inside the file. Failure to do so the duplicate releases will occur when one of the files created by the sequence of the previous method

#59

Updated by Furio Petrossi over 8 years ago

In language files there's a warning about IE (it sound like: use Firefox or Chrome).
If I'm not wrong there's an IE plugin ( http://code.google.com/intl/en/chrome/chromeframe/ ) for using SVG, we can point to it.

#60

Updated by Juan Carlos Raña Trabado over 8 years ago

Furio Petrossi wrote:

In language files there's a warning about IE (it sound like: use Firefox or Chrome).
If I'm not wrong there's an IE plugin ( http://code.google.com/intl/en/chrome/chromeframe/ ) for using SVG, we can point to it.

Yes I know, you could try it and report the results ?

#62

Updated by Juan Carlos Raña Trabado over 8 years ago

enable users to use their svg and png images (gallery) from groups
and from social network

http://code.google.com/p/chamilo/source/detail?r=2f1537bebe7322705eadf33eb696fd0f574c822b&repo=classic

#63

Updated by Juan Carlos Raña Trabado over 8 years ago

enable extension filter and some logical fix
http://code.google.com/p/chamilo/source/detail?r=6a4ae8f9227a17d9a96ffaa11cf45a5fe554319b&repo=classic
El título del commit es erróneo y pertenece a un arreglo de esta tarea, svg-edit

#66

Updated by Yannick Warnier about 8 years ago

  • Status changed from Needs testing to Bug resolved

That's enough in my opinion (at least for the context of this task)

Also available in: Atom PDF