aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/dropzone.js
Commit message (Collapse)AuthorAgeFilesLines
* Update JS dependencies (#17611)silverwind2021-11-111-1/+0
| | | | | | | | | - Update monaco, adapting to breaking changes - Update dropzone, adapting to breaking changes - Update linters, fix new issues, disable opinionated stylelint rules - Rebuild SVGs and images - Tested Dropzone and Monaco Replaces: https://github.com/go-gitea/gitea/pull/17574
* Improve async/await usage, and sort init calls in `index.js` (#17386)wxiaoguang2021-11-091-1/+0
| | | | * clean up async/await, and sort init calls in `index.js * use `const _promise` to indicate that we do not need await an async function
* Fix Dropzone following #15315 (#15353)zeripath2021-04-091-1/+1
| | | | | | | | | | | | | | | * Fix Dropzone following #15315 #15315 appears to have caused a change in the way Dropzone is imported - and it now produces a module rather than the constructor. This PR rather hackily just adds another Dropzone call to the result. Signed-off-by: Andrew Thornton <art27@cantab.net> * use destructured export Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: 6543 <6543@obermui.de>
* Misc JS linting and naming tweaks (#10652)silverwind2020-03-111-1/+1
| | | | | | | | - lowercase all js filenames except Vue components - enable new lint rules, mostly focused on shorter code - autofix new lint violations - apply misc transformations indexOf -> includes and onevent-> addEventListener Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Move dropzone.js to npm/webpack (#10645)silverwind2020-03-071-0/+9
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0 - make `csrf` available on window.config