Commit Graph

23048 Commits

Author SHA1 Message Date
Jan C. Borchardt 2e82092174
Merge pull request #22327 from nextcloud/dashboard/design-details
Dashboard design details
2020-08-20 17:00:30 +02:00
John Molakvoæ 17be48cccf
Merge pull request #22322 from nextcloud/bugfix/noid/only-copy-share-link-when-not-forced-password 2020-08-20 16:54:41 +02:00
Morris Jobke 9e483ea949
Fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:35:38 +02:00
Joas Schilling b09620651c
Don't use deprecated getIniWrapper() anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 16:35:38 +02:00
Roeland Jago Douma 85406bcaa5
Remove encryption option for nextcloud external storage
Fixes #16017

Since it never worked we should not show it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 16:28:03 +02:00
Morris Jobke 420a3762cb
Merge pull request #21797 from rawtaz/patch-1
Include e-mail shares when transferring ownership
2020-08-20 16:08:51 +02:00
Morris Jobke ac73982395
Merge pull request #21734 from nextcloud/external-s3-no-touch
disable touch to update mtime for external s3 storage
2020-08-20 16:07:59 +02:00
Julien Veyssier 316c2155f5
build dashboard js
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 15:58:08 +02:00
Jan C. Borchardt 2fc732aebf
Dashboard: Ellipsize widget headings to one line
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:50 +02:00
Jan C. Borchardt db42b4691f
Dashboard: No need to extend height of widgets if only one column is shown
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:49 +02:00
Georg Ehrke bd6a6cf3bf
Add Status Dashboard
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 15:43:34 +02:00
Joas Schilling 1da890150d Only copy the link when updating a share or no password was forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-20 13:12:06 +00:00
John Molakvoæ 03603db486
Merge pull request #22307 from nextcloud/bugfix/noid/dashboard-background 2020-08-20 14:33:21 +02:00
Georg Ehrke eed3a534ca
Merge pull request #22321 from nextcloud/status/icons
User status: Update icons for better visibility
2020-08-20 13:21:07 +02:00
Julien Veyssier 1ce5dbd95f
remove background-color for user status and weather status in dashboard, build all
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 12:34:15 +02:00
Julius Härtl 8a3016565f
Small fixes to cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-20 12:27:57 +02:00
Joas Schilling 077e2fec74
Merge pull request #22311 from nextcloud/bugfix/noid/dont-load-all-calendarobjects-into-memory
Don't load all calendar objects into memory
2020-08-20 11:22:37 +02:00
Jan C. Borchardt 4a08736a9b
User status: Update icons for better visibility
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 10:58:43 +02:00
Roeland Jago Douma f6578b74f4
Allow using geolocation in the dashboard
Else the weather geolocation is kind of useless.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 09:00:03 +02:00
Morris Jobke 1f4c029977
Merge pull request #22124 from nextcloud/enh/weather-status
weather status used in dashboard
2020-08-20 08:05:01 +02:00
Joas Schilling 553cda2a6d
Don't load all calendar objects into memory
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 07:56:25 +02:00
Nextcloud bot 6d21e0f6ff
[tx-robot] updated from transifex 2020-08-20 02:17:38 +00:00
Julien Veyssier 143db7f5ee
better translations, fix status color, build user status and dashboard
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 01:44:53 +02:00
Jan C. Borchardt f0a306c3fe
Weather status: Fix small design issues
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 00:54:11 +02:00
Julien Veyssier 70d1d1997a
new weather status used in dashboard
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 00:21:08 +02:00
Morris Jobke d3a53d6f39
Merge pull request #22214 from nextcloud/dashboard/design-fixes
Custom dashboard background
2020-08-19 21:55:54 +02:00
Morris Jobke 72df65c810
Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:55:13 +02:00
Morris Jobke da584462d1
Merge pull request #22018 from nextcloud/bugfix/noid/harden-key-generation
Harden SSE key generation
2020-08-19 20:42:34 +02:00
Morris Jobke 5a064ec28b
Fix typo in error message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 20:42:27 +02:00
Roeland Jago Douma b604d5232e
Merge pull request #22218 from nextcloud/enh/sse/make_legacy_cipher_opt_in
SSE: make legacy format opt in
2020-08-19 20:10:45 +02:00
Morris Jobke 4361d65f5f
Merge pull request #22041 from nextcloud/feature/noid/typed_events_dav
Add Typed Events for CalDAV- and CardDAV-related Events
2020-08-19 19:34:12 +02:00
Morris Jobke fedf9c69d9
Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Julius Härtl 93e671e812
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:31 +02:00
Julius Härtl e2f71fd322
Only show app store link if user is admin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 1c3e95670d
Dashboard: fix visual glitch when clicking on active background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 2b51b62f94
Add previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 8eff3f02b6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 3a3fa036e6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 6e92c7212e
Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt d1a2482dda
Dashboard: Add more feedback for selected background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 9a7f7ea5e7
Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl a4ebef75e9
Fix const visibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 1e61cf617a
Add active indicator to background selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl d288a11cee
Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 551d435f89
Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 5932376333
Dashboard: fix HTML structure of background picker
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 135ceb4a9d
Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl d02a92e870
WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 5661775568
Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl fa2072e36b
Fix keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 38afee82bd
Dashboard: Customize modal design improvements
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 8d22d02422
Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 9a90351435
Add images
Signed-off-by: Julius Härtl <jus@bitgrid.net>

update images

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 4118cb0be6
Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 338f09b04b
Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl b49f814faa
Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 2535e0ec04
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl 4ec0afd0e7
Allow to set a custom background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Roeland Jago Douma 2bbb848c31
Add legacy scanning command
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-19 15:45:45 +02:00
Morris Jobke 603d7dab5e
Add setup check that links to the migration documentation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 15:45:45 +02:00
Roeland Jago Douma 8928bbe969
Make legacy cipher opt in
* 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>
2020-08-19 15:45:45 +02:00
Georg Ehrke e6433eeb02
Typecast parameter of getAddressBookById
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-19 15:30:13 +02:00
Julius Härtl 1e043d5a24
Move customize button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:08 +02:00
Julius Härtl a3bcf73408
Sticky header background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:07 +02:00
Nextcloud bot 746e3f174f
[tx-robot] updated from transifex 2020-08-19 02:17:11 +00:00
Georg Ehrke 67f1ef4658
Add Typed Events for CalDAV- and CardDAV-related Events
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-18 21:40:57 +02:00
Morris Jobke 5ced155032
Merge pull request #22285 from nextcloud/techdebt/noid/move-to-typed-event-in-list.php
Use dispatchTyped instead of dispatch on the new event dispatcher
2020-08-18 21:29:48 +02:00
Morris Jobke a5853d7ecc
Use dispatchTyped instead of dispatch on the new event dispatcher
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 20:27:46 +02:00
Morris Jobke 05df385538
Merge pull request #22236 from nextcloud/bugfix/noid/dav_sharing_backend_canWrite_isOwner
CalDAV: Add ability to limit sharing to owner
2020-08-18 16:48:43 +02:00
Georg Ehrke 14755d85d6
Add ability to limit sharing to owner
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-18 13:18:00 +02:00
Jan C. Borchardt aa16550670
Add highcontrast class to body just like with dark theme
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-18 08:33:46 +02:00
Roeland Jago Douma 6ed4c8a946
Improve recent file fetching
Fixes #16876

Before we'd just fetch everything from all storages we'd have access to.
Then we'd sort. And filter in php. Now this of course is tricky if a
user shared just a file with you and then has a ton of activity.

Now we try to contruct the prefix path. So that the filtering can happen
right away in the databae.

Now this will make the DB more busy. But it should help overall as in
most cases less queries are needed then etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-18 05:56:06 +02:00
Nextcloud bot c96044085b
[tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
John Molakvoæ 930c35ada1
Merge pull request #22273 from nextcloud/bugfix/noid/status-nonexisting-icon
Do not try to load non-existing icon
2020-08-17 22:18:43 +02:00
John Molakvoæ 565ccb08cd
Merge pull request #22109 from nextcloud/feature/20931/followup-1 2020-08-17 22:13:45 +02:00
Georg Ehrke 40bf38aaee
Limit custom message input to 80 chars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
Georg Ehrke 4485cb30a1
Display user-status in sharing list
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
blizzz d98bd179b0
Merge pull request #22272 from nextcloud/phpdoc/21787/fix-misplaced-variable-phpdoc
Fix "misplaced variables" warning of Psalm in PHPDoc statements
2020-08-17 19:01:06 +02:00
Julius Härtl c03e21a5dd
Do not try to load non-existing icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-17 18:25:16 +02:00
Morris Jobke 7b8adb1817
Merge pull request #21861 from nextcloud/techdebt/files-psr-container
Migrate files to the PSR container
2020-08-17 17:58:41 +02:00
Morris Jobke d7f66c36ac
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:46:57 +02:00
Morris Jobke 00cb8e6c54
Merge pull request #22253 from nextcloud/debt/noid/docblocks
Fix some MissingDocblockType or InvalidDocblock warnings.
2020-08-17 17:45:11 +02:00
Morris Jobke f406f5dc73
Fix TagService DI name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 16:55:16 +02:00
Christoph Wurst 07fcf14324
Migrate files to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-17 09:45:11 +02:00
Roeland Jago Douma 253bd84620
Merge pull request #22260 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.20
Bump lodash from 4.17.19 to 4.17.20
2020-08-17 06:42:27 +02:00
dependabot-preview[bot] 1328fd7cf0 Bump lodash from 4.17.19 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-17 03:30:20 +00:00
Nextcloud bot bfef24b6df
[tx-robot] updated from transifex 2020-08-17 02:16:39 +00:00
Nextcloud bot 29b7e5885e
[tx-robot] updated from transifex 2020-08-16 02:16:28 +00:00
Nextcloud bot 31eccc842d
[tx-robot] updated from transifex 2020-08-15 02:17:13 +00:00
Georg Ehrke 5b26487f14
Expose status via Collaborators API
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-14 17:04:52 +02:00
blizzz 6e8e34fef9
Merge pull request #22221 from nextcloud/fix/19097/ldap-depracted-event
provide event class and typed event to LDAP loaded event; also fixing a logged deprecation message
2020-08-14 16:07:12 +02:00
Daniel Kesselberg 6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 15:10:48 +02:00
John Molakvoæ (skjnldsv) 8e7c95effb
Use appsidebar for apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-14 11:44:16 +02:00
John Molakvoæ (skjnldsv) 228a96508a
Use appsidebar for apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-14 09:56:00 +02:00
Julius Härtl 00e62171d2
Test for locking state in key generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-14 07:58:41 +02:00
Julius Härtl 36cfdd320b
Harden key generation
There might be cases where multiple requests trigger the key generation
at the same time and the instance ends up with a non-fitting
public/private key pair. Therefore the whole key generation should be
locked. Other than that this makes sure that user key generation return
values are properly validated.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-14 07:58:40 +02:00
dependabot-preview[bot] 4e2c4c4ac6 Bump vue-router from 3.3.4 to 3.4.3
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.3.4 to 3.4.3.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.3.4...v3.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-14 05:31:29 +00:00
Roeland Jago Douma f1dd87dc50
Merge pull request #22200 from cweiske/duplicated-sql-where-line
Remove duplicated SQL addWhere line
2020-08-14 05:43:42 +02:00
Nextcloud bot 9bd58553db
[tx-robot] updated from transifex 2020-08-14 02:31:59 +00:00
Gary Kim 5559570faf
Merge pull request #22242 from nextcloud/techdebt/noid/remove-deprecated-methods
Remove deprecated and unused method calls
2020-08-14 10:10:53 +08:00