summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/newfolder.php
Commit message (Collapse)AuthorAgeFilesLines
* update license headers and authorsMorris Jobke2015-06-251-1/+0
|
* Catch exceptions in files ajax callsVincent Petry2015-06-031-8/+19
|
* Update license headersJenkins for ownCloud2015-03-261-1/+28
|
* adding storage specific filename verification - refs #13640Thomas Müller2015-03-091-14/+11
|
* Revert "Updating license headers"Morris Jobke2015-02-261-27/+1
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-1/+27
|
* Manually type-case all AJAX filesLukas Reschke2015-02-131-2/+2
| | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* Remove stripslashes() from newfolder.phpLukas Reschke2015-01-191-2/+1
|
* Get rid of `stripslashes()`Lukas Reschke2015-01-131-2/+2
| | | | This conversions are actually totally unneeded and probably left-overs from ages where the safe_mode was still a valid thing.
* Use public api for getting l10nRobin Appelman2014-08-311-1/+1
|
* kill OC::$sessionJörn Friedrich Dreyer2014-08-291-1/+1
| | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* close the session on all file operationsThomas Müller2014-03-101-0/+1
|
* Added extra checks for invalid file chars in newfile.php and newfolder.phpVincent Petry2014-02-181-2/+2
| | | | | | | - added PHP utility function to check for file name validity - fixes issue where a user can create a file called ".." from the files UI - added extra checks to make sure newfile.php and newfolder.php also check for invalid characters
* Added error message for when target folder was removedVincent Petry2014-01-291-0/+9
| | | | | | | | | | Whent trying to upload/rename/create files in a folder that was removed or rename, the correct error message is now shown. In the case of upload of multiple files, the upload is cancelled. This situation can happen if the target folder was renamed or removed from another browser window or client.
* Fix double not in newfile/newfolder language.Andreas Fischer2013-10-271-1/+1
|
* fix translationsJörn Friedrich Dreyer2013-10-231-3/+3
|
* cleanup precondition checking when creating new files / foldersJörn Friedrich Dreyer2013-10-231-8/+30
| | | | | | - use i18n - use trim when checking for empty file / folder name - use more verbose error descriptions
* move some stuff to the new apiRobin Appelman2012-10-261-1/+2
|
* cleanup OC_Files a bitRobin Appelman2012-10-241-1/+1
|
* add data-id directly after upload/creation to the file list (bugfix for #1917)Björn Schießle2012-10-081-1/+7
|
* apply coding styleThomas Mueller2012-08-291-1/+1
|
* Added CSRF checksLukas Reschke2012-07-201-0/+1
|
* fixed var name, $filename should be $foldernameBjoern Schiessle2012-06-061-1/+1
|
* prevent creating files with a / the nameRobin Appelman2012-06-061-0/+4
|
* removing executable bit - againThomas Mueller2012-05-151-0/+0
|
* ported oc_jsonFrank Karlitschek2012-05-031-4/+4
|
* move files to app folderGeorg Ehrke2012-04-181-0/+22