Commit Graph

62872 Commits

Author SHA1 Message Date
Christoph Wurst
581bb62d9c
Merge pull request #32666 from nextcloud/fix/background-job-type-check
Check background job type
2022-05-31 19:16:36 +02:00
Pytal
40fef4a9db
Merge pull request #32670 from nextcloud/fix/share_permissions_rendering 2022-05-31 09:38:53 -07:00
Julius Härtl
22fa193684
Merge pull request #32671 from nextcloud/debt/noid/psalm-baseline
Update psalm-baseline
2022-05-31 17:56:58 +02:00
Christoph Wurst
b17c4a6072 Check background job type
It is assumed that a job class loaded from the jobs table is an IJob,
but due to programming error the job might be of another type. Then the
setters will most likely fail.

This patch adds an interface type check so only correct jobs are used,
anything else is ignored.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-31 15:24:30 +00:00
Daniel Kesselberg
8415a06091
Update psalm-baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-31 14:53:07 +02:00
blizzz
df89e7fd39
Merge pull request #32485 from nextcloud/debt/noid/psalm-streamer-fh
[Psalm] Fix docblock for addFileFromStream
2022-05-31 14:22:05 +02:00
Louis Chemineau
5fee0fbd5b Fix share permissions rendering
The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`.

This PR changes the return value of the `default` case and adds a `filter` to remove those values.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-31 14:17:16 +02:00
blizzz
9a444a8be6
Merge pull request #32653 from nextcloud/update-3rdparty-master
Update 3rdparty for symfony/translation:4.4.41
2022-05-31 13:55:37 +02:00
Louis
6dd348e34f
Merge pull request #32502 from nextcloud/cleanup/worflow-admin
Use SettingsSection in workflowengine settings
2022-05-31 13:19:47 +02:00
Joas Schilling
85caf19731
Update 3rdparty for symfony/translation:4.4.41
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-31 12:42:07 +02:00
blizzz
86b2e67dd6
Merge pull request #32665 from nextcloud/automated/noid/psalm-baseline-update-1653970753
[Automated] Update psalm-baseline.xml
2022-05-31 12:16:39 +02:00
blizzz
699f259c45
Merge pull request #32667 from nextcloud/followup/32655/fix-tests
Fix unit tests
2022-05-31 11:30:51 +02:00
Carl Schwan
30d7763edc Use SettingsSection in workflowengine settings
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-31 08:38:50 +00:00
Joas Schilling
279e06a80f
Merge pull request #32587 from nextcloud/bugfix/noid/improve-jsconfighelper
Improve JSConfigHelper code quality a bit
2022-05-31 10:29:30 +02:00
Joas Schilling
f855b73aa5
Merge pull request #32583 from jld3103/fix/nextcloud-android-user-agent-match
Fix Nextcloud Android app not showing proper name
2022-05-31 10:28:54 +02:00
Joas Schilling
c2af3667dc
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-31 10:23:52 +02:00
Joas Schilling
cf9660fdf0
Merge pull request #32628 from nextcloud/bugfix/noid/json-throw
Use JSON_THROW_ON_ERROR instead of custom error handling
2022-05-31 10:06:21 +02:00
Vincent Petry
cf9d0b123a
Merge pull request #32663 from nextcloud/bugfix/noid/temp-cron
Cleanup tempfiles after each cron job run
2022-05-31 09:19:31 +02:00
John Molakvoæ
eca5e2dce1
Merge pull request #32509 from nextcloud/fix/theming-colours-primary 2022-05-31 08:49:03 +02:00
nextcloud-command
a1c5176e4c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-31 04:19:13 +00:00
Nextcloud bot
016895d539
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-31 02:33:09 +00:00
Pytal
4873faa951
Merge pull request #32206 from nextcloud/enh/migrator-add-estimatedsize-getter 2022-05-30 17:16:33 -07:00
Christopher Ng
aaedc95e81 Update calendar estimation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 22:48:15 +00:00
Christopher Ng
9fbbbc7ca6 Update contacts estimation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Christopher Ng
f2850a6c06 Skip avatar on failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Christopher Ng
432bc9a585 Update method name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Côme Chilliet
fa041dabf4 Add the ISizeEstimationMigrator interface for method getExportEstimatedSize
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 17:49:05 +00:00
dependabot[bot]
d7ec631d5f
Merge pull request #32641 from nextcloud/dependabot/npm_and_yarn/core-js-3.22.7 2022-05-30 17:40:52 +00:00
Julius Härtl
3901a93c72
Use JSON_THROW_ON_ERROR instead of custom error handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-30 19:17:49 +02:00
dependabot[bot]
8cf2b7cd35 Bump core-js from 3.22.5 to 3.22.7
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.5 to 3.22.7.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.5...v3.22.7)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-30 16:41:09 +00:00
Julius Härtl
c8a6dad519
Cleanup tempfiles after each cron job run
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-30 18:01:51 +02:00
Côme Chilliet
7140201a32
Merge pull request #32634 from nextcloud/debt/noid/psalm-moveable-mount
[Psalm] Fix docblock for return type
2022-05-30 17:05:50 +02:00
Vincent Petry
0886437f2c
Merge pull request #32591 from nextcloud/fix/node-test
Fix node tests ci
2022-05-30 17:00:27 +02:00
jld3103
26804ceccb Fix Nextcloud Android app not showing proper name 2022-05-30 16:11:26 +02:00
Côme Chilliet
ee9f37c3d6
Merge pull request #32649 from nextcloud/automated/noid/psalm-baseline-update-1653884512
[Automated] Update psalm-baseline.xml
2022-05-30 14:49:32 +02:00
Carl Schwan
1164c762eb
Merge pull request #31948 from nextcloud/core-cleanup-74
Update core to PHP 7.4 standard
2022-05-30 14:37:37 +02:00
Carl Schwan
e86bcc8953
Merge pull request #32655 from nextcloud/fix/handle-non-existing-settings
Handle non existing settings again
2022-05-30 12:53:36 +02:00
Joas Schilling
f9efc410fa
Restore old behaviour of sending flase for not found apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-30 12:41:35 +02:00
Joas Schilling
eb1a69d627
Improve JSConfigHelper code quality a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-30 12:33:45 +02:00
Carl Schwan
63f589109b Handle non existing settings again
See https://github.com/nextcloud/server/pull/28189#issuecomment-1140874991

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-30 11:06:55 +02:00
Carl Schwan
623293c2dd Fix node tests ci
- Update jest snapshot
- Fix importing 3rdparty vue components
- Disable temporarely tests using nextcloud-vue/Button

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-30 10:54:45 +02:00
Côme Chilliet
6da413f7af Move new IMigrator method to a specific interface ISizeEstimationMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Côme Chilliet
09917b8583 Implement getExportEstimatedSize in migrators
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Côme Chilliet
f20b7e5764 Add a method to get estimated export size in IMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
nextcloud-command
b9e47ad054 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-30 04:21:52 +00:00
Nextcloud bot
72bb8f6c31
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-30 02:31:52 +00:00
Nextcloud bot
5a12e8f906
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-29 02:33:23 +00:00
Daniel Kesselberg
f399fd41ec
Fix docblock for return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-27 20:05:46 +02:00
Carl Schwan
ec96aa527b
Merge pull request #32594 from nextcloud/fix/groupfolder-not-loading-when-share-disabled
Fix loading groupfolder info when share api is disabled
2022-05-27 18:54:49 +02:00
Carl Schwan
e4378fd18c
Merge pull request #32349 from nextcloud/enh/projects-event
Add event to load additional scripts for projects
2022-05-27 18:36:40 +02:00