summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20348 from owncloud/issue-20303-integer-group-namesThomas Müller2015-11-061-1/+3
|\ | | | | Make sure that group names are strings not integers
| * Make sure that group names are strings not integersJoas Schilling2015-11-061-1/+3
| |
* | Merge pull request #20288 from owncloud/fix_20234Thomas Müller2015-11-061-1/+13
|\ \ | |/ |/| make sure that we update the unencrypted size for the versions
| * make sure that we update the unencrypted size for the versionsBjörn Schießle2015-11-041-1/+13
| |
* | Add unshare hooksRoeland Jago Douma2015-11-053-2/+59
| |
* | The new sharing code now handles deletionRoeland Jago Douma2015-11-057-103/+532
| | | | | | | | OCS -> ShareManager -> DefaultShareProvider
* | Initial setup of shareing 2.0 sharemanager and shareRoeland Jago Douma2015-11-053-0/+623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added sharemanager class This is the central class where all API calls talk to (OCS/Activity). This in turn talks to the share providers to get the actual sharing done. It uses all ShareObjects * Added share class Simple class to hold all the share properties that is passed around * Added IShareProvider interface Interface that providers os a share have to implement.
* | subadmin methods should not return any null user or groupArthur Schiwon2015-11-051-6/+16
| |
* | Merge pull request #20053 from owncloud/getfileinfo-lockingThomas Müller2015-11-042-39/+62
|\ \ | | | | | | Don't lock if we're only reading cache metadata
| * | mark path as checkedRobin Appelman2015-11-041-0/+1
| | |
| * | when a file is locked use old cache dataRobin Appelman2015-11-041-29/+37
| | |
| * | fix whitespaceRobin Appelman2015-11-041-2/+2
| | |
| * | only lock in getDirectoryContent if we need to update the cacheRobin Appelman2015-11-031-21/+17
| | |
| * | only lock in getFileInfo if we need to update the cacheRobin Appelman2015-11-031-18/+16
| | |
| * | Split checkUpdateRobin Appelman2015-11-031-19/+39
| |/
* | Merge pull request #18361 from owncloud/sharing_performance_improvementsThomas Müller2015-11-042-5/+27
|\ \ | | | | | | improve calculation of share recipients
| * | cache result from parent foldersBjoern Schiessle2015-11-042-5/+27
| |/
* | Merge pull request #18821 from owncloud/global-classesThomas Müller2015-11-041-0/+1
|\ \ | |/ |/| Global classes in core CSS
| * Global Classes for Core.Raghu Nayyar2015-11-021-0/+1
| | | | | | | | | | | | | | | | Move up the global styles up the hierarchy. Adds Clear Left, Right and both. New CSS file for Global Styles.
* | Add a new core capability which tells the clients which url to useThomas Müller2015-11-031-1/+2
| |
* | Merge pull request #20196 from ↵Thomas Müller2015-11-021-9/+9
|\ \ | |/ |/| | | | | owncloud/use-actual-mimetype-detection-instead-of-oath Use actual mimetype detection instead of extension
| * Use actual mimetype detection instead of extensionLukas Reschke2015-10-311-9/+9
| | | | | | | | We cannot rely on the extension as the file may also be a valid TAR or ZIP file without such content. Especially when getting resources from the ownCloud appstore.
* | Merge pull request #20189 from owncloud/use-get-http-protocolThomas Müller2015-11-023-6/+6
|\ \ | | | | | | Use getHttpProtocol instead of $_SERVER
| * | Use getHttpProtocol instead of $_SERVERLukas Reschke2015-10-303-6/+6
| |/
* / Add support for Redis password authLukas Reschke2015-10-301-0/+3
|/ | | | | | For enhanced security it is recommended to configure Redis to only accept connections with a password. (http://redis.io/topics/security) This is especially critical since Redis supports the LUA scripting language and thus a simple SSRF vulnerability (as proven in http://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/ for example) may lead to a remote code execution.
* Add warning for broken l10n json filesMorris Jobke2015-10-301-0/+2
| | | | * makes it easier to spot broken l10n files
* Merge pull request #20135 from owncloud/check-if-null-subadminThomas Müller2015-10-297-212/+57
|\ | | | | Drop OC_SubAdmin and replace usages
| * Drop OC_SubAdmin and replace usagesLukas Reschke2015-10-297-212/+57
| |
* | Merge pull request #20060 from owncloud/cache-move-final-update-transactionRobin Appelman2015-10-291-2/+6
|\ \ | | | | | | include the final update in the transaction when moving a folder in the cache
| * | include the final update in the transaction when moving a folder in the cacheRobin Appelman2015-10-291-2/+6
| | |
* | | Merge pull request #19592 from owncloud/availability-root-always-existsThomas Müller2015-10-291-0/+3
|\ \ \ | |/ / |/| | The root of a storage always exists
| * | The root of a storage always existsRobin Appelman2015-10-291-0/+3
| |/
* | Merge pull request #19869 from owncloud/cache-adjustcurrentmtimeonrenameThomas Müller2015-10-292-1/+23
|\ \ | | | | | | On rename, also refresh storage_mtime of the target file
| * | Also adjust storage_mtime of target after renameVincent Petry2015-10-262-1/+23
| | | | | | | | | | | | Some storages like Dropbox change their mtime on rename...
* | | Merge pull request #11509 from owncloud/internal_email_templateThomas Müller2015-10-291-5/+5
|\ \ \ | | | | | | | | Allow separate templates for internal and external share notifications
| * | | Allow separate templates for internal and external share notificationsStephen Colebrook2015-10-291-5/+5
| | |/ | |/|
* / | Add a repair step that checks for group membership on sharesJoas Schilling2015-10-291-0/+13
|/ /
* | Merge pull request #19182 from cweiske/support-bzip2Thomas Müller2015-10-282-2/+2
|\ \ | | | | | | Fix #19181: Support .bz2 app archives
| * | Fix #19181: Support .bz2 app archivesChristian Weiske2015-10-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | At first a bz2 handling in needs to be fixed; PEAR's Archive_Tar otherwise gives the following error: > Unsupported compression type "bz" > Supported types are "gz", "bz2" and "lzma2" After that we can whitelist the application/bz2 MIME type in the installer.
* | | Make \OC\SubAdmin php-5.4 compatibleRoeland Jago Douma2015-10-281-4/+19
| | | | | | | | | | | | * Also close some cursors while we are at it
* | | Merge pull request #19837 from owncloud/always-enabled-appsThomas Müller2015-10-262-37/+51
|\ \ \ | | | | | | | | Store list of apps which cannot be disabled in shipped.json
| * | | Fail hard if shipped.json is missingThomas Müller2015-10-261-9/+5
| | | |
| * | | Don't show apps which are always enabled in the app managerThomas Müller2015-10-262-9/+14
| | | |
| * | | Store list of apps which cannot be disabled in shipped.jsonThomas Müller2015-10-262-33/+46
| | | |
* | | | Update license headersLukas Reschke2015-10-2631-28/+31
| |_|/ |/| |
* | | Merge pull request #19982 from owncloud/fix-link-sharing-regression-masterThomas Müller2015-10-261-8/+20
|\ \ \ | |/ / |/| | Ensure the password is only hashed in case it's changed on the client…
| * | Fix for broken ajax/share.php endpointRoeland Jago Douma2015-10-231-8/+16
| | | | | | | | | | | | | | | Even more code mess :( All tests pass again. But I'm really not happy with this endpoint.
| * | Ensure the password is only hashed in case it's changed on the client - ↵Thomas Müller2015-10-221-7/+11
| | | | | | | | | | | | fixes #19950
* | | Throw exception on `getPath` if file does not existLukas Reschke2015-10-253-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
* | | Dont lock /$user/filesRobin Appelman2015-10-231-1/+1
| | |