summaryrefslogtreecommitdiffstats
path: root/lib/composer
Commit message (Collapse)AuthorAgeFilesLines
* Make legacy cipher opt inRoeland Jago Douma2020-08-192-0/+2
| | | | | | | | * Systems that upgrade have this enabled by default * New systems disable it * We'll have to add some wargning in the setup checks if this is enabled Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-eventMorris Jobke2020-08-132-0/+2
|\ | | | | Emit an event for every disabled 2FA provider during cleanup
| * Emit an event for every disabled 2FA provider during cleanupChristoph Wurst2020-06-162-0/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #22135 from nextcloud/enh/noid/occ-preview-repairMorris Jobke2020-08-072-0/+2
|\ \ | | | | | | Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
| * | Add occ preview:migrate to migrate previews from the old flat structure to a ↵Morris Jobke2020-08-062-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subfolder structure * `php occ preview:repair` - a preview migration tool that moves existing previews into the new location introduced with #19214 * moves `appdata_INSTANCEID/previews/FILEID` to `appdata_INSTANCEID/previews/0/5/8/4/c/e/5/FILEID` * migration tool can be stopped during migration via `CTRL+C` - it then finishes the current folder (with the previews of one file) and stops gracefully * if a PHP memory limit is set in the `php.ini` then it will stop automatically once it has less than 25 MiB memory left (this is to avoid hard crashes in the middle of a migration) * the tool can be used during operation - possible drawbacks: * there is the chance of a race condition that a new preview is generated in the moment the folder is already migrated away - so the old folder with the newly cached preview is deleted and one cached preview needs to be re-generated * there is the chance of a race condition during access of a preview while it is migrated to the other folder - then no preview can be shown and results in a 404 (as of now this is an accepted risk) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Distribute preview folders in appdata in multibucket setup to multiple bucketsMorris Jobke2020-08-062-0/+6
|/ / | | | | | | | | | | | | | | | | * introduces a new IRootMountProvider to register mount points inside the root storage * adds a AppdataPreviewObjectStoreStorage to handle the split between preview folders and bucket number Ref #22033 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22112 from nextcloud/enh/noid/flow-entity-recreatable-stateMorris Jobke2020-08-062-0/+2
|\ \ | | | | | | Allow Flow entity state to be recreated
| * | Enable Flow entities to recreate state if necessaryArthur Schiwon2020-08-052-0/+2
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Fix php cs checkJulius Härtl2020-08-052-4/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #22106 from nextcloud/feature/noid/user_status_apiMorris Jobke2020-08-052-0/+8
|\ \ \ | | | | | | | | Provide a PHP Api for UserStatus
| * | | Provide a PHP Api for UserStatusGeorg Ehrke2020-08-052-0/+8
| |/ / | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* / / Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-042-2/+2
|/ / | | | | | | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add user-status appGeorg Ehrke2020-07-312-0/+2
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Correctly remove usergroup shares on removing group membersJoas Schilling2020-07-302-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21542 from nextcloud/activity-notificationsMorris Jobke2020-07-292-0/+4
|\ \ | | | | | | basic settings system for activity notifications
| * | build autoloaderRobin Appelman2020-07-212-0/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Allow user backends to specify a custom logout urlRoeland Jago Douma2020-07-232-0/+2
|/ / | | | | | | | | | | * Allows SSO backends to do a global logout Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21850 from ↵Morris Jobke2020-07-202-0/+2
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/register-alternative-logins Allow to register AlternativeLogin on RegistrationContext
| * | Allow to register AlternativeLogin on RegistrationContextJoas Schilling2020-07-162-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add a scoped PSR logger for appsChristoph Wurst2020-07-162-0/+2
|/ / | | | | | | | | | | | | | | Just like for ILogger we should have a version that has the app ID pre-set for the context (unless overwritten) so that each log entry can be traced back to the app that produced it. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add real events to load additionalscriptsRoeland Jago Douma2020-07-152-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update autoloaderJulius Härtl2020-07-152-2/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add new dashboard public APIJulius Härtl2020-07-152-0/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #21238 from ↵Morris Jobke2020-07-062-0/+2
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/deferrable-notification-apps Allow notification apps to defer and flush the sending
| * | Allow notification apps to defer and flush the sendingJoas Schilling2020-07-032-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Callable parameter injectionChristoph Wurst2020-07-032-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is like what we have to DI and classes, but for callables. The motivating factor is to get rid of *service locators* in the `boot` method of apps as a new pattern is about to emerge where we have lots of `query` calls on the app or server container in order to fetch some services. With this little helper it's possible to call another (public) method and magically have everything injected. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #21360 from nextcloud/root-storage-prevent-scanningRoeland Jago Douma2020-07-022-0/+4
|\ \ \ | |/ / |/| | prevent the root storage from accidentally scanning user folders
| * | prevent the root storage from accidentally scanning user foldersRobin Appelman2020-06-112-0/+4
| | | | | | | | | | | | | | | | | | | | | while this scan *should* never be triggered, it's good to have some failsafe to ensure that the users home contents don't end up getting scanned in the root storage Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add unified search APIChristoph Wurst2020-06-242-0/+14
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #21475 from nextcloud/enh/noid/flow-event-dispatcherblizzz2020-06-222-0/+2
|\ \ \ | | | | | | | | flow to not use deprecated event dispatcher methods
| * | | flow to not use deprecated event dispatcher methodsArthur Schiwon2020-06-192-0/+2
| | |/ | |/| | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / | Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-172-0/+12
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Clean up auth tokens when user is deletedChristoph Wurst2020-06-152-0/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20914 from nextcloud/enh/deprecated_event_log_usageRoeland Jago Douma2020-06-042-0/+2
|\ | | | | Log usage of a deprecated event instead of emitting
| * Log usage of a deprecated event instead of emittingRoeland Jago Douma2020-05-222-0/+2
| | | | | | | | | | | | | | This way we can track down what is being used and migrate them over. And slowly kill the old way in a release or 2. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add lazy events for the Node APIRoeland Jago Douma2020-05-282-0/+30
| | | | | | | | | | | | | | | | | | | | | | Right now if you want to get events via the Node API you have to have a real instance of the Root. Which in turns sets up the whole FS. We should make sure this is done lazy. Else enabling the preview generator for example makes you setup the whole FS on each and every authenticated call. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ipMorris Jobke2020-05-252-0/+2
|\ \ | |/ |/| Implement occ command to reset bruteforce attemps from a given IP address
| * Implement occ command security:bruteforceattemps:reset-for-ipJohannes Riedel2020-03-192-0/+2
| | | | | | | | Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
* | Move the notmodified check to middleware where it belongsRoeland Jago Douma2020-05-132-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20813 from nextcloud/lazy-folderMorris Jobke2020-05-122-0/+2
|\ \ | | | | | | generalize the "lazy folder" concept
| * | generalize the "lazy folder" conceptRobin Appelman2020-05-112-0/+2
| | | | | | | | | | | | | | | | | | makes it easy to use lazy intialized folder in other places Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add AppFramework GZip middleware to gzip responsesRoeland Jago Douma2020-05-122-0/+2
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add InitialState Appframework serviceRoeland Jago Douma2020-05-072-0/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Simple AppConfig wrapper for the AppFrameworkRoeland Jago Douma2020-05-022-0/+4
| | | | | | | | | | | | | | | | | | | | 9 out of 10 cases apps want to access their own appconfig. Hence it would be nice not to have to enter the app id all the time. This simple wrapper just passes on the appid in all calls. Basically this allows for simpler code in the apps. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove obsolete repair steps for logo and updater channelMorris Jobke2020-04-242-4/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Move to subfolders for preview filesRoeland Jago Douma2020-04-192-0/+2
| | | | | | | | | | | | | | | | | | | | | | Else the number of files can grow very large very quickly in the preview folder. Esp on large systems. This generates the md5 of the fileid. And then creates folders of the first 7 charts. In that folder is then a folder with the fileid. And inside there are the previews. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20138 from ↵Joas Schilling2020-04-152-0/+2
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/make-remote-checking-more-generic Make remote checking more generic
| * | Check all remotes for local accessJoas Schilling2020-04-142-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Return hashes of uploaded content for dav uploadsRobin Appelman2020-04-132-0/+2
|/ / | | | | | | | | | | | | | | hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers. these headers are set for file uploads and the MOVE request at the end of a multipart upload. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Bump autoloadersJulius Härtl2020-04-082-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>