Carl Schwan
ca3cd5a625
Fix detection of firefox in ContentSecurityPolicyNonceManager
...
Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection
since safari < 12 is not supported anymore and we can remove a bit of
code duplication
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-29 17:05:48 +07:00
Jonas
7d07e06bfe
Check whether entry is of type ICacheEntry in Cache->remove()
...
In some scenarios (file not in cache, but partial data of it in the
object), Cache->get() might return an array, which leads to errors like
"Call to a member function getId() on array".
So check whether the returned entry is of type ICacheEntry before doing
operations on it in Cache->remove().
Fixes : #33023
Signed-off-by: Jonas <jonas@freesources.org>
2022-06-29 10:47:07 +07:00
Carl Schwan
46a49dee8a
Merge pull request #32994 from nextcloud/fix/extended-query-search
...
Search without join on filecache_extended
2022-06-29 11:58:20 +07:00
Joas Schilling
ac66483ad5
Merge pull request #33042 from nextcloud/bugfix/noid/extend-email-logging
...
Extend email logging
2022-06-28 20:21:39 +07:00
Carl Schwan
a1bc770043
Merge pull request #32982 from nextcloud/fix/metadata-extraction
...
Fix metadata extraction
2022-06-28 15:34:38 +07:00
Côme Chilliet
64bff27c99
Merge pull request #32960 from nextcloud/fix/avoid-using-undeclared-properties
...
Fix PHP 8.2 warnings about undeclared properties
2022-06-28 12:05:16 +07:00
Joas Schilling
f7eb14a9fa
Extend email logging
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-28 08:57:03 +07:00
Louis
0fe7064fc4
Merge pull request #32998 from nextcloud/fix/setting_name
...
Rename setting name to reduce its length
2022-06-27 11:58:54 +07:00
Louis Chemineau
347ca20f4e
Rename setting name to reduce its length
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-27 11:04:17 +07:00
blizzz
4722baf970
Merge pull request #32863 from nextcloud/feature/add-comments-expire-date
...
Add comments expire date
2022-06-24 10:28:13 +07:00
blizzz
3ebde2f6c2
Merge pull request #32980 from nextcloud/fix/32887/dashboard-load-only-enabled-apps
...
load dashboard widgets of enabled apps only
2022-06-23 17:45:05 +07:00
Carl Schwan
f326b54e53
Search without join on filecache_extended
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 16:23:52 +07:00
Côme Chilliet
d23c7d245c
Improve local domain detection
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-23 11:45:16 +07:00
Arthur Schiwon
6e531b5ab5
avoid early DI of IAppManager
...
- might break install
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +07:00
Arthur Schiwon
523572fcea
load widgets only of enabled apps
...
- per design, all enabled apps have their registration run
- limitations, e.g. enabled by group, are not considered in that state,
because we do not have a session (and might need apps?)
- before instantiation of widget it has to be checked whether the providing
app is actually enabled for the logged in user.
- a public interface is being changed, but it is not meant to be
implemented or used outside of the core handling. Therefore save to
backport.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +07:00
Carl Schwan
940b5e8f0a
Fix metadata extraction
...
The metadata extraction only happens when the size is not equal to 0,
but due to a regression in FileInfo the size is always zero.
This fix the regression.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 17:27:09 +07:00
blizzz
cf5452e633
Merge pull request #32242 from nextcloud/fix-logging-data-array
...
Fix logging data context to file
2022-06-21 18:49:08 +07:00
blizzz
2e10378052
Merge pull request #31475 from nextcloud/kofemann-patch-1
...
files: close open directory file descriptor on error path
2022-06-21 18:44:05 +07:00
Côme Chilliet
c598e3cafa
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 16:36:25 +07:00
Côme Chilliet
1bd5222224
Fix PHP 8.2 warnings about undeclared properties
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 16:17:52 +07:00
Carl Schwan
dbc2c2325e
Merge pull request #32924 from nextcloud/memcached-binary-protocol
...
Enable binary protocol again
2022-06-21 13:39:28 +07:00
blizzz
53eafc0cb7
Merge pull request #32868 from nextcloud/fix/replace-opis-closure-by-laravel-fork
...
Replace opis/closure by laravel/serializable-closure
2022-06-21 12:21:32 +07:00
Côme Chilliet
d8c419c304
Explicitely only accept closures from our dependencies in ClosureJob
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 11:33:46 +07:00
Arthur Schiwon
90104bc1c4
memcached should not throw arbitrary exceptions
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-17 18:32:14 +07:00
Carl Schwan
3f97bcdc75
Enable binary protocol again
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-17 17:24:24 +07:00
Arthur Schiwon
8b2b5946e6
make placeholder a const for reuse
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-16 18:38:29 +07:00
Arthur Schiwon
891c10d09d
fix overwriting original vars when logging
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-16 18:36:58 +07:00
Vitor Mattos
c59b0c2ff7
Add comments expire date
...
https://github.com/nextcloud/spreed/pull/7327
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-15 11:58:29 +07:00
Côme Chilliet
c54fb5f9e6
Use {$var} instead of ${var} for PHP 8.2 compatibility
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 15:12:28 +07:00
Côme Chilliet
a810b21373
Replace opis/closure with laravel/serializable-closure in code
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 10:58:24 +07:00
Vincent Petry
8809de1eef
Merge pull request #31966 from nextcloud/unencrypted-size
...
store unencrypted size in the unencrypted_size column
2022-06-13 11:55:37 +07:00
Vincent Petry
85cc867143
Merge pull request #31771 from nextcloud/fix/hook-encryption-cron
...
Fix hook encryption with cron job
2022-06-10 16:27:59 +07:00
Vincent Petry
8e61671b82
Merge pull request #32364 from nextcloud/dav-listeners
...
🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
2022-06-10 15:57:35 +07:00
Vincent Petry
87b04753d2
Merge pull request #32660 from susnux/master
...
Feature: Add loglevel exported JS OC.config object
2022-06-10 15:31:36 +07:00
Vincent Petry
79f8356438
Merge pull request #32685 from nextcloud/fix/external-storage-password-replacement
...
Fix replacing external storage password during debug log
2022-06-10 15:28:52 +07:00
Vincent Petry
fe45eaca3b
Merge pull request #32748 from nextcloud/bugfix/noid/keep-non-default-protocol-in-cloud-id
...
Keep non default protocol in cloud id
2022-06-10 15:22:03 +07:00
Vincent Petry
142b32c51a
Merge pull request #32799 from nextcloud/bugfix/noid/fix-exception-handling-when-profile-data-is-too-long
...
Fix exception handling when profile data is too long
2022-06-10 15:03:19 +07:00
Vincent Petry
bea755f153
Merge pull request #32723 from MartinBrugnara/master
...
Expose umask override value as config parameter: localstorage.umask
2022-06-10 11:23:31 +07:00
Vincent Petry
56b1453945
Merge pull request #32768 from nextcloud/fs-setup-onetime-earlier
...
perform onetime setup earlier to ensure wrappers are registered on time
2022-06-10 11:21:54 +07:00
Joas Schilling
3235785c24
Fix exception handling when profile data is too long
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 22:07:46 +07:00
Robin Appelman
5c768f980e
fix mounts mounted at the users home
...
this fixes external storages with '/' as mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-09 19:21:56 +07:00
Joas Schilling
6e3d668436
Keep non default protocol in cloud id
...
When there is no protocol on the cloud id, we assume it's https://
But this means that when an http:// server currently sends an OCM
invite to another server, the protocol is striped and the remote
instance will try to talk back to https:// which might not be available.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 15:23:05 +07:00
Julius Härtl
42f92153f5
Merge pull request #32767 from nextcloud/seeakble-http-stream-wrappers
...
handle stream wrappers in SeekableHttpStream
2022-06-09 09:49:55 +07:00
Pytal
e76d8bb901
Merge pull request #32697 from nextcloud/fix/get-avatar-authz
2022-06-08 16:27:31 +07:00
Robin Appelman
a937ab03dd
perform onetime setup earlier to ensure wrappers are registered on time
...
this fixes an issue with wrappers like encryption not always being applied to mountpoint that create the storage object directly (such as external storage)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-08 18:49:54 +07:00
Robin Appelman
499995b37a
handle stream wrappers in SeekableHttpStream
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-08 17:52:27 +07:00
Joas Schilling
9a8c9e5cf6
Merge pull request #32744 from nextcloud/bugfix/noid/easier-federation-debugging
...
Always log errors from sending federation api requests to ease debugging
2022-06-08 10:16:51 +07:00
Christopher Ng
7455cd9dd7
Fix get avatar authorization
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 23:57:21 +07:00
Joas Schilling
1cc2796613
Always log errors from sending federation api requests to ease debugging
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 22:01:32 +07:00
Julius Härtl
50ed84fe17
Simlify tests for integrity check on modified mimetype lists
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-07 21:54:27 +07:00