Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2018-02-13Do not keep FileInfoModels returned by "getModelForFile"Daniel Calviño Sánchez
FileInfoModels returned by "getModelForFile" are just temporary, and they should be used and forgotten instead of being kept by apps. It is not guaranteed that different calls to "getModelForFile" for the same file returns the same FileInfoModel object, so changes in one model instance could be not known by other model instances (and their views), and this could lead to different bugs (for example, a file list entry being duplicated when a text file is edited or favourited after being created). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-08Fix ACE module files failing to loadDaniel Calviño Sánchez
When the ACE editor is initialized, by default the base path used to load module files is set to the directory of the "ace.js" file. Since the JavaScript files were merged "ace.js" is no longer added to the page as a single script file, so the base path was no longer set, and thus the module files failed to load. Now the right base path is explicitly set in the editor configuration. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-06Fix autosave timerSuperSayu
The autosave timer was not functioning properly because the timer was being incorrectly stored, resulting in a save file request for every change in the editor to be sent to the server. Signed-off-by: Vincent Van Laak <supersayu@gmail.com>
2017-08-04Use text editor endpoint for previewsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-07-11Use CRLF line ending by default for better compatibilityMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-16Use more verbose text for upload menuJan-Christoph Borchardt
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-03-24Merge JavascriptLukas Reschke
Removes 2 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-22Merge pull request #28 from nextcloud/preview-toggleRobin Appelman
Add toggle between edit only/edit with preview/preview only
2017-02-22Add toggle between edit only/edit with preview/preview onlyRobin Appelman
Fixes https://github.com/icewind1991/files_markdown/issues/24 Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-02-10Support .bat and .cmd filesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02rich code preview in the sidebarRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-01add ace-editor patch to make it less easy to forget in the futureRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-01fix loading themeRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-11-30Add nonce to loaded JSLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-30fix themeRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-11-30bumb ace editor to 1.2.5Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-08-30Fix phpstorm complainsJoas Schilling
2016-08-30Open JSON files with the text editorJoas Schilling
2016-05-09Remove loading icon when data loadedJohn Molakvoæ
refs https://github.com/owncloud/core/pull/24491#issuecomment-217789787
2016-01-20Dont close editor when selecting text, fixes #158Tom Needham
2015-12-30Merge pull request #151 from owncloud/main-nav-previewTom Needham
Dont hide main navigation when showing a preview
2015-12-10Display the error message when one was givenJoas Schilling
2015-12-05Dont hide main navigation when showing a previewRobin Appelman
2015-11-25Merge pull request #140 from owncloud/close-on-click-outsideMorris Jobke
Close editor when clicking outside of the container
2015-11-25Merge pull request #146 from owncloud/remove-extensionsVincent Petry
Remove unused extensions
2015-11-25Implement closing when clicking outside the editor containerTom Needham
Use correct selector
2015-11-19Register "New text file" meu entry in "+" menuVincent Petry
Register an entry to create a new text file in the file app's "+" menu. After file creation, automatically open the editor.
2015-11-18Remove unused extensionsTom Needham
2015-11-18Remove unused themesTom Needham
2015-11-18Remove unnecessary worker files from distributionTom Needham
2015-11-04Handle editing whilst saving, preserve title, fixes #121Tom Needham
2015-10-26Update file size in list when closing editorTom Needham
2015-10-12Adding icon to edit action in action menuThomas Müller
2015-09-30Merge pull request #115 from owncloud/updaterowaftersaveThomas Müller
Update file list row after save
2015-09-30Merge pull request #116 from owncloud/remove-duplicate-ajaxThomas Müller
Remove duplicate ajax call
2015-09-30Merge pull request #117 from owncloud/on-fail-closeThomas Müller
Close the texteditor when we fail to load the file
2015-09-29Re-enable Ctrl-T shortcut in browserMorris Jobke
* disable transpose letters shortcut in Ace * fixes #118
2015-09-28Close the texteditor when we fail to load the fileRobin Appelman
2015-09-28Remove duplicate ajax callRobin Appelman
2015-09-28Update file list row after saveVincent Petry
2015-09-01fix history in ie8Morris Jobke
2015-09-01add IE8 support for replacing iconsMorris Jobke
2015-09-01Update version no. and file headerTom Needham
2015-09-01Dont relod the files list on exit of editor.Tom Needham
2015-09-01resize ace editor on previewRobin Appelman
2015-09-01sizing fixesRobin Appelman
2015-09-01Add api that allows other app to register "previews" by mimetypeRobin Appelman
2015-09-01RebaseTom Needham
2015-08-28Fix issues with saving, path construction and saving when closingTom Needham
2015-08-28Add autosavingTom Needham