summaryrefslogtreecommitdiffstats
path: root/lib/composer
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #27929 from nextcloud/enh/allowSsoToProvideSecretblizzz2022-07-182-0/+2
|\ | | | | Allow SSO authentication to provide a user secret
| * Allow SSO authentication to provide a user secretMichaIng2022-07-122-0/+2
| | | | | | | | | | | | Implementing PR #24837 from immerda Signed-off-by: MichaIng <micha@dietpi.com>
* | Move CappedMemoryCache to OCPCarl Schwan2022-07-142-0/+2
|/ | | | | | | | 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>
* Merge pull request #32552 from nextcloud/enh/improve-job-handling-commandsCôme Chilliet2022-07-122-0/+2
|\ | | | | Improve job handling through occ
| * Add command to list jobsCôme Chilliet2022-07-112-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #32973 from nextcloud/cleanup/avatar-codeCarl Schwan2022-07-112-0/+6
|\ \ | |/ |/| Cleanup avatar related code
| * Make Color class publicCarl Schwan2022-07-052-0/+2
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Cleanup avatar related codeCarl Schwan2022-06-222-0/+4
| | | | | | | | | | | | | | | | - Move event listener to new event handling - Add typing almost everywhere - Fix inconsistent interface parameter Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #33007 from nextcloud/cleanup/federation-appCarl Schwan2022-06-282-0/+2
|\ \ | | | | | | Summer cleanup of the federation app
| * | Summer cleanup of the federation appCarl Schwan2022-06-242-0/+2
| |/ | | | | | | | | | | | | | | | | | | - Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* / Add comments expire dateVitor Mattos2022-06-152-0/+2
|/ | | | | | https://github.com/nextcloud/spreed/pull/7327 Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add password reset typed eventsThomas Citharel2022-06-102-0/+4
| | | | | | These hooks are only used in the Encryption app from what I can see. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add new share attributes columnVincent Petry2022-06-082-0/+2
| | | | | | To store more extended permissions in the future. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #26582 from nextcloud/enhancement/logger-functionChristoph Wurst2022-06-073-0/+33
|\ | | | | Add a helper function that makes it easier to log from anywhere
| * Add a helper function that makes it easier to log from anywhereChristoph Wurst2022-05-233-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our DI is able to inject a logger implementation to any server and app class if they want one. However, sometimes DI isn't applicable or hard to add. In those cases we typically fell back to the *service locator* pattern where we acquired a logger from the server via a global variable. There were some issues with that * `\OC` is a private class, apps are not supposed to use it * `\OC::$server` is a global variable, a well known anti-pattern * `\OC::$server->get(...)` uses the service locator anti-pattern * `\OC::$server->get(...)` may throw * `\OC::$server->get(LoggerInterface::class)` is not scoped to an app With this patch I'm proposing a new helper function ``\OCP\Log\logger`` that can be used to acquire a logger more easily. This function is meant to be public API and therefore apps may use it and there is an optional parameter to specifiy the app ID. The function hides all the ugly details about the global variable and the potentially thrown exceptions from the user. Therefore it's guaranteed that you always get a logger instance. In the worst case you get a noop, though those occasions should be rare. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add the ISizeEstimationMigrator interface for method getExportEstimatedSizeCôme Chilliet2022-05-302-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #32349 from nextcloud/enh/projects-eventCarl Schwan2022-05-272-0/+2
|\ \ | | | | | | Add event to load additional scripts for projects
| * | Introduce event for loading additional script on projectsJulius Härtl2022-05-122-0/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add API to change preferencesJoas Schilling2022-05-232-0/+4
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Cleanup and compileJohn Molakvoæ2022-05-133-10/+10
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Remove SCSSCacherJohn Molakvoæ2022-05-133-8/+6
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Make it possible to get the appdata folder using the public APICarl Schwan2022-05-112-0/+2
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #32326 from nextcloud/fix/icons-cacherJohn Molakvoæ2022-05-112-4/+0
|\
| * Compile themingJohn Molakvoæ2022-05-112-4/+0
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Add a public replacement for OC::$server->getCarl Schwan2022-05-102-0/+2
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31752 from nextcloud/fix/remove-still-more-iloggerCôme Chilliet2022-05-022-2/+0
|\ | | | | Move away from deprecated ILogger
| * Remove unused class SearchResultSorterCôme Chilliet2022-04-262-2/+0
| | | | | | | | | | | | Was used in ajax/share.php which does not exists anymore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #31703 from nextcloud/techdebt/noid/emojihelper-interfaceJoas Schilling2022-04-292-2/+4
|\ \ | | | | | | Emojihelper interface
| * | Extract the EmojiService from user status and add an OCP interfaceJoas Schilling2022-04-282-2/+4
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Remove deprecated occ app:check-code commandCôme Chilliet2022-04-282-2/+0
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix mexitek/phpcolorsJohn Molakvoæ2022-04-2626-1727/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #32082 from nextcloud/directory-content-lazy-ownerVincent Petry2022-04-252-0/+2
|\ | | | | use a lazy user for the file owner when listing a directory
| * Use a lazy user for the file owner when listing a directoryRobin Appelman2022-04-222-0/+2
| | | | | | | | | | | | | | 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>
* | Fix older migrations to the version patternJoas Schilling2022-04-252-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add missing indexJoas Schilling2022-04-253-1/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31751 from nextcloud/theming-providersJohn Molakvoæ2022-04-2227-11/+1732
|\
| * Ship mexitek/phpcolorsJohn Molakvoæ2022-04-2127-11/+1732
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Cache display nameCarl Schwan2022-04-222-0/+2
|/ | | | | | | | 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>
* Fix an issue with the search backend updateCarl Schwan2022-04-146-25/+13
| | | | | | And update autoloader Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add a metadata service to store file metadataCarl Schwan2022-04-138-12/+47
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31848 from ↵Carl Schwan2022-04-112-0/+2
|\ | | | | | | | | nextcloud/performance/trottling-capability-frontent Don't inject Bruteforce capability info in the webui
| * Don't inject Bruteforce capability info in the webuiCarl Schwan2022-04-072-0/+2
| | | | | | | | | | | | | | 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>
* | Merge pull request #31676 from nextcloud/enh/ocp-owner-lockVincent Petry2022-04-082-0/+14
|\ \ | | | | | | Add public API for owner based file locking
| * | Adapt LockScope to LockContext renameJulius Härtl2022-04-072-2/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Add public API for owner based lockingJulius Härtl2022-04-042-0/+14
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #31713 from nextcloud/fed-performanceRobin Appelman2022-04-072-0/+2
|\ \ \ | | | | | | | | Federated share performance improvements
| * | | don't overwrite the etag from storage backends that already provide "good" etagsRobin Appelman2022-04-042-0/+2
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31833 from nextcloud/profile-db-backtraceCarl Schwan2022-04-072-0/+2
|\ \ \ | | | | | | | | record backtrace when profiling db requests
| * | | record backtrace when profiling db requestsRobin Appelman2022-04-042-0/+2
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / split out some path manipulation logicRobin Appelman2022-04-042-0/+2
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>