Joas Schilling
890aa3277a
Also copy bruteforce meta data when converting DataResponse to JSONResponse
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-14 19:47:36 +01:00
John Molakvoæ
064f2615d7
Merge pull request #29325 from nextcloud/backport/28541/stable21
2022-01-07 08:46:22 +01:00
MichaIng
92744f3047
Merge pull request #30248 from nextcloud/backport/30245/stable21
...
[stable21] Only wildcard search if enumeration is allowed
2021-12-20 18:41:53 +01:00
Robin Appelman
f6024a895c
also use case sensitive like when searching in a folder
...
this case was missed from https://github.com/nextcloud/server/pull/29080
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-14 17:49:48 +01:00
Côme Chilliet
07997131d3
Fix typing problems in OC_Image
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Joas Schilling
ae068fb47a
Convert strict_search to wildcard property and add psalm docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling
448ee8e30d
Only limit search in the system address book
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling
18e665364a
Only wildcard search if enumeration is allowed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:21 +00:00
Robin Appelman
f70f9cf1be
code checker fixes for instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
016f99276b
teach psalm about Storage::instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
a61ac5acf5
update @since for getDatabasePlatform
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-23 14:51:26 +01:00
Joas Schilling
96c8e0dad3
Apply changes from master's update to 3.1.3
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 19:07:11 +01:00
Joas Schilling
d6d4cbbf9f
Allow NULL as well for limit, not integer only
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 19:01:46 +01:00
Côme Chilliet
23aa60bb8d
Fix resource usages in OC_Image
...
This makes sure using resource or GdImage (PHP>=8) behaves the same.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-02 11:49:13 +01:00
Robin Appelman
c3d9471fe0
disable path prefix index on postgresql for now
...
having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement.
to prevent making it harder to add the correct index later on we don't create the index for now on postgresql
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-21 18:33:43 +02:00
MichaIng
d2a71ca010
Merge pull request #29203 from nextcloud/backport/26688/stable21
...
[stable21] Add proper message to created share not found
2021-10-14 15:08:10 +02:00
Joas Schilling
7f4b3fb68d
Keep group restrictions when reenabling apps after an update
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 14:12:32 +02:00
John Molakvoæ (skjnldsv)
d578d780e4
Default message for ShareNotFound exception
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:44:52 +00:00
Richard Steinmetz
079707cd81
Use IRoomMetadata as source of truth for supported room types
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 16:23:08 +00:00
Jonas Meurer
d528243c0c
Use IURLGenerator function to get value of \OC::$WEBROOT global
...
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 13:12:47 +00:00
Christoph Wurst
16d04755cf
Fix missing exception class import
...
Regression of https://github.com/nextcloud/server/pull/27121
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-28 14:39:00 +02:00
Christoph Wurst
affe97235d
Revert "[stable21] Fix constraint violation detection in QB Mapper"
2021-06-30 14:38:11 +02:00
Richard de Boer
088118f548
Fix a usort comparison function returning a boolean instead of an integer
...
PHP 8 shows deprecation warnings about this, see #25806
Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:52 +00:00
Lukas Reschke
d838108dea
Escape filename in Content-Disposition
...
We should escape all occurences of ' and \ in here.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 19:17:38 +00:00
Anna Larch
60481a742e
Add DB exception throws tag to QBMapper PHPDoc
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-05-26 15:13:52 +00:00
dartcafe
36acbd9efb
typo
...
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +00:00
dartcafe
6e499ef0b2
fix #25813
...
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +00:00
Arthur Schiwon
04b851b8b8
remove undefined parameter, add description
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-22 17:13:24 +00:00
Joas Schilling
0214201008
Fix constraint violation detection in QB Mapper
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:14:29 +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
0c348863e7
Allow apps to write/update account data
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-01 06:07:47 +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
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
Robin Appelman
d4381c0eac
handle ordering in folder search
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 13:41:18 +00:00
Robin Appelman
2500d296c5
only require user to be set in a query that handles tags
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 13:41:11 +00:00
Roeland Jago Douma
e12e2ae8a3
Make psalm happy
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-22 20:20:29 +01:00
Joas Schilling
e9ea4a0f01
Fix parameter types in docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 20:07:53 +01:00
Joas Schilling
553a25e1a1
Improve search results when only phonebook-matches can we autocompleted
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 20:07:53 +01:00
Morris Jobke
682df0b788
Merge pull request #26124 from nextcloud/backport/25533/stable21
...
[stable21] send share notification instead of erroring on duplicate share
2021-03-19 09:18:49 +01:00
Roeland Jago Douma
8942d76f72
Merge pull request #26122 from nextcloud/backport/26004/stable21
...
[stable21] Allow overwriting isAuthenticated
2021-03-18 16:20:46 +01:00
Morris Jobke
95ebe5e819
Merge pull request #26146 from nextcloud/backport/26013/stable21
...
[stable21] Return the fileid from `copyFromCache` and use it instead of doing an extra query
2021-03-17 20:03:58 +01:00
Morris Jobke
4b3684fbc4
Merge pull request #25943 from nextcloud/backport/25659/stable21
...
[stable21] catch notfound and forbidden exception in smb::getmetadata
2021-03-17 13:50:39 +01:00
Robin Appelman
bb180a95bb
add ICopyFromCache trait to expose existing implementation
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16 16:17:56 +00:00
Robin Appelman
f2a35cd3f8
send share notification instead of erroring on duplicate share
...
when creating a share that already exists, instead of erroring, resend the notifications
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-15 14:13:04 +00:00
Roeland Jago Douma
8806bbe6fe
Allow overwriting isAuthenticated
...
* Some implementations might check for different things
* IT will not change how the current ones work
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-15 13:59:05 +00:00
Joas Schilling
77f6d768bc
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-11 08:40:26 +01:00
Joas Schilling
c7560ab3a9
Restrict autocompletion also based on the phonebook known users
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:03 +01:00
Robin Appelman
67d62a820c
catch notfound and forbidden exception in smb::getmetadata
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-05 07:51:47 +00:00
Roeland Jago Douma
8aafd0d765
Merge pull request #25871 from nextcloud/backport/25758/stable21
...
[stable21] Include RichObject for forms
2021-03-02 21:10:34 +01:00
Anna Larch
b5de59e4d7
Fix namespacing
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-03-02 10:07:48 +00:00