Commit graph

17064 commits

Author SHA1 Message Date
Robin Appelman
8f6a11fdc0 actually return the quote when getting global storage info
prevents 'undefined' index errors when 'include external storage in quota' is enabled

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-07 22:53:54 +00:00
Arthur Schiwon
46e7787c7d switch to Files Node API for zip generation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-07 10:04:12 +00:00
Nextcloud bot
5165e45074
[tx-robot] updated from transifex 2019-11-07 02:16:05 +00:00
Nextcloud bot
2a0b02ec9a
[tx-robot] updated from transifex 2019-11-05 02:15:55 +00:00
Nextcloud bot
6136a6c128
[tx-robot] updated from transifex 2019-11-04 02:15:35 +00:00
Nextcloud bot
4d686e278b
[tx-robot] updated from transifex 2019-11-03 02:16:14 +00:00
Roeland Jago Douma
bc6442c46b Do not show 'Get your own free account' on services under subscription
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-30 09:55:32 +00:00
Roeland Jago Douma
16c799c9f3 Fix DAV mimetype search
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>
2019-10-29 07:35:33 +00:00
Roeland Jago Douma
f3af39ec78 Make sure limit is never negative
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>
2019-10-28 13:00:28 +00:00
Roeland Jago Douma
7777c5ff1c Cleanup theming mess
* 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>
2019-10-26 10:15:26 +00:00
Roeland Jago Douma
0449d1457c Don't pass in the locale as the language
This messes with the translation of the date names etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-26 10:15:24 +00:00
Nextcloud bot
5ac7195e55
[tx-robot] updated from transifex 2019-10-23 02:15:32 +00:00
Nextcloud bot
bad70805e4
[tx-robot] updated from transifex 2019-10-21 02:15:57 +00:00
Julius Härtl
53f8f21cc9 Make sure the cache is only reset once at a time
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 09:28:11 +00:00
Julius Härtl
fbe6a57866 Use a distributed cache for the isCachedCache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 09:28:10 +00:00
Nextcloud bot
eb789e4390
[tx-robot] updated from transifex 2019-10-14 02:15:16 +00:00
Nextcloud bot
844e7a74cd
[tx-robot] updated from transifex 2019-10-12 02:15:17 +00:00
Nextcloud bot
107639b12f
[tx-robot] updated from transifex 2019-10-06 02:15:20 +00:00
Arthur Schiwon
eb191af518 reduce adressbook change events and handling
... from four to one on avatar updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-01 10:18:20 +00:00
Nextcloud bot
55c94b2d77
[tx-robot] updated from transifex 2019-09-28 02:14:59 +00:00
Roeland Jago Douma
4f54d12ff9
Merge pull request #17277 from nextcloud/backport/17264/stable17
[stable17] handle moveFromStorage within the same storage even when storage wrap…
2019-09-27 12:28:40 +02:00
Roeland Jago Douma
b29bc1e593
Merge pull request #17281 from nextcloud/backport/17262/stable17
[stable17] dont delete cache entries if deleting an object from object store failed
2019-09-27 12:28:11 +02:00
Robin Appelman
ffcb590583 dont delete cache entries if deleting an object from object store failed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-26 14:14:44 +00:00
Robin Appelman
1048bc5102 handle moveFromStorage within the same storage even when storage wrappers are applied to the source storage
the target storage doesn't need additional handling for wrappers as the wrappers implementation of moveFromStorage already deals with that

Any storage based on local storage isn't affected by this as local storage already has it's own way of handling with this

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-26 13:54:44 +00:00
Joas Schilling
b29efda7c7 Fix user with id 0 to be able to comment
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 11:50:33 +00:00
Nextcloud bot
bbd04fcb49
[tx-robot] updated from transifex 2019-09-25 02:14:54 +00:00
Nextcloud bot
1d2059205a
[tx-robot] updated from transifex 2019-09-24 02:14:49 +00:00
Robin Appelman
186c2474b7 catch exceptions that occur during logging
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-19 16:34:40 +00:00
Christoph Wurst
4e1f7f1c59 Fix l10n in federated file sharing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-09-19 13:28:09 +00:00
Roeland Jago Douma
3aa5e613a9
Merge pull request #17204 from nextcloud/backport/17201/stable17
[stable17] Use the actual password to update the tokens
2019-09-19 10:07:33 +02:00
Nextcloud bot
89143d3746
[tx-robot] updated from transifex 2019-09-19 02:15:45 +00:00
Roeland Jago Douma
ae4d01dfb0 Use the actual password to update the tokens
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-18 20:53:38 +00:00
Daniel Kesselberg
4cf30c82ee Add uid to delete temp token query
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-18 16:11:55 +00:00
Nextcloud bot
cea2b78aa3
[tx-robot] updated from transifex 2019-09-17 12:33:35 +00:00
blizzz
f348b753b1
Merge pull request #17072 from nextcloud/backport/16836/stable17
[stable17] Fix SMB availability status + higher delay on auth issues
2019-09-10 13:51:48 +02:00
Roeland Jago Douma
258c863b62 set default CSP on NotFoundResponse
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-10 07:23:47 +00:00
Arthur Schiwon
358b8bebc6 set a storage availability delay on auth issues to avoid lock out
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 14:53:01 +00:00
Julius Härtl
64fe9bc287
Return the proper jailed path when requesting the root path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-04 13:25:17 +02:00
Roeland Jago Douma
b7301f40dd
Merge pull request #16972 from nextcloud/enh/default_client_timeout
Set a default request timeout
2019-09-04 08:08:48 +02:00
Roeland Jago Douma
ecd0d39c30
Merge pull request #16928 from nextcloud/fix/icontrolelrmethodreflector
Remove reflect method form public interface
2019-09-03 07:53:36 +02:00
Roeland Jago Douma
6188734579
Merge pull request #16964 from phpbg/master
Fix sanity checks #16963
2019-09-03 07:50:11 +02:00
Nextcloud bot
0d1df80fbf
[tx-robot] updated from transifex 2019-09-03 02:15:06 +00:00
Roeland Jago Douma
ca2623e6ad
Set a default request timeout
This to avoid endless running processes.
A default timeout of 30 seconds should cover the 99% case. If a job need
specific longer time it should set that.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-02 15:42:48 +02:00
Joas Schilling
60fe0d7fc4
Define a guest type so Talk can use it in it's notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-02 14:56:50 +02:00
Samuel CHEMLA
94eb77a535 Fix sanity checks #16963
Signed-off-by: Samuel CHEMLA <chemla.samuel@gmail.com>
2019-09-01 22:27:08 +02:00
Roeland Jago Douma
def82c5077
Remove reflect method form public interface
The reflect method is (and should) only every be called internally.
Since if you call it again it would otherwise start mixing and matching
arguments etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 13:28:18 +02:00
Nextcloud bot
50769b5966
[tx-robot] updated from transifex 2019-08-30 02:15:12 +00:00
Roeland Jago Douma
7889961103
Merge pull request #16925 from nextcloud/bugfix/throwable-middleware
Handle throwables in the http dispatcher
2019-08-29 20:24:13 +02:00
Julius Härtl
299759b836
Handle throwables in the http dispatcher
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-29 17:19:14 +02:00
Roeland Jago Douma
35db32f504
Add deprecation warning
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-29 14:52:50 +02:00