Côme Chilliet
11b51ddbbe
Avoid calling image* methods on boolean
...
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:22:05 +00:00
Christoph Wurst
f88f57612b
Merge pull request #30025 from nextcloud/backport/30012/stable23
...
[stable23] Only check the twofactor state once per request
2021-12-06 14:49:45 +01:00
dependabot[bot]
af29d0b63e
Merge pull request #30083 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.1
2021-12-05 16:17:46 +00:00
dependabot[bot]
8fc41f6cf1
Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/4.2.0...4.2.1 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-05 16:43:43 +01:00
dependabot[bot]
6aa3677eaa
Merge pull request #30088 from nextcloud/dependabot/npm_and_yarn/stable23/core-js-3.19.2
2021-12-04 13:25:01 +00:00
dependabot[bot]
99aca2f57c
Bump core-js from 3.19.1 to 3.19.2
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.1...v3.19.2 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-04 12:49:10 +00:00
blizzz
76fa257789
Merge pull request #30036 from nextcloud/backport/30011/stable23
...
[stable23] Allow to log queries to db, ldap and redis
2021-12-03 11:53:59 +01:00
MichaIng
e20b3de09e
Merge pull request #30041 from nextcloud/backport/30032/stable23
...
[stable23] Add an index for selecting the next job
2021-12-03 03:02:13 +01:00
MichaIng
d622dc63b9
Merge pull request #30053 from nextcloud/backport/30046/stable23
...
[stable23] Close open cursor in the caldav back-end
2021-12-03 02:56:21 +01:00
Joas Schilling
617d742aa9
Merge pull request #30062 from nextcloud/backport/30024/stable23
...
[stable23] list.php files are only invoked via ViewController and APIController
2021-12-03 00:02:44 +01:00
Joas Schilling
d6bad0c0ba
list.php files are only invoked via ViewController and APIController
...
Both of them actually check that the user is logged in before
and also the list.php files themselves would break with
getUserSession()->getUser()->getUID() which they contain.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 21:32:25 +00:00
Pytal
395e90c645
Merge pull request #30058 from nextcloud/backport/29735/stable23
2021-12-02 12:20:53 -08:00
Robin Appelman
cc57b2b68e
fix tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:06 +00:00
Robin Appelman
349555478f
code checker fixes for instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:06 +00:00
Robin Appelman
c76c2d7581
stop background scan early if a users still has unscanned files after background scan
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman
375946b148
find users for background scan one by one
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman
c9db02a921
background scan the source storage when a background scan on a storage jail is triggered
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman
4433732f22
teach psalm about Storage::instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Joas Schilling
62bff517dc
Merge pull request #30037 from nextcloud/backport/30028/stable23
...
[stable23] Fix log_query config flag
2021-12-02 17:14:11 +01:00
Christoph Wurst
2de7273905
Close open cursor in the caldav back-end
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 15:34:20 +00:00
Joas Schilling
88b6a42699
Add an index for selecting the next job
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 10:26:43 +00:00
Joas Schilling
a361e69d5e
Fix log_query config flag
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 09:35:52 +00:00
Joas Schilling
5e8fa37852
Allow to log DB, redis and LDAP requests into files
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 09:30:44 +00:00
MichaIng
e3ee81de05
Merge pull request #30021 from nextcloud/backport/30018/stable23
...
[stable23] Fix collaborative tags styles
2021-12-02 02:40:45 +01:00
Pytal
2ccefec021
Merge pull request #30014 from nextcloud/backport/29995/stable23
2021-12-01 15:48:03 -08:00
Joas Schilling
febca701ee
Only check the twofactor state once per request
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 20:29:28 +00:00
Christopher Ng
7fd7f73ab0
Fix profile actions menu
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01 19:57:22 +00:00
Christopher Ng
e0ffaaae51
Fix collaborative tags styles
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-01 19:51:01 +00:00
Pytal
b67c6d9730
Merge pull request #29975 from nextcloud/backport/29872/stable23
2021-12-01 10:17:20 -08:00
Christoph Wurst
b2b1feba0f
Merge pull request #30008 from nextcloud/backport/30001/stable23
...
[stable23] Cast orphan subscription id to int
2021-12-01 19:07:18 +01:00
Christoph Wurst
ea450f1161
Cast orphan subscription id to int
...
DB columns are of type int by default, so they need to be casted.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-01 13:47:40 +00:00
Christopher Ng
510249e258
Set profile page title
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-30 17:02:52 +00:00
blizzz
4caad84389
Merge pull request #29967 from nextcloud/backport/29917/stable23
...
[stable23] Fix source of translations
2021-11-30 14:55:23 +01:00
Christoph Wurst
c7d5f98768
Merge pull request #29977 from nextcloud/backport/29974/stable23
...
[stable23] Let repair step query exceptions bubble up
2021-11-30 14:34:17 +01:00
Christoph Wurst
3b2122fc11
Include previous execption for repair steps that don't exist
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 11:56:53 +00:00
Christoph Wurst
3d58f6bd2b
Let repair step query exceptions bubble up
...
And hide the type error caused by a constructor call with missing
arguments.
`new $repairStep();` only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 11:56:53 +00:00
Louis
17a659e277
Merge pull request #29970 from nextcloud/backport/29870/stable23
...
[stable23] Prevent your own status from replacing another user's status on profile
2021-11-30 10:03:04 +01:00
Christopher Ng
259dc80fca
Prevent your own status from replacing another user's status
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 20:49:20 +00:00
Christoph Wurst
7b142f74a9
Merge pull request #29961 from nextcloud/backport/29951/stable23
...
[stable23] Interpolate the log message also for logged exceptions
2021-11-29 20:04:25 +01:00
Christopher Ng
3256de61a1
Fix source of translations
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-29 18:51:33 +00:00
Christoph Wurst
96aaa5dfa2
Interpolate the log message also for logged exceptions
...
According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.
Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-29 15:48:43 +00:00
dependabot[bot]
b8ec50e816
Merge pull request #29937 from nextcloud/dependabot/npm_and_yarn/stable23/testing-library/jest-dom-5.15.1
2021-11-27 14:59:15 +00:00
dependabot[bot]
6ed5da993b
Bump @testing-library/jest-dom from 5.15.0 to 5.15.1
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.15.0...v5.15.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 14:13:27 +00:00
dependabot[bot]
240e050360
Merge pull request #29936 from nextcloud/dependabot/npm_and_yarn/stable23/sass-1.43.5
2021-11-27 06:15:07 +00:00
dependabot[bot]
317e4242e6
Bump sass from 1.43.4 to 1.43.5
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.43.4 to 1.43.5.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.43.4...1.43.5 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 03:17:43 +00:00
blizzz
0619207f13
Merge pull request #29925 from nextcloud/release/23.0.0
...
23.0.0
2021-11-26 21:49:32 +01:00
blizzz
842e22f882
Merge pull request #29928 from nextcloud/backport/29926/stable23
...
[stable23] obey accounts_data column length when inserting and searching
2021-11-26 20:58:36 +01:00
Arthur Schiwon
09014ec6d1
Obey col length of 255 to insert and search in accounts_data
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 17:27:16 +00:00
Arthur Schiwon
c853206e8a
add method to shorten a string to given byte size to Utils
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 17:27:16 +00:00
Pytal
df961fa2f3
Merge pull request #29918 from nextcloud/backport/29871/stable23
2021-11-26 09:16:22 -08:00