Commit graph

19005 commits

Author SHA1 Message Date
acsfer
63fa7d9354 PHP 8+ deprecates openssl_free_key 2021-04-26 10:46:44 +00:00
acsfer
c12be83a0b Only use libxml_disable_entity_loader on PHP<8 2021-04-26 10:46:44 +00:00
Maxence Lange
35204381bb private cannot be final
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-04-26 07:06:08 +00:00
Nextcloud bot
ec5942a1d0
[tx-robot] updated from transifex 2021-04-26 02:24:51 +00:00
Nextcloud bot
8676d77eec
[tx-robot] updated from transifex 2021-04-25 02:25:06 +00:00
Nextcloud bot
dfb6043634
[tx-robot] updated from transifex 2021-04-24 02:26:50 +00:00
Nextcloud bot
cdb9eb401e
[tx-robot] updated from transifex 2021-04-23 02:26:26 +00:00
Arthur Schiwon
04b851b8b8 remove undefined parameter, add description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-22 17:13:24 +00:00
Roeland Jago Douma
97e5fe43df Explicitly check hex2bin input
For #23197

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-22 11:31:39 +00:00
Nextcloud bot
3d24aef406
[tx-robot] updated from transifex 2021-04-21 02:26:16 +00:00
Roeland Jago Douma
f915efc859
Merge pull request #26639 from nextcloud/backport/26551/stable21
[stable21] ensure redis returns bool for hasKey
2021-04-20 10:33:18 +02:00
Morris Jobke
1e542beaab
Merge pull request #26625 from nextcloud/bugfix/noid/fix-sharemail-empty-password-check
[stable21] Fix empty password check for mail shares
2021-04-20 10:01:45 +02:00
Nextcloud bot
7482baf138
[tx-robot] updated from transifex 2021-04-20 02:26:12 +00:00
Arthur Schiwon
92e1606c18
ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-19 23:40:47 +02:00
Vincent Petry
fe0f1c792c
Fix empty password check for mail shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-19 15:44:26 +02:00
Joas Schilling
0214201008 Fix constraint violation detection in QB Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:14:29 +00:00
Nextcloud bot
c2a4afccea
[tx-robot] updated from transifex 2021-04-15 02:25:22 +00:00
Nextcloud bot
5cc58a04a3
[tx-robot] updated from transifex 2021-04-14 02:27:02 +00:00
Nextcloud bot
736933af7a
[tx-robot] updated from transifex 2021-04-13 02:25:09 +00:00
Lukas Reschke
ad91f39c46 Limit size of properties to 2048 characters
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-12 16:37:04 +00:00
Lukas Reschke
b5838c5248 Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-12 10:36:25 +00:00
Nextcloud bot
0216927050
[tx-robot] updated from transifex 2021-04-09 02:25:20 +00:00
Nextcloud bot
1f3d1546dd
[tx-robot] updated from transifex 2021-04-07 02:24:26 +00:00
Lukas Reschke
d66e86c56c
Merge pull request #26400 from nextcloud/backport/26061/stable21
[stable21] Log and continue when failing to update encryption keys during for individual files
2021-04-06 13:43:34 +02:00
Nextcloud bot
6b67b81287
[tx-robot] updated from transifex 2021-04-06 02:25:42 +00:00
Nextcloud bot
a9b5cde333
[tx-robot] updated from transifex 2021-04-05 02:24:56 +00:00
Nextcloud bot
e85188f429
[tx-robot] updated from transifex 2021-04-04 02:24:59 +00:00
Nextcloud bot
fe7ad83c76
[tx-robot] updated from transifex 2021-04-03 02:43:46 +00:00
John Molakvoæ
b59cf16325
Merge pull request #26406 from nextcloud/backport/26396/stable21 2021-04-02 16:59:51 +02:00
Nextcloud bot
e14860c8f2
[tx-robot] updated from transifex 2021-04-02 02:26:17 +00:00
Julius Härtl
dc8e819915 Properly handle creating the template directory in a subfolder (fixes #25787)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:31:55 +00:00
Julius Härtl
89a19a338e Get the parent directory before creating a file from a template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:31:55 +00:00
Robin Appelman
40507ca543
make ILDAPProviderFactory usable when there is no ldap setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-01 13:08:23 +02:00
Vincent Petry
6ac708c99a Fix phpcs issues in encryption update
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-01 07:56:41 +00:00
Julius Härtl
d6bad03a5c Log and continue when failing to update encryption keys during for individual files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 07:56:41 +00:00
Joas Schilling
0c348863e7 Allow apps to write/update account data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-01 06:07:47 +00:00
kesselb
618a48487f
Merge pull request #26377 from nextcloud/backport/25500/stable21
[stable21] fix(translation): replace static error message
2021-03-31 10:07:58 +02:00
Julius Härtl
00daf58da8
Merge pull request #26376 from nextcloud/backport/25804/stable21
[stable21] Do not attempt to read 0 bytes when manually iterating over a non-seekable file
2021-03-31 09:44:47 +02:00
Christoph Wurst
0432b32535
Merge pull request #26379 from nextcloud/backport/25924/stable21
[stable21] Only mark migrations as installed after execution
2021-03-31 07:43:32 +02:00
Christoph Wurst
3e5fbd4ef1
Merge pull request #26382 from nextcloud/backport/26372/stable21
[stable21] gracefully handle deleteFromSelf when share is already gone
2021-03-31 07:43:01 +02:00
Nextcloud bot
6d70bd9246
[tx-robot] updated from transifex 2021-03-31 02:25:01 +00:00
Arthur Schiwon
caec3a8cee gracefully handle deleteFromSelf when share is already gone
- handling race conditions

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-30 20:26:29 +00:00
Joas Schilling
e3927afe19 Only mark migrations as installed after execution
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 19:51:12 +00:00
Samuel
3073732002 revert(comment)
Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Samuel
c49cff453c revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Samuel
22ddcfa740 fix(translation): replace static error message
as suggested by @kesselb in nextcloud/server#25490

Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Julius Härtl
fc2e09b667 Properly end iterating over the file once the target has been reached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-30 19:22:47 +00:00
Vincent Petry
6cb5f36cf4 Update autoloader for PlaceholderAvatar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:37 +00:00
Vincent Petry
ec492eadfa Add known user check in avatar when v2-private scope
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:37 +00:00
Vincent Petry
ab22999eb9 Added PlaceholderAvatar with own cached images
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.

This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:36 +00:00