Commit Graph

54727 Commits

Author SHA1 Message Date
Morris Jobke 0807e29e17
Merge pull request #22133 from nextcloud/boot-app-once
only boot apps once
2020-08-07 12:05:09 +02:00
Morris Jobke 06eb230d24
Merge pull request #22135 from nextcloud/enh/noid/occ-preview-repair
Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
2020-08-07 11:09:16 +02:00
Morris Jobke a761e5fef6
Merge pull request #22137 from nextcloud/enh/noid/file-entity-icon
File entity to implement IIcon
2020-08-07 11:06:26 +02:00
Robin Appelman 246ed35d94
only boot apps once
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>
2020-08-07 11:04:47 +02:00
Morris Jobke 545f806666
Use array_filter instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 10:42:09 +02:00
Morris Jobke 97c49b0b15
Add tests for occ preview:migrate - initial check for empty directories
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 10:42:09 +02:00
Morris Jobke 4d0c3fa4a8
Check previews in multibucket fallback folder as the last step and not as first step
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 09:37:11 +02:00
Morris Jobke eb2b1bec85
Merge pull request #22063 from nextcloud/enh/22033/multibucket-appdata-previews
Distribute preview folders in appdata in multibucket setup to multiple buckets
2020-08-07 09:28:11 +02:00
Nextcloud bot 1df567d5ad
[tx-robot] updated from transifex 2020-08-07 02:16:39 +00:00
Arthur Schiwon 692e6a6838
File entity to implement IIcon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-07 00:14:50 +02:00
Morris Jobke 45428e4948
Add config option to enable multibucket preview distribution
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:31:39 +02:00
Morris Jobke 4fdd38c737
Use fixed preview buckets that are postfixed with -preview-NUMBER
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:19:21 +02:00
Morris Jobke 159f28cd52
Mount the old previews in a separate folder for the multi bucket setup and check in them before using the actual locations
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:19:21 +02:00
Morris Jobke 438ac23e2a
Distribute preview folders in appdata in multibucket setup to multiple buckets
* 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>
2020-08-06 22:19:20 +02:00
Morris Jobke d8734b3b93
Add occ preview:migrate to migrate previews from the old flat structure to a 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>
2020-08-06 22:05:46 +02:00
John Molakvoæ c24f3d1336
Merge pull request #21173 from nextcloud/design/navigation-install
Fix empty 'more' apps navigation after installing an app
2020-08-06 13:35:57 +02:00
Morris Jobke 3f1c48598d
Merge pull request #22112 from nextcloud/enh/noid/flow-entity-recreatable-state
Allow Flow entity state to be recreated
2020-08-06 09:36:32 +02:00
John Molakvoæ 5b6246f52a
Merge pull request #21598 from nextcloud/enh/20930/dashboard-drag 2020-08-06 08:17:52 +02:00
Nextcloud bot cb1d9cfaf0
[tx-robot] updated from transifex 2020-08-06 02:17:11 +00:00
Morris Jobke ae9ecd521f
Merge pull request #21677 from J0WI/clearstatcache-on-rmdir
Do clearstatcache() on rmdir
2020-08-05 23:03:06 +02:00
Morris Jobke 2aa6256f38
Merge pull request #22102 from nextcloud/feature/noid/app-navigation-via-unified-search
App navigation via unified search
2020-08-05 22:53:03 +02:00
Morris Jobke 5a06e38564
Dashboard app is disabled and there is no need to redirect to files app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 22:49:47 +02:00
Morris Jobke 588b6fa35e
Merge pull request #22120 from nextcloud/fix/search/ids-and-order
Fix search providers order and IDs
2020-08-05 22:41:52 +02:00
Morris Jobke 519cd678ee
Merge pull request #22008 from elijahnyp/OCImage_Leak_Fix
Ensured large image is unloaded from memory when generating previews
2020-08-05 22:39:09 +02:00
John Molakvoæ (skjnldsv) d2c0569b49
Fix search providers order and IDs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 17:57:17 +02:00
Joas Schilling 99fbaa9cba
Very top of the tops
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 17:51:18 +02:00
Joas Schilling 5be04942e7
Hide navigation links which dont lead anywhere (looking at you user status)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 17:50:20 +02:00
Jan-Christoph Borchardt 42a265ca38
Fix empty 'more' apps navigation after installing an app
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:38:50 +02:00
Jan C. Borchardt 5cc978657e
Merge pull request #22115 from nextcloud/design/entry-highlighting
Adjust entry highlights of navigation and menus based on Vue component style
2020-08-05 17:35:58 +02:00
Julius Härtl 258cde135d
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:05:54 +02:00
Julius Härtl dbbc675a96
Fix drag behavior in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 61cc356e0b
Fix php cs check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 44310d1c2a
Add dashboard to app info xsd
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Jan C. Borchardt 739914654c
Dashboard: Fix full height of Widgets based on new component
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:03:39 +02:00
Julius Härtl c97a805f1d
Add first run hint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 97feb89a4b
Make header the drag handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl d9dcd59ae1
Load sidebar on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 018be662f4
Refactor API to match the widget wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 6accf4d857
Fix default height
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl db86bea18c
Allow default app to be overwritten by user config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 7e2ded5a79
Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 3be3c34e39
Status integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:36 +02:00
Julius Härtl ae6be0c110
Expose firstRun parameter to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl bd3d791ee0
Only show display name if set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl c983094625
WIP: drag and drop in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Julius Härtl 5099a4fe74
Add binary attributes for dashboard bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt da8a29f42e
Dashboard: Wording change from panels to widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt 995144faa6
Dashboard: Fix small misalignment of widget header icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Julius Härtl 4679926511
Redirect to files app after login in acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt e25bab98b7
Set Dashboard as default app
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00