summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #17509 from nextcloud/fix/application-singletonJohn Molakvoæ2019-11-043-3/+4
|\ | | | | Fix Application instances created multiple times
| * Make sure we create an app's Application class just onceChristoph Wurst2019-10-113-3/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #17506 from nextcloud/bugfix/12790/workflow-frontendblizzz2019-11-041-3/+0
|\ \ | | | | | | Workflow frontend polishing
| * | do not break on Checkers that do not need specific context infoArthur Schiwon2019-10-291-3/+0
| | | | | | | | | | | | | | | | | | request time, for example Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | [tx-robot] updated from transifexNextcloud bot2019-11-044-20/+20
| | |
* | | [tx-robot] updated from transifexNextcloud bot2019-11-032-4/+4
| | |
* | | Merge pull request #17739 from nextcloud/enh/share/filterRoeland Jago Douma2019-10-314-0/+54
|\ \ \ | | | | | | | | Get all shares iterable
| * | | fixup! Get all shares as iterableDaniel Calviño Sánchez2019-10-302-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | Get all shares as iterableRoeland Jago Douma2019-10-304-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes we need all shares or rather a specific subset of shares but creating dedicated functions is a pain. This just returns an iterable object for all shares so we can loop over them without allocating all the memory on the system. It should not be used by any user called code. But in an occ command or background job it is fine IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | #17661Daniel Schneider2019-10-301-1/+1
| | | |
* | | | Merge pull request #17674 from nextcloud/enh/do_not_show_footer_subRoeland Jago Douma2019-10-301-1/+9
|\ \ \ \ | |/ / / |/| | | Do not show 'Get your own free account' on services under subscription
| * | | Do not show 'Get your own free account' on services under subscriptionRoeland Jago Douma2019-10-251-1/+9
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #17562 from ↵Roeland Jago Douma2019-10-291-2/+25
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/techdebt/17509/log-error-when-setting-up-application-incorrectly Log an error in development cases when the application class was set …
| * | | | Log an error in development cases when the application class was set up ↵Joas Schilling2019-10-161-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incorrectly Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Having the contructor in the interface makes no sense...Roeland Jago Douma2019-10-291-7/+0
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-292-2/+25
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Fix DAV mimetype searchRoeland Jago Douma2019-10-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #15048 Catches the case where a full mimetype is sumbitted in the where like clause. Before we didn't catch this and it was just forwarded as is causing invalid queries. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #17712 from nextcloud/enh/limit_hardening/database/userRoeland Jago Douma2019-10-281-0/+10
|\ \ \ \ | | | | | | | | | | Make sure limit is never negative
| * | | | Make sure limit is never negativeRoeland Jago Douma2019-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some cases where a negative limit could be passed in. Which would happily make the query explode. This is just a quick hack to make sure it never is negative. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #17173 from nextcloud/feature/event-broadcastingRoeland Jago Douma2019-10-286-0/+206
|\ \ \ \ \ | |/ / / / |/| | | | Make it possible to broadcast events to (web) clients
| * | | | Make it possible to broadcast events to (web) clientsChristoph Wurst2019-10-286-0/+206
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Cleanup theming messRoeland Jago Douma2019-10-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not do translations in the constructor. This gets called to early so there is no user yet. Which means we can't obtain the locale. Which means we store the wrong translation instance. * Same for the theming app magic. Just use the parent call when needed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Don't pass in the locale as the languageRoeland Jago Douma2019-10-251-2/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | This messes with the translation of the date names etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | [tx-robot] updated from transifexNextcloud bot2019-10-232-2/+2
| | | |
* | | | Fix help route in navigationJulius Härtl2019-10-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Add isXXX getter to EntityChristoph Wurst2019-10-221-9/+12
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #17568 from ↵blizzz2019-10-2110-14/+22
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/noid/move-away-from-deprecated-event use OCP\EventDispatcher\Event over Symfony's deprecated Event
| * | | use OCP\EventDispatcher\Event over Symfony's deprecated EventArthur Schiwon2019-10-1710-14/+22
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #17594 from nextcloud/dont-cache-notfoundRoeland Jago Douma2019-10-211-1/+3
|\ \ \ \ | | | | | | | | | | Dont cache empty url for not found routes
| * | | | Dont cache empty url for not found routesRobin Appelman2019-10-181-1/+3
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #17547 from nextcloud/enh/noid/log-exception-json-escapeRoeland Jago Douma2019-10-211-1/+1
|\ \ \ \ | | | | | | | | | | Do not escape slashes for logged exceptions
| * | | | Do not escape slashes for logged exceptionsJulius Härtl2019-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | [tx-robot] updated from transifexNextcloud bot2019-10-212-0/+6
| |/ / / |/| | |
* | | | Let SCSS cleanup only run once (#17543)John Molakvoæ2019-10-171-2/+6
|\ \ \ \ | | | | | | | | | | Let SCSS cleanup only run once
| * | | | Make sure the cache is only reset once at a timeJulius Härtl2019-10-151-1/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | Use a distributed cache for the isCachedCacheJulius Härtl2019-10-151-1/+1
| |/ / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | / / Do DI on registered middleware as wellRoeland Jago Douma2019-10-161-1/+1
| |/ / |/| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Deprecate TemplateManagerJulius Härtl2019-10-162-0/+6
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Assume that getType is availableDaniel Kesselberg2019-10-141-7/+4
| | | | | | | | | | | | From PHP7 getType is always available. No need to check it nowdays. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix ReflectionType::__toString() is deprecatedDaniel Kesselberg2019-10-141-2/+2
| | | | | | | | | | | | | | As of PHP 7.1.0, ReflectionType::__toString() is deprecated, and ReflectionParameter::getType() may return an instance of ReflectionNamedType. To get the name of the parameter type, ReflectionNamedType() is available in this case. https://www.php.net/manual/en/reflectionparameter.gettype.php Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | [tx-robot] updated from transifexNextcloud bot2019-10-142-6/+18
| |
* | [tx-robot] updated from transifexNextcloud bot2019-10-122-2/+2
|/
* Merge pull request #17484 from nextcloud/bugfix/activity-last-timestamp-mergedRoeland Jago Douma2019-10-101-1/+2
|\ | | | | Always use the latest timestamp for merged activities
| * Always use the latest timestamp for merged activitiesJulius Härtl2019-10-091-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #17276 from nextcloud/storage-id-eqRoeland Jago Douma2019-10-092-2/+10
|\ \ | | | | | | Get single storage id using `eq` instead of `in`
| * | use eq instead of in for loading single storageRobin Appelman2019-09-261-1/+9
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | log which storage id can't be insertedRobin Appelman2019-09-261-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Make renewSessionToken return the new tokenRoeland Jago Douma2019-10-095-9/+15
| | | | | | | | | | | | | | | | | | | | | Avoids directly getting the token again. We just inserted it so it and have all the info. So that query is just a waste. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Cache the public key tokensRoeland Jago Douma2019-10-081-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes (esp with token auth) we query the same token multiple times. While this is properly indexed and fast it is still a bit of a waste. Right now it is doing very stupid caching. Which gets invalidate on any update. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #17431 from ↵Roeland Jago Douma2019-10-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | johkoenig/bugfix/17377/trusted_domain_helper_case_insensitive make TrustedDomainHelper case insensitive