Carl Schwan
aafaa39515
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-08-03 13:24:38 +02:00
Vincent Petry
f1ab964819
Add share attributes + prevent download permission
...
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:13 +02:00
Côme Chilliet
38eb0df671
Fix autoloader
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01 15:13:34 +02:00
Vincent Petry
87d8afcb62
Add new share attributes column
...
To store more extended permissions in the future.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-08 09:21:42 +00:00
Côme Chilliet
5a7752dcfa
Add the ISizeEstimationMigrator interface for method getExportEstimatedSize
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-31 00:19:13 +00:00
Vincent Petry
af4258436b
Merge pull request #32118 from nextcloud/backport/32082/stable24
...
[stable24] use a lazy user for the file owner when listing a directory
2022-04-25 16:27:28 +02:00
Vincent Petry
59bff4746f
Merge pull request #32119 from nextcloud/backport/32112/stable24
...
[stable24] Add missing index for oc_mounts queries
2022-04-25 16:25:51 +02:00
Robin Appelman
79672ed6d6
Use a lazy user for the file owner when listing a directory
...
Only getUID and getDisplayName are called on the file owner objects anyway
and we can get this information often without DB request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-25 14:59:29 +02:00
Joas Schilling
c877bd3f7e
Fix older migrations to the version pattern
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 12:44:05 +02:00
Joas Schilling
723814c0fd
Add missing index
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 12:44:00 +02:00
Carl Schwan
3d49fe473a
Cache display name
...
This should saves some query in the share backend when displaying the
owner and it's not important if the display name is 10 minutes outdated
as it is very rare that this gets changed.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 15:22:16 +02:00
Carl Schwan
1c7ecfc544
Fix an issue with the search backend update
...
And update autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +02:00
Carl Schwan
7817845538
Add a metadata service to store file metadata
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +02:00
Carl Schwan
682468ef5c
Merge pull request #31848 from nextcloud/performance/trottling-capability-frontent
...
Don't inject Bruteforce capability info in the webui
2022-04-11 10:50:52 +02:00
Vincent Petry
0d7d28e530
Merge pull request #31676 from nextcloud/enh/ocp-owner-lock
...
Add public API for owner based file locking
2022-04-08 17:43:26 +02:00
Robin Appelman
9834350ac3
Merge pull request #31713 from nextcloud/fed-performance
...
Federated share performance improvements
2022-04-07 18:53:36 +00:00
Carl Schwan
69b36fc2c5
Don't inject Bruteforce capability info in the webui
...
This capability do DB access and as far I know is not used by the webui.
This remove one DB query for each page load.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 17:33:29 +02:00
Julius Härtl
9b408d556d
Adapt LockScope to LockContext rename
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-07 11:52:16 +02:00
Carl Schwan
acacb42487
Merge pull request #31833 from nextcloud/profile-db-backtrace
...
record backtrace when profiling db requests
2022-04-07 10:30:52 +02:00
Robin Appelman
1537c3d23b
record backtrace when profiling db requests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 18:12:30 +02:00
Robin Appelman
89d3cd1447
don't overwrite the etag from storage backends that already provide "good" etags
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 16:48:18 +02:00
Robin Appelman
700444e218
split out some path manipulation logic
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 15:40:12 +02:00
Carl Schwan
135bdb3d58
Merge pull request #30823 from nextcloud/work/profiler
...
Built-in profiler
This adds the required API for collecting information about requests. This information
can then be displayed with the new 'profiler' app.
2022-04-04 12:56:37 +02:00
Carl Schwan
7d272c54d0
Add a built-in profiler inside Nextcloud
...
The webui is provided by a seperate application named profiler
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-04 10:28:26 +02:00
Julius Härtl
40f1ad60c2
Add public API for owner based locking
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-04 09:02:56 +02:00
Côme Chilliet
d84e87eab9
Build autoloader with new composer version
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 15:40:23 +02:00
Louis
9db75dbe5a
Merge pull request #30276 from nextcloud/feature/add_oauth2_migration
...
Add oauth2_clients migration for Owncloud
2022-03-28 11:14:49 +02:00
Vincent Petry
a7e778b57f
Merge pull request #31265 from nextcloud/fs-limited-setup
...
Fine grained filesystem setup
2022-03-24 21:08:15 +01:00
Louis Chemineau
c5722869be
Add oauth2_clients migration for Owncloud
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-24 18:08:43 +01:00
Robin Appelman
6b085b6fd1
add logic to perform a full filesystem setup when needed
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:10 +01:00
Joas Schilling
3b24a4f217
Fix autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 16:07:26 +01:00
Joas Schilling
0acd4b5f82
Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-id
...
Extract request id handling to dedicated class so it can be injected without DB dependency
2022-03-22 12:08:45 +01:00
Carl Schwan
34988cff19
Merge pull request #24166 from nextcloud/imaginary-prototype
...
Send images to Imaginary docker to generate previews
2022-03-18 12:32:56 +01:00
Vincent Petry
9b6a1cc8ae
Send images to imaginary docker to generate previews
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
2022-03-17 08:24:07 +01:00
Côme Chilliet
1973b2fb75
Fix autoloader and phpdoc for new class
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:34:15 +01:00
Robin Appelman
07a7dcb824
move user mountpoint setup to setupmanager
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:12 +01:00
Robin Appelman
1c468129af
adjust tests to new fs setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:59 +01:00
Robin Appelman
5c0fe93498
move teardown logic to SetupManager
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:50 +01:00
Joas Schilling
67452b94ca
Update autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25 10:38:12 +01:00
Robin Appelman
8b7c8447a0
move root mount setup to mountproviders
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-24 17:21:42 +01:00
Robin Appelman
cfb7923e08
store mountprovider for each mount in the mounts table
...
this enabled more fine grained filesystem setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-23 18:02:33 +01:00
Côme Chilliet
5b565a4726
Merge pull request #31173 from nextcloud/enhancement/user_migration-version-handling
...
Add version handling to IMigrator
2022-02-22 09:02:34 +01:00
Côme Chilliet
09cf851979
Update autoload
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 16:24:36 +01:00
Christoph Wurst
cb252c5591
Add Transactional trait for atomic DB operations
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-17 09:58:41 +01:00
Christopher Ng
e3244361ba
Allow registration of migrators
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Joas Schilling
b765f79368
Allow apps to specify if their background job can be delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +01:00
Christoph Wurst
2c356d0852
Add a Talk API for OCP
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-04 08:53:18 +01:00
Joas Schilling
fcb3e9a071
Add a primary key to ratelimit_entries table
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-28 16:55:16 +01:00
Vitor Mattos
ab630f2cab
Fix conflict
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:41 -03:00
Vitor Mattos
b845042a67
Update composer autoload and change string to constant
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:07 -03:00