aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9024 from nextcloud/fix/app-fetcher-major-minor-versionsMorris Jobke2018-04-112-11/+120
|\ | | | | Fix version comparison with minor and patch level requirements
| * Log possible exception caused by wrong version numberMorris Jobke2018-04-111-10/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Fix version comparison with minor and patch level requirementsChristoph Wurst2018-04-112-8/+112
| | | | | | | | | | | | | | | | | | | | | | If an app requires a specific minor or path level server version, the version_compare prevented the installation as only the major version had been compared and that checks obviously returns `false`. Now the full version is used for comparison, making it possible to release apps for a specific minor or patch level version of Nextcloud. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | log previous exceptionRobin Appelman2018-04-111-12/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8946 from nextcloud/log-exceptions-as-nested-array-2Morris Jobke2018-04-112-45/+91
|\ \ | | | | | | Log exceptions as nested array instead of encoded json
| * | adjust tests to new exception log formatRobin Appelman2018-04-111-6/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Log exceptions as nested array instead of encoded jsonRobin Appelman2018-04-102-45/+84
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #9074 from nextcloud/ARGON2IMorris Jobke2018-04-111-9/+36
|\ \ \ | |_|/ |/| | Add ARGON2I support to the hasher
| * | Add ARGON2I support to the hasherRoeland Jago Douma2018-04-041-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | When on php7.2 we can use the new and improved ARGON2I hashing. This adds support for that to the hasher. When verifying an old hash we'll update rehash to move all hashes eventually to the new hash function. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #9137 from nextcloud/default-log-rotate-sizeMorris Jobke2018-04-111-1/+1
|\ \ \ | | | | | | | | Set the default log rotate size to 100 MB
| * | | Set the default log rotate size to 100 MBMorris Jobke2018-04-111-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #8833 from nextcloud/feature/noid/add_ldap_user_hooksMorris Jobke2018-04-112-0/+6
|\ \ \ \ | | | | | | | | | | add anounce- and (pre/|post)RevokeUser signals for non-native backends
| * | | | more consistent namingArthur Schiwon2018-04-052-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-052-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Fix AppFetcher::setVersion phpdocChristoph Wurst2018-04-101-1/+1
| |/ / / |/| | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #9111 from nextcloud/use-proper-bool-user-disabled-stateMorris Jobke2018-04-091-3/+2
|\ \ \ \ | | | | | | | | | | Return proper boolean and do not save enabled state in db
| * | | | Properly return boolean on enable stateJohn Molakvoæ (skjnldsv)2018-04-091-3/+2
| | |_|/ | |/| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Use zip32 only if there are less than 65536 filesDaniel Calviño Sánchez2018-04-062-8/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A zip32 file can contain, at most, 65535 files (and folders), so take that constraint into account. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Use zip32 if possibleRoeland Jago Douma2018-04-062-9/+31
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * OSX doesn't handle 64zip that well * Some other implentations don't handle it perfectly either * If the file is belog 4GiB (some overhead) => zip32 * This covers the 99% case I bet Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Use the uid_lower columnRoeland Jago Douma2018-04-061-24/+65
| | | | | | | | | | | | | | | | | | This can use a proper index Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Do not convert email addresses with idn_to_ascii if INTL_IDNA_VARIANT_UTS46 ↵Jared Boone2018-04-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | is undefined. Fixes https://github.com/nextcloud/server/issues/8387. Signed-off-by: Jared Boone <jared.boone@gmail.com>
* | | Merge pull request #9092 from nextcloud/log-objectstorage-stuffRoeland Jago Douma2018-04-051-3/+5
|\ \ \ | |/ / |/| | Add more logging for the object storage during creation of the buckets
| * | Add more logging for the object storage during creation of the bucketsMorris Jobke2018-04-051-3/+5
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix Array to String conversion in QueryBuilderRoeland Jago Douma2018-04-051-1/+1
| | | | | | | | | | | | | | | | | | Fixes #9080 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #9063 from nextcloud/fix-callForSeenUsersMorris Jobke2018-04-041-1/+2
|\ \ \ | |/ / |/| | Move on with the next user if we found the user on one user back-end
| * | Move on with the next user if we found the user on one user back-endBjoern Schiessle2018-04-031-1/+2
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Fix testsRoeland Jago Douma2018-04-041-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add pathcacheRoeland Jago Douma2018-04-041-4/+19
| | | | | | | | | | | | | | | | | | | | | * If we find the mountpoint for a path cache it * If we modify the mount points empty the pathCache Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make normalized cache path largerRoeland Jago Douma2018-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On larger instances with a large number of shares this can make a real impact as the default 512 entries are easily filled. Making this contain max 2048 entries has basically no effect on smaller installations (as they probably never hit the 512 now). But makes sure we don't evict entries in the larger case. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Comparing stringlength is cheaper than strposRoeland Jago Douma2018-04-041-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Cache the $foundMountPointLengthRoeland Jago Douma2018-04-041-1/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | InspectionsRoeland Jago Douma2018-04-041-8/+9
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make the MountManager strictRoeland Jago Douma2018-04-041-13/+14
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #9018 from nextcloud/fix-copy-encrypted-filesBjörn Schießle2018-04-031-7/+8
|\ \ | | | | | | reset encryptionVersion to '1' if a file was stream copied
| * | reset encryptionVersion to '1' if a file was stream copied, because this ↵Bjoern Schiessle2018-04-031-7/+8
| |/ | | | | | | | | | | means that we basically write the file from scratch Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #9008 from nextcloud/disable-if-no-appinfoMorris Jobke2018-04-032-3/+5
|\ \ | | | | | | Do not fail hard if no appinfo is returned during update
| * | Do not fail hard if no appinfo is returned during updateJulius Härtl2018-03-282-3/+5
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #8999 from nextcloud/css-js-name-based-on-apps-versionsRoeland Jago Douma2018-03-281-5/+21
|\ \ \ | |/ / |/| | Use app version to generate scss filename
| * | Use app version to generate scss filenameJohn Molakvoæ (skjnldsv)2018-03-281-5/+21
| | | | | | | | | | | | | | | | | | Fixed scsscacher tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #8737 from nextcloud/file_return_put_contentsRoeland Jago Douma2018-03-281-1/+5
|\ \ \ | | | | | | | | Pass on the return value of file_put_content
| * | | Throw an exception if file_put_contents failsRoeland Jago Douma2018-03-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This will help with AppData hardening etc * Introduced a GenericFileException for if nothing else is appropiate - Maybe the other File exceptions should base on this? Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #8976 from nextcloud/dep_user_codeRoeland Jago Douma2018-03-283-23/+12
|\ \ \ \ | | | | | | | | | | Remove deprecated functions from OCP\User
| * | | | Remove deprecated \OCP\User::userExistsRoeland Jago Douma2018-03-262-4/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-252-2/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Remove deprecated \OCP\User::getUsersRoeland Jago Douma2018-03-252-21/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #8994 from nextcloud/deprecate-theme-sync-clientsRoeland Jago Douma2018-03-281-4/+5
|\ \ \ \ \ | |_|/ / / |/| | | | Deprecate theme sync clients
| * | | | Use customclient_* values by default and do not use them in custom themes ↵Julius Härtl2018-03-261-4/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | anymore Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #8780 from ↵Joas Schilling2018-03-271-32/+59
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/bugfix/noid/query-builder-database-backends Move the group database backend fully to query builder
| * | | Remove orderBy so the query works correctly on postgresJoas Schilling2018-03-271-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Make sure DI is doneJoas Schilling2018-03-261-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>