Commit Graph

55562 Commits

Author SHA1 Message Date
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
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
Joas Schilling 2e4b3cebc6
Exclude the Bridge Bot password as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 10:28:35 +02:00
Morris Jobke 6e5d7e40a0
Merge pull request #22313 from nextcloud/fix/dashboard/geolocation
Allow using geolocation in the dashboard
2020-08-20 10:22:59 +02:00
Roeland Jago Douma af3a59fab5
Merge pull request #22237 from nextcloud/bugfix/noid/allow_putContent_empty_string
Allow writing empty content to new file
2020-08-20 09:03:06 +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 d8bdb439a4
Merge pull request #22289 from nextcloud/techdebt/noid/fix-encryption-stream-invalid-scalar-arguments
Cast float to int to avoid invalid scalar argument warning
2020-08-19 22:08:15 +02:00
Morris Jobke 387cac4c5f
Properly inject IRouter into URLGenerator to properly encapsulate tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 22:00:47 +02:00
Morris Jobke 053ee7b386
Only load routes of the app which is requested
* Add fallback to load all routes if needed
* Move partial loaded routes test to proper place

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:58:20 +02:00