Commit Graph

55025 Commits

Author SHA1 Message Date
Morris Jobke ed1f89ae10
Merge pull request #22342 from nextcloud/fix/noid/psalm-warnings
Fix psalm warnings
2020-08-20 18:36:05 +02:00
Jan C. Borchardt 66b77790fa
Dashboard: Suppress scrollbars inside widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:32:31 +02:00
Morris Jobke bb8be58386
Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 18:30:48 +02:00
Morris Jobke d028423107
Merge pull request #22335 from nextcloud/fix/16017/remove_nc_encryption
Remove encryption option for nextcloud external storage
2020-08-20 18:27:11 +02:00
Jan C. Borchardt f092d9c704
Dashboard: Fix text on background choices
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:49 +02:00
Jan C. Borchardt b08434b6a8
Adjust design of 'Get more widgets' button
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:27 +02:00
Jan C. Borchardt d52ca95143
Dashboard: Move panels to more semantically correct h2
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:07 +02:00
Morris Jobke 65b5e65185
Merge pull request #21529 from nextcloud/enh/encryption/improve_key_format
New SSE key format
2020-08-20 17:41:18 +02:00
John Molakvoæ 0b39e7dca6
Merge pull request #22284 from nextcloud/feature/noid/status_dashboard
"Recent status changes" Dashboard
2020-08-20 17:06:10 +02:00
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 590d461210
Remove unneeded import
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:53:34 +02:00
Morris Jobke 67ecdc969c
Merge pull request #20724 from nextcloud/remove-children-non-recursive
Make Cache::removeChildren non recursive
2020-08-20 16:50:33 +02:00
Morris Jobke 8381af626f
Accept psalm warning for now
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:46:00 +02:00
Morris Jobke 9e483ea949
Fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:35:38 +02:00
Morris Jobke 567e99abe2
Use the DI container also for the Install command registration
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
korelstar d8a80cd45c
fix: file quota was not applied in all cases 2020-08-20 16:11:50 +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
Lionel Elie Mamane 2c8e7912f3
adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid != loginname
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:23 +02:00
Lionel Elie Mamane ac8b40b8b1
Return correct loginname in credentials,
even when token is invalid or has no password.

Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.

Co-authored-by: kesselb <mail@danielkesselberg.de>
for: switch to consistent camelCase

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:22 +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
Stephen Cuppett 5ef0f86ce7
Resolves #19790, Provides Support for IAM Credentials
Includes support for either leveraging environment variables
passed to the PHP runtime or IAM instance profile present
on the host being used. The default and first choice is
still the parameter file as documented.

See also: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_provider.html#chaining-providers

Signed-off-by: Stephen Cuppett <steve@cuppett.com>
2020-08-20 15:54:33 +02:00
Georg Ehrke bd6a6cf3bf
Add Status Dashboard
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 15:43:34 +02:00
Roeland Jago Douma 5340ab3a75
New SSE key format
* Encrypt the keys with the instance secret
* Store them as json (so we can add other things if needed)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 15:42:43 +02:00
Robin Appelman 5af7d921a9
Make Cache::removeChildren non recursive
Currently the "add new files during scanning" call stack is smaller than
the "remove deleted files during scanning" call stack. This can lead to
the scanner adding folders in the folder tree that are to deep to be
removed.

This changes the `removeChildren` logic to be non recursive so there is
no limit to the depth of the folder tree during removal

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-20 15:37:02 +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
Morris Jobke ac3569ca1e
Merge pull request #22332 from nextcloud/fix/noid/psalm-warnings
Extend psalm baseline to ignore errors for now
2020-08-20 14:32:52 +02:00
Morris Jobke 6cdaadbc57
Merge pull request #13712 from nextcloud/bugfix/noid/do-not-load-all-routes
Only load routes of the app which is requested
2020-08-20 14:32:25 +02:00
Morris Jobke 69bbbc32a1
Extend psalm baseline to ignore errors for now
One is a false positive - see https://github.com/vimeo/psalm/pull/4032

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 14:20:56 +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
Morris Jobke 886466d510
Run psalm-baseline.xml update once a day
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:51:51 +02:00
Morris Jobke 458320e8d7
Revert "This is just to trigger the GitHub scheduled actions registration"
This reverts commit 2e912990ff.
2020-08-20 12:50:57 +02:00
Morris Jobke 2e912990ff
This is just to trigger the GitHub scheduled actions registration
It is needed for #22314 and I will revert it right away afterwards.

Sorry for the trouble.

See the answer in https://stackoverflow.com/questions/59560214/github-action-works-on-push-but-not-scheduled
2020-08-20 12:50:27 +02:00
Morris Jobke ebc80dba78
Run update-psalm-baseline action every 5 minutes
For debugging purposed due to a GitHub bug.

See #22325 

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:44:03 +02:00
Morris Jobke 1742510b5e
Merge pull request #22326 from nextcloud/revert-22325-MorrisJobke-patch-1
Revert "This is just to trigger the GitHub scheduled actions registration"
2020-08-20 12:42:00 +02:00
Morris Jobke 27157051aa
Revert "This is just to trigger the GitHub scheduled actions registration" 2020-08-20 12:41:47 +02:00
Morris Jobke e4371725f4
Merge pull request #22325 from nextcloud/MorrisJobke-patch-1
This is just to trigger the GitHub scheduled actions registration
2020-08-20 12:41:23 +02:00
Morris Jobke f255f42991
This is just to trigger the GitHub scheduled actions
It is needed for https://github.com/nextcloud/server/pull/22314 and I will revert it right away afterwards.

Sorry for the trouble.
2020-08-20 12:40:42 +02:00
Morris Jobke ffb132752c
Merge pull request #22314 from nextcloud/ci/noid/run-daily-updates-of-psalm-baseline
Generate psalm-baseline.xml PR instead of requiring this from the PR …
2020-08-20 12:39:16 +02:00
Morris Jobke 50784a7c51
Generate psalm-baseline.xml PR instead of requiring this from the PR author itself
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:34:29 +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
Joas Schilling bdc352ee3f
Merge pull request #22320 from nextcloud/bugfix/noid/exclude-bridge-bot-password-of-talk
Exclude the Bridge Bot password as well
2020-08-20 11:18:05 +02:00