Commit graph

21354 commits

Author SHA1 Message Date
Julien Veyssier
b82db5fd5f
Merge pull request #36071 from nextcloud/enh/36043/improve-link-reference-content-type-check
improve link reference content-type check
2023-01-11 11:02:38 +01:00
Nextcloud bot
380e5a4ee1
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 02:24:41 +00:00
Julien Veyssier
f0589523c8
improve link reference content-type check, accept 'text/html;*'
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-10 16:17:52 +01:00
Joas Schilling
fc096ae9db
Merge pull request #36048 from nextcloud/bugfix/36046/only-verify-the-same-hash-once
fix(authentication): Only verify each hash once
2023-01-10 15:40:11 +01:00
Vincent Petry
0c37d059dc
Merge pull request #35964 from nextcloud/IMigrationStep-fix
IMigrationStep progress bar fix
2023-01-10 12:39:31 +01:00
Julius Härtl
32e691f2f6
Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboard 2023-01-10 12:08:52 +01:00
Nextcloud bot
1cfea13e94
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 02:24:52 +00:00
Joas Schilling
2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 16:32:36 +01:00
Joas Schilling
28b18d561c
fix(authentication): Only hash the new password when needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:58:26 +01:00
Joas Schilling
c5bb19641c
fix(authentication): Invert the logic to the original intention
We need to store the new authentication details when the hash did **not** verify
the old password.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:13:08 +01:00
Joas Schilling
55d8aec759
fix(authentication): Only verify each hash once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 14:53:12 +01:00
Julien Veyssier
b07adddf39
in the link reference provider, check if the link content type begins with text/html
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-09 11:08:56 +01:00
Nextcloud bot
ff0a32f70f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 02:24:48 +00:00
Nextcloud bot
0489921f3f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 02:24:44 +00:00
Nextcloud bot
484f2fd5cc
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 02:24:09 +00:00
Nextcloud bot
d4a8cce174
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-06 02:24:57 +00:00
Julien Veyssier
552611d341
add restrictions on content-type and content-size when downloading to resolve with opengraph link provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-05 12:36:11 +01:00
Julius Härtl
18164ae516
Merge pull request #33898 from nextcloud/fix/authtoken-password-update
PublickKeyTokenProvider: Fix password update routine with password hash
2023-01-05 08:01:47 +01:00
Joas Schilling
4670c5b38f
Merge pull request #35981 from nextcloud/followup/35965/const-for-max-password-length
Add a const for the max user password length
2023-01-05 06:31:32 +01:00
Joas Schilling
411754a12a
Merge pull request #35979 from nextcloud/feature/talk-4657/show-local-time-in-avatar-menu
Show local time in avatar menu
2023-01-05 06:30:44 +01:00
Nextcloud bot
8162008672
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-05 02:24:26 +00:00
Joas Schilling
b4a29644cc
Add a const for the max user password length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +01:00
Joas Schilling
8eca26012f
Show local time in avatar menu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:09:58 +01:00
Joas Schilling
c8160a6150
Merge pull request #35873 from leegarrett/35830_lgarrett
Implement occ status command via return codes v2 (Fixes: #35704)
2023-01-04 09:51:12 +01:00
Joas Schilling
348454cb91
Merge pull request #35876 from bennet0496/patch-mail-header
Adding option to set Auto-Submitted email header
2023-01-04 09:34:14 +01:00
Marcel Klehr
adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-01-04 08:30:53 +01:00
Julius Härtl
5b67b92f73
chore(OCP): Remove deprecated dashboard interfaces and classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 20:18:23 +01:00
bbx-github
08f9d71449
fix link to documentation of php function
Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
2023-01-03 18:31:05 +01:00
Git'Fellow
8eda4ddc9e
IMigrationStep progress bar fix
Context here: https://github.com/nextcloud/server/issues/35960

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-03 16:32:44 +01:00
Bennet Becker
c8bde160cd
fix missing class in NewUserMailHelper and static code analysis errors
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 16:23:41 +01:00
Bennet Becker
bd846df699
updating autoloader files
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:16:05 +01:00
Bennet Becker
4dc0957164
refactor AutoSubmittedValue to Headers\AutoSubmitted and adding
header name to constants

Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:15:35 +01:00
Côme Chilliet
06da8adcd3
Merge pull request #35943 from nextcloud/fix/code-fixes-from-34997
Code fixes from PR 34997
2023-01-03 14:32:31 +01:00
Lee Garrett
fba906e34a Implement occ status command via return codes (Fixes: #35704)
Running `./occ status -e` will produce any output. However, it will:

exit 0 during normal operation,
exit 1 when in maintenance mode,
exit 2 when `./occ upgrade` is needed.

Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
2023-01-03 10:58:07 +01:00
Côme Chilliet
a7740c0ae6
Suppress last psalm error until upstream fix is released and included
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:17:38 +01:00
Côme Chilliet
e4a780127d
Small fix in OC_API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:05:18 +01:00
Côme Chilliet
a372564850
Fix psalm spotted errors with new requirements
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:02:28 +01:00
Julius Härtl
b8046e2ba4
Align checksum dav property with desktop client parsing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 16:55:35 +01:00
Simon L
f57a810276 Revert "avatar generation - disable setimageformat"
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-29 11:06:22 +01:00
Nextcloud bot
00e14d0f6a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-29 03:10:11 +00:00
Simon L
a0f21800fe avatar generation - disable setimageformat
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-27 13:25:04 +01:00
Bennet Becker
9d9a0b7e06
use constant as default value in value getter
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-26 23:20:15 +01:00
Nextcloud bot
9d5dd77747
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-26 02:43:28 +00:00
Bennet Becker
04c3c87946
Revert "ran build/autoloaderchecker.sh after adding AutoSubmittedValue class"
This reverts commit 77569bae45.

Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-24 14:56:32 +01:00
Nextcloud bot
5256ba0f2d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-24 03:02:27 +00:00
Bennet Becker
411467af57
fix static-analysis error and formatting code
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-23 21:48:52 +01:00
Bennet B
4b992cdf7f
Update PHPDoc annotation in lib/public/Mail/IMessage.php
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Bennet B <bennet0496@users.noreply.github.com>
2022-12-23 19:27:18 +01:00
Bennet Becker
77569bae45
ran build/autoloaderchecker.sh after adding AutoSubmittedValue class
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:58 +01:00
Bennet Becker
c1c6d215c7
fix getAutoSubmitted return type and adding unit tests
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:49 +01:00
Bennet Becker
b3d9b57815
Adding API method to set the Auto-Submitted header to OCP\Mail\IMessage
and implementation in OC\Mail\Message

Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:20 +01:00