Christoph Wurst
ad00a149ea
Merge pull request #36310 from nextcloud/feat/app-framework/global-middlewares
...
feat(app-framework): Add support for global middlewares
2023-01-26 15:17:38 +01:00
Christoph Wurst
033b03def0
Merge pull request #36341 from nextcloud/fix/app-framework/middleware-before-controller-returns-void
...
fix(app-framework): Specify return type of Middleware::beforeController
2023-01-26 13:18:19 +01:00
Christoph Wurst
8d9af3e262
feat(app-framework): Add support for global middlewares
...
This allows apps to register middlewares that always register, not just
for the app's own requests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 11:54:28 +01:00
Christoph Wurst
6d7339b0ff
fix(app-framework): Specify return type of Middleware::beforeController
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:30:58 +01:00
Daniel Kesselberg
258c919b3c
ci: migrate ocp since checker to psalm
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-24 10:02:41 +01:00
Côme Chilliet
f5c361cf44
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Côme Chilliet
e91457d9cd
Improve typing in Entity.php
...
Removing @method in Entity brings even more errors.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Daniel Kesselberg
ffb76d5475
docs: document types flag for search options
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-19 09:33:53 +00:00
Julius Härtl
8557c61389
Merge pull request #35970 from nextcloud/perf/noid/exception-serializer
2023-01-16 14:00:57 +01:00
blizzz
dbfe7b1816
Merge pull request #36073 from nextcloud/fix/fix-background-job-list
...
Use a Generator for job list to fix background-job:list command
2023-01-16 11:10:10 +01:00
Julius Härtl
00b7575c89
perf(logging): Return early when log level does not match before serializing an exception
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:18:59 +01:00
Côme Chilliet
e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:13:08 +01:00
Côme Chilliet
679682c186
Use a Generator for job list to fix background-job:list command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 18:20:31 +01:00
Julius Härtl
32e691f2f6
Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboard
2023-01-10 12:08:52 +01:00
Joas Schilling
b4a29644cc
Add a const for the max user password length
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +01:00
Joas Schilling
348454cb91
Merge pull request #35876 from bennet0496/patch-mail-header
...
Adding option to set Auto-Submitted email header
2023-01-04 09:34:14 +01:00
Julius Härtl
5b67b92f73
chore(OCP): Remove deprecated dashboard interfaces and classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 20:18:23 +01:00
bbx-github
08f9d71449
fix link to documentation of php function
...
Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
2023-01-03 18:31:05 +01:00
Bennet Becker
c8bde160cd
fix missing class in NewUserMailHelper and static code analysis errors
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 16:23:41 +01:00
Bennet Becker
4dc0957164
refactor AutoSubmittedValue to Headers\AutoSubmitted and adding
...
header name to constants
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:15:35 +01:00
Julius Härtl
b8046e2ba4
Align checksum dav property with desktop client parsing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 16:55:35 +01:00
Bennet Becker
9d9a0b7e06
use constant as default value in value getter
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-26 23:20:15 +01:00
Bennet B
4b992cdf7f
Update PHPDoc annotation in lib/public/Mail/IMessage.php
...
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Bennet B <bennet0496@users.noreply.github.com>
2022-12-23 19:27:18 +01:00
Bennet Becker
b3d9b57815
Adding API method to set the Auto-Submitted header to OCP\Mail\IMessage
...
and implementation in OC\Mail\Message
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:20 +01:00
Côme Chilliet
f6ff717b56
Merge pull request #34772 from nextcloud/fix/clean-ldap-access-factory-usage
...
Make sure to use AccessFactory to create Access instances and use DI
2022-12-20 16:48:07 +01:00
Joas Schilling
0af4e9d4fe
Merge pull request #34172 from audriga/add-scim-json-support
...
Add support for application/scim+json
2022-12-20 08:58:33 +01:00
Côme Chilliet
6e22ba832d
Merge pull request #35614 from nextcloud/fix/errorlog-array-to-string-conversion
...
Fix array to string conversion in errorlog writer
2022-12-19 14:17:39 +01:00
Julius Härtl
26e413b78d
Merge pull request #35496 from nextcloud/fix/strict-typing-in-base
2022-12-19 11:05:02 +01:00
Côme Chilliet
cbbb0712db
Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
...
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +01:00
Côme Chilliet
a1301de7fa
Revert "Just use string for groups in enableAppForGroups"
...
This reverts commit e17244e92fb316d2f2e3fd1ae343bd47b54395b8.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
3cce9aa547
Just use string for groups in enableAppForGroups
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
7996a12aef
Silence false-positive from psalm in lib/public/Log/functions.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Christoph Wurst
58a0740794
fix(logging): Fix array to string conversion in errorlog writer
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-19 09:31:55 +01:00
Stanimir Bozhilov
7dcd6eb561
Merge branch 'master' into add-scim-json-support
...
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-19 09:07:38 +01:00
Julien Veyssier
73f2876d64
rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-15 17:37:34 +01:00
Julien Veyssier
2d860d2c39
use modern event dispatch
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-12 14:04:11 +01:00
Stanimir Bozhilov
ed902d58b6
Remove type doc for regex const
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-11 16:07:44 +02:00
Joas Schilling
256fbe9d77
Validate if the user part of a "cloud id" can even be a valid user id
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:40:46 +01:00
Stanimir Bozhilov
ca39261342
Update phpDoc of the content type JSON regex and fix the regex delimiter
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-08 18:16:59 +01:00
Stanimir Bozhilov
b44befa881
Move JSON content type regex to IRequest and make it a const
2022-12-08 15:11:23 +01:00
Simon L
65988beaf0
Merge pull request #35586 from J0WI/public.systemvalue
...
Replace getSystemValue with getSystemValueString in Util.php
2022-12-07 23:49:01 +01:00
Christoph Wurst
8237e02cf7
fix(database): Explicitly inherit stricly typed database schema closure
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-06 11:43:30 +01:00
J0WI
fc97f6847d
Replace getSystemValue with getSystemValueString
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-05 16:32:11 +01:00
J0WI
110ea0df46
Allow empty mimeType
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:33 +01:00
J0WI
1dd3afefcd
Add type hints
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:32 +01:00
Simon L
c19e7a9b68
Merge pull request #35345 from nextcloud/feat/add_event_for_failed_logins
...
feat: add event for failed logins
2022-12-03 20:00:36 +01:00
Côme Chilliet
db995d464d
Same thing for Activity
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet
323963e540
Compute parsed from rich subject and message in Notification
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Anna Larch
7c4ceb444c
Add group display name cache
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-28 11:52:55 +00:00