aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix writeStream for jail wrapperRobin Appelman2018-10-312-0/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allways fall back to fopen for encryption wrapperRobin Appelman2018-10-312-1/+25
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update autoloaderRoeland Jago Douma2018-10-312-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* extend storage api to allow directly writing a stream to storageRobin Appelman2018-10-315-23/+173
| | | | | | | | | | | this removes the need for temporary storages with some external storage backends. The new method is added to a separate interface to maintain compatibility with storage backends implementing the storage interface directly (without inheriting common) Currently the interface is implemented for objectstorage based storages and local storage and used by webdav uploads Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #12166 from nextcloud/feature/limit_preview_sizesRoeland Jago Douma2018-10-311-7/+11
|\ | | | | Only generate previews in powers of 4 and set min
| * Only generate previews in powers of 4 and set minRoeland Jago Douma2018-10-311-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we'd round up all preview request to their nearest power of two. This resulted still in a lot of possible images. Generating a lot of server load and taking up a lot of space. This moves it to previews to be powers of 4: 64, 256, 1024 and 4096 Also the first two powers are always skipped (4, 16) as it doesn't make sense to generate previews for that. We cache preview pretty agressively and I feel this is a better tradeoff. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | missing typeMaxence Lange2018-10-311-2/+2
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | wrong method calledMaxence Lange2018-10-311-1/+1
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #12047 from nextcloud/interfaces-files-fulltextsearchRoeland Jago Douma2018-10-303-0/+114
|\ | | | | Public interfaces Files_FullTextSearch
| * +files_fulltextsearch in autoloaderMaxence Lange2018-10-302-0/+2
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * Merge remote-tracking branch 'origin/interfaces-files-fulltextsearch' into ↵Maxence Lange2018-10-301-0/+112
| |\ | | | | | | | | | | | | interfaces-files-fulltextsearch Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| | * implementing files_fulltextsearch within coreMaxence Lange2018-10-251-0/+112
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Merge pull request #12140 from nextcloud/fix/expired_token_throttlerRoeland Jago Douma2018-10-308-5/+19
|\ \ \ | |/ / |/| | Expired tokens should not trigger bruteforce protection
| * | Error out early on an expired tokenRoeland Jago Douma2018-10-301-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #12131 If we hit an expired token there is no need to continue checking. Since we know it is a token. We also should not register this with the bruteforce throttler as it is actually a valid token. Just expired. Instead the authentication should fail. And buisness continues as usual. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Move ExpiredTokenException to the correct namespaceRoeland Jago Douma2018-10-307-4/+8
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #12056 from nextcloud/interfaces-fulltextsearch-2Roeland Jago Douma2018-10-3020-0/+4135
|\ \ \ | |/ / |/| | Public interfaces FullTextSearch
| * | public interfaces FullTextSearchMaxence Lange2018-10-3020-0/+4135
| | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> -@return mixed Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interfaces-fulltextsearch-2' into interfaces-fulltextsearch-2 Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Merge pull request #11899 from nextcloud/enhancement/noid/sharing-consolidationRoeland Jago Douma2018-10-303-19/+85
|\ \ \ | | | | | | | | Sharing user consolidation
| * | | Fix injection to get the user idJulius Härtl2018-10-301-4/+7
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add uuid/name entry to Remote/MailPlugin testsJulius Härtl2018-10-301-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add name field to mail and remote resultsJulius Härtl2018-10-302-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add local share if remote cloud id matches a local user onesJulius Härtl2018-10-301-2/+12
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Make enhancing entries with type property optionalJulius Härtl2018-10-303-14/+30
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add type to Remote and Mail pluginsJulius Härtl2018-10-302-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add collaborators uuid to properly render the avatar and for later groupingJulius Härtl2018-10-302-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Filter out generic remote result for local usersJulius Härtl2018-10-301-7/+17
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Filter out local users from address book remote searchesJulius Härtl2018-10-301-2/+11
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Propegate hide download state in share providerRoeland Jago Douma2018-10-301-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Extend IShare to show hide download stateRoeland Jago Douma2018-10-302-0/+34
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Add db column to store hide download stateRoeland Jago Douma2018-10-302-0/+2
| |/ / |/| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #12130 from nextcloud/fix/reset_bruteforce_oauthRoeland Jago Douma2018-10-301-1/+2
|\ \ \ | | | | | | | | Reset bruteforce on token refresh OAuth
| * | | Reset bruteforce on token refresh OAuthRoeland Jago Douma2018-10-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using atoken obtained via OAuth the token expires. Resulting in brute force attempts hitting the requesting IP. This resets the brute force attempts for that UID on a valid refresh of the token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #12036 from olivermg/masterMorris Jobke2018-10-301-1/+39
|\ \ \ \ | |_|/ / |/| | | Add capability of specifying "trusted_proxies" entries in CIDR notation (IPv4)
| * | | Adding handling of CIDR notation to trusted_proxies for IPv4Oliver Wegner2018-10-301-1/+39
| | | | | | | | | | | | | | | | Signed-off-by: Oliver Wegner <void1976@gmail.com>
* | | | Merge pull request #12085 from nextcloud/add-gss-to-excluded-backendsMorris Jobke2018-10-302-2/+7
|\ \ \ \ | | | | | | | | | | add global site selector as user back-end which doesn't support password confirmation
| * | | | add global site selector as user back-end which doesn't support password ↵Bjoern Schiessle2018-10-272-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | confirmation Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | | Merge pull request #11627 from nextcloud/feature/noid/cli-remove-appMorris Jobke2018-10-302-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Add occ app:remove CLI command
| * | | | | Fixed indentsPatrik Kernstock2018-10-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * | | | | Add occ app:remove CLI commandPatrik Kernstock2018-10-052-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* | | | | | Merge pull request #12052 from ↵Morris Jobke2018-10-291-2/+6
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | nextcloud/bugfix/11594/fix-setup-check-trusted-proxies Fix setup check trusted proxies
| * | | | | Add REMOTE_ADDR to getHeaderDaniel Kesselberg2018-10-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | Merge pull request #12113 from nextcloud/fileinfo-getextensionMorris Jobke2018-10-296-0/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add getExtension() to FileInfo
| * | | | | | Add getExtension() to FileInfoRobin Appelman2018-10-296-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is a fairly common operation so it makes sense to prevent having to repeatedly implement it. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Fix testsJulius Härtl2018-10-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Fix icon cacher url matchingJulius Härtl2018-10-291-14/+13
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | / / / [tx-robot] updated from transifexNextcloud bot2018-10-292-2/+48
| |_|/ / / |/| | | |
* | | | | [tx-robot] updated from transifexNextcloud bot2018-10-272-2/+2
| | | | |
* | | | | [tx-robot] updated from transifexNextcloud bot2018-10-262-2/+58
|/ / / /
* | | | Keep list of icons in a separate file for use in the accessibility appJulius Härtl2018-10-251-49/+85
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Remove default which didn't workJulius Härtl2018-10-251-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>