summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
Commit message (Collapse)AuthorAgeFilesLines
* Replace hardcoded status headers with calls to http_response_code()Morris Jobke2018-06-261-4/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix the HTTP 1.0 status code and properly detect 1.0 vs 1.1&2.0Morris Jobke2018-03-131-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused methods of OC_ResponseMorris Jobke2018-03-121-1/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix apps/Joas Schilling2016-07-211-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-1/+0
|
* Update license headersJenkins for ownCloud2015-03-261-5/+18
|
* Cache \OC\URLGenerator::imagePathLukas Reschke2015-03-171-1/+1
| | | | \OC\URLGenerator::imagePath is a really expensive operation due to all the I/O handling and can really benefit from caching.
* Revert "Updating license headers"Morris Jobke2015-02-261-17/+6
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Show 404 page when accessing empty share URLLukas Reschke2015-02-251-1/+7
| | | | | | | | Testplan: - [ ] Without: Accessing `public.php?service=files&t=` throws an exception - [ ] With: No exception thrown and 404 page displayed. Fixes https://github.com/owncloud/core/issues/14231
* Updating license headersJenkins for ownCloud2015-02-231-6/+17
|
* Fix case-sensitivityLukas Reschke2014-11-181-1/+1
|
* Refactor file sharing public link handlingLukas Reschke2014-11-141-204/+16
| | | | | | | fixes download issue introduced by #10755 Conflicts: apps/files_sharing/public.php
* Fixed array detection on public downloadVincent Petry2014-10-131-1/+1
| | | | | When downloading a folder called "0001" PHP should fallback to parsing it as string and properly detect that it is not a JSON array.
* Do not double decode valuesLukas Reschke2014-09-111-1/+1
| | | | Fixes https://github.com/owncloud/core/issues/11012
* Use a route instead of s.php and convert tokens asapkondou2014-09-041-0/+4
|
* Hiding add to your own cloud if server2server sharing is not enabledClark Tomlinson2014-09-031-0/+3
|
* kill OC::$sessionJörn Friedrich Dreyer2014-08-291-3/+3
| | | | | | | | | | | | 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
* Merge pull request #10303 from owncloud/sharing-breadcrumb-folder-nameRobin Appelman2014-08-111-1/+1
|\ | | | | use OC_Util::basename
| * use OC_Util::basenameRobin Appelman2014-01-151-1/+1
| |
* | we can only close the session if encryption is not usedThomas Müller2014-08-071-1/+4
| |
* | close session right before the download starts - this enables parallel downloadsThomas Müller2014-08-051-0/+1
| |
* | Fix prompting for passwordRobin Appelman2014-06-141-0/+1
| |
* | drop allowZIPdownload and maxZIPSize as optionsMorris Jobke2014-06-021-5/+0
| |
* | Fixed many issues, clean upVincent Petry2014-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed upload and storage statistics - fixed infinite scroll to use the correct contain for scroll detection - fixed unit test that sometimes fail for rename case - controls are now sticky again - fixed selection overlay to be aligned with the table - fixed "select all" checkbox that had id conflicts - fixed public page - fixed global actions permissions detection - fix when URL contains an invalid view id - viewer mode now hides the sidebar (ex: text editor) - added unit tests for trashbin - clean up storage info in template (most is retrieved via ajax call now)
* | Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
* | disable download button if zip download is disabledThomas Müller2014-05-021-1/+2
| |
* | Fix file summary to use the whole file listVincent Petry2014-04-281-0/+1
| | | | | | | | | | | | - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
* | Removed redundant free space and upload limit in public pageVincent Petry2014-04-031-4/+0
| |
* | Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-84/+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
* | Fix svg icons for public shares and external/shared filesRobin Appelman2014-02-191-1/+2
| |
* | Remove usage of legacy OC_AppconfigRobin Appelman2014-02-131-2/+4
| |
* | Remove unused template variable assignment of files_sharing/template/public.phpPellaeon Lin2014-02-061-5/+0
| |
* | Move template variable assignment to correct placePellaeon Lin2014-02-061-4/+5
| |
* | Merge branch 'master' into pr-exceed_upload_limit_msgPellaeon Lin2014-01-301-7/+10
|\ \ | | | | | | | | | | | | | | | Conflicts: apps/files/templates/index.php apps/files_sharing/templates/public.php
| * \ Merge branch 'master' into mobile-styleThomas Müller2014-01-231-5/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/js/files.js apps/files_sharing/css/public.css apps/files_sharing/js/public.js apps/files_sharing/templates/public.php
| | * \ Merge branch 'master' into fixing-gallery-password-protected-access-masterThomas Müller2014-01-211-3/+3
| | |\ \
| | | * | OC_Util::setupFS($user) will create a data dir for the given string - no ↵Thomas Müller2014-01-211-3/+3
| | | | | | | | | | | | | | | | | | | | matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error
| | * | | adding password protection check to getShareByToken()Thomas Müller2014-01-211-1/+1
| | |/ /
| | * / Fixed isPreviewAvailable warnings in logVincent Petry2014-01-171-1/+1
| | |/ | | | | | | | | | | | | | | | | | | isPreviewAvailable wasn't always set as the files formatting code is slightly different than the one from the files app. Fixes #6423
| | * Show the name of the shared folder in the breadcrumb when viewing a publicly ↵Robin Appelman2014-01-151-0/+2
| | | | | | | | | | | | shared folder
| * | remove unused variableThomas Müller2014-01-201-1/+0
| | |
| * | reuse file upload as used within files app - remove public upload buttonThomas Müller2014-01-151-1/+2
| | |
| * | first mobile style rules, hide extra columns in files view and scroll headerJan-Christoph Borchardt2014-01-141-0/+1
| |/
* / Add $freeSpace and $uploadLimit to files_sharingPellaeon Lin2014-01-171-0/+4
|/
* Merge branch 'master' into encryption_enable_public_uploadBjoern Schiessle2013-11-271-0/+7
|\ | | | | | | | | | | | | | | | | Conflicts: apps/files_encryption/lib/helper.php apps/files_encryption/lib/keymanager.php apps/files_encryption/lib/stream.php apps/files_encryption/lib/util.php apps/files_encryption/tests/keymanager.php
| * disable trahs in files_sharing/public.phpBjoern Schiessle2013-11-211-0/+1
| |
| * fix undefined index errors if public share viewBjoern Schiessle2013-11-211-0/+6
| |
* | public upload now also works with encryption enabledBjoern Schiessle2013-11-211-3/+0
|/