Roeland Jago Douma
739fb89c3e
Merge pull request #26368 from nextcloud/dependabot/composer/vimeo/psalm-4.7.0
...
Bump vimeo/psalm from 4.6.4 to 4.7.0
2021-03-30 09:23:40 +02:00
Daniel Calviño Sánchez
f216b9307a
Update Mink from 1.7.1 to 1.8.1 in acceptance tests
...
Since version 1.8.0 of Mink "Mink::getSession()" no longer starts the
session automatically (see https://github.com/minkphp/Mink/pull/705 ), so
it now needs to be explicitly started.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez
7625a87412
Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance tests
...
Since version 1.4.0 the Selenium driver for Mink uses again the element
on which the value was set (see
https://github.com/minkphp/MinkSelenium2Driver/pull/286 ). When creating
a new folder or renaming one sending a new line ("\r") caused the
element on which the value was set to be removed, so the element was no
longer attached to the DOM when the driver tried to use it again, and
thus a "StaleElementReference" exception was thrown.
Due to this now it is needed to explicitly click the confirm button when
creating a new folder. In the case of the renaming, on the other hand,
nothing else besides not sending the new line is needed, as the Selenium
driver now unfocuses the element (that is why it uses again the element
after setting the value) which triggers the renaming.
Besides that, the Selenium driver for Mink uses a library to simulate
certain events, bitovi/syn. In version 1.4.0 that library was updated to
version 0.0.3, which seems to somehow break pressing the "escape" key.
Due to this now the sharing menu has to be closed by pressing "enter" on
the share menu button instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez
223b36e851
Update Behat from 3.7.0 to 3.8.1 in acceptance tests
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez
b53f49b940
Update PHPUnit from 4.X to 6.X in acceptance tests
...
The PHPUnit update also required an update of "symfony/yaml", so besides
the changes needed for PHPUnit the "behat.yml" file also had to be
adjusted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:15 +02:00
Julius Härtl
59d567e864
Merge pull request #26367 from nextcloud/dependabot/npm_and_yarn/y18n-4.0.1
...
[Security] Bump y18n from 4.0.0 to 4.0.1
2021-03-30 08:10:10 +02:00
Nextcloud bot
a9ff9670fa
[tx-robot] updated from transifex
2021-03-30 02:24:18 +00:00
dependabot-preview[bot]
e7f1ebaf29
Bump vimeo/psalm from 4.6.4 to 4.7.0
...
Bumps [vimeo/psalm](https://github.com/vimeo/psalm ) from 4.6.4 to 4.7.0.
- [Release notes](https://github.com/vimeo/psalm/releases )
- [Commits](https://github.com/vimeo/psalm/compare/4.6.4...4.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 01:14:32 +00:00
dependabot-preview[bot]
6e2972fb65
[Security] Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 19:17:12 +00:00
Roeland Jago Douma
30e2233354
Merge pull request #26355 from nextcloud/bugfix/noid/wording-fixes-for-phone-number-integration
...
Fix working for phone number integration
2021-03-29 21:03:57 +02:00
Roeland Jago Douma
e77088c7e8
Merge pull request #26361 from nextcloud/dependabot/npm_and_yarn/build/y18n-4.0.1
...
[Security] Bump y18n from 4.0.0 to 4.0.1 in /build
2021-03-29 20:49:55 +02:00
Roeland Jago Douma
2dd565a253
Merge pull request #26335 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.13
...
Bump @babel/core from 7.13.10 to 7.13.13
2021-03-29 20:44:02 +02:00
Roeland Jago Douma
60835646be
Merge pull request #26333 from nextcloud/dependabot/npm_and_yarn/debounce-1.2.1
...
Bump debounce from 1.2.0 to 1.2.1
2021-03-29 20:41:25 +02:00
Roeland Jago Douma
d8160fb2ad
Merge pull request #26325 from J0WI/crypt-config-sample
...
Update cipher defaults
2021-03-29 20:38:10 +02:00
dependabot-preview[bot]
c7b83a8d4a
[Security] Bump y18n from 4.0.0 to 4.0.1 in /build
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 17:30:08 +00:00
Joas Schilling
6ae3de247d
Fix working for phone number integration
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 17:04:32 +02:00
Morris Jobke
f8bad86097
Merge pull request #26342 from pirate/cal-invite-email-use-pngs
...
Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
2021-03-29 11:01:46 +02:00
Joas Schilling
8d3fdf24c8
Merge pull request #26353 from nextcloud/techdebt/noid/make-testcase-class-compatible-with-phpunit-9.5
...
Make Testcase class compatible with phpunit-9.5
2021-03-29 10:47:37 +02:00
Julius Härtl
6bef9e71da
Merge pull request #26337 from nextcloud/dependabot/npm_and_yarn/url-search-params-polyfill-8.1.1
...
Bump url-search-params-polyfill from 8.1.0 to 8.1.1
2021-03-29 10:33:38 +02:00
Joas Schilling
cd35a5c71d
Make Testcase class compatible with phpunit-9.5
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 09:43:08 +02:00
dependabot-preview[bot]
e2216d44fd
Bump url-search-params-polyfill from 8.1.0 to 8.1.1
...
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill ) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases )
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-29 07:41:21 +00:00
Joas Schilling
602de272c0
Merge pull request #26243 from nextcloud/enh/noid/avatar-privacy-new-scope
...
Avatar privacy and new scope
2021-03-29 09:01:12 +02:00
Nextcloud bot
4564121c56
[tx-robot] updated from transifex
2021-03-29 02:23:55 +00:00
Roeland Jago Douma
1175c0d832
Merge pull request #26348 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
...
[Automated] Update psalm-baseline.xml
2021-03-28 08:45:22 +02:00
Nextcloud-PR-Bot
3b5cb333e4
Update psalm baseline
...
Signed-off-by: GitHub <noreply@github.com>
2021-03-28 04:12:03 +00:00
Nextcloud bot
be83a32411
[tx-robot] updated from transifex
2021-03-28 02:24:04 +00:00
Morris Jobke
83c7b54ba6
Merge pull request #26327 from nextcloud/fix-get-return
...
fix return value of Root::get
2021-03-27 22:26:32 +01:00
Nick Sweeting
8c6f0aa3d2
change calendar invite emails to use pngs instead of svgs
...
Signed-off-by: Nick Sweeting <git@sweeting.me>
2021-03-26 23:57:48 -04:00
Nextcloud bot
aec9c8437a
[tx-robot] updated from transifex
2021-03-27 02:24:25 +00:00
dependabot-preview[bot]
b561bac2a7
Bump css-loader from 5.1.3 to 5.2.0
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.3...v5.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:23:19 +00:00
dependabot-preview[bot]
a2d0f06645
Bump @babel/core from 7.13.10 to 7.13.13
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.10 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:22:05 +00:00
dependabot-preview[bot]
afa4354c22
Bump debounce from 1.2.0 to 1.2.1
...
Bumps [debounce](https://github.com/component/debounce ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/component/debounce/releases )
- [Changelog](https://github.com/component/debounce/blob/master/History.md )
- [Commits](https://github.com/component/debounce/compare/1.2.0...1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:19:33 +00:00
Robin Appelman
c8736e7a23
fix return value of Root::get
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-26 21:29:24 +01:00
J0WI
fdd1ff2686
Update cipher defaults
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:39:08 +01:00
J0WI
21494a5b7b
Drop OpenSSL 0.9.8 workaround
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:23:10 +01:00
Vincent Petry
00d83a5db0
Capability for federated scope
...
Added additional capability in the provisioning API to signal whether
the federation scope values can be used.
This is based on whether the lookup server upload is enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 16:54:47 +01:00
Vincent Petry
5a8b7c1cb2
Update autoloader for PlaceholderAvatar
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry
98e4ac39bc
Int tests for provisioning API scopes
...
Added integration tests for the scope attributes in the provisioning
API.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry
cc54f718f5
Add known user check in avatar when v2-private scope
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry
5b7a94f84c
Update psalm-baseline for Avatar API quirks
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry
aac7b52c66
Change account property capability
...
Include version number in capability
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-03-26 13:07:10 +01:00
Vincent Petry
bb008be28a
Added PlaceholderAvatar with own cached images
...
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.
This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry
b66af8a432
Add capability for editable scopes in provisioning API
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry
b73df5846c
Add property scope tests for AccountManager
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry
cb9d25c162
Enhance UsersControllerTest of provisioning API with scopes
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry
2a312fe4e3
Expose avatarScope through provisioning API
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry
266a6fb5f8
OCS allow reading and writing account property scopes
...
Extends the provisioning API to allow a user to get and set their own
account property scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry
5d14fd4396
Make extra user profile fields always editable
...
The fields for phone number, address, website and twitter are now
editable regardless whether federated sharing and the lookup server
are enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry
278a73789e
Map old account scope properties to new names
...
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry
9fb447ea42
Adjust scopes menu based on conditions
...
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00