Côme Chilliet
1fb72e8277
Remove modern PHP syntax, and apply codesniffer fixes in Share20/Manager.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-26 10:42:52 +01:00
Côme Chilliet
0ee5c61eae
Use nullsafe call syntax instead of additionnal check
...
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-02-26 10:42:52 +01:00
Côme Chilliet
603c0d00e4
Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from disabled users
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-26 10:42:52 +01:00
Julius Härtl
9642615f52
fix: Only throttle on invalid requests for public share links
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-28 19:43:48 +01:00
Joas Schilling
d4f6fff9ad
Reverse X-Forwarded-For list to read the correct proxy remote address
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:59:27 +01:00
Arthur Schiwon
d844c956b1
Merge pull request #40321 from nextcloud/fix/supress-statana-warning-memcache
...
[stable23] fix(caching): suppress static analysis warning for memcaching
2023-09-13 21:56:26 +02:00
Anna Larch
3e895ba0b4
fix(caching): suppress static analysis warning for memcaching
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-07 09:48:54 +02:00
Joas Schilling
0fe4672e43
fix(ratelimit): Only use memory cache backend for redis
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 18:40:13 +02:00
Daniel Kesselberg
6ddf1b705f
enh: skip processing for empty response
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-05 10:32:55 +02:00
Joas Schilling
56a23cead4
fix(apps): Fix loading info.xml file
...
Ref: https://bugs.php.net/bug.php?id=62577
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-20 10:55:13 +02:00
Daniel Kesselberg
cdad27c397
fix: use handleLoginFailed for invalid email address
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 14:33:19 +02:00
Joas Schilling
9d6a7399a8
fix(dav): Abort requests with 429 instead of waiting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:43:42 +02:00
Robin Appelman
9f31a6e127
use source cache when listing folder during recursive copy
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 12:29:37 +02:00
Joas Schilling
060b85c311
fix(middleware): Also abort the request when reaching max delay in afterController
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:28:33 +02:00
Joas Schilling
c1f33854e4
Merge pull request #37555 from nextcloud/backport/37542/stable23
...
[stable23] feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
2023-04-03 22:11:33 +02:00
Joas Schilling
fd892cddf1
feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 12:59:11 +00:00
Arthur Schiwon
706504bce3
hide shared files located in group folder's trash bin
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 16:13:58 +00:00
Daniel Kesselberg
1c333cd1ea
chore: use local variable for remote address
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-17 19:21:22 +01:00
Julien Veyssier
b384a969f5
manual backport of #35057
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-03-15 10:22:38 +01:00
Joas Schilling
3f5ac26413
Fix appconfig compatibility with Oracle DB
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 09:21:04 +01:00
Joas Schilling
188b6c6611
fix(OCC): Don't throw in the repair step for phone validation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 09:20:56 +01:00
Joas Schilling
121d25d32d
Merge pull request #36324 from nextcloud/backport/36268/stable23
...
[stable23] Fix double where() usage in resource manager
2023-02-27 15:34:46 +01:00
Joas Schilling
926de54e1d
Also copy bruteforce meta data when converting DataResponse to JSONResponse
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-14 19:47:00 +01:00
Joas Schilling
6c87707997
Fix double where() usage in resource manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24 07:51:53 +00:00
Louis Chemineau
6b6e4a4fa0
I dug into it again, and the issue is much simpler than I previously though.
...
- LDAP has an email address with capital letters
- NC store this address in lower case
- When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261 ) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want.
- We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204 ), they won't match, so the user will receive an email signaling an email change every time he logs in.
The fix is to compare the old email with the new lower case email before sending the event.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-02 15:30:28 +00:00
Côme Chilliet
6185e326dc
Fix LENGTH function name across databases
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:12:48 +01:00
Côme Chilliet
6e3cd43903
Use OCTET_LENGTH which is more common than LENGTHB
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:12:13 +01:00
Côme Chilliet
131a397472
Add octetLength and charLength to function builder, and tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:10:00 +01:00
Nextcloud bot
bc6bb6036d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-17 02:20:03 +00:00
Nextcloud bot
43e36cec70
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-16 02:20:17 +00:00
Nextcloud bot
a9924a00df
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-11 02:31:34 +00:00
Nextcloud bot
fc06379df9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-10 02:21:18 +00:00
Nextcloud bot
74b5f653ee
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-08 02:19:49 +00:00
Nextcloud bot
9c65fd7188
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-07 02:20:09 +00:00
Nextcloud bot
bca7a5634a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-06 02:26:29 +00:00
Nextcloud bot
93c583a741
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-05 02:15:47 +00:00
Nextcloud bot
e490d816c4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-04 02:15:15 +00:00
Nextcloud bot
3123364d82
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-02 02:15:44 +00:00
Nextcloud bot
8afbf0cbeb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-01 02:15:44 +00:00
Nextcloud bot
669ae09603
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-29 02:14:51 +00:00
Nextcloud bot
bdc164f330
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-28 02:19:48 +00:00
Nextcloud bot
d34c584523
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-25 02:19:55 +00:00
Julius Härtl
6fc0e39c5f
Merge pull request #35371 from nextcloud/backport/35250/stable23
...
[stable23] Properly compare quota against both float/int values
2022-11-24 08:23:54 +01:00
Nextcloud bot
9323ea39cc
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-24 02:18:00 +00:00
blizzz
d74e2b68a8
Merge pull request #35369 from nextcloud/backport/35353/stable23
...
[stable23] Update cache when file size === 0
2022-11-23 21:11:23 +01:00
blizzz
80c63dc395
Merge pull request #35040 from nextcloud/backport/32211/stable23
...
[stable23] Add repair command to fix wrong share ownership
2022-11-23 21:08:07 +01:00
Julius Härtl
48ec3477ee
Properly compare quota against both float/int values
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-23 17:33:51 +00:00
Louis Chemineau
36243c5cbf
Update cache when file size === 0
...
The conditions were false when $result === 0.
$results here contains the number of written bits.
The correct way of checking for operation success is to check if $result === false
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-23 15:12:45 +00:00
Joas Schilling
4214458d97
Fix forwarding the object id when searching comments
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-23 10:42:35 +00:00
Simon L
334628827c
Merge pull request #35339 from nextcloud/backport/35007/stable23
...
[stable23] Fix unsuccessful token login logged as error
2022-11-23 09:41:30 +01:00