aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2020-04-118-4/+22
|
* Merge pull request #20422 from ↵Christoph Wurst2020-04-10585-1662/+1005
|\ | | | | | | | | nextcloud/techdebt/format-control-structs-classes-methods Format control structures, classes, methods and function
| * Format control structures, classes, methods and functionChristoph Wurst2020-04-10585-1662/+1005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #19495 from nextcloud/preview-generate-batchRoeland Jago Douma2020-04-105-62/+248
|\ \ | |/ |/| optimize batch generation of previews
| * fix preview generation testsRobin Appelman2020-04-101-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * optimize batch generation of previewsRobin Appelman2020-04-093-15/+144
| | | | | | | | | | | | | | | | | | | | by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file the main use case for this is the preview generator app (pr for that comming next) in my local testing this saves about 25% of time when using the preview generator app Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow generating multiple preview sizes for a single file at onceRobin Appelman2020-04-093-47/+104
| | | | | | | | | | | | this saves having to do some of the overhead multiple times Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use elseif instead of else ifChristoph Wurst2020-04-1082-217/+217
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #20385 from nextcloud/skeeable-http-hardenRoeland Jago Douma2020-04-101-3/+13
|\ \ | | | | | | harden seekable http stream a bit against failures
| * | harden seekable http stream a bit against failuresRobin Appelman2020-04-091-3/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-102-0/+4
| | |
* | | Merge pull request #20391 from nextcloud/refactor/spaces-cleanupChristoph Wurst2020-04-0951-149/+149
|\ \ \ | | | | | | | | Remove all extra whitespace PSR2 does not like
| * | | Remove space between switch case and colonChristoph Wurst2020-04-092-4/+6
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Make sure there is exactly one newline after importsChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Make sure every file ends with an empty newlineChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Remove trailing whitespaces from commentsChristoph Wurst2020-04-0912-24/+24
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Remove trailing and in between spacesChristoph Wurst2020-04-0933-111/+111
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Remove spaces after method or function callChristoph Wurst2020-04-095-13/+13
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20384 from nextcloud/techdebt/lowercase-keywordsChristoph Wurst2020-04-097-7/+7
|\ \ \ \ | |/ / / |/| | | Use php keywords in lowercase
| * | | Use php keywords in lowercaseChristoph Wurst2020-04-097-7/+7
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0982-220/+220
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use a blank line after the opening tagChristoph Wurst2020-04-098-0/+8
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-09131-104/+27
| | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix (array) indent style to always use one tabChristoph Wurst2020-04-0928-164/+164
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2020-04-092-0/+4
| |
* | Merge pull request #16035 from nextcloud/share-search-hide-on-matchblizzz2020-04-092-8/+28
|\ \ | | | | | | dont show remote and email options if we have an exact match for local user email
| * | dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-04-082-8/+28
| | | | | | | | | | | | | | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix multiline commentsChristoph Wurst2020-04-0828-339/+331
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #20360 from ↵Roeland Jago Douma2020-04-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/20182/try-to-use-the-displayname-for-file-transfers Try to use the display name of file transfers
| * | | Try to use the display name of file transfersJoas Schilling2020-04-081-1/+1
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Bump autoloadersJulius Härtl2020-04-082-0/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add preview provider for Krita filesJulius Härtl2020-04-083-5/+57
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Extract preview from opendocument filesJulius Härtl2020-04-082-1/+18
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add abstract class to extract previews from files that are zip archivesJulius Härtl2020-04-081-0/+58
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #20299 from ↵Roeland Jago Douma2020-04-081-1/+1
|\ \ | |/ |/| | | | | nextcloud/fix/noid/member-on-null-app-cancel-login fixes the throttler not checking the user state on postLogin
| * fixes the throttler not checking the user state on postLoginArthur Schiwon2020-04-031-1/+1
| | | | | | | | | | | | | | a listener to the post login events can still reject a login, so that a user is not necessarily available at the time. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #18200 from nextcloud/enhancement/psr-loggerChristoph Wurst2020-04-084-0/+172
|\ \ | | | | | | Add a PSR-3 logger adapter and make it injectable
| * | Add a PSR-3 logger adapter and make it injectableChristoph Wurst2020-03-264-0/+172
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-082-0/+4
| | |
* | | Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-0720-35/+35
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-072-0/+4
| | |
* | | Merge pull request #20033 from nextcloud/s3-seekable-streamRoeland Jago Douma2020-04-064-21/+208
|\ \ \ | | | | | | | | Enable fseek for files in S3 storage
| * | | update autoloaderRobin Appelman2020-04-033-9/+9
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | add basic tests for s3 seeking and add some error handling if reopen return ↵Robin Appelman2020-04-011-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | the wrong range Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | make seekable s3 stream genericRobin Appelman2020-04-012-57/+106
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Enable fseek for files in S3 storageLukas Stabe2020-04-012-19/+147
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Stabe <lukas@stabe.de>
* | | | [tx-robot] updated from transifexNextcloud bot2020-04-064-0/+8
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2020-04-056-0/+12
| | | |
* | | | Merge pull request #20139 from ↵Roeland Jago Douma2020-04-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/unify-default-value-for-restricting-user-enumeration-with-settings Unify default value for restricting user enumeration with settings
| * | | | Unify default value for restricting user enumeration with settingsDaniel Calviño Sánchez2020-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the value was never enabled or disabled, the settings show "Restrict username enumeration to groups" as disabled. However, in some components it was enabled by default, which caused an inconsistency in the behaviour with respect to the settings, for example in the contacts menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>