Commit Graph

23426 Commits

Author SHA1 Message Date
Christoph Wurst b2de9a6f9e
The encryption decrypt position can be int or string
The public API said string, internally we treated it as int. In reality
both are used. Let's reflect that in the documented argument type.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 10:51:22 +02:00
Joas Schilling 00bf7eb60a
Merge pull request #23396 from nextcloud/tests/22305/flipping-versioningtest
VersioningTest.php:729 is unreliable and should be disabled
2020-10-13 09:08:29 +02:00
Nextcloud bot 85570abc9a
[tx-robot] updated from transifex 2020-10-13 02:18:40 +00:00
Morris Jobke 6ce05bc7d7
Return all keys in getAllVersions() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:17:06 +02:00
Christoph Wurst 02fa3253fe
Fix undefined index and consequential damages in versions code
If the user has no space and there are no versions, there won't be an
`all` index in the versions entry. Hence this triggers a warning and
becomes `null`, afterwards `count`, `foreach` and friends will happily
throw even more warnings and errors because they don't want to play with
`null`. Thus adding a fallback to an empty array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 22:17:06 +02:00
Morris Jobke f2d05eacc6
VersioningTest:729 is unreliable and should be disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:03:42 +02:00
Morris Jobke deb499d34e
Merge pull request #23300 from sharidas/transfer-ownership-same-user
Stop transfer of ownership between same users
2020-10-12 21:52:37 +02:00
Morris Jobke 78da9532ba
Merge pull request #23317 from nextcloud/fix/contact-update
handle nested properties for contact updates
2020-10-12 21:49:04 +02:00
call-me-matt 1b2386d108
handle nested properties, fixes #20544
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-12 21:27:38 +02:00
John Molakvoæ (skjnldsv) 5a6a5a1639
Drop X-NEXTCLOUD-UID
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 16:56:20 +02:00
John Molakvoæ (skjnldsv) 698d4f55f2
Expose CLOUD federation for local users as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 15:17:14 +02:00
John Molakvoæ fd452e5531
Merge pull request #23323 from nextcloud/dependabot/npm_and_yarn/moment-2.29.1
Bump moment from 2.29.0 to 2.29.1
2020-10-12 14:05:00 +02:00
Morris Jobke b6364cc483
Merge pull request #23310 from nextcloud/enhancement/psalm-typed-qb-mapper
Add template typing to the QBMapper
2020-10-12 13:10:05 +02:00
dependabot-preview[bot] 5dd93369b5 Bump moment from 2.29.0 to 2.29.1
Bumps [moment](https://github.com/moment/moment) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.0...2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 11:05:53 +00:00
Christoph Wurst 2664c7f75f
Type some of the core mappers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:09 +02:00
dependabot-preview[bot] 060eb396a2 Bump @nextcloud/vue from 2.6.9 to 2.7.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.9 to 2.7.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.9...v2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 08:31:03 +00:00
Sujith Haridasan 08bdc549bb Stop transfer of ownership between same users
Stop the transfer of ownership between same user.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-12 09:31:49 +05:30
Nextcloud bot 8ae4ff6648
[tx-robot] updated from transifex 2020-10-12 02:18:06 +00:00
Sebastian Nohn d0205ae128 Fix #20679 - be more alert about 2FA consequences
Signed-off-by: Sebastian Nohn <sebastian@nohn.net>
2020-10-11 13:57:29 +02:00
Nextcloud bot d9c3b99907
[tx-robot] updated from transifex 2020-10-11 02:18:42 +00:00
Nextcloud bot 4295fe67b7
[tx-robot] updated from transifex 2020-10-10 02:18:44 +00:00
Roeland Jago Douma 2ec160aec8
Merge pull request #23264 from nextcloud/bug/23177/escape-html
Add local version of escapeHTML
2020-10-09 09:25:05 +02:00
Nextcloud bot 9c21bd22b5
[tx-robot] updated from transifex 2020-10-09 02:18:45 +00:00
Roeland Jago Douma 0dbb99a81b
Merge pull request #23161 from nextcloud/enh/noid/setup-checks2
Remove setup check for php mail
2020-10-08 22:40:37 +02:00
Joas Schilling 51fbcb0801
Use PSR Logger in event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-08 16:52:56 +02:00
Roeland Jago Douma e10cad4a71
Merge pull request #23275 from nextcloud/fix/dashboard-statuses-sort
Fix dashboard statuses sort
2020-10-08 15:23:09 +02:00
Roeland Jago Douma 8b89172666
Merge pull request #23279 from nextcloud/enh/weather-favorites
Add favorite weather locations
2020-10-08 15:21:56 +02:00
Robin Appelman 9bdf0eed65
Merge pull request #23020 from nextcloud/disable-notify-self-check
add option to disable notify self check
2020-10-08 11:27:08 +00:00
Julien Veyssier a99294cfc0
add favorite weather locations
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-08 12:10:10 +02:00
Julien Veyssier 9b58653757
fix dashboard statuses sort function
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-08 11:09:29 +02:00
Sujith Haridasan 9a286d58bc Fix the user remove from group in UI
Fix the removal of user from the group in UI.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-08 13:40:15 +05:30
Nextcloud bot ae59636227
[tx-robot] updated from transifex 2020-10-08 02:18:45 +00:00
Daniel Kesselberg d0f18f4d9a Add local version of escapeHTML
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-07 23:06:42 +02:00
Morris Jobke 3f78639866
Merge pull request #21860 from nextcloud/techdebt/encryption-psr-container
Migrate encryption to the PSR container
2020-10-07 20:10:28 +02:00
Robin Appelman ea80d1d68f
also give storage backend it's change to manipulate the config
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-07 15:43:44 +02:00
Christoph Wurst 8033655a5a
Migrate encryption to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-07 15:34:06 +02:00
John Molakvoæ (skjnldsv) eca4682f69 Bump @nextcloud/vue to v2.6.9
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-07 07:53:24 +00:00
John Molakvoæ (skjnldsv) 4de6e80771
Upgrade lifecycle and vue parent context
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-07 09:40:59 +02:00
John Molakvoæ (skjnldsv) 843d799a2e
Move Files Sidebar to proper javascript standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-07 09:40:58 +02:00
Nextcloud bot 678ef8466d
[tx-robot] updated from transifex 2020-10-07 02:18:12 +00:00
Morris Jobke 2adfb27007
Merge pull request #23129 from nextcloud/enh/noid/tests-user-status
More tests for user_status
2020-10-06 22:13:44 +02:00
Morris Jobke ca5e8d2093
Merge pull request #23025 from Iscle/master
DirectController: Let users choose the link expiration time
2020-10-06 22:12:22 +02:00
Nextcloud bot 66641b6e65
[tx-robot] updated from transifex 2020-10-06 02:18:39 +00:00
Morris Jobke 5169976d2b
Merge pull request #23028 from nextcloud/bugfix/noid/array-to-string-conversion-on-event-search
Fix array to string conversion on event search
2020-10-05 23:04:48 +02:00
Morris Jobke fe08f406b2
Merge pull request #23096 from nextcloud/bugfix/noid/mimetypes2
Also check the path based mimetype for flow rule checks
2020-10-05 22:01:00 +02:00
Morris Jobke 482b42c4a7
Merge pull request #22891 from nextcloud/techdebt/18680/improve-ProvisioningApiMiddleware-service-logic
Improve registerService logic for ProvisioningApiMiddleware for static code analysis
2020-10-05 21:50:50 +02:00
Morris Jobke 0f7fb7cb4e
Merge pull request #23189 from nextcloud/enhancement/cs/binary_operator_spaces
Format code to a single space around binary operators
2020-10-05 21:31:38 +02:00
Morris Jobke 1ad0631c66
Merge pull request #23182 from sharidas/fix-user-emailaddr
Fix the user email issue while creating a user
2020-10-05 21:30:27 +02:00
Christoph Wurst d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Roeland Jago Douma a1faee8a1e
Fix unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-05 15:49:00 +02:00
Roeland Jago Douma db69b1bc43
Merge pull request #23179 from nextcloud/bugfix/23163
Fix dashboard rendering if accessibility app is disabled
2020-10-05 15:36:58 +02:00
Joas Schilling bbfbb90d50
Merge pull request #23109 from nextcloud/trash-move-no-transaction
dont hold a transaction during the move to trash
2020-10-05 15:04:56 +02:00
Joas Schilling 7511e710cc
Merge pull request #23175 from mrtnmtth/master
Fix legacy update notifications
2020-10-05 15:03:15 +02:00
Sujith Haridasan 62923a5e1e Fix the user email issue while creating a user
When the user is created, the provisioning api
was not adding the email address of the user
when provided if the `send email to new user`
is not set.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-05 16:47:57 +05:30
Julius Härtl b76ea9d6d1
Fix dashboard rendering if accessibility app is disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-05 09:25:22 +02:00
Nextcloud bot b186852f9d
[tx-robot] updated from transifex 2020-10-05 02:18:41 +00:00
mrtnmtth 5cb5b156b2 Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
2020-10-04 22:42:08 +02:00
Roeland Jago Douma f312cfade0
Merge pull request #22913 from nextcloud/group-folder-quota-warning-mountpoint
add mount point to quota warning message
2020-10-04 12:57:56 +02:00
Roeland Jago Douma 0bca480efd
Merge pull request #22969 from eleith/catch-no-instance-exception
broaden exception handling on webcal refresh
2020-10-04 11:14:00 +02:00
Robin Appelman 0dfdf3ee99
add mount point to quota warning message
makes it more clear to the user what the quota applies to

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-04 11:02:32 +02:00
Roeland Jago Douma b5fd75f2be
Move accessibility over to the new way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-04 09:35:33 +02:00
Nextcloud bot eba83d22bb
[tx-robot] updated from transifex 2020-10-04 02:18:16 +00:00
Daniel Kesselberg 9c8e8007f9
Remove setup check for php mail
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-03 21:58:55 +02:00
John Molakvoæ 50b210b50f
Merge pull request #23152 from nextcloud/dependabot/npm_and_yarn/marked-1.2.0 2020-10-03 14:40:59 +02:00
Roeland Jago Douma bc289798f2
Merge pull request #22960 from nextcloud/Valdnet-patch-4
l10n: HTTP in capital letters
2020-10-03 14:32:36 +02:00
John Molakvoæ 2eb64ee794
Merge branch 'master' into dependabot/npm_and_yarn/marked-1.2.0 2020-10-03 13:28:45 +02:00
dependabot-preview[bot] 0fdfc74011 Bump marked from 1.1.1 to 1.2.0
Bumps [marked](https://github.com/markedjs/marked) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 11:15:19 +00:00
dependabot-preview[bot] 020ba0847b Bump moment from 2.27.0 to 2.29.0
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.27.0...2.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 11:00:34 +00:00
Roeland Jago Douma 5e44831b45
Merge pull request #23150 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.5
Bump vue-router from 3.4.4 to 3.4.5
2020-10-03 12:01:58 +02:00
dependabot-preview[bot] d0574fb5d5 Bump vue-router from 3.4.4 to 3.4.5
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.4 to 3.4.5.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.4.4...v3.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 09:50:40 +00:00
Roeland Jago Douma 403aee1585
Merge pull request #23142 from nextcloud/fix/23140/multiple-inline-translations
Split dashboard attributions in multiple lines
2020-10-03 11:31:47 +02:00
Nextcloud bot e819a0cad0
[tx-robot] updated from transifex 2020-10-03 02:19:27 +00:00
Nextcloud bot 7819305eba
[tx-robot] updated from transifex 2020-10-02 15:28:57 +00:00
Julien Veyssier e97fb669e1
refs #23140 split dashboard attributions in multiple lines to allow translation parsing
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-02 15:55:52 +02:00
Joas Schilling 97f9b18e9e
Show the full status and icon all the time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 14:14:00 +02:00
Julius Härtl 0afccb5d9a
Show icon only with dnd status in the message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 13:35:16 +02:00
Roeland Jago Douma 0de44a8014
Merge pull request #23135 from nextcloud/fix/user-status
Fix subline hint
2020-10-02 13:16:48 +02:00
Nextcloud bot 0d05c600d6
[tx-robot] updated from transifex 2020-10-02 11:06:18 +00:00
John Molakvoæ (skjnldsv) 4addaf2ca4
Bump @nextcloud/vue to v2.6.8
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:21:22 +02:00
John Molakvoæ (skjnldsv) 9dfea4e982
Fix subline hint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:13:53 +02:00
Joas Schilling e9c7fa0f04
Show the subline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:31:43 +02:00
Joas Schilling dab344f674
Update @nextcloud/vue to 2.6.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:08:22 +02:00
Iscle 0e5d692866 DirectController: Verify that expirationTime is between 0s and 24h
Signed-off-by: Iscle <albertiscle9@gmail.com>
2020-10-01 23:48:41 +02:00
Jan C. Borchardt 56670fc904
Status: Add subline for Invisible to explain it properly
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:36:35 +02:00
Jan C. Borchardt b1d0fd27c1
Enable scrollbar for too long content, same way as in Dashboard customize
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:34:19 +02:00
John Molakvoæ (skjnldsv) f240794f2b
Move online status into modal
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-01 22:19:05 +02:00
Daniel Kesselberg 00bca0fe3e
Another test for user live status listener
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-01 21:27:45 +02:00
Roeland Jago Douma 5451dcbec5
Merge pull request #23112 from nextcloud/bugfix/noid/increase-timeout-of-statuses
Increase the timeout of statuses
2020-10-01 11:43:36 +02:00
Joas Schilling 0c7c358d13
Increase the timeout of statuses
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-01 08:54:35 +02:00
Nextcloud bot 6b7d91d7c1
[tx-robot] updated from transifex 2020-10-01 02:18:34 +00:00
Roeland Jago Douma f11a05553e
Merge pull request #23113 from nextcloud/design/status-wording
Change wording from 'custom status' to 'status message'
2020-09-30 19:28:30 +02:00
Jan C. Borchardt 9a517d5b35
Change wording from 'custom status' to 'status message'
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-30 16:49:41 +02:00
Robin Appelman e0d688c365
dont hold a transaction during the move to trash
because moving to trash can take a long time, keeping a transaction active for the duration can lead to issues

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-30 14:30:54 +02:00
Joas Schilling 32b577a5df
Reset the user status when clearing the custom message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 14:12:02 +02:00
Joas Schilling 4f26408303
Bump @nextcloud/vue to 2.6.6
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 10:55:37 +02:00
eleith aa956ab46e broaden exception handling on webcal refresh
when iterating through a calendar, recurrance events can throw an
exception if no instances of the recurrance are found.

this exception is of class `Exception` but the try/catch clause in the
webcal refresh loop only catches `BadRequest` exception.

this leads to the exception bubbling up and thus other calendar events
do not get processed by the event iterator.

this PR broadens the exception to handle both BadRequest and
NoInstanceFoundException so that the full webcal can be processed, even
if minor hiccups are processing on vobject

Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-09-29 20:47:38 -07:00
Nextcloud bot 54f4ede126
[tx-robot] updated from transifex 2020-09-30 02:18:17 +00:00
Julius Härtl d52caba30f
Merge pull request #22999 from nextcloud/bugfix/noid/settings-container-height
Adjust scroll container height to make it a proper boundary element for actions
2020-09-29 18:41:40 +02:00
Julius Härtl 92ab659a87
Adjust scroll container height to make it a proper boundary element for actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 16:07:59 +02:00
Julius Härtl 63479684a5
Make sure to check the mimetype on the path if a secure one could not be detemined though the content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 16:01:50 +02:00