Commit Graph

57424 Commits

Author SHA1 Message Date
Christoph Wurst 99d525eb36
Convert 2FA token type to string
The IConfig service is documented to handle its data as strings, hence
this changes the code a bit to ensure we store keys as string and
convert them back when reading.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 14:09:37 +01:00
Christoph Wurst 378f116a63
Do not show 2FA settings if the user has no providers available
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 13:55:22 +01:00
Roeland Jago Douma a0988281ee Do not obtain userFolder of a federated user
Federated shares are somewhat special. So we can't move the files from
the main user and we should try to get it from the intialized root
already.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-22 13:52:43 +01:00
John Molakvoæ (skjnldsv) 0bc9e3ca15
Change license mail alias
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-22 13:06:35 +01:00
Roeland Jago Douma b28cea6268
Merge pull request #25271 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.171.21
Bump aws/aws-sdk-php from 3.133.27 to 3.171.21
2021-01-22 12:35:14 +01:00
Christoph Wurst 2406967b1d
Bump aws/aws-sdk-php from 3.133.27 to 3.171.21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 11:55:12 +01:00
Christoph Wurst 9f81239033
Merge pull request #25269 from nextcloud/dependabot/composer/swiftmailer/swiftmailer-6.2.5
Bump swiftmailer/swiftmailer from 6.2.4 to 6.2.5
2021-01-22 11:36:16 +01:00
Christoph Wurst 321fda7002
Bump swiftmailer/swiftmailer from 6.2.4 to 6.2.5
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 11:02:32 +01:00
John Molakvoæ (skjnldsv) d47b84be67
Add SGI and TGA preview support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-22 10:42:51 +01:00
Nextcloud bot 7989247574
[tx-robot] updated from transifex 2021-01-22 02:19:54 +00:00
Morris Jobke 480b37050b
Merge pull request #25253 from nextcloud/fix/noid/log-noise
silence log message
2021-01-21 22:05:24 +01:00
Morris Jobke fffdc02a82
Merge pull request #25255 from nextcloud/dav-storage-copy-directory
also use storage copy when dav copying directories
2021-01-21 22:04:09 +01:00
Morris Jobke ba168a981c
Merge pull request #25257 from nextcloud/dependabot/composer/sabre/dav-4.1.4
Bump sabre/dav from 4.1.3 to 4.1.4
2021-01-21 22:03:29 +01:00
Christoph Wurst 691992da80
Bump sabre/dav from 4.1.3 to 4.1.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-21 19:05:19 +01:00
Robin Appelman 168978c02e
also use storage copy when dav copying directories
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-21 17:59:28 +01:00
Arthur Schiwon ef0a3a92f4
silence log message
- this appears too often (in some configurations) when qualifying group
members which do not meet the criteria

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-21 17:25:44 +01:00
Morris Jobke 44e6956425
Merge pull request #25252 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.12.16
Bump giggsey/libphonenumber-for-php from 8.12.4 to 8.12.16
2021-01-21 17:03:09 +01:00
Christoph Wurst 648f8955d2
Bump giggsey/libphonenumber-for-php from 8.12.4 to 8.12.16
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-21 13:52:50 +01:00
Morris Jobke 10214fbee0
Merge pull request #25214 from nextcloud/dependabot/composer/phpseclib/phpseclib-2.0.30
Bump phpseclib/phpseclib from 2.0.25 to 2.0.30
2021-01-21 10:25:02 +01:00
Roeland Jago Douma a191497737 21 beta8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-21 09:13:26 +01:00
Roeland Jago Douma d4d33e3095
Merge pull request #25238 from nextcloud/enh/noid/apps-defacto-in-root
Apps folder is defacto in root folder and not above
2021-01-21 09:08:54 +01:00
Roeland Jago Douma 15b0e4d922
Merge pull request #25240 from nextcloud/enh/noid/re-use-fetched-dependencies
Re-use fetched dependencies in lib/base.php
2021-01-21 08:54:05 +01:00
Roeland Jago Douma 3d2d19aeb9
Merge pull request #25119 from nextcloud/version/21/beta7
21 beta7
2021-01-21 08:40:39 +01:00
John Molakvoæ 3478f39c0c
Merge pull request #25234 from nextcloud/bugfix/noid/fix-encoding-issue-with-oc.notification.show
Fix encoding issue with OC.Notification.show
2021-01-21 08:25:54 +01:00
Julius Härtl 349b65eff3
Merge pull request #25236 from nextcloud/mkdir-explicit-chmod
explicitly set permissions on newly created folders
2021-01-21 07:56:10 +01:00
Nextcloud bot 054783e385
[tx-robot] updated from transifex 2021-01-21 02:20:36 +00:00
dependabot-preview[bot] 56ab96cc67
[Security] Bump socket.io from 2.3.0 to 2.4.1 in /build
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 21:39:55 +00:00
Morris Jobke d84e1f1951
Re-use fetched dependencies in lib/base.php
Reduces calls to DI container by reusing already fetched dependencies.

For status.php it went from 355 to 344.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-20 21:55:16 +01:00
Morris Jobke 5b0e69828f
Apps folder is defacto in root folder and not above
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-20 21:22:39 +01:00
Vincent Petry c686f8a03a
Merge pull request #25229 from nextcloud/bugfix/noid/darkmode-popover-adjustments
Dark mode adjustments for popover
2021-01-20 17:22:18 +01:00
Robin Appelman d182043e83
explicitly set permissions on newly created folders
this works around any `umask` that might be set and limiting the folder permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-20 17:15:57 +01:00
Morris Jobke 4c81f5c4ad
Merge pull request #25212 from nextcloud/enh/preview-markdown
Enhance markdown file preview rendering
2021-01-20 15:02:41 +01:00
Morris Jobke 01f013661a
Fix typo in comment
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-20 15:02:32 +01:00
Morris Jobke 6129a85187
Merge pull request #25224 from nextcloud/bugfix/24600/fix-saving-user-credentials
Update handling of user credentials
2021-01-20 14:59:30 +01:00
Joas Schilling 613606fb88
Fix encoding issue with OC.Notification.show
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 14:44:39 +01:00
Vincent Petry 6e2c6525da
Dark mode adjustments for popover
Add new popover classes from @nextcloud/vue's Popover and PopoverMenu*
components. This fixes issues where the menu icons were not inverted.

Adjusted border for both the avatar popover menu and also actions
popover menu to make them easier to distinguish from the background.

Now using border color for the popover arrow to make it more visible
outside the border.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-20 12:25:33 +01:00
Roeland Jago Douma 2c9345a3c6
Merge pull request #25217 from nextcloud/enh/drop_index
Drop authtoken_version_index
2021-01-20 11:13:20 +01:00
Julius Härtl aed1fde6fd
Enhance markdown file preview rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-20 11:07:55 +01:00
Roeland Jago Douma fcbbcacab4 Also load CA properly in integrity check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-20 10:57:41 +01:00
Roeland Jago Douma d751fedffb phpsec lib can't parse multiple certs in one go
So we have to split it manually and do it ourselves

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-20 10:57:41 +01:00
Joas Schilling 1e35ece8e5
Fix potential empty result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 10:09:45 +01:00
Roeland Jago Douma 3d61adc908
Drop authtoken_version_index
The index was used when deleting old tokens. On top of that the index is
of course not that great since the version is either 1 or 2.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-20 09:34:41 +01:00
Roeland Jago Douma a7a60de228
Merge pull request #25223 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-01-20 09:07:35 +01:00
Joas Schilling 6c1e294edd
Compare and store the login name via the event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 08:50:17 +01:00
Joas Schilling 831c807eaf
Also fix the username when it changed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 08:46:08 +01:00
Joas Schilling 76367c5c38
Don't save credentials of another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 08:46:07 +01:00
Nextcloud-PR-Bot 454ff30fb9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-01-20 05:05:00 +00:00
Nextcloud bot e22ce09644
[tx-robot] updated from transifex 2021-01-20 02:20:52 +00:00
Morris Jobke 11c8a11ec6
Merge pull request #25151 from nextcloud/bugfix/noid/ie11-dashboard-syntax-error
Fix IE 11 dashboard syntax error
2021-01-19 23:08:33 +01:00
Arthur Schiwon fcade3dda3
do not remove valid group shares
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-19 22:58:35 +01:00