summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #34770 from nextcloud/backport/34579/stable24John Molakvoæ2022-10-271-1/+1
|\ | | | | [stable24] fix null error in getUnencryptedSize
| * fix null error in getUnencryptedSizeRobin Appelman2022-10-241-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #34845 from nextcloud/dependaskjnldsv/32413/stable24John Molakvoæ2022-10-272-21/+6
|\ \ | | | | | | [stable24] Fix psalm errors fron the end of the baseline file
| * | Fix psalm errors fron the end of the baseline fileCarl Schwan2022-10-272-21/+6
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #34440 from nextcloud/backport/32635/stable24John Molakvoæ2022-10-271-2/+5
|\ \ \
| * | | Update lib/private/Contacts/ContactsMenu/ContactsStore.php Andy Xheli2022-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Tested no issues. Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * | | Update ContactsStore.phpAndy Xheli2022-10-271-1/+1
| | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * | | Apply suggestions from code review Andy Xheli2022-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * | | Fix User profile picture when performing the searchAndy Xheli2022-10-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Before ![image](https://user-images.githubusercontent.com/59488153/140980158-b9108161-57ab-48b4-ae6f-98ec4e72775a.png) After Fix for #31065
* | | | Merge pull request #34797 from nextcloud/backport/33540/stable24Vincent Petry2022-10-271-1/+6
|\ \ \ \ | |_|/ / |/| | | [stable24] fix updating cached mounts that didn't have their mount provider set previously
| * | | fix updating cached mounts that didn't have their mount provider set previouslyRobin Appelman2022-10-251-1/+6
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #34410 from nextcloud/backport/33566/stable24John Molakvoæ2022-10-272-2/+19
|\ \ \
| * | | trigger a rescan when trying to fopen a file that exists in cache but not on ↵Robin Appelman2022-10-062-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | disk Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #34032 from nextcloud/backport/34019/stable24John Molakvoæ2022-10-272-4/+4
|\ \ \ \ | |_|_|/ |/| | | [stable24] Fix quota type to int
| * | | Fix quota type to intCarl Schwan2022-09-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the quota to int from float, since the quota is a number of bits and a bits can not be splitted. Fix #34010 Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix quota type to intCarl Schwan2022-09-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the quota to int from float, since the quota is a number of bits and a bits can not be splitted. Fix #34010 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #34447 from nextcloud/backport/34302/stable24Vincent Petry2022-10-271-18/+29
|\ \ \ \ | | | | | | | | | | [stable24] Fix: Prevent deadlocks during mtime/size/etag propagation
| * | | | Fix unencrypted size calculation for files created before the Encryption ↵raul2022-10-251-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage is enabled Signed-off-by: raul <raul@nextcloud.com>
| * | | | Fix: Prevent deadlocks during mtime/size/etag propagationraul2022-10-251-17/+29
| | | | | | | | | | | | | | | | | | | | Signed-off-by: raul <raul@nextcloud.com>
* | | | | Expose mapped user count from LDAP and use that for user limit checkCôme Chilliet2022-10-251-3/+5
|/ / / / | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Fix return types of createUser methodCôme Chilliet2022-10-251-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Fix createUser return type in docblock to match codeCôme Chilliet2022-10-241-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | extended hint messageblizzz2022-10-241-1/+1
| | | | | | | | | | | | | | | | Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
* | | | improve admin notification experienceArthur Schiwon2022-10-241-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not stack notifications, replace them - and replace them once a day only - with LDAP it might end in total spam terror (also push) otherwise Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | LDAP to no register new users when outside of fair use or over limitsArthur Schiwon2022-10-243-11/+62
| |_|/ |/| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | fix external storages accessszaimen2022-10-231-3/+1
| | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | Avoid allocating too much memory for the bufferJulius Härtl2022-10-121-1/+1
| |/ |/| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Correctly handle Redis::keys returning falseCôme Chilliet2022-09-301-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #34111 from nextcloud/backport/34073/stable24blizzz2022-09-271-0/+3
|\ \ | | | | | | [stable24] dont try email login if the provider username is not a valid email
| * | dont try email login if the provider username is not a valid emailRobin Appelman2022-09-161-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #33787 from nextcloud/backport/33772/stable24blizzz2022-09-271-0/+8
|\ \ \ | |/ / |/| | [stable24] Log if cookie login failed with token mismatch or session unavailability
| * | Log if cookie login failed with token mismatch or session unavailabilityChristoph Wurst2022-09-011-0/+8
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #33700 from nextcloud/groupfolder-system-encryption-24Vincent Petry2022-09-151-0/+10
|\ \ \ | |_|/ |/| | [24] make groupfolders use system wide encryption keys
| * | make groupfolders use system wide encryption keysRobin Appelman2022-09-151-0/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Do not empty config.php file if reading failed for any reasonCôme Chilliet2022-09-121-0/+4
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Filter out old files when trying to get recent filesCarl Schwan2022-09-081-27/+55
| | | | | | | | | | | | | | | | | | | | | Only do so when asking for less than 100 files and having an offset equal to 0. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Revert "[stable24] Compare lowercase email when updating from ldap"blizzz2022-09-071-1/+1
| | |
* | | I dug into it again, and the issue is much simpler than I previously though.Louis Chemineau2022-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | Merge pull request #33749 from nextcloud/backport/33734/stable24Vincent Petry2022-09-011-1/+1
|\ \ \ | |_|/ |/| | [stable24] remove leading slash for search results at mountpoint root
| * | remove leading slash for search results at mountpoint rootRobin Appelman2022-08-301-1/+1
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33696 from nextcloud/backport/33375/stable24blizzz2022-08-304-0/+92
|\ \ | | | | | | [stable24] Add back TokenCleanupJob to invalidate old temporary tokens
| * | Add back TokenCleanupJob to invalidate old temporary tokensThomas Citharel2022-08-254-0/+92
| |/ | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #33656 from nextcloud/backport/33574/stable24blizzz2022-08-301-2/+6
|\ \ | | | | | | [stable24] directly build the search filter for shared storage instead of setting up the source cache
| * | directly build the search filter for shared storage instead of setting up ↵Robin Appelman2022-08-231-2/+6
| | | | | | | | | | | | | | | | | | the source cache Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #33603 from nextcloud/jail-search-post-24blizzz2022-08-301-5/+7
|\ \ \ | | | | | | | | [24] optimize search post-processing for jail wrapper
| * | | optimize search post-processing for jail wrapperRobin Appelman2022-08-181-5/+7
| |/ / | | | | | | | | | | | | | | | don't both asking the wrapped cache if we know it's not in our jail anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #33514 from nextcloud/backport/33513/stable24blizzz2022-08-301-4/+17
|\ \ \ | |_|/ |/| | [stable24] Recover installation when creating the database user fails and improve password strength
| * | Create more secure passwords by defaultJoas Schilling2022-08-121-4/+10
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Recover installation when creating the user failedJoas Schilling2022-08-121-0/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | logger ignore args of sharepoint-related methodsArthur Schiwon2022-08-251-0/+5
| |/ |/| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>