aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(Security): add Factory for IP addresses and rangesBenjamin Gaussorgues2024-07-191-0/+2
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-191-2/+5
| | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): restrict admin actions to IP rangesBenjamin Gaussorgues2024-07-191-1/+3
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #46398 from nextcloud/fix/46165/token-raceArthur Schiwon2024-07-111-1/+1
|\ | | | | fix(Session): avoid race conditions on clustered setups
| * fix(Session): avoid race conditions on clustered setupsArthur Schiwon2024-07-101-1/+1
| | | | | | | | | | | | | | | | - re-stablishes old behaviour with cache to return null instead of throwing an InvalidTokenException when the token is cached as non-existing - token invalidation and re-generation are bundled in a DB transaction now Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-091-0/+2
|/ | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-49/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: register DI alias for IFileAccessRobin Appelman2024-05-221-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-5/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also reset background color settings when updating global ↵Ferdinand Thiessen2024-05-211-2/+5
| | | | | | background image Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Wire-up the new classesMarcel Klehr2024-05-141-0/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: Lazy load IURLGenerator from AppManager to avoid installation crashCôme Chilliet2024-04-221-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Migrate a few more classes away from OC_App::getAppPathCôme Chilliet2024-04-221-1/+2
| | | | | | Also fixed AppTest Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Make sure that AppManager can be built before Nextcloud is installedCôme Chilliet2024-04-221-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #40125 from summersab/refactor/OC-Server-getThemingDefaultsJohn Molakvoæ2024-03-151-1/+1
|\
| * Merge branch 'master' into refactor/OC-Server-getThemingDefaultsJohn Molakvoæ2024-03-151-33/+25
| |\
| * \ Merge branch 'master' into refactor/OC-Server-getThemingDefaultsJohn Molakvoæ2024-02-231-27/+61
| |\ \ | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | Refactor `OC\Server::getThemingDefaults`Andrew Summers2023-08-291-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | | Refactor `OC\Server::getLockdownManager`Andrew Summers2024-03-151-1/+1
| |_|/ |/| | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | feat: Add declarative settingsjld31032024-03-121-0/+4
| | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> Signed-off-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | | feat(appconfig): switching integrity check to lazy config valuesMaxence Lange2024-03-111-2/+3
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | feat(files): copy live photosMaxence Lange2024-03-081-1/+2
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | feat(AppManager): Provide `getAppIcon` functionFerdinand Thiessen2024-03-071-1/+2
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | refactor: make share manager buildableRobin Appelman2024-03-061-27/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #43471 from nextcloud/cache-path-by-idRobin Appelman2024-03-051-1/+4
|\ \ \ | | | | | | | | Cache path by id
| * | | perf: cache path by id to speedup getting nodes by idRobin Appelman2024-03-041-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | feat: Implement team provider apiJulius Härtl2024-03-051-0/+3
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #43428 from nextcloud/feat/share-expiration-with-timeBenjamin Gaussorgues2024-02-261-1/+2
|\ \ \
| * | | feat(share): save date and time for expirationBenjamin Gaussorgues2024-02-221-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | Merge pull request #40135 from summersab/refactor/OC-Server-getEventLoggerJohn Molakvoæ2024-02-231-1/+1
|\ \ \
| * | | Refactor `OC\Server::getEventLogger`Andrew Summers2024-02-231-1/+1
| |/ / | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* / / Refactor `OC\Server::getTrustedDomainHelper`Andrew Summers2024-02-231-1/+1
|/ / | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | feat: rename users to account or personVincent Petry2024-02-131-1/+1
| | | | | | | | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | chore: Deprecate OC_App::loadApps and add missing return type in ServerCôme Chilliet2024-02-081-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Add references to phpdoc deprecation notice for IL10NCôme Chilliet2024-02-051-1/+1
| | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | Make it clear in the deprecation comment that DI is preferredCôme Chilliet2024-02-051-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use OCP\Util::getL10N instead of OC::$server->getL10NCôme Chilliet2024-02-051-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Fix DI for integrity checker before installationCôme Chilliet2024-01-301-1/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | blurhash generationMaxence Lange2024-01-051-0/+2
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #41998 from nextcloud/enh/read-replicaDaniel2023-12-271-2/+1
|\ \
| * | enh: Implement PrimaryReadReplicaConnectionJulius Härtl2023-12-161-2/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | restore shared lock ttl when releasingRobin Appelman2023-12-211-1/+3
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-9/+9
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | fix(ocp): register IAvailabilityCoordinator service aliasRichard Steinmetz2023-11-151-0/+4
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-8/+0
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | IFilesMetadataMaxence Lange2023-11-071-0/+5
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #40326 from nextcloud/enh/text-to-image-apiJoas Schilling2023-10-261-0/+2
|\ \ | | | | | | Implement TextToImage OCP API
| * | fix(TextToImage): Add autoloader changes and registerAliasMarcel Klehr2023-10-191-0/+2
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | feat(profile): Add public interface for profile manager so apps can check configJoas Schilling2023-10-231-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add OCP interface for SetupCheckManagerCôme Chilliet2023-10-191-0/+4
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>