Julius Härtl
dc8e819915
Properly handle creating the template directory in a subfolder ( fixes #25787 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:31:55 +00:00
Julius Härtl
89a19a338e
Get the parent directory before creating a file from a template
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:31:55 +00:00
Robin Appelman
17b64a4606
remove leftover debug @NoCSRFRequired introduced with #26198
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-01 13:11:31 +00:00
Robin Appelman
40507ca543
make ILDAPProviderFactory usable when there is no ldap setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-01 13:08:23 +02:00
Joas Schilling
e0dcf642de
Merge pull request #26398 from nextcloud/backport/26394/stable21
...
[stable21] Allow apps to write/update account data
2021-04-01 11:09:00 +02:00
Vincent Petry
6ac708c99a
Fix phpcs issues in encryption update
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-01 07:56:41 +00:00
Julius Härtl
d6bad03a5c
Log and continue when failing to update encryption keys during for individual files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 07:56:41 +00:00
Morris Jobke
052c9abfdf
Merge pull request #26391 from nextcloud/backport/26386/stable21
...
[stable21] Also check the default phone region when the number has no country code
2021-04-01 09:32:57 +02:00
Joas Schilling
0c348863e7
Allow apps to write/update account data
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-01 06:07:47 +00:00
Nextcloud bot
737f755941
[tx-robot] updated from transifex
2021-04-01 02:24:51 +00:00
Joas Schilling
f38248dcd4
Also check the default phone region when the number has no country code
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 08:30:56 +00:00
kesselb
618a48487f
Merge pull request #26377 from nextcloud/backport/25500/stable21
...
[stable21] fix(translation): replace static error message
2021-03-31 10:07:58 +02:00
Julius Härtl
00daf58da8
Merge pull request #26376 from nextcloud/backport/25804/stable21
...
[stable21] Do not attempt to read 0 bytes when manually iterating over a non-seekable file
2021-03-31 09:44:47 +02:00
Christoph Wurst
0432b32535
Merge pull request #26379 from nextcloud/backport/25924/stable21
...
[stable21] Only mark migrations as installed after execution
2021-03-31 07:43:32 +02:00
Christoph Wurst
3e5fbd4ef1
Merge pull request #26382 from nextcloud/backport/26372/stable21
...
[stable21] gracefully handle deleteFromSelf when share is already gone
2021-03-31 07:43:01 +02:00
Nextcloud bot
6d70bd9246
[tx-robot] updated from transifex
2021-03-31 02:25:01 +00:00
Arthur Schiwon
caec3a8cee
gracefully handle deleteFromSelf when share is already gone
...
- handling race conditions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-30 20:26:29 +00:00
Joas Schilling
e3927afe19
Only mark migrations as installed after execution
...
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 19:51:12 +00:00
Samuel
3073732002
revert(comment)
...
Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Samuel
c49cff453c
revert(exception): keep throwing an exception for now
...
Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Samuel
22ddcfa740
fix(translation): replace static error message
...
as suggested by @kesselb in nextcloud/server#25490
Signed-off-by: Samuel <faust64@gmail.com>
2021-03-30 19:26:04 +00:00
Julius Härtl
fc2e09b667
Properly end iterating over the file once the target has been reached
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-30 19:22:47 +00:00
Joas Schilling
b2072cd6fc
Merge pull request #26371 from nextcloud/backport/26370/stable21
...
[stable21] Remove notifications when retesting profile field input
2021-03-30 13:09:34 +02:00
Christoph Wurst
ba1d671055
Merge pull request #26363 from nextcloud/backport/26325/stable21
...
[stable21] Update cipher defaults
2021-03-30 11:30:46 +02:00
Joas Schilling
3afeb5c908
Remove notifications when retesting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 09:27:17 +00:00
Joas Schilling
3ebe3a0e5f
Merge pull request #26366 from nextcloud/backport/26355/stable21
...
[stable21] Fix working for phone number integration
2021-03-30 09:53:48 +02:00
Nextcloud bot
68e9013c39
[tx-robot] updated from transifex
2021-03-30 02:24:32 +00:00
Roeland Jago Douma
f9cef329ba
Merge pull request #26326 from nextcloud/backport/26070/stable21
...
[stable21] add a prefix index to filecache.path
2021-03-29 21:13:13 +02:00
Joas Schilling
2b8dfc03b6
Fix working for phone number integration
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 19:06:10 +00:00
Roeland Jago Douma
2cc0fd0f62
Merge pull request #26357 from nextcloud/backport/26342/stable21
...
[stable21] Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
2021-03-29 21:04:11 +02:00
J0WI
6691bc4bd4
Update cipher defaults
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-29 18:39:45 +00:00
Nick Sweeting
e7aefc3424
change calendar invite emails to use pngs instead of svgs
...
Signed-off-by: Nick Sweeting <git@sweeting.me>
2021-03-29 16:17:16 +00:00
Joas Schilling
a956c53e04
Merge pull request #26352 from nextcloud/backport/26243/stable21
...
[stable21] Avatar privacy and new scope
2021-03-29 11:29:57 +02:00
Vincent Petry
15e52fa7cb
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-29 07:03:38 +00:00
Vincent Petry
6cb5f36cf4
Update autoloader for PlaceholderAvatar
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:37 +00:00
Vincent Petry
9ca91c15db
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-29 07:03:37 +00:00
Vincent Petry
ec492eadfa
Add known user check in avatar when v2-private scope
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:37 +00:00
Vincent Petry
92ff94083b
Update psalm-baseline for Avatar API quirks
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:36 +00:00
Vincent Petry
ecae714157
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-29 07:03:36 +00:00
Vincent Petry
ab22999eb9
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-29 07:03:36 +00:00
Vincent Petry
2613826fcc
Add capability for editable scopes in provisioning API
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry
73ec32d19b
Add property scope tests for AccountManager
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry
2fd62b4f0d
Enhance UsersControllerTest of provisioning API with scopes
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry
ad402ffc96
Expose avatarScope through provisioning API
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:34 +00:00
Vincent Petry
b9d59e2994
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-29 07:03:32 +00:00
Vincent Petry
5c854ba132
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-29 07:03:32 +00:00
Vincent Petry
5d76574a81
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-29 07:03:31 +00:00
Vincent Petry
e2ab530ee3
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-29 07:03:31 +00:00
Vincent Petry
f45f826b52
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-29 07:03:31 +00:00
Nextcloud bot
d6156b970b
[tx-robot] updated from transifex
2021-03-29 02:24:09 +00:00