summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix groupConcat and ordering on OracleVitor Mattos2022-01-216-10/+12
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Order the reaction summary, improvements on validationsVitor Mattos2022-01-211-13/+38
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Disable reactions if database don't support utf8mb4Vitor Mattos2022-01-211-1/+20
| | | | | | Fix column size Signed-off-by: Vitor Mattos <vitor@php.rio>
* Update composer autoload and change string to constantVitor Mattos2022-01-212-0/+2
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Rename vars and move logic to methodVitor Mattos2022-01-211-7/+8
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Prevent query error when use subqueryVitor Mattos2022-01-212-4/+4
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Prevent violate constraintVitor Mattos2022-01-211-9/+28
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Rename varsVitor Mattos2022-01-211-14/+14
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add comments reactionsVitor Mattos2022-01-213-0/+220
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Merge pull request #30129 from nextcloud/mdb10.6-pipelineJohn Molakvoæ2022-01-192-6/+0
|\
| * Don't convert tables to COMPRESSEDacsfer2021-12-071-5/+0
| |
| * Attempt to fix CIacsfer2021-12-071-1/+0
| |
* | Merge pull request #30733 from nextcloud/bugfix/noid/fix-update-buttonVincent Petry2022-01-181-1/+4
|\ \ | | | | | | Load core before the update script
| * | Load core before the update scriptJoas Schilling2022-01-181-1/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-183-2/+5
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #29866 from nextcloud/isset-sizeVincent Petry2022-01-171-1/+1
|\ \ | | | | | | Check if size value is set
| * | Typoacsfer2021-11-241-1/+1
| | |
| * | Check if size value is setacsfer2021-11-231-1/+1
| | | | | | | | | | | | Using `isset()` as it does not return true for array keys that correspond to a `null` value, while `array_key_exists()` does. Fix #29865
* | | Merge pull request #30653 from nextcloud/inc-man-btnLouis2022-01-171-2/+2
|\ \ \ | | | | | | | | Increase email main buttons width for non-english languages
| * | | Increase email main buttons width for non-english languagesacsfer2022-01-131-2/+2
| | | | | | | | | | | | Like "Set your password" (en) vs "Créer votre mot de passe" (fr)
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-152-0/+36
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #30614 from Marek-Wojtowicz/patch-1Vincent Petry2022-01-141-1/+1
|\ \ \ \ | | | | | | | | | | Fix non-ascii characters present in the header
| * | | | Update Session.phpMarek-Wojtowicz2022-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header. Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
* | | | | Merge pull request #30631 from nextcloud/fix/update_encrypted_versionVincent Petry2022-01-141-1/+10
|\ \ \ \ \ | |_|/ / / |/| | | | updateEncryptedVersion: cleanup on target if cache already got renamed
| * | | | updateEncryptedVersion: cleanup on target if cache already got renamedJonas Meurer2022-01-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When moving a file to trash with encryption enabled, the cache gets moved before the actual file. According to @icewind1991 this is in order to not break object storage. When moving a file from an unencrypted storage (e.g. a collectives storage) to the encrypted trashbin storage, this causes errors, see This commit fixes it by doing `updateEncryptedVersion()` on the target cache entry *if* the source cache entry doesn't exist anymore, but the corresponding target cache entry does exist already. Fixes: #26544 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | | Fix psalm issuesCarl Schwan2022-01-131-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Add helper method in WrapperCarl Schwan2022-01-131-1/+20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan2022-01-1327-108/+111
|\ \ \ \ \ | | | | | | | | | | | | Fix psalm not running
| * | | | | Check style updateCarl Schwan2022-01-1321-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-126-78/+68
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | Fix psalm not runningCarl Schwan2022-01-063-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that we were using psalm/phar instead of vimeo/psalm. This caused issue with the custom psalm plugin in buildd/psalm. This is using the opportunity to also update the psalm version from 3.8 to 3.17 and the php-cs-fixer too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #30600 from nextcloud/fix/30595/idn-email-shareCarl Schwan2022-01-131-3/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix idn emails not working in shares
| * | | | | | Add check before sending email that email address is validCarl Schwan2022-01-111-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | | Fix idn emails not working in sharesCarl Schwan2022-01-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #30595 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2022-01-136-2/+34
| |_|/ / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #30625 from nextcloud/enh/jsconfig-theme-perfJoas Schilling2022-01-121-2/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove shortFooter/longFooter to avoid unnecessary navigation loading
| * | | | | | Remove shortFooter/longFooter to avoid unnecessary navigation loadingJulius Härtl2022-01-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2022-01-124-14/+50
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #30588 from nextcloud/bugfix/noid/fix-unset-scopesPytal2022-01-111-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix undefined/unset scope in account propertiesJoas Schilling2022-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #30291 from nextcloud/image-memory-limitJoas Schilling2022-01-111-1/+102
|\ \ \ \ \ \ | | | | | | | | | | | | | | Prevent loading images that would require too much memory.
| * | | | | | Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-1/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | | | | | | Merge pull request #30569 from nextcloud/fix/userlang_firstloginblizzz2022-01-111-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Default to language from request in L10N\Factory->getUserLanguage()
| * | | | | | | Default to language from request in L10N\Factory->getUserLanguage()Jonas Meurer2022-01-101-0/+9
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to get the language from request before falling back to the instance default. This fixes the detected user language during first login of a new user and ensures that the returned language is consistent during the login. Also partially fixes a bug with Collectives folder being initialized in different languages at first login, see https://gitlab.com/collectivecloud/collectives/-/issues/238 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | | | | Merge pull request #30582 from nextcloud/fix/streamline_clearing_static_stateLouis2022-01-111-10/+0
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Streamline reseting of private static properties
| * | | | | | Streamline reseting of private static propertiesLouis Chemineau2022-01-111-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2022-01-116-0/+84
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Revert "Streamline reseting of private static properties"Louis Chemineau2022-01-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e50121d4c05afb8eca22bc105b160283ff4181c0.
* | | | | | Streamline reseting of private static propertiesLouis Chemineau2022-01-101-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | Fix fail when keys/files folder already existsVincent Petry2022-01-101-1/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an issue with transfer ownership in move mode where the folder "files_encryption/keys/files" already exists. Instead of failing, its existence is checked before calling mkdir. Signed-off-by: Vincent Petry <vincent@nextcloud.com>