aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2022-05-2446-484/+484
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #32378 from nextcloud/fix/psalm-userbackendCarl Schwan2022-05-2311-41/+54
|\ | | | | Fix psalm issues related to the user backend
| * Fix psalm issues related to the user backendCarl Schwan2022-05-2011-41/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | - Reflect the actual return value returned by the implementation in the the interface. E.g. IUser|bool -> IUser|false - Remove $hasLoggedIn parameter from private countUser implementation. Replace the two call with the equivalent countSeenUser - getBackend is nuallable, add this to the interface - Use backend interface to make psalm happy about call to undefined methods. Also helps with getting rid at some point of the old implementActions Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | [tx-robot] updated from transifexNextcloud bot2022-05-232-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #32486 from nextcloud/debt/noid/psalm-usernameCarl Schwan2022-05-202-4/+3
|\ \ | | | | | | [Psalm] Rename $userName to $username to align with child classes
| * | Fix return type for createSpecificUserDaniel Kesselberg2022-05-191-2/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Rename userName to username to align with child classesDaniel Kesselberg2022-05-191-2/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Make appName of TemplateResponse accessible in BeforeTemplateRenderedEventJoas Schilling2022-05-201-0/+9
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32406 from nextcloud/debt/noid/psalm-warning-idbconnectionJoas Schilling2022-05-201-1/+1
|\ \ \ | | | | | | | | [Psalm] Fix spelling for PreConditionNotMetException
| * | | Fix spelling for PreConditionNotMetExceptionDaniel Kesselberg2022-05-151-1/+1
| | |/ | |/| | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #32410 from nextcloud/bugfix/noid/imaginary-exceptionJohn Molakvoæ2022-05-201-2/+7
|\ \ \
| * | | Add explicit return if getSmallImagePreview failsJulius Härtl2022-05-191-2/+7
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Fix crop conditionCarl Schwan2022-05-191-4/+11
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Make sure that when fetching the image from the cache we don't accidentally fetch the cropped image just because it also start with 256-256 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | [tx-robot] updated from transifexNextcloud bot2022-05-192-2/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #32451 from nextcloud/fix/cropped-image-when-not-askedCarl Schwan2022-05-181-1/+2
|\ \ \ | | | | | | | | Fix cropped image generated when not asked
| * | | Fix cropped image generated when not askedCarl Schwan2022-05-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The $crop parameter was not propagated to the imaginary pipeline and instead it used the smartcrop algorithm always Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #26813 from nextcloud/feature/files-search-tagsSimon L2022-05-183-7/+22
|\ \ \ \ | | | | | | | | | | Files: Extend search to also cover tags
| * | | | Files: Extend search to also cover tagsMarcel Klehr2022-05-173-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #326 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | | | Merge pull request #32404 from nextcloud/debt/noid/psalm-warning-iaddressbookCôme Chilliet2022-05-171-1/+0
|\ \ \ \ \ | | | | | | | | | | | | [Psalm] Drop redundanten return comment
| * | | | | Drop redundanten return commentDaniel Kesselberg2022-05-151-1/+0
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #32427 from nextcloud/boot-event-orderingRobin Appelman2022-05-171-5/+5
|\ \ \ \ \ | | | | | | | | | | | | reorder startup events to fix overlapping
| * | | | | reorder startup events to fix overlappingRobin Appelman2022-05-161-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current the `request` and `runtime` events overlap with the `init` event which makes it hard to create usefull visualizations. this reorders things a bit to remove an overlap Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #32216 from SUNET/masterLouis2022-05-171-6/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | Respect user settings in php.ini if they are big enough
| * | | | | | Fix suggestions by @artonageMicke Nordin2022-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Micke Nordin <kano@sunet.se>
| * | | | | | Simpler version as proposed by @artonageMikael Nordin2022-04-301-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Louis <6653109+artonge@users.noreply.github.com> Signed-off-by: Micke Nordin <kano@sunet.se>
| * | | | | | Respect user settings in php.ini if they are big enoughMicke Nordin2022-04-291-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the admin guide: * https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html it is mentioned that you can tweek: * max_input_time * max_execution_time in order to enable larger file uploads. However, the current codebase will hard code these values to one hour, no matter what the user sets in php.ini. This patch will allow the user to set these settings in php.ini and they will be respected, if and only if, they are set to something bigger than 3600 seconds. Signed-off-by: Micke Nordin <kano@sunet.se>
* | | | | | | Merge pull request #32405 from nextcloud/debt/noid/psalm-warning-isearchrequestJohn Molakvoæ2022-05-171-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Fix spelling for return typeDaniel Kesselberg2022-05-151-1/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | Allow to tweak default scopes for accountsThomas Citharel2022-05-162-25/+73
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #6582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | Merge pull request #32357 from nextcloud/user-delete-remove-wrappersJulius Härtl2022-05-161-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | remove storage wrappers when deleting the user storage
| * | | | | | remove storage wrappers when deleting the user storageRobin Appelman2022-05-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #32412 from nextcloud/bugfix/noid/maintenance-scriptJulius Härtl2022-05-161-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Properly import maintenance script
| * | | | | | | Properly import maintenance scriptJulius Härtl2022-05-161-2/+2
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #32413 from nextcloud/fix/psalm-oc-legacyCarl Schwan2022-05-165-28/+13
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Fix psalm errors from the end of the baseline file
| * | | | | | Fix psalm errors fron the end of the baseline fileCarl Schwan2022-05-165-28/+13
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #32382 from nextcloud/event-logger-log-minimumRobin Appelman2022-05-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | only log diagnostic events if a treshhold is set
| * | | | | | only log diagnostic events if a treshhold is setRobin Appelman2022-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this prevents log spam and it's rare that you actually want to very short events logged anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #32305 from nextcloud/bugfix/32302/fix-browser-agent-trimmingJoas Schilling2022-05-161-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix user agent trimming on installation
| * | | | | | Fix user agent trimming on installationJoas Schilling2022-05-091-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #31662 from nextcloud/modernize-contactmenuJohn Molakvoæ2022-05-1310-213/+69
|\ \ \ \ \ \
| * | | | | | Modernize contacts menuThomas Citharel2022-05-1210-213/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | | Merge pull request #32384 from nextcloud/improve-psalm-server-getJohn Molakvoæ2022-05-131-2/+3
|\ \ \ \ \ \ \
| * | | | | | | Improve psalm annotation to make it stricterCarl Schwan2022-05-131-2/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now using class-string<T> as input will only return T, and any other string will return mixed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | | Merge pull request #32261 from nextcloud/feat/remove-scss-supportJohn Molakvoæ2022-05-1311-581/+19
|\ \ \ \ \ \ \
| * | | | | | | Cleanup and compileJohn Molakvoæ2022-05-133-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | | | | Remove SCSSCacherJohn Molakvoæ2022-05-139-571/+9
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | | | | Merge pull request #32376 from ↵John Molakvoæ2022-05-131-4/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | nextcloud/debt/noid/fix-psalm-warning-for-zip-response
| * | | | | | Fix psalm warning for zip response due wrong typeDaniel Kesselberg2022-05-131-4/+4
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | Merge pull request #30863 from nextcloud/performance/saving-user-profile-infoCarl Schwan2022-05-131-9/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Minor optimizations for saving user personal information
| * | | | | | Minor optimizations for saving user personal informationCarl Schwan2022-05-121-9/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove double hook: the OC_User::changeUser triggers an OC\AccountManager::userUpdated and the app is already listening to this signal in its Application definition * Make createCard not check if an card exists if we already checked previously. We also don't try to get the card if the user is disabled as we don't use the card in this case We this change we go from 100 DB requests to 80 DB requests when saving an user email address. Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)