Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2021-11-10Update behat/behat requirement in /build/integrationdependabot[bot]
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.7.0...v3.10.0) --- updated-dependencies: - dependency-name: behat/behat dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25Add integration tests for user_status APIJonas Meurer
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-04-23Add integration tests for searching users in contacts menuDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23Make possible to set body in requesttoken requests in integration testsDaniel Calviño Sánchez
"sendingAToWithRequesttoken" needs to be used to test some non OCS endpoints which require the request token to be sent in the request. Now it is possible to specify the body (or, rather, additional contents beside the cookies and the request token) for those requests, as it will be needed for example to update the user profile. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-21Fix empty password check for mail sharesVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-20Update psalm baselineVincent Petry
And backport error suppression from stable21 in SFTP class. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-22Add OCC command to reset rendered textsDaniel Calviño Sánchez
The command is meant to be used when the fonts used to render texts ("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf") are changed (for example, to add support for other scripts). The avatar and text file previews will be removed, so they will be generated again with the updated font when needed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-22Include additional scripts in Noto fontsDaniel Calviño Sánchez
Generated avatars as well as text file previews are rendered using the "core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted "NotoSans-Regular.ttf" file from https://www.google.com/get/noto/. However that file does not cover some non LGC (Latin, Greek, Cyrillic) scripts, like Arabic, Devanagari or Hebrew, to name a few. Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is in the same situation as the regular one. Due to limitations in the TTF format it is not possible to provide a single file for each style that includes all Noto fonts. However, it is possible to add more scripts to the standard "NotoSans-Regular.ttf" and "NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean) glyph can be included due to the aforementioned limitations). This commit replaces the standard files with an extended version created using the Noto Tools. The build script (as well as a patch for the Noto Tools) is also included for reference and to be able to update the font files in the future if needed. Due to the additional scripts added the font files are now much larger, although this does not seem to increase the time spent rendering LGC scripts. Note that the file for the bold style still contains less scripts than the regular one, as not all scripts supported by Noto have a bold weight. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-18Add integration tests for "sharing:cleanup-remote-storages" OCC commandDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-17Update and fix baselineVincent Petry
Backported some bits of stable21 to make Psalm happy. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-17Fix baseline furtherVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-17Update psalm baselineRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01Bump the ca locationRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-15Update psalm baseline to allow warning of implicit cast to stringMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-11[stable20] Update psalm-baseline.xmlMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-14Update psalm baselineJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14Update psalm baselineJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-04Force composer v1Julius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-04cleanup after autoloader generationRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-04dont use system composer for autoload checkerRobin Appelman
this ensures that the same composer version is used by everyone (and ci) Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-02Allow subscription to indicate that a userlimit is reachedMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02Set frame-ancestors to none if none are filledRoeland Jago Douma
frame-ancestors doesn't fall back to default-src. So when we apply a very restricted CSP we should make sure to set it to 'none' and not leave it empty. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-16Add integration tests for creating shares with default expiration datesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16Reset app configs by deleting the values instead of setting the defaultsDaniel Calviño Sánchez
This avoids the need to keep the default values in the integration tests in sync with the code, and also makes possible to reset values with "dynamic" defaults (defaults that depend on other values). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12Update psalm-baselineMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-12Update baseline, I'm sorryJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11Add integration tests for default share permissionsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-10Update psalm-baseline.xml to accept new errorsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-09Check in failing psalm checksMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16Update psalm-baselineMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16Update the baselineChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-16Use own psalm instead of a global oneChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-24Add integration tests to check that only the given path is transferredDaniel Calviño Sánchez
Until recently (it was fixed in ac2999a26a) when a path was transferred other shares with the target user were removed, so a test was added to ensure that it does not happen again. Besides that a test to ensure that other files with the target user are not transferred was added too (it did not fail before, but seemed convenient to have that covered too :-) ). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-24Add integration tests for transferring files of a user with a risky nameDaniel Calviño Sánchez
The files:transfer-ownership performs a sanitization of users with "risky" display names (including characters like "\" or "/"). In order to allow (escaped) double quotes in the display name the regular expression used in the "user XXX with displayname YYY exists" step had to be adjusted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-24Add integration test for transferring the path of a single fileDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-16Update baselineMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16Remove phan config - was replaced by PsalmMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-14Merge pull request #22761 from ↵Morris Jobke
nextcloud/extend-integration-tests-for-files-transfer-ownership-command Extend integration tests for "files:transfer-ownership" command
2020-09-10Merge pull request #22665 from ↵Morris Jobke
nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.7.0 Update behat/behat requirement from ~3.6.1 to ~3.7.0 in /build/integration
2020-09-10Add integration tests for transferring ownership of resharesDaniel Calviño Sánchez
Currently only transferring ownership of a reshare with a group to a user in the group is possible. When transferring ownership of a reshare with another user or with a group to a user not in the group restoring the share fails (but the command succeeds, it only fails for the specific files that are reshares). When transferring ownership of a path that is a reshare the command fails (as when a specific path is provided the path tries to move the file, it does not take into account reshares). The added integration tests reflect the above behaviours. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10Check share ownership after transferring file ownershipDaniel Calviño Sánchez
The integration tests did not verify that the shares were actually transferred between the users (or that they were removed due to being transferred to the sharee). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10Check whether file exists or not after transferring ownershipDaniel Calviño Sánchez
The integration tests did not verify that the files were actually transferred between the users, only that the files were downloadable. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-09Merge pull request #22663 from ↵Roeland Jago Douma
nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.7 Bump karma-viewport from 1.0.6 to 1.0.7 in /build
2020-09-09Merge pull request #22600 from ↵Roeland Jago Douma
nextcloud/dependabot/npm_and_yarn/build/http-proxy-1.18.1 [Security] Bump http-proxy from 1.17.0 to 1.18.1 in /build
2020-09-09Update psalm baselineNextcloud-PR-Bot
Signed-off-by: GitHub <noreply@github.com>
2020-09-08Update behat/behat requirement in /build/integrationdependabot[bot]
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.6.1...v3.7.0) Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08Bump karma-viewport from 1.0.6 to 1.0.7 in /builddependabot[bot]
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/squidfunk/karma-viewport/releases) - [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.6...1.0.7) Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07Update license headers for Nextcloud 20 (again)Christoph Wurst
There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07Merge pull request #21945 from nextcloud/fix-contact-download-pictureJohn Molakvoæ
Changed Content-Disposition header to download Contact Photo with correct extension
2020-09-06Update psalm baselineNextcloud-PR-Bot
Signed-off-by: GitHub <noreply@github.com>