Christoph Wurst
6fe5079e79
Merge pull request #29830 from nextcloud/enhancement/wfe-operation-scope-psalm-type-hint
...
Add Psalm specific scope type hint for the WFE operation
2021-11-29 16:42:44 +01:00
Arthur Schiwon
d384edc9c6
add method to shorten a string to given byte size to Utils
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 16:21:40 +01:00
Côme Chilliet
18a91f02fa
Fix default value for $type in OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal
...
This fixes PHP errors about passing null to PDO::quote second parameter.
We may want to change IExpressionBuilder as well?
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:02 +01:00
Côme Chilliet
af7bf98cba
Fix Iterator return types
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet
113756db30
Fix ArrayAccess and JsonSerializable return types
...
First round of modifications for PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:56 +01:00
Christoph Wurst
9ae505cb7c
Add Psalm specific scope type hint for the WFE operation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 08:42:40 +01:00
John Molakvoæ
7c4e76b9a8
Merge pull request #29714 from nextcloud/bump-doctrine-dbal
2021-11-15 19:55:14 +01:00
Joas Schilling
5bb49feef8
Allow NULL as well for limit, not integer only
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:51:28 +01:00
Christoph Wurst
ca14c02301
Document and type allowed values for calendar property searches
...
For API users it looked like any properties could be searched. But it
turned out to be a hand picked list of properties that we index and then
use for the search. To prevent application errors where special props
are not found, I suggest we document and type the allowed values.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 10:57:04 +01:00
Joas Schilling
fa036b2001
Move common logic to share manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 10:10:53 +01:00
Christoph Wurst
3ef6a099a3
Add IManager::getCalendarsForPrincipal API
...
The Calendar app needs to access calendars of a given principal in the
back-end. The new calendar providers were not accessible for apps before
this patch. Now they can access the ICalendar objects on demand.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-03 12:19:47 +01:00
Côme Chilliet
f90176efce
Merge pull request #29479 from nextcloud/fix/images-php-8.0
...
Fix image handling for PHP 8.0
2021-11-02 10:57:08 +01:00
Christoph Wurst
b193f854d1
Register missing DAV app calendar provider
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-28 18:33:13 +02:00
Côme Chilliet
3631789651
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-10-28 17:48:43 +02:00
Joas Schilling
74cfe7348d
Merge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain-helpers
...
Add an OCP for trusted domain helper
2021-10-28 11:45:03 +02:00
Joas Schilling
c42f5bc5f6
Add an OCP for trusted domain helper
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-28 10:24:16 +02:00
John Molakvoæ
3f8ca991fc
Merge pull request #29453 from nextcloud/bugfix/noid/improve-wording
2021-10-27 10:48:21 +02:00
Joas Schilling
9a18bd7abf
Improve wording
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 10:12:30 +02:00
Christopher Ng
9f8eae3f50
Use more explicit naming for profile link action
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-25 22:20:19 +00:00
Joas Schilling
b578a1e8b5
Fair use of push notifications
...
We want to keep offering our push notification service for free, but large
users overload our infrastructure. For this reason we have to rate-limit the
use of push notifications. If you need this feature, consider setting up your
own push server or using Nextcloud Enterprise.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-23 00:54:50 +02:00
John Molakvoæ
e673ec0b87
Merge branch 'master' into imountpoint-ocp-storage
2021-10-22 11:47:37 +02:00
Christoph Wurst
130ab63ca1
Bump doctrine/dbal from 3.0.0 to 3.1.3
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22 09:03:45 +02:00
Roeland Jago Douma
8bc25e3324
Move preview provider registration to bootstrap
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-21 10:35:18 +02:00
Joas Schilling
7f1dc52a66
Change origin field to appId
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-20 14:47:28 +02:00
John Molakvoæ
873e8e219c
Add appName to contactsmenu action API
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-20 11:53:45 +02:00
Robin Appelman
5155f2b0c5
Merge pull request #28541 from nextcloud/path-prefix-index2
...
add a prefix index to filecache.path, attempt 2
2021-10-19 14:41:23 +00:00
Pytal
f7b3d521f8
Merge pull request #28751 from nextcloud/feat/28139/profile-page
2021-10-18 23:03:58 -07:00
Christopher Ng
309354852f
Profile backend
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:59:35 +00:00
Christopher Ng
7215148a24
Add new account properties
...
- New properties
- Organisation
- Role
- Headline
- Biography
- Profile Enabled property
- Fix errors with building default account properties
- Fix L10N factory method `getLanguage` not public error
- Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:44:40 +00:00
Carl Schwan
2cb48f484b
Add an API to set and rollback the user status
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-18 20:31:37 +02:00
Vincent Petry
822623109f
Merge pull request #29243 from nextcloud/bugfix/noid/ipropagator-sizedifference
...
Add already used optional sizeDifference parameter to IPropagator
2021-10-18 08:34:44 +02:00
Daniel
5645b2a18a
Merge pull request #29188 from nextcloud/enhancement/public-write-api
...
Add calendar object creation API to OCP
2021-10-15 11:33:37 +02:00
Anna Larch
0401d6dc0f
Add create method to extended calendar implementation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-15 09:35:29 +02:00
Julius Härtl
39c4a83f9f
Add already used optional sizeDifference parameter to IPropagator
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-14 17:11:34 +02:00
Joas Schilling
7239b3d560
Bump since version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Anna Larch
a58d1e6b06
Add Public Calendar Provider
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-14 08:22:24 +02:00
Julius Härtl
581862b51b
Merge pull request #29187 from nextcloud/fix/noid/passwordless-app-password-generation
2021-10-13 16:11:22 +02:00
Julien Veyssier
0d2c2ab629
allow null password in UserLoggedInEvent
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-13 12:37:34 +02:00
John Molakvoæ
b585cf1ea1
Merge pull request #26688 from nextcloud/enh/better-share-exceptiondebug
2021-10-13 11:40:59 +02:00
Christoph Wurst
e163d199d8
Merge pull request #29015 from nextcloud/enhancement/l10n-factory-find-generic-language
...
Add L10n factory method for generic language heuristics
2021-10-13 10:58:07 +02:00
Christoph Wurst
5b727fc7da
Add L10n factory method for generic language heuristics
...
The existing `findLanguage` method tries its best to find the best
language for the current users. For some tasks we don't want this but
rather determine the most generic language for *another* user, e.g. when
the current user trigger an email notifiaction to someone else. In this
case the current user's language is a bad guess in many multi-language
environments.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 09:57:21 +02:00
Joas Schilling
0b747538ff
Keep group restrictions when reenabling apps after an update
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 09:34:55 +02:00
Robin Appelman
695326534c
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-08 18:39:22 +02:00
Vincent Petry
f518710c52
Merge pull request #28608 from nextcloud/path-prefix-filter
...
generate a better optimized query for path prefix search filters
2021-10-07 17:16:39 +02:00
Julius Härtl
d68f028251
Merge pull request #27733 from PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
2021-10-05 13:06:59 +02:00
Carl Schwan
6958d8005a
Add admin privilege delegation for admin settings
...
This makes it possible for selected groups to access some settings
pages.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-29 21:43:31 +02:00
Richard Steinmetz
33ec7ef280
Use IRoomMetadata as source of truth for supported room types
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 15:23:05 +02:00
Arthur Schiwon
4461b9e870
enable the user to set a primary (notification) email address (backend)
...
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00
Arthur Schiwon
0dee717c94
Confirm mails only per POST
...
- this is to avoid automatic confirmation by certain softwares that open
links
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00