aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Keep non default protocol in cloud idJoas Schilling2022-06-091-53/+58
| | | | | | | | | When there is no protocol on the cloud id, we assume it's https:// But this means that when an http:// server currently sends an OCM invite to another server, the protocol is striped and the remote instance will try to talk back to https:// which might not be available. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #32697 from nextcloud/fix/get-avatar-authzPytal2022-06-081-5/+28
|\
| * Test all scopesChristopher Ng2022-06-071-5/+8
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * Fix get avatar authorizationChristopher Ng2022-06-071-0/+20
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Simlify tests for integrity check on modified mimetype listsJulius Härtl2022-06-073-254/+46
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add unit tests for encryption's isSystemWideMountPointVincent Petry2022-06-011-0/+41
|/ | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #32371 from nextcloud/fix-31952Vincent Petry2022-06-011-1/+1
|\ | | | | More meaningfull message when a public authenticated share's password is wrong or has expired.
| * More meaningfull message when a public authenticated share's password is ↵Cyrille Bollu2022-05-311-1/+1
| | | | | | | | | | | | wrong or has expired Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* | Merge pull request #32667 from nextcloud/followup/32655/fix-testsblizzz2022-05-311-12/+30
|\ \ | | | | | | Fix unit tests
| * | Fix unit testsJoas Schilling2022-05-311-12/+30
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32587 from nextcloud/bugfix/noid/improve-jsconfighelperJoas Schilling2022-05-311-72/+52
|\ \ \ | |/ / |/| | Improve JSConfigHelper code quality a bit
| * | Restore old behaviour of sending flase for not found appsJoas Schilling2022-05-301-72/+52
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use JSON_THROW_ON_ERROR instead of custom error handlingJulius Härtl2022-05-301-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #32591 from nextcloud/fix/node-testVincent Petry2022-05-302-27/+1
|\ \ | | | | | | Fix node tests ci
| * | Fix node tests ciCarl Schwan2022-05-302-27/+1
| |/ | | | | | | | | | | | | | | - Update jest snapshot - Fix importing 3rdparty vue components - Disable temporarely tests using nextcloud-vue/Button Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #31948 from nextcloud/core-cleanup-74Carl Schwan2022-05-309-43/+31
|\ \ | |/ |/| Update core to PHP 7.4 standard
| * Update core to PHP 7.4 standardCarl Schwan2022-05-209-43/+31
| | | | | | | | | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Require a recent phpunit version in integration and acceptanceCôme Chilliet2022-05-243-260/+708
| | | | | | | | | | | | Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #32378 from nextcloud/fix/psalm-userbackendCarl Schwan2022-05-231-2/+2
|\ \ | |/ |/| Fix psalm issues related to the user backend
| * Fix psalm issues related to the user backendCarl Schwan2022-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | Merge pull request #26813 from nextcloud/feature/files-search-tagsSimon L2022-05-181-1/+1
|\ \ | | | | | | Files: Extend search to also cover tags
| * | Files: Extend search to also cover tagsMarcel Klehr2022-05-171-1/+1
| | | | | | | | | | | | | | | | | | fixes #326 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Allow to tweak default scopes for accountsThomas Citharel2022-05-161-33/+71
| | | | | | | | | | | | | | | | | | Close #6582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #32306 from nextcloud/fix/migrate-phpunit-configurationJulius Härtl2022-05-161-21/+20
|\ \ \ | | | | | | | | Migrate phpunit configuration to new format
| * | | Migrate phpunit configuration to new formatCôme Chilliet2022-05-091-21/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | Fixes: Warning: Your XML configuration validates against a deprecated schema. Suggestion: Migrate your XML configuration using "--migrate-configuration"! Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #32305 from nextcloud/bugfix/32302/fix-browser-agent-trimmingJoas Schilling2022-05-161-2/+7
|\ \ \ | | | | | | | | Fix user agent trimming on installation
| * | | Fix user agent trimming on installationJoas Schilling2022-05-091-2/+7
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32375 from ↵Joas Schilling2022-05-162-33/+50
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/show-user-account-on-grant-loginflow-step Show user account on grant loginflow step
| * | | Extend testsJoas Schilling2022-05-162-33/+50
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #31662 from nextcloud/modernize-contactmenuJohn Molakvoæ2022-05-138-217/+192
|\ \ \ \
| * | | | Modernize contacts menuThomas Citharel2022-05-128-217/+192
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | Fix jsunitJohn Molakvoæ2022-05-131-6/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | | Remove SCSSCacherJohn Molakvoæ2022-05-133-545/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | | Merge pull request #30863 from nextcloud/performance/saving-user-profile-infoCarl Schwan2022-05-131-6/+3
|\ \ \ \ \ | |_|/ / / |/| | | | Minor optimizations for saving user personal information
| * | | | Minor optimizations for saving user personal informationCarl Schwan2022-05-121-6/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* | | | Merge pull request #32250 from nextcloud/cleanup/cappedmemorycacheJohn Molakvoæ2022-05-131-1/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Add stricter psalm type for CappedMemoryCacheCarl Schwan2022-05-121-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #32077 from nextcloud/cleanup/lockCarl Schwan2022-05-122-4/+2
|\ \ \ \ | |_|/ / |/| | | Cleanup lock related code
| * | | Cleanup lock related codeCarl Schwan2022-05-122-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port to QueryBuilder - Improve the doc a bit - Add type hinting Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Validate requested length is random string generatorVincent Petry2022-05-121-1/+16
| |/ / |/| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Remove old legacy SvgController and IconsCacherJohn Molakvoæ2022-05-104-388/+0
| |/ |/| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Merge pull request #32276 from nextcloud/fix/ldap_error_handlingblizzz2022-05-051-0/+6
|\ \ | | | | | | Do not dispatch postSetPassword when setPassword fails
| * | Do not dispatch postSetPassword when setPassword failsLouis Chemineau2022-05-051-0/+6
| | | | | | | | | | | | | | | | | | Also Improve error message when setPassword fails Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #32113 from nextcloud/bugfix/noid/fix-csp-merging-boolsVincent Petry2022-05-051-1/+2
|\ \ \ | |/ / |/| | Add CSP policy merge priority for booleans
| * | Add CSP policy merge priority for booleansVincent Petry2022-04-011-1/+2
| | | | | | | | | | | | | | | | | | When two booleans conflict when merging CSP policies, true will win. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Merge pull request #32259 from ↵Joas Schilling2022-05-051-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/adjust-acceptance-tests-to-changes-in-notifications-markup Adjust acceptance tests to changes in notifications markup
| * | | Adjust acceptance tests to changes in notifications markupDaniel Calviño Sánchez2022-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since nextcloud/notifications#1178 each notification in the list is a "<li>" rather than a "<div>". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #32249 from nextcloud/bugfix/noid/fix-missing-subline-infoJoas Schilling2022-05-051-9/+30
|\ \ \ \ | |/ / / |/| | | Expose shareWithDisplayNameUnique also on autocomplete endpoint
| * | | Expose shareWithDisplayNameUnique also on autocomplete endpointJoas Schilling2022-05-031-9/+30
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #32220 from nextcloud/feature/add-tests-to-validate-emojisJoas Schilling2022-05-031-9/+3077
|\ \ \ \ | |/ / / |/| | | Include more emoji chars to test and fixes after include it