Robin Appelman
9735b5d61f
Add method to storage backends to get directory content with metadata
Currently you need to use `opendir` and then call `getMetadata` for
every file, which adds overhead because most storage backends already
get the metadata when doing the `opendir`.
While storagebackends can (and do) use caching to relief this problem,
this adds cache invalidation dificulties and only a limited number of
items are generally cached (to prevent memory usage exploding when
scanning large storages)
With this new methods storage backends can use the child metadata they
got from listing the folder to return metadata without having to keep
seperate caches.
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Robin Appelman
2f949f4515
rename Jail::getSourcePath to getUnjailedPath to fix conflict with Local::getSourcePath
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Robin Appelman
5d0897b8d7
use unmasked permissions in shared scanner
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
10 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
813f0a0f40
Fix apps/
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
3a716ae91c
Move lib/ to PSR-4
10 years ago
Roeland Jago Douma
354329acf2
Cleanup Files_Sharing CLASSPATH
* OC\Files\Cache\SharedScanner
* OC\Files\Cache\Shared_Cache
* OC\Files\Cache\Shared_Permissions
* OC\Files\Cache\Shared_Updater
* OC\Files\Cache\Shared_Watcher
* OCA\Files\Share\Maintainer
* OCA\Files\Share\Proxy
10 years ago
Roeland Jago Douma
c98fef8a51
Fix resolve path
10 years ago
Roeland Jago Douma
6123badbfa
Move SharedStorage et al over to the shareManager and jail
10 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
10 years ago
Robin Appelman
30d6222e64
handle noopscanner in shared scanner
10 years ago
Robin Appelman
5fae07f422
add scanner interface
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Vincent Petry
a9f0582e3e
Use source storage permissions when scanning shared storage
11 years ago
Vincent Petry
ca690c4d02
Added RepairStep interface and default repair step lists
The updater is using "before update" repair steps and "regular" repair
steps.
The "regular" repair steps are also used by the CLI tool.
Currently no steps exist but can be added later in the static methods in
the \OC\Repair class.
Added unit test to test messaging, error and exception cases.
12 years ago
Jörn Friedrich Dreyer
5034bd1b12
minor phpdoc cleanup and imports
12 years ago
Andrew Brown
7a224f5762
Move new search results to 'lib/private/search'
12 years ago
Andrew Brown
c46d514733
Add audio and image result types
13 years ago
Jörn Friedrich Dreyer
afd24385a8
fix formatting
13 years ago
Andrew Brown
ac72828eae
Move to new namespace convention and add new result sub-classing
13 years ago
Bernhard Posselt
587a8df566
remove controller serializers
12 years ago
Bernhard Posselt
1d45239c65
adjust license headers to new mail address
12 years ago
Bernhard Posselt
80648da431
implement most of the basic stuff that was suggested in #8290
12 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
13 years ago
Thomas Müller
fde9cabe97
initial import of appframework
13 years ago
Bart Visscher
5bfe4adbaa
Whitespace cleanup
13 years ago
Thomas Tanghus
7f0c69eb0e
Added CRUDS permissions to the OCP namespace. Implements issue #345
13 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
14 years ago
Bart Visscher
0365f8fd01
Remove php close at end of file
14 years ago
Robin Appelman
7761765a4b
change licencing headers for sqlite3 driver
15 years ago
Robin Appelman
600219c8c0
sqlite3 driver for mdb2
the only problem that I found with it so far is that it gives a database locked error on login,
the rest seems to work fine but more testing is required.
15 years ago
Jakob Sack
132695ceb1
Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry.
15 years ago
Martin T. H. Sandsmark
64d4d57615
fix permissions, start to implement private data api
16 years ago
Robin
ede1c64edd
port OC_DB to MDB2
16 years ago