summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Provide an option to disable HTML emailsMorris Jobke2018-04-162-8/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixes false positive possible sql injection by phanMorris Jobke2018-04-161-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix autoloaderMorris Jobke2018-04-124-9/+35
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8535 from nextcloud/new-color-generatorJan-Christoph Borchardt2018-04-121-108/+73
|\ | | | | New color generator algorithm
| * fixup! Updated php generatorJohn Molakvoæ (skjnldsv)2018-04-061-8/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Updated php generatorJohn Molakvoæ (skjnldsv)2018-04-061-116/+80
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | dont keep shared database locks when running cli scriptsRobin Appelman2018-04-114-8/+66
| | | | | | | | | | | | For cli scripts we don't have the assumption that the universe will be cleaned up soon Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #9024 from nextcloud/fix/app-fetcher-major-minor-versionsMorris Jobke2018-04-114-11/+122
|\ \ | | | | | | Fix version comparison with minor and patch level requirements
| * | Bump autoloaderRoeland Jago Douma2018-04-112-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | 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-113-0/+9
|\ \ \ \ \ | | | | | | | | | | | | add anounce- and (pre/|post)RevokeUser signals for non-native backends
| * | | | | more consistent namingArthur Schiwon2018-04-053-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | | admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-053-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-4/+3
|\ \ \ \ \ | | | | | | | | | | | | Return proper boolean and do not save enabled state in db
| * | | | | Properly return boolean on enable stateJohn Molakvoæ (skjnldsv)2018-04-092-4/+3
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | Merge pull request #7972 from nextcloud/fix_7782Morris Jobke2018-04-092-9/+80
|\ \ \ \ \ | |_|_|_|/ |/| | | | Use zip32 if possible
| * | | | 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>
* / / / [tx-robot] updated from transifexNextcloud bot2018-04-072-2/+2
|/ / /
* | | Merge pull request #9076 from nextcloud/feature/7573/user_db_backend_indexRoeland Jago Douma2018-04-063-24/+67
|\ \ \ | | | | | | | | Make select queries on user DB backend indexable
| * | | Bump autoloaderRoeland Jago Douma2018-04-062-0/+2
| | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #9084 from nextcloud/public-page-template-extendMorris Jobke2018-04-065-0/+162
|\ \ \ \ | |/ / / |/| | | Public page template enhancements
| * | | Update composer autoloaderJulius Härtl2018-04-052-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add since tagsJulius Härtl2018-04-052-1/+18
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Move external share saving to templateJulius Härtl2018-04-051-7/+3
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add footer to public page templateJulius Härtl2018-04-051-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Move common menu templates to public APIJulius Härtl2018-04-052-0/+130
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | 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>
* | | | Allow usage of Windows 10 WebDav NetdriveRoeland Jago Douma2018-04-051-0/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Fixes #3523 As long as we don't have #8123 lets not leave our Window10 netdrive users hanging. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix Array to String conversion in QueryBuilderRoeland Jago Douma2018-04-051-1/+1
| | | | | | | | | | | | | | | | | | Fixes #9080 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | [tx-robot] updated from transifexNextcloud bot2018-04-052-0/+14
| | |
* | | 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-042-4/+4
| | | | | | | | | | | | 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>