Côme Chilliet
168b07d038
Lower log to debug for connections aborted by the client
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-04 16:45:14 +02:00
Arthur Schiwon
2d75209794
Merge pull request #38022 from nextcloud/backport/32877/stable25
...
[stable25] allow storing multiple mounts for the same rootid in the mount cache
2023-06-15 11:47:44 +02:00
Artur Neumann
33512bbdbf
autoloaderchecker
...
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-06-15 13:19:40 +05:45
Julien Veyssier
aa9fa95bd8
encrypt oauth2 client secrets
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:31:11 +02:00
Robin Appelman
0b40b11289
allow storing multiple mounts for the same rootid in the mount cache
...
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache,
however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache.
Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything.
With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant.
While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-31 16:15:47 +02:00
Robin Appelman
670bd08af0
add option to list all files instead of limiting
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-25 13:34:16 +02:00
Arthur Schiwon
1e5de8aff4
refactor: remove SystemTag logic from Folder into QuerySearchHelper
...
- adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is
moved to
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 12:59:04 +02:00
Ferdinand Thiessen
f833319614
Update autoloader
...
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-05-11 13:03:28 +02:00
Robin Appelman
c8824825db
add command for getting fileinfo for debugging
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-01 14:03:20 +00:00
Julien Veyssier
fb9dfb67ba
manual backport of #35789 , dispatch BeforeSabrePubliclyLoadedEvent to allow adding additional Sabre plugins in publicwebdav.php
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-03 10:14:46 +01:00
Carl Schwan
c050ca9db4
Add repair job that will ensure that secret and passwordsalt are set
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 20:11:01 +00:00
Robin Appelman
b70ba23029
update autoloader
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 18:20:08 +00:00
Louis Chemineau
76270a9a2f
Add repair step to fix wrong share ownership
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-08 18:20:07 +00:00
Julius Härtl
677451427e
Emit typed event when preview is requested
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 13:51:28 +00:00
Côme Chilliet
afeaf93bdb
Fix autoloaders
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 10:14:04 +00:00
Arthur Schiwon
0fd9d8b132
LDAP to no register new users when outside of fair use or over limits
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-21 16:58:12 +00:00
Christopher Ng
df218bc4db
Fix missing background on upgrade
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:01:05 +02:00
Arthur Schiwon
68284b87f2
unbundle files_videoplayer and clean up a little
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-29 11:27:33 +00:00
Julius Härtl
b45d342654
Move Reference class to public namespace
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-26 10:44:24 +00:00
Arthur Schiwon
aff9302638
update autoloader
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 17:36:13 +02:00
Carl Schwan
a5a8f4e9ef
Move avatar clearing in the background
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit e21e53670c60b74ca2c49c01bf510ccdc5115b0d)
2022-09-22 15:42:13 +02:00
Joas Schilling
c443ecfbff
Rebuild autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:33:26 +02:00
Robin Appelman
d9e75f00b1
move widget options into a Option class
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +02:00
Robin Appelman
a3912e264a
change widget button api to support multiple button types
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
79adca6b8b
allow adding button to dashboard api output
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Carl Schwan
66a7a89898
Add api to load additional section in profile page
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Julius Härtl
2ddc6c3026
Add event to load scripts for reference rendering
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 20:10:53 +02:00
Julius Härtl
80f6a5834a
Refactor cache handling
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:35 +02:00
Julius Härtl
a392235e23
Cleanup
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:33 +02:00
Côme Chilliet
f56ecf9242
Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typing
...
Port Repair and Migrator events to IEventDispatcher
2022-08-30 14:47:05 +02:00
Côme Chilliet
66648011c6
Merge pull request #33697 from nextcloud/fix/improve-bulk-upload
...
Improve bulk upload and add a config switch for it
2022-08-30 12:22:20 +02:00
Côme Chilliet
30bfd5f4c8
Add DavUtil to autoloader
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-30 10:44:47 +02:00
Vincent Petry
1b577d348b
Merge pull request #33500 from nextcloud/encryption-system-mount
...
add marker interface to mark system mount points for encryption
2022-08-29 14:47:58 +02:00
Côme Chilliet
a2a7150d6d
Migrate Repair events to OCP\EventDispatcher\Event
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:48 +02:00
Côme Chilliet
a83a8f0dde
Migrate Migrator::executeSql to OCP\EventDispatcher\Event
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:47 +02:00
Robin Appelman
c2b206db64
add marker interface to mark system mount points for encryption
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-25 13:55:53 +02:00
Thomas Citharel
3ce1996d5e
Add back TokenCleanupJob to invalidate old temporary tokens
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-25 11:31:21 +02:00
Carl Schwan
bd7ab89d2a
Merge pull request #33593 from nextcloud/improve-binary-caching
...
Move findBinaryFinder and isFunctionEnabled away from OC_Helper
2022-08-24 13:09:55 +02:00
Carl Schwan
9b8ca9ad1f
Move findBinaryFinder and isFunctionEnabled away from OC_Helper
...
findBinaryFinder is now a service that is still private but with some
minor optimization (remove the hasKey check).
isFunctionEnabled is now in OCP\Util
Both function are still keep but all internal usage in nextcloud/server
were migrated to the new usage, so that we can remove it in 26
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-23 19:44:04 +02:00
Carl Schwan
b888c61463
Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecated
...
Deprecated ILogger from IJob
2022-08-23 16:55:42 +02:00
Carl Schwan
f8b13ecd60
Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classes
...
Remove OCP\App and OCP\BackgroundJob
2022-08-08 17:05:11 +02:00
Carl Schwan
49334e4d9c
Fix many tests and warnings
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 17:03:51 +02:00
Carl Schwan
458c2fa297
Remove OCP\App and OCP\BackgroundJob
...
Both deprecated since NC 23
IAppManager is the replacement for OCP\App unfortunately it can't be
dependency injected in classes used by the installed otherwise the
database connection is initialised too early
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-01 09:46:40 +02:00
Carl Schwan
7b723813ce
Multiple fixes
...
- Fix tests
- Use non deprecated event stuff
- Add a bit of type hinting to the new stuff
- More safe handling of instanceOfStorage (share might not be the first
wrapper)
- Fix resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-31 19:37:59 +02:00
Vincent Petry
a95c19e14b
Add share attributes + prevent download permission
...
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +02:00
Joas Schilling
c0f47af2d0
Add a public interface for the bruteforce throttler and register for injection
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-28 10:57:10 +02:00
blizzz
929aaaa129
Merge pull request #27929 from nextcloud/enh/allowSsoToProvideSecret
...
Allow SSO authentication to provide a user secret
2022-07-18 11:50:43 +02:00
Carl Schwan
d5c23dbb9f
Move CappedMemoryCache to OCP
...
This is an helpful helper that should be used in more place than just
server and this is already the case with groupfodlers, deck, user_oidc
and more using it, so let's make it public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-14 15:54:31 +02:00
MichaIng
21b3e87c77
Allow SSO authentication to provide a user secret
...
Implementing PR #24837 from immerda
Signed-off-by: MichaIng <micha@dietpi.com>
2022-07-12 19:19:00 +02:00
Côme Chilliet
c20d34b2ca
Merge pull request #32552 from nextcloud/enh/improve-job-handling-commands
...
Improve job handling through occ
2022-07-12 16:04:57 +02:00