aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* add marker interface to mark system mount points for encryptionRobin Appelman2022-08-251-0/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #33593 from nextcloud/improve-binary-cachingCarl Schwan2022-08-242-0/+65
|\ | | | | Move findBinaryFinder and isFunctionEnabled away from OC_Helper
| * Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-232-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan2022-08-234-25/+62
|\ \ | | | | | | Deprecated ILogger from IJob
| * | Port existing server code to new interfaceCarl Schwan2022-08-082-1/+2
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Deprecated ILogger from IJobCarl Schwan2022-08-084-25/+61
| | | | | | | | | | | | | | | | | | | | | Since the ILogger will be soon removed we need to ensure that nothing in the public api use it. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32162 from nextcloud/enh/session-reopenVincent Petry2022-08-231-0/+8
|\ \ \ | | | | | | | | Avoid locking the php session
| * | | Reopen sessions if we need to write to them instead of keeping them openJulius Härtl2022-08-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sessions are a locking operation until we write close them, so close them early and reopen later in case we want to write to them Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Support iMIP invitations from MailAnna Larch2022-08-222-0/+23
|/ / / | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Merge pull request #32943 from ↵Vincent Petry2022-08-173-48/+36
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/unencrypted-size-revert-interface-changes Revert interface changes from "store unencrypted size in the unencrypted_size column"
| * | | store unencrypted size in the unencrypted_size columnRobin Appelman2022-08-161-0/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Revert "store unencrypted size in the unencrypted_size column"Robin Appelman2022-08-161-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8238582e59b7b6ec03318bcf81bf47cce54af320. Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Revert "add case statement to sql function builder"Robin Appelman2022-08-161-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Revert "make expression build return IQueryFunction instead of string"Robin Appelman2022-08-162-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 813b50ed428a8bc36817d19c84444e96dbe3b668. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Make DisplayNameCache return null if user doesn't existsCarl Schwan2022-08-161-4/+2
| |_|/ |/| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge branch 'master' into display-name-cache-publicCarl Schwan2022-08-1546-289/+1319
|\| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan2022-08-083-149/+3
| |\ \ | | | | | | | | Remove OCP\App and OCP\BackgroundJob
| | * | Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-013-149/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Merge pull request #33398 from nextcloud/enh/noid/sensitive-methods-appsVincent Petry2022-08-051-0/+11
| |\ \ \ | | |_|/ | |/| | allow apps to specify methods carrying sensitive parameters
| | * | allow apps to specify methods carrying sensitive parametersArthur Schiwon2022-07-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | … in order to remove them from logging. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | Document all getIncomplete implementations as returning string|falseCôme Chilliet2022-08-021-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Multiple fixesCarl Schwan2022-07-312-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Fix view-only code after code review commentsVincent Petry2022-07-281-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | | Fix share attribute related tests + code styleVincent Petry2022-07-282-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | | Add share attributes + prevent download permissionVincent Petry2022-07-282-1/+94
| | |/ | |/| | | | | | | | | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | Add a public interface for the bruteforce throttler and register for injectionJoas Schilling2022-07-281-0/+126
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-262-10/+4
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | Recursively fetch subsharesLouis Chemineau2022-07-261-0/+8
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Fix reading blob data as resourceThomas Citharel2022-07-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB (which is used for QBMapper). Previously we just converted this resource using settype, which produced things like "Resource id #14" instead of the actual resource data. Now we read the stream correctly if the returned data is a resource See context at #22472 Fixes #22439 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * Merge pull request #32981 from nextcloud/typing/carl/simplefsCarl Schwan2022-07-184-43/+24
| |\ | | | | | | Add typing to SimpleFS
| | * Add typing to SimpleFSCarl Schwan2022-07-144-43/+24
| | | | | | | | | | | | | | | | | | - Fix putContent sometimes return a bool and sometimes nothing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Merge pull request #27929 from nextcloud/enh/allowSsoToProvideSecretblizzz2022-07-181-0/+41
| |\ \ | | | | | | | | Allow SSO authentication to provide a user secret
| | * | Allow SSO authentication to provide a user secretMichaIng2022-07-121-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | Implementing PR #24837 from immerda Signed-off-by: MichaIng <micha@dietpi.com>
| * | | Move CappedMemoryCache to OCPCarl Schwan2022-07-141-0/+160
| |/ / | | | | | | | | | | | | | | | | | | | | | 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-121-27/+27
| |\ \ | | | | | | | | Improve job handling through occ
| | * | Fix typing in IJobListCôme Chilliet2022-07-111-18/+16
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * | Code cleaning of Background/ListCommandCôme Chilliet2022-07-111-9/+9
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * | Add command to list jobsCôme Chilliet2022-07-111-8/+10
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Merge pull request #32973 from nextcloud/cleanup/avatar-codeCarl Schwan2022-07-114-31/+170
| |\ \ \ | | |/ / | |/| | Cleanup avatar related code
| | * | Make Color class publicCarl Schwan2022-07-053-6/+146
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| | * | Cleanup avatar related codeCarl Schwan2022-06-222-25/+24
| | |/ | | | | | | | | | | | | | | | | | | | | | - 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 #32865 from nextcloud/bugfix/remove-unecessary-rowblizzz2022-07-081-2/+2
| |\ \ | | | | | | | | Remove unecessary row and make compatible with db schema
| | * | Set as optional argumentVitor Mattos2022-06-131-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| | * | Remove unecessary row and make compatible with db schemaVitor Mattos2022-06-131-2/+2
| | |/ | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Allow to expire comments of multiple objects with one callJoas Schilling2022-07-011-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add status automationJoas Schilling2022-07-011-0/+12
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Merge pull request #33007 from nextcloud/cleanup/federation-appCarl Schwan2022-06-281-0/+48
| |\ \ | | | | | | | | Summer cleanup of the federation app
| | * | Summer cleanup of the federation appCarl Schwan2022-06-241-0/+48
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
| * | Merge pull request #32863 from nextcloud/feature/add-comments-expire-dateblizzz2022-06-242-0/+28
| |\ \ | | | | | | | | Add comments expire date
| | * | Add comments expire dateVitor Mattos2022-06-152-0/+28
| | |/ | | | | | | | | | | | | | | | https://github.com/nextcloud/spreed/pull/7327 Signed-off-by: Vitor Mattos <vitor@php.rio>