Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore(db): Apply query prepared statementsdbQueriesExecStmt2 | Git'Fellow | 2024-10-17 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm | ||||
* | chore: Add proper deprecation dates where missing | Ferdinand Thiessen | 2024-09-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix: verify that parent exists in cache when inserting | Robin Appelman | 2024-09-18 | 1 | -0/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #47852 from nextcloud/sharding-code-fixes | John Molakvoæ | 2024-09-16 | 1 | -1/+1 |
|\ | |||||
| * | fix: misc code fixes around db shardingsharding-code-fixes | Robin Appelman | 2024-09-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix(files): Adjust Cache::searchQuery() parameter name to match interface | provokateurin | 2024-09-13 | 1 | -2/+2 |
|/ | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore: Apply php:cs recommendations | Louis Chemineau | 2024-08-28 | 1 | -9/+9 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: hint storage id in more places | Robin Appelman | 2024-08-28 | 1 | -2/+5 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: implement distributing partitioned queries over multiple shards | Robin Appelman | 2024-08-28 | 1 | -4/+92 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | fix: always set storage id in Cache::get | Robin Appelman | 2024-07-17 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: add set storage id for more cache queries | Robin Appelman | 2024-07-17 | 1 | -0/+5 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: add base class for extending the query builder | Robin Appelman | 2024-07-12 | 1 | -3/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: get child ids for folder in a separate query during move | Robin Appelman | 2024-06-13 | 1 | -4/+21 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(files): Use isRetryable to catch retryable exceptions | Louis Chemineau | 2024-06-11 | 1 | -2/+6 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 1 | -37/+4 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | perf(db): Sort data for IN before chunking | Christoph Wurst | 2024-04-26 | 1 | -0/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadata | Maxence Lange | 2024-04-17 | 1 | -2/+2 |
|\ | | | | | enh(metadata): migrate metadata to lazy appconfig | ||||
| * | migrate metadata to lazy appconfig | Maxence Lange | 2024-02-14 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | | fix: Apply new coding standard to all files | Côme Chilliet | 2024-04-02 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | feat(files)): Add retry logic to cover deadlock situations when moving many ↵ | Louis Chemineau | 2024-03-28 | 1 | -6/+25 |
| | | | | | | | | | | | | files Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | fix(filecache): Move from array_merge to avoid memory exhaustion | Git'Fellow | 2024-03-04 | 1 | -2/+7 |
|/ | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | improve di performance for cache | Robin Appelman | 2024-02-09 | 1 | -44/+36 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #41272 from nextcloud/fixOccScans | Git'Fellow | 2023-11-28 | 1 | -3/+6 |
|\ | | | | | fix: reduce memory consumption of scans | ||||
| * | fix: reduce memory consumption of scans | Git'Fellow | 2023-11-03 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.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> | ||||
* | | refactor: Repalce array_search with in_array in lib/ | Christoph Wurst | 2023-11-22 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | | ignore metadata if table is empty | Maxence Lange | 2023-11-14 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | | Support getting and setting metadata in DAV requests | Louis Chemineau | 2023-11-08 | 1 | -2/+9 |
|/ | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: Prevent PHP warnings when optional CacheEntry attributes are unset | Ferdinand Thiessen | 2023-08-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | select the fileid first when looking for incomplete files | Robin Appelman | 2023-08-14 | 1 | -5/+9 |
| | | | | | | this seems to improve mariadbs index selection Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: simplify `sourceData` check | John Molakvoæ | 2023-08-05 | 1 | -1/+1 |
| | | | | Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> | ||||
* | Catch more invalid cache source storage paths | Josh Richards | 2023-08-03 | 1 | -1/+1 |
| | | | | | | | | | | OC\Files\Cache\Cache::get can return string|false|null, not just string|false. - nextcloud/server#26270 added handling of false, but null is needed too. - Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason Related: nextcloud/server#19009 Signed-off-by: Josh Richards <josh.t.richards@gmail.com> | ||||
* | chore: Replace \OC::$server->query with \OCP\Server::get in /lib | Christoph Wurst | 2023-07-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | chore: Drop dead private methods in /lib | Christoph Wurst | 2023-06-06 | 1 | -13/+0 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_private | Robin Appelman | 2023-06-01 | 1 | -1/+1 |
|\ | | | | | Refactors "strpos" calls in lib/private to improve code readability. | ||||
| * | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | | Fix return types in phpdoc | Côme Chilliet | 2023-05-15 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Get rid of more int casts in file size manipulations | Côme Chilliet | 2023-05-11 | 1 | -6/+7 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix type hints | Robin Appelman | 2023-04-04 | 1 | -5/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix unencrypted folder size when no children with unencrypted size set are left | Robin Appelman | 2023-04-04 | 1 | -1/+24 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix unencrypted_size for folders when scanning the filesystem with ↵ | Robin Appelman | 2023-04-04 | 1 | -3/+5 |
| | | | | | | encryption enabled Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | clear encrypted flag when moving away from encrypted storage | Robin Appelman | 2023-04-01 | 1 | -0/+22 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #34773 from ↵ | Côme Chilliet | 2023-03-21 | 1 | -1/+19 |
|\ | | | | | | | | | nextcloud/artonge/feat/dispatch_entry_removed_event_for_all_entries Dispatch event for all removed entries | ||||
| * | Dispatch event for all remove entry | Louis Chemineau | 2023-01-31 | 1 | -1/+19 |
| | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | Make sure name and path are strings | Joas Schilling | 2023-02-02 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Otherwise Oracle returns NULL for empty strings and PHP 8.2 throws on null in string functions like trim() and md5() Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Try fixing Oracle | Joas Schilling | 2023-02-02 | 1 | -1/+6 |
|/ | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix updating size when folder is empty | Robin Appelman | 2022-08-16 | 1 | -13/+17 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | store unencrypted size in the unencrypted_size column | Robin Appelman | 2022-08-16 | 1 | -8/+39 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Revert "store unencrypted size in the unencrypted_size column" | Robin Appelman | 2022-08-16 | 1 | -30/+5 |
| | | | | | | This reverts commit 8238582e59b7b6ec03318bcf81bf47cce54af320. Signed-off-by: Robin Appelman <robin@icewind.nl> |