summaryrefslogtreecommitdiffstats
path: root/lib/composer
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[stable21] Hash job argument"John Molakvoæ2022-01-201-102/+11
|
* Update autoloadChristopher Ng2022-01-192-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-181-11/+102
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Normalize directory entries in Encoding wrapperVincent Petry2021-11-192-0/+2
| | | | | | | | | | | | Directory entry file names are now normalized in getMetaData(), getDirectoryContents() and opendir(). This makes the scanner work properly as it assumes pre-normalized names. In case the names were not normalized, the scanner will now skip the entries and display a warning when applicable. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add database ratelimiting backendLukas Reschke2021-09-132-2/+6
| | | | | | | In case no distributed memory cache is specified this adds a database backend for ratelimit purposes. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add missing files for Composer v2Christoph Wurst2021-08-161-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* better cleanup of user files on user deletionRobin Appelman2021-08-122-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Properly cleanup entries of WebAuthn on user deletionMorris Jobke2021-06-222-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not try to contact lookup server if not neededRoeland Jago Douma2021-04-292-0/+4
| | | | | | | In some cases (for example you never send data to the lookup server) there is no need for this job to even try. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* make ILDAPProviderFactory usable when there is no ldap setupRobin Appelman2021-04-012-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update autoloader for PlaceholderAvatarVincent Petry2021-03-292-0/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add OCC command to reset rendered textsDaniel Calviño Sánchez2021-03-222-0/+2
| | | | | | | | | | The command is meant to be used when the fonts used to render texts ("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf") are changed (for example, to add support for other scripts). The avatar and text file previews will be removed, so they will be generated again with the updated font when needed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add missing index on the user columnJoas Schilling2021-03-222-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-222-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* send share notification instead of erroring on duplicate shareRobin Appelman2021-03-152-0/+2
| | | | | | when creating a share that already exists, instead of erroring, resend the notifications Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a service to find out if a user knows another userJoas Schilling2021-03-112-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a KnownUsers database with modelJoas Schilling2021-03-113-2/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add repair job for unencoded calendarsArthur Schiwon2021-02-022-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #25360 from nextcloud/fix/update-autoloadersRoeland Jago Douma2021-01-282-1/+33
|\ | | | | Update all composer autoloader files
| * Update all composer autoloader filesChristoph Wurst2021-01-282-1/+33
| | | | | | | | | | | | The format changed between 2.0.8 and 2.0.9. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-282-2/+2
| | | | | | | | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | files: Create files from template APIJulius Härtl2021-01-282-0/+12
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Change license mail aliasJohn Molakvoæ (skjnldsv)2021-01-222-0/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Drop authtoken_version_indexRoeland Jago Douma2021-01-202-0/+2
| | | | | | | The index was used when deleting old tokens. On top of that the index is of course not that great since the version is either 1 or 2. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add support for webpRoeland Jago Douma2021-01-192-0/+2
| | | | | | | | | Including handling in OC_Image But also a preview provider Of course only works if your php actually supports webp Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25091 from ↵Christoph Wurst2021-01-142-0/+4
|\ | | | | | | | | nextcloud/enhancement/ocp-db-exception-abstraction Add our own DB exception abstraction
| * Add our own DB exception abstractionChristoph Wurst2021-01-122-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now our API exports the Doctrine/dbal exception. As we've seen with the dbal 3 upgrade, the leakage of 3rdparty types is problematic as a dependency update means lots of work in apps, due to the direct dependency of what Nextcloud ships. This breaks this dependency so that apps only need to depend on our public API. That API can then be vendor (db lib) agnostic and we can work around future deprecations/removals in dbal more easily. Right now the type of exception thrown is transported as "reason". For the more popular types of errors we can extend the new exception class and allow apps to catch specific errors only. Right now they have to catch-check-rethrow. This is not ideal, but better than the dependnecy on dbal. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add our own constants for db column typesChristoph Wurst2021-01-122-0/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-082-2/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Command: Add app password generationSean Molenaar2021-01-052-0/+2
| | | | Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
* Bump icewind/streams from 0.7.1 to 0.7.2Christoph Wurst2020-12-291-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* +ShareDeletedEventMaxence Lange2020-12-232-0/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add well known handlers APIChristoph Wurst2020-12-162-0/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Dump autoloaderJulius Härtl2020-12-092-14/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Readd repair steps that are relevant when migrating from ownCloudJulius Härtl2020-12-092-0/+14
| | | | | | This reverts commit d9b1492e03ab9fe58bb87baaeba745790ca15c53. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add a repairstep to validate the phone numbersJoas Schilling2020-12-072-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a database table for the accounts data so we can search it betterJoas Schilling2020-12-072-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #24113 from nextcloud/extend-cache-eventsRoeland Jago Douma2020-12-022-0/+6
|\ | | | | extend cache events
| * rename cache event to follow new naming standardsRobin Appelman2020-11-262-2/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * extend cache eventsRobin Appelman2020-11-262-0/+2
| | | | | | | | | | | | | | | | - adds cache remove event - expose storage id in event - emit events during cache move Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #23278 from nextcloud/enh/noid/user-limitsChristoph Wurst2020-12-022-2/+2
|\ \ | | | | | | Allow subscription to indicate that a userlimit is reached
| * | Add notification for user limitMorris Jobke2020-12-022-2/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / rebuild autoloader scripts with 2.0.7Robin Appelman2020-11-264-3/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Streamline user creation and deletion eventsMorris Jobke2020-11-232-2/+0
| | | | | | CreateUserEvent was the only one that didn't matched the naming scheme of BeforePASTTENSEEvent and PASTTENSEEvent. The event wasn't used at all so this just removes it again as there is BeforeUserCreatedEvent that is also available since 18. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dump autoloaderMorris Jobke2020-11-112-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-102-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace the credentials table with one that can have empty userJoas Schilling2020-11-102-0/+4
| | | | | | Primary key columns on Oracle can not have empty strings Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure columns with an empty default are nullable for OracleJoas Schilling2020-11-102-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #23819 from nextcloud/td/routing/move_things_aroundMorris Jobke2020-11-042-0/+2
|\ | | | | Cleanup routing
| * Cleanup route registration logicRoeland Jago Douma2020-11-032-0/+2
| | | | | | | | | | | | | | | | This was a bunch of cylic things being called. This is an attempt to clean this all up. If an app provides an array of routes. We just parse them and hand them back. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>