Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 3 | -3/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 2 | -3/+3 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 9 | -181/+29 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | fix: Apply new coding standard to all files | Côme Chilliet | 2024-04-02 | 2 | -10/+10 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 1 | -1/+1 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | optimize builtin storage wrappers | Robin Appelman | 2023-11-08 | 3 | -2/+51 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #39044 from nextcloud/more-empty-mount-checking | Robin Appelman | 2023-10-24 | 1 | -1/+10 |
|\ | | | | | Fix root mounts not being setup in some cases | ||||
| * | add more checks to ensure mounts aren't empty | Robin Appelman | 2023-09-12 | 1 | -1/+10 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | enh(IMountManager): Add method to get MountPoint from CachedMountInfo | Jonas | 2023-10-23 | 1 | -0/+19 |
| | | | | | | | | Signed-off-by: Jonas <jonas@freesources.org> | ||||
* | | Convert isset ternary to null coalescing operator | Hamid Dehnavi | 2023-09-28 | 2 | -2/+2 |
|/ | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> | ||||
* | expose MovableMount in public interface | Robin Appelman | 2023-07-28 | 1 | -1/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 2 | -2/+2 |
| | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | Use typed version of IConfig::getSystemValue as much as possible | Côme Chilliet | 2023-04-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix tests | Robin Appelman | 2023-02-07 | 1 | -3/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | cache numeric id in mountpoint | Robin Appelman | 2023-02-06 | 1 | -1/+5 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | deduplicate getStorage() logic in Mount\Manager | Robin Appelman | 2023-02-06 | 1 | -9/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | dont delegate Mount\Manager::getByNumericId to getByStorageId | Robin Appelman | 2023-02-06 | 1 | -2/+7 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Move CappedMemoryCache to OCP | Carl Schwan | 2022-07-14 | 1 | -1/+1 |
| | | | | | | | | 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> | ||||
* | Fix docblock for return type | Daniel Kesselberg | 2022-05-27 | 1 | -1/+0 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Migrate more classes of lib/private to LoggerInterface | Côme Chilliet | 2022-04-26 | 2 | -6/+6 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | don't do a full setup for `findByStorageId` | Robin Appelman | 2022-04-04 | 1 | -1/+0 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | allow getting mounts by providers | Robin Appelman | 2022-04-04 | 1 | -0/+18 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger | Côme Chilliet | 2022-03-29 | 1 | -4/+3 |
|\ | | | | | Migrate from ILogger to LoggerInterface in lib/private | ||||
| * | Migrate from ILogger to LoggerInterface in lib/private | Côme Chilliet | 2022-03-24 | 1 | -4/+3 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | setup only relevant mounts when possible | Robin Appelman | 2022-03-24 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | type fixes | Robin Appelman | 2022-03-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | simplify setup of circular SetupManager<->Manager | Robin Appelman | 2022-03-04 | 1 | -11/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | add template annotations to CappedMemoryCache | Robin Appelman | 2022-03-04 | 1 | -6/+8 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | move logic to decide what to setup to setupmanager | Robin Appelman | 2022-03-04 | 1 | -20/+7 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | move teardown logic to SetupManager | Robin Appelman | 2022-03-04 | 1 | -3/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | start moving filesystem setup logic to it's own place | Robin Appelman | 2022-03-04 | 1 | -4/+14 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | more type hints for ICachedMountInfo and IMountManager | Robin Appelman | 2022-03-04 | 1 | -8/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #31266 from nextcloud/root-setup-mountprovider | Robin Appelman | 2022-03-04 | 1 | -0/+103 |
|\ | | | | | move root mount setup to mountproviders | ||||
| * | move root mount setup to mountproviders | Robin Appelman | 2022-02-24 | 1 | -0/+103 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Don't set up full filesystem to check for certificates | Joas Schilling | 2022-02-26 | 1 | -0/+3 |
|/ | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | store mountprovider for each mount in the mounts table | Robin Appelman | 2022-02-23 | 5 | -7/+36 |
| | | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only setup part of the filesystem for appdata requests | Robin Appelman | 2022-02-09 | 1 | -2/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Implement multibucket shift for ObjectStore | John Molakvoæ | 2021-11-11 | 1 | -1/+1 |
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* | handle case where storage can't be created in getStorageRootId | Robin Appelman | 2021-06-17 | 1 | -1/+7 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 7 | -8/+1 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | getStorage can also return null | Robin Appelman | 2021-03-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update all license headers for Nextcloud 21 | Christoph Wurst | 2020-12-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | set the mount id before calling storage wrapper | Robin Appelman | 2020-08-31 | 1 | -1/+1 |
| | | | | | | this allows the storage wrapper to use the mount id for it's own logic Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update the license headers for Nextcloud 20 | Christoph Wurst | 2020-08-24 | 1 | -0/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Add config option to enable multibucket preview distribution | Morris Jobke | 2020-08-06 | 1 | -0/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use fixed preview buckets that are postfixed with -preview-NUMBER | Morris Jobke | 2020-08-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Mount the old previews in a separate folder for the multi bucket setup and ↵ | Morris Jobke | 2020-08-06 | 1 | -3/+48 |
| | | | | | | check in them before using the actual locations Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Distribute preview folders in appdata in multibucket setup to multiple buckets | Morris Jobke | 2020-08-06 | 1 | -0/+102 |
| | | | | | | | | | * introduces a new IRootMountProvider to register mount points inside the root storage * adds a AppdataPreviewObjectStoreStorage to handle the split between preview folders and bucket number Ref #22033 Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | ensure home storage is initialized on first setup | Robin Appelman | 2020-07-09 | 2 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Format control structures, classes, methods and function | Christoph Wurst | 2020-04-10 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> |