aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Use registerDeprecatedAlias for non-namespaced aliasesMorris Jobke2020-08-131-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use autowiring where possible in server containerMorris Jobke2020-08-131-125/+19
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Generate password by password_policy appDaniel Kesselberg2020-08-111-2/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #22117 from nextcloud/activity-settings-groupingMorris Jobke2020-08-113-7/+27
|\ | | | | allow grouping of activity settings
| * allow grouping of activity settingsRobin Appelman2020-08-053-7/+27
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Prefer typed event over string based onesMorris Jobke2020-08-102-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #21738 from ↵Morris Jobke2020-08-072-12/+16
|\ \ | | | | | | | | | | | | nextcloud/techdebt/14552/migrate-OC_Group-post_removeFromGroup Migrate OC_Group post_removeFromGroup hook to actual event object
| * | User.php: rename of old dispatcher to legacyDispatcherMorris Jobke2020-07-301-11/+11
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Migrate OC_Group post_removeFromGroup hook to actual event objectMorris Jobke2020-07-302-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | Ref #14552 This adds a BeforeUserRemovedEvent to the LDAP backend because it was missing. It's not really before, but we don't have the before state. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22139 from ↵Morris Jobke2020-08-071-9/+14
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/noid/check-for-preview-multibucket-fallback-as-second-step Check previews in multibucket fallback folder as the last step and not as first step
| * | | Check previews in multibucket fallback folder as the last step and not as ↵Morris Jobke2020-08-071-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | first step Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-073-13/+25
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #22133 from nextcloud/boot-app-onceMorris Jobke2020-08-071-0/+8
|\ \ \ \ | | | | | | | | | | only boot apps once
| * | | | only boot apps onceRobin Appelman2020-08-071-0/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | in some cases `loadApp` is called more then once which is currently causing apps to be "booted" multiple times which can lead to unexepected behaviour with things like registering hooks Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #22135 from nextcloud/enh/noid/occ-preview-repairMorris Jobke2020-08-071-3/+3
|\ \ \ \ | |_|/ / |/| | | 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-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Add config option to enable multibucket preview distributionMorris Jobke2020-08-062-9/+12
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Use fixed preview buckets that are postfixed with -preview-NUMBERMorris Jobke2020-08-061-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Mount the old previews in a separate folder for the multi bucket setup and ↵Morris Jobke2020-08-062-3/+59
| | | | | | | | | | | | | | | | | | | | | | | | check in them before using the actual locations Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Distribute preview folders in appdata in multibucket setup to multiple bucketsMorris Jobke2020-08-066-1/+179
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * 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 #21598 from nextcloud/enh/20930/dashboard-dragJohn Molakvoæ2020-08-063-26/+37
|\ \ \
| * | | Fix php cs checkJulius Härtl2020-08-051-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Refactor API to match the widget wordingJulius Härtl2020-08-052-24/+24
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Allow default app to be overwritten by user configJulius Härtl2020-08-051-2/+14
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Set Dashboard as default appJan C. Borchardt2020-08-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* | | | Merge pull request #21677 from J0WI/clearstatcache-on-rmdirMorris Jobke2020-08-051-2/+4
|\ \ \ \ | | | | | | | | | | Do clearstatcache() on rmdir
| * | | | Only clear the realpath cacheJ0WI2020-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
| * | | | clearstatcache() on rmdirJ0WI2020-07-031-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | | Merge pull request #22008 from elijahnyp/OCImage_Leak_FixMorris Jobke2020-08-051-0/+6
|\ \ \ \ \ | |_|/ / / |/| | | | Ensured large image is unloaded from memory when generating previews
| * | | | Use class that actually has the destroy() method in preview generatorMorris Jobke2020-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | fix memory leak caused by not destroying image in Preview/Generate.phpElijah Martin-Merrill2020-07-271-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Elijah Martin-Merrill <elijah@nyp-itsours.com>
* | | | | Merge pull request #22104 from ↵Joas Schilling2020-08-053-6/+48
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/enh/search/make-app-handle-the-order-logic Make apps handle the order logic
| * | | | | Hand in the route and the parameters of the requestJoas Schilling2020-08-053-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
| * | | | | Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-051-3/+5
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | Merge pull request #21138 from ↵Morris Jobke2020-08-051-6/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/noid/search-in-group-displayname-email Search also the email and displayname in user mangement for groups
| * | | | | Search also the email and displayname in user mangement for groupsMorris Jobke2020-08-051-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | Merge pull request #22106 from nextcloud/feature/noid/user_status_apiMorris Jobke2020-08-052-0/+107
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Provide a PHP Api for UserStatus
| * | | | | Provide a PHP Api for UserStatusGeorg Ehrke2020-08-052-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | | | Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-045-29/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | | Remove outdated legacy search scriptsJohn Molakvoæ (skjnldsv)2020-08-041-3/+0
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | Merge pull request #22057 from nextcloud/fix/20009/contactsmenu-limit-usersMorris Jobke2020-08-032-7/+19
|\ \ \ \ \ | | | | | | | | | | | | contactsmanager shall limit number of results early
| * | | | | contactsmanager shall limit number of results earlyArthur Schiwon2020-07-312-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-033-16/+26
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | Add user-status appGeorg Ehrke2020-07-311-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | | Merge pull request #22060 from nextcloud/trashbin-s3-fixesMorris Jobke2020-07-311-1/+5
|\ \ \ \ \ | | | | | | | | | | | | Object store trashbin fixes
| * | | | | dont update mimetype when moving to trashRobin Appelman2020-07-301-1/+5
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / / / fix instanceof ISettings check for activity settingsRobin Appelman2020-07-301-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | boolean logic is hard Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #21993 from nextcloud/fix/lower_route_not_found_levelJoas Schilling2020-07-301-1/+1
|\ \ \ \ | |_|_|/ |/| | | Log the route not found exception on a lower level
| * | | Log the route not found exception on a lower levelRoeland Jago Douma2020-07-241-1/+1
| |/ / | | | | | | | | | | | | | | | This should be logged but it is not that critical to wanner level 3 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Correctly remove usergroup shares on removing group membersJoas Schilling2020-07-302-1/+48
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>