summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
Commit message (Collapse)AuthorAgeFilesLines
* remove old trashbin apiRobin Appelman2018-09-203-224/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove old trashbin endpointRobin Appelman2018-09-201-48/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Replace hardcoded status headers with calls to http_response_code()Morris Jobke2018-06-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move log constants to ILoggerArthur Schiwon2018-04-262-2/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move calls to \OCP\JSON to private \OC_JSONRoeland Jago Douma2018-03-224-13/+13
| | | | | | They should be properly fixed at some point. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move over files_trashbinRoeland Jago Douma2016-11-031-80/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Opening the trashbin causes errors in log for files without previewMorris Jobke2016-09-091-0/+2
| | | | | | | | | | | | | | | | | | * put a file without a generated preview in the trashbin (e.g. a *.docx file) * open the trashbin * following errors will show up in the nextcloud.log: - filesize(): stat failed for ... - fopen(...): failed to open stream: No such file or directory at ... - fread() expects parameter 1 to be resource, boolean given at ... - fclose() expects parameter 1 to be resource, boolean given at ... - imagecreatefromstring(): Empty string or invalid image at ... This is because the preview code tries to load an SVG image, which is obviously only text. The fix simply handles this before the loading happens and the web UI keeps showing the default mimetype icon.
* Fix error message while restoring all filesMorris Jobke2016-07-251-2/+1
| | | | | * use $_POST['files'] only of ssinlge files are restored * fixes #528
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix apps/Joas Schilling2016-07-215-8/+13
|
* Update license headersLukas Reschke2016-05-265-10/+10
|
* Happy new year!Thomas Müller2016-01-125-5/+6
|
* Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-1/+1
|
* Update license headersLukas Reschke2015-10-263-3/+3
|
* update licence headers via scriptMorris Jobke2015-10-053-0/+3
|
* Merge pull request #15506 from rullzer/core_apps_oc_log2ocp_utilMorris Jobke2015-07-013-5/+5
|\ | | | | Move core apps from OC_Log::write to OCP\Util
| * Move core apps from OC_Log::write to OCP\UtilRoeland Jago Douma2015-05-183-5/+5
| |
* | update license headers and authorsMorris Jobke2015-06-254-4/+0
|/
* Update license headersJenkins for ownCloud2015-03-265-10/+112
|
* Revert "Updating license headers"Morris Jobke2015-02-265-109/+11
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-235-11/+109
|
* Manually type-case all AJAX filesLukas Reschke2015-02-133-7/+7
| | | | | | 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
* Close session for files_trashbinLukas Reschke2014-10-295-0/+6
| | | | When restoring huge folders the interface will be unresponsive otherwise
* Use public api for getting l10nRobin Appelman2014-08-312-2/+2
|
* make sure that we always use the right userBjoern Schiessle2014-06-183-3/+3
|
* Add sorting to files list, trashbin and public filesVincent Petry2014-04-281-1/+3
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-023-27/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-214-19/+36
|\ | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
| * if file is not in db, fall back to restore file to the users rootBjoern Schiessle2014-03-101-3/+3
| |
| * Merge pull request #7195 from owncloud/files-selectallVincent Petry2014-02-192-15/+32
| |\ | | | | | | Do not send file list for select all on Download/delete
| | * Trashbin select all now doesn't send file listVincent Petry2014-02-172-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | - Fixed "delete" and "restore" actions to not send the file list when all files are selected - When some files are selected, sends the current dir - Removed "dirListing" attribute as the backend is able to compute the value based on the current dir
| * | Merge pull request #6726 from owncloud/fix_6630Vincent Petry2014-02-141-1/+1
| |\ \ | | |/ | |/| don't urldecode get var, php does this automatically
| | * don't urldecode get var, php does this automaticallyGeorg Ehrke2014-01-301-1/+1
| | |
* | | remove superfluous $RUNTIME_APPTYPESThomas Müller2014-02-061-6/+0
|/ /
* / Fixed image preview in trashbin subdirsVincent Petry2014-01-301-2/+12
|/
* check explicitely all possible dir valuesBjoern Schiessle2013-12-021-2/+3
|
* set delete all to true if a complete folder was deletedBjoern Schiessle2013-12-021-1/+2
|
* fix delete files from trash binBjoern Schiessle2013-12-021-14/+16
|
* fix restore from files in sub-foldersBjoern Schiessle2013-11-291-0/+1
|
* remove duplicateBjoern Schiessle2013-11-281-1/+0
|
* detect mimetype from the original filename, without the delete timestampBjoern Schiessle2013-11-281-2/+9
|
* Deleting all files in trash now only sends a single flagVincent Petry2013-11-111-11/+28
| | | | | | | | To prevent having to send the list of all files for deletion, only set a flag "allfiles". This should make it a bit smoother when deleting 5000+ files. Also fixes some "empty trash" message issues.
* namespaces use upcasefirst partsJörn Friedrich Dreyer2013-09-201-2/+2
| | | | | when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app its magic!
* Ajax calls for "files" and "files_trashbin" appsVincent Petry2013-09-131-0/+51
| | | | | | | | | | | | | Frontend: - The files app list now uses ajax calls to refresh the list. - Added support the browser back button (history API). - Added mask + spinner while loading file list Backend: - Added utility function in core JS for parsing query strings. - Moved file list + breadcrumb template data code to helper functions - Fixed some file paths in trashbin app to be similar to the files app
* outsource sharing and deleted files previews to appsGeorg Ehrke2013-08-191-0/+42
|
* Merge pull request #3006 from owncloud/===_and_!==_in_files_trashbin-appJörn Friedrich Dreyer2013-08-022-2/+2
|\ | | | | Use !== and === in files_trashbin app
| * Use !== and === in files_trashbin-appkondou2013-07-102-2/+2
| |
* | added missing isEmpty ajax fileBjoern Schiessle2013-07-301-0/+14
|/
* add some error logs to the trash bin appBjörn Schießle2013-03-182-0/+3
|