summaryrefslogtreecommitdiffstats
path: root/public/javascripts/attachments.js
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use closest form when copy image from clipboard (#36817).Marius Balteanu2022-04-271-1/+2
| | | | | | | Patch by Yazan Al aeddin. git-svn-id: https://svn.redmine.org/redmine/trunk@21540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that copy paste image from clipboard fails to generate a unique file ↵Marius Balteanu2022-04-051-1/+1
| | | | | | name (#36887). git-svn-id: https://svn.redmine.org/redmine/trunk@21523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use @clipboardData.files@ instead of @clipboardData.items@ to get the images ↵Marius Balteanu2022-03-181-8/+6
| | | | | | from the clipboard (#36013). git-svn-id: http://svn.redmine.org/redmine/trunk@21463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drag and drop file upload to file type custom field (#30776).Go MAEDA2021-01-131-1/+13
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20712 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that alerts may be displayed multiple times when the number of files ↵Go MAEDA2021-01-131-2/+5
| | | | | | | | | attempting to be uploaded exceeds the limit (#18555). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20711 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cannot paste image from clipboard when copying the image from web browsers ↵Go MAEDA2020-06-261-1/+1
| | | | | | | | | or some apps (#33639). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19834 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix cannot set property 'dragover' of undefined (#33383).Go MAEDA2020-06-031-2/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19804 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show warning when attempting to attach more than the allowed number of ↵Go MAEDA2020-03-261-0/+2
| | | | | | | | | attachments (#18555). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19620 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that drag and drop objects from Outlook to Redmine deletes them (#32656).Go MAEDA2020-03-091-0/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes not to use arrow function not supported by Internet Explorer (#32469, ↵Go MAEDA2019-12-131-1/+1
| | | | | | | | | #3816). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@19371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes image pasting for Edge (#3816, #32552, #32596).Go MAEDA2019-12-111-2/+3
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@19356 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that text copied from some applications such as MS Office and ↵Go MAEDA2019-11-191-0/+1
| | | | | | | | | LibreOffice is pasted as an image in addition to plain text (#32469, #3816). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@19089 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow pasting screenshots from clipboard (#3816).Go MAEDA2019-02-171-1/+29
| | | | | | | Patch by Takenori TAKAKI and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17874 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds preview option to the wiki toolbar (#27758).Jean-Philippe Lang2018-09-261-2/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* URL-escape additional characters with special meaning in the generated ↵Jean-Philippe Lang2017-10-151-1/+2
| | | | | | | | markup for dropped uploads (#26682). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@16995 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Generate markup for uploaded image dropped into wiki-edit textarea (#26071).Jean-Philippe Lang2017-06-071-0/+46
| | | | | | Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@16643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the regular "icon icon-*" in other pages (#24313).Jean-Philippe Lang2016-11-191-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix file upload for IE9 (#6719).Jean-Philippe Lang2016-10-231-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds file custom field format (#6719).Jean-Philippe Lang2016-10-231-13/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to delete multiple attachments while updating an issue (#13072).Jean-Philippe Lang2016-07-131-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send the content type as parameter when uploading a file.Jean-Philippe Lang2014-12-211-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* stricter check of uploading attachments (#17581)Toshi MARUYAMA2014-09-141-1/+1
| | | | | | Contributed by fred bregar. git-svn-id: http://svn.redmine.org/redmine/trunk@13404 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r13199 (#17151)Toshi MARUYAMA2014-08-261-1/+1
| | | | | | Chrome 36.0.1985.143 was released. git-svn-id: http://svn.redmine.org/redmine/trunk@13350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix Drag & Drop does not work with Safari 5.1 (#17581, #13932)Toshi MARUYAMA2014-08-261-2/+4
| | | | | | Contributed by fred bregar. git-svn-id: http://svn.redmine.org/redmine/trunk@13346 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix file upload broken on Chrome 36 (#17151)Toshi MARUYAMA2014-07-011-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r13183 (#17151)Toshi MARUYAMA2014-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix file upload does not work with Safari (#13932)Toshi MARUYAMA2014-06-251-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13184 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix file upload broken on Chrome 36 (#17151)Toshi MARUYAMA2014-06-251-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that JS warning is not displayed when attachment maximum size is 0 ↵Jean-Philippe Lang2013-05-131-1/+1
| | | | | | (#13949). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Save the selected file just in case uploading stuff fails/is not supported.Jean-Philippe Lang2012-12-151-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from public/javascripts/attachments.jsToshi MARUYAMA2012-12-121-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10989 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged ajax_upload branch (#3957).Jean-Philippe Lang2012-12-101-0/+189
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81