Joas Schilling
aa651fd629
Merge pull request #26259 from nextcloud/feature/noid/validate-website-to-be-valid
...
Validate the website field input to be a valid URL
2021-04-26 13:56:01 +02:00
Nextcloud bot
4ded8a08b7
[tx-robot] updated from transifex
2021-04-26 02:24:39 +00:00
Nextcloud bot
da17db0fdc
[tx-robot] updated from transifex
2021-04-25 02:24:52 +00:00
Nextcloud bot
39764b05b1
[tx-robot] updated from transifex
2021-04-24 02:26:38 +00:00
Daniel Calviño Sánchez
da84ed7d4c
Fix active scope not visible in the menu if excluded
...
Depending on some settings (for example, if lookup server upload is
disabled) some items can be hidden in the scope menu. However, if the
user selected an scope in the past once the settings were changed the
scope was no longer visible in the menu. Now the active scope will be
always visible in the menu, although if it is an excluded scope it will
be disabled. Selecting any other scope will then hide the excluded and
no longer active one.
When upload to the lookup server is disabled the scope menu was hidden
for display name and email in the personal information settings; now the
menu will be always shown to enable the above described behaviour.
Note that the menu will be shown even if there is a single available
scope so the user can read its description.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:42 +02:00
Daniel Calviño Sánchez
67dd087ce4
Fix deleting properties of user settings when not given explicitly
...
The controller can receive an optional subset of the properties of the
user settings; values not given are set to "null" by default. However,
those null values overwrote the previously existing values, so in
practice any value not given was deleted from the user settings. Now
only non null values overwrite the previous values.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez
ac0c18327e
Fix TypeError when "email" is not given in the controller request
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez
a7431817b9
Respect additional user settings not covered by the controller
...
"AccountManager::updateUser()" wipes previous user data with whichever
user data is given (except for some adjustments, like resetting the
verified status when needed). As the controller overrode the properties
those properties would lose some of their attributes even if they are
not affected by the changes made by the controller. Now the controller
only modifies the attributes set ("value" and "scope") to prevent that.
Note that with this change the controller no longer removes the
"verified" status, but this is not a problem because, as mentioned,
"AccountManager::updateUser()" resets them when needed (for example,
when the value of the website property changes).
This change is a previous step to fix overwritting properties with null
values, and it will prevent the controller from making unexpected
changes if more attributes are added in the future.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez
c5e3d2e5c2
Add more unit tests for setting user settings
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez
190ffd75b7
Change default test data to values less similar to empty values
...
Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Daniel Calviño Sánchez
ef5d538448
Extract default test data to a helper getter
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Daniel Calviño Sánchez
8cae515daa
Use constants from interface rather than class
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Nextcloud bot
539c065e8e
[tx-robot] updated from transifex
2021-04-23 02:26:10 +00:00
Joas Schilling
d80cc76ee7
Validate the website field input to be a valid URL
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 16:34:13 +02:00
Nextcloud bot
634b6b8b57
[tx-robot] updated from transifex
2021-04-22 02:26:21 +00:00
John Molakvoæ
3da956bcdc
Merge pull request #23529 from Simounet/feat/23397-settings-new-user-modal
...
Settings: new user row replaced by a modal
2021-04-21 16:38:46 +02:00
Morris Jobke
3e7f7e5f9b
Merge pull request #26474 from nextcloud/caugner-patch-mariadb-in-mysql-support-warning
...
Mention MariaDB in MySQL support warning
2021-04-21 16:26:37 +02:00
Simounet
45c3b2a478
Settings: new user row replaced by a modal
...
Signed-off-by: Simounet <contact@simounet.net>
2021-04-21 14:42:46 +02:00
Nextcloud bot
e58344fb2a
[tx-robot] updated from transifex
2021-04-21 02:25:58 +00:00
Jan C. Borchardt
9d1e2c5082
Merge pull request #26548 from nextcloud/design/files-accessibility
...
Files & Core accessibility fixes
2021-04-20 13:51:40 +02:00
Nextcloud bot
79116e825c
[tx-robot] updated from transifex
2021-04-20 02:25:58 +00:00
Jan C. Borchardt
738ac612d2
Fix accessibility of federation menu privacy buttons
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt
64e90cdc66
Fix accessibility of profile picture section
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt
749a266f78
Add proper labels for personal settings privacy toggles
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 20:34:47 +02:00
Joas Schilling
422ecdeb20
Fix English source string
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-19 13:11:34 +02:00
Nextcloud bot
8c82dd37b4
[tx-robot] updated from transifex
2021-04-19 02:26:04 +00:00
Nextcloud bot
3ab7d6cf3e
[tx-robot] updated from transifex
2021-04-17 02:24:04 +00:00
Nextcloud bot
07278ed57d
[tx-robot] updated from transifex
2021-04-16 02:25:50 +00:00
Vincent Petry
af61486aea
Separate settings for remote share expiration
...
Added separate settings for default and enforced expiration date for
remote shares.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:06:09 +02:00
Nextcloud bot
8ef920fdf9
[tx-robot] updated from transifex
2021-04-15 02:25:10 +00:00
Nextcloud bot
7081c63d09
[tx-robot] updated from transifex
2021-04-14 02:26:51 +00:00
Nextcloud bot
bab06b9abb
[tx-robot] updated from transifex
2021-04-13 02:24:57 +00:00
Nextcloud bot
ac893e843b
[tx-robot] updated from transifex
2021-04-12 02:24:55 +00:00
Claas Augner
17963ea089
Mention MariaDB in MySQL support warning
2021-04-09 12:31:16 +02:00
Roeland Jago Douma
30ac98cdcd
Merge pull request #26462 from nextcloud/dependabot/npm_and_yarn/core-js-3.10.1
...
Bump core-js from 3.9.1 to 3.10.1
2021-04-09 09:42:56 +02:00
Nextcloud bot
9de329a4c2
[tx-robot] updated from transifex
2021-04-09 02:25:11 +00:00
dependabot-preview[bot]
e2645a5e70
Bump core-js from 3.9.1 to 3.10.1
...
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.9.1 to 3.10.1.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.10.1/packages/core-js )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-08 15:50:13 +02:00
Joas Schilling
aee1f7253c
Show icon-phone when setting is set to private instead of local
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08 11:17:52 +02:00
Nextcloud bot
41216e68bf
[tx-robot] updated from transifex
2021-04-08 02:24:01 +00:00
Nextcloud bot
c391e8692b
[tx-robot] updated from transifex
2021-04-07 02:24:14 +00:00
Nextcloud bot
e9075b02cd
[tx-robot] updated from transifex
2021-04-06 02:25:33 +00:00
Nextcloud bot
bb3ba96b37
[tx-robot] updated from transifex
2021-04-05 02:24:46 +00:00
Nextcloud bot
bfd926938f
[tx-robot] updated from transifex
2021-04-04 02:24:48 +00:00
Nextcloud bot
6f55d2e293
[tx-robot] updated from transifex
2021-04-03 02:25:32 +00:00
Nextcloud bot
4bea123c7a
[tx-robot] updated from transifex
2021-04-02 02:26:04 +00:00
Roeland Jago Douma
bd2e6309b5
Merge pull request #25605 from nextcloud/trusted-proxy-warning-localhost
...
dont show trusted proxy warning when the proxy and remote are both localhost
2021-04-01 13:27:26 +02:00
Nextcloud bot
f016cbe914
[tx-robot] updated from transifex
2021-04-01 02:24:40 +00:00
John Molakvoæ (skjnldsv)
11437223e9
Compile node
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:34:13 +02:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Nextcloud bot
855b5fc638
[tx-robot] updated from transifex
2021-03-31 02:24:50 +00:00
Joas Schilling
ebc3b1f802
Remove notifications when retesting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 10:18:23 +02:00
Nextcloud bot
a9ff9670fa
[tx-robot] updated from transifex
2021-03-30 02:24:18 +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
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
Nextcloud bot
be83a32411
[tx-robot] updated from transifex
2021-03-28 02:24:04 +00: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
Vincent Petry
b81a1c1bdb
Add new v2-private account scope
...
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.
Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:05 +01:00
Nextcloud bot
630eddf41b
[tx-robot] updated from transifex
2021-03-26 02:25:32 +00:00
Nextcloud bot
9af8c0b380
[tx-robot] updated from transifex
2021-03-25 02:25:39 +00:00
Nextcloud bot
bb8a71266e
[tx-robot] updated from transifex
2021-03-24 02:25:07 +00:00
Nextcloud bot
a81408a8e1
[tx-robot] updated from transifex
2021-03-23 02:24:02 +00:00
John Molakvoæ (skjnldsv)
a100186e5e
Sharing link & mail parity
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:45 +01:00
Nextcloud bot
ae19cb168f
[tx-robot] updated from transifex
2021-03-22 02:23:45 +00:00
dependabot-preview[bot]
c5c6d19676
Bump marked from 2.0.0 to 2.0.1
...
Bumps [marked](https://github.com/markedjs/marked ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v2.0.0...v2.0.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-20 15:35:43 +01:00
dependabot-preview[bot]
017537ab95
Bump clipboard from 2.0.6 to 2.0.8
...
Bumps [clipboard](https://github.com/zenorocha/clipboard.js ) from 2.0.6 to 2.0.8.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases )
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.6...v2.0.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-20 12:46:13 +00:00
dependabot-preview[bot]
387370fd37
Bump dompurify from 2.2.6 to 2.2.7
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.6...2.2.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-20 11:43:39 +01:00
Nextcloud bot
cb2745a541
[tx-robot] updated from transifex
2021-03-20 02:23:44 +00:00
Julien Veyssier
086cf56b21
Merge pull request #26196 from nextcloud/fix/app-sidebar-description-slot
...
Adapt files and app settings to @nc/vue changes
2021-03-19 13:32:46 +01:00
Julien Veyssier
3c172ce600
adapt files and app settings sidebar 'primary-actions' slot that became 'description' in @nc/vue v3.3.0
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-19 12:56:35 +01:00
Nextcloud bot
9e70b83f13
[tx-robot] updated from transifex
2021-03-19 02:24:56 +00:00
John Molakvoæ
f1fefd91df
Merge pull request #26160 from nextcloud/enh/eslint
2021-03-17 18:14:31 +01:00
John Molakvoæ (skjnldsv)
043b5a9de4
Fix TerserPlugin
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:39 +01:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
Nextcloud bot
096806087c
[tx-robot] updated from transifex
2021-03-17 02:24:19 +00:00
Nextcloud bot
72e6201869
[tx-robot] updated from transifex
2021-03-16 02:24:42 +00:00
Nextcloud bot
f82edda9c1
[tx-robot] updated from transifex
2021-03-15 02:23:58 +00:00
Nextcloud bot
44ce623923
[tx-robot] updated from transifex
2021-03-14 02:23:41 +00:00
Nextcloud bot
0869c75d5a
[tx-robot] updated from transifex
2021-03-13 02:22:53 +00:00
Nextcloud bot
cd3ef614be
[tx-robot] updated from transifex
2021-03-12 02:22:44 +00:00
John Molakvoæ (skjnldsv)
31ddfb0294
Fix SharingInput Multiselect
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-11 12:30:15 +01:00
John Molakvoæ (skjnldsv)
7f06a0cf8e
Compile js
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-11 12:14:48 +01:00
Joas Schilling
56b08c04c7
Merge pull request #26031 from nextcloud/feature/noid/allow-autocomplete-based-on-phone-sync
...
Allow autocomplete based on phone sync
2021-03-11 08:29:21 +01:00
Nextcloud bot
31cc0741cb
[tx-robot] updated from transifex
2021-03-11 02:23:08 +00:00
Joas Schilling
61ed57b757
Rename some parameters and methods to make the API more clear
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 20:30:29 +01:00
Joas Schilling
07095fd122
Also clear the knownUser when changing via the settings endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 19:37:10 +01:00
Joas Schilling
78efabb073
Fix CS hopefully
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:51:28 +01:00
Joas Schilling
5b53b6f977
Add a setting to restrict returning a full match unless in phonebook or same group
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:25:57 +01:00
Joas Schilling
177ae33ba1
Add a hint that the settings are OR based
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:56 +01:00
Joas Schilling
b71268e38b
Add a config setting to restrict autocompletion to phonebook matches
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
dependabot-preview[bot]
613a5760f1
Bump css-loader from 5.0.1 to 5.1.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.0.1 to 5.1.1.
- [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.0.1...v5.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-10 16:47:32 +01:00
Roeland Jago Douma
d090f970dd
Merge pull request #25537 from nextcloud/dependabot/npm_and_yarn/marked-2.0.0
...
[Security] Bump marked from 1.2.8 to 2.0.0
2021-03-10 10:37:45 +01:00
dependabot-preview[bot]
c5783194e6
Bump marked from 1.2.8 to 2.0.0
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 08:36:09 +01:00
Nextcloud bot
310e6550b1
[tx-robot] updated from transifex
2021-03-10 02:22:57 +00:00
Roeland Jago Douma
f5da1ec51d
Merge pull request #25998 from nextcloud/techdept/psalm/personalsettings
...
Fix some types in the Settings Personal pages
2021-03-09 09:41:18 +01:00
Nextcloud bot
73bf04c2f5
[tx-robot] updated from transifex
2021-03-09 02:23:53 +00:00
Roeland Jago Douma
e44be839bb
Fix some types in the Settings Personal pages
...
* Fix types
* Typed the code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 11:05:41 +01:00
Nextcloud bot
41f9fdab1c
[tx-robot] updated from transifex
2021-03-06 02:22:22 +00:00