Commit Graph

24249 Commits

Author SHA1 Message Date
Vincent Petry ab5c19bb08
Merge pull request #26131 from nextcloud/fix/initialstate-templates
Fix default missing initial state for templates
2021-03-17 10:18:03 +01:00
Vincent Petry 98fb265e9f
Merge pull request #26153 from nextcloud/psalm/26111/fix-undefined-exception-class
Use correct exception type hint in catch statement
2021-03-17 09:41:47 +01:00
Nextcloud bot 096806087c
[tx-robot] updated from transifex 2021-03-17 02:24:19 +00:00
Morris Jobke 0f2c4ff64c
Use correct exception type hint in catch statement
Found by psalm update 4.6.2 to 4.6.3 in #26111

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-16 22:06:07 +01:00
Vincent Petry c6d2d8746c
Fix CS in CacheTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-16 11:43:53 +01:00
Nextcloud bot 72e6201869
[tx-robot] updated from transifex 2021-03-16 02:24:42 +00:00
Vincent Petry e559afb8d4
Merge pull request #25136 from nextcloud/cachejail-search-filter
do cachejail search filtering in sql
2021-03-15 17:45:30 +01:00
John Molakvoæ (skjnldsv) 223fe2aae6
Fix default missing initial state for templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-15 17:23:30 +01:00
Vincent Petry 6997344931
Log exceptions when creating share
Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-15 12:00:41 +01: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
Roeland Jago Douma bf39adb49b
Merge pull request #26049 from nextcloud/search-file-limit-results
limit constructing of result objects in file search
2021-03-12 12:58:49 +01:00
blizzz 812bc83b56
Merge pull request #26080 from nextcloud/bugfix/noid/only-clear-known-users-when-we-had-at-least-one-phonebook-entry
Only clear known users when we had at least one phonebook entry
2021-03-12 10:45:36 +01:00
Joas Schilling 5c3551cf2f
Only clear known users when we had at least one phonebook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-12 09:04:13 +01:00
Nextcloud bot cd3ef614be
[tx-robot] updated from transifex 2021-03-12 02:22:44 +00:00
Roeland Jago Douma a1757f83a3
Merge pull request #26067 from nextcloud/techdept/psalm/trashbin/execute
Cleanp execute usage in the trashbin
2021-03-11 21:03:15 +01:00
Roeland Jago Douma 2cbc2710ec
Merge pull request #26066 from nextcloud/techdept/psalm/type_error
Fix type error in CheckBackupCodes bg job
2021-03-11 21:02:35 +01:00
John Molakvoæ c8368af3cb
Merge pull request #26068 from nextcloud/bugfix/noid/fix-comments-value-update
Fix comments field value update
2021-03-11 19:32:25 +01:00
Roeland Jago Douma a3b1c1cea3
Merge pull request #26064 from nextcloud/techdept/psalm/type_oauth_db
Add psalm annotation to the DB handlers of OAuth2
2021-03-11 16:46:08 +01:00
Roeland Jago Douma 8008b33b8d Cleanp execute usage in the trashbin
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:39:42 +01:00
Vincent Petry a60127acc8
Fix comments field value update
Fixes issue where the comment field value was not properly read out of
the rich content field.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-11 15:39:33 +01:00
Roeland Jago Douma c19708a85e Fix type error in CheckBackupCodes bg job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:33:15 +01:00
dependabot-preview[bot] 69c4578b5b
Merge pull request #26057 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.7.2 2021-03-11 14:11:40 +00:00
Robin Appelman 424db15dea
limit constructing of result objects in file search
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.

this saves about 40% of the time spend in the search request in my local testing

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11 14:49:57 +01:00
Roeland Jago Douma c2f7c417b2 Add psalm annotation to the DB handlers of OAuth2
* Psalm annotations
* To new executeUpdate

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 14:33:15 +01:00
Christoph Wurst 95cddb84e2
Merge pull request #25569 from nextcloud/JakubOnderka-patch-1
file-upload: Correctly handle error responses for HTTP2
2021-03-11 13:54:55 +01: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
Roeland Jago Douma f90090d2b3
Merge pull request #26019 from ste101/patch-1
Allow webp as background image
2021-03-11 10:52:31 +01:00
Christoph Wurst ba369c134e
Merge pull request #25911 from nextcloud/bugfix/noid/fix-share-password-saving
Only clear share password model when actually saved
2021-03-11 10:48:34 +01:00
Vincent Petry 65bb949376
Merge pull request #26032 from nextcloud/techdept/psalm/requesthandlerController_loggerinterface
Move requesthandler controller to LoggerInterface
2021-03-11 10:37:41 +01:00
Vincent Petry 3462444def
Only clear share password model when actually saved
Instead of always clearing the password in the share model, now only do
it when it was actually saved.

Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-11 09:07:30 +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
Roeland Jago Douma a6447a5c03
Merge pull request #25940 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.1
Bump css-loader from 5.0.1 to 5.1.1
2021-03-10 19:56:40 +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 236aa194e2
Restrict autocompletion also based on the phonebook known users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +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
Joas Schilling c7be18c0d6
Add a service to find out if a user knows another user
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
Jakub Onderka 296ffc7d34 file-upload: Correctly handle error responses for HTTP2
Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
2021-03-10 16:30:37 +01:00
Joas Schilling 7baefcfc74
Delete matches when the user is being deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:49 +01:00
Joas Schilling 55a5d26c56
Delete matches when a user changes their phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:48 +01:00
Joas Schilling f62d9b50fd
Store when a user knows another user based on phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:48 +01:00
kesselb 62929cc646
Merge pull request #26029 from nextcloud/enh/boostrap/provisioning_api
Provisioning API to IBootstrap
2021-03-10 14:34:02 +01:00