nextcloud/tests/lib
Daniel Calviño Sánchez 45de42a6b8 Fix disabling send password by Talk without new password in mail shares
When "send password by Talk" was disabled in a mail share it was
possible to keep the same password as before, as it does not pose any
security issue (unlike keeping it when "send password by Talk" is
enabled, as in that case the password was already disclosed by mail).

However, if a mail share is updated but the password is not set again
only the hashed password will be available. In that case it would not
make sense to send the password by mail, so now the password must be
changed when disabling "send password by Talk".

Note that, even if explicitly setting the same password again along with
the "send password by Talk" property would work, this was also prevented
for simplicity.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:46:12 +02:00
..
Accounts Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Activity Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
App Revert "Compress the appstore requests by default" 2020-05-20 13:37:28 +02:00
AppFramework Merge pull request #20939 from nextcloud/enh/middleware/not_modified 2020-05-13 09:04:56 +02:00
Archive Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Authentication Do not create remember me cookie 2020-04-23 19:12:54 +02:00
Avatar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BackgroundJob Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Cache Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
Calendar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Collaboration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Command Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
Comments Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Contacts/ContactsMenu Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DB Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files Add lazy events for the Node API 2020-05-28 12:35:45 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group dont get the group details if we only ask for the id 2020-05-07 17:16:43 +02:00
Hooks Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Http/Client Do not read certificate bundle from data dir by default 2020-05-25 16:57:56 +02:00
IntegrityCheck Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
L10N Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Lock Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Mail Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
Memcache Add visibility to all constants 2020-04-10 16:54:27 +02:00
Migration Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Notification Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Security Use random_bytes 2020-05-11 12:46:59 +02:00
Session Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports 2020-03-27 17:14:08 +01:00
Share Add visibility to all constants 2020-04-10 16:54:27 +02:00
Share20 Fix disabling send password by Talk without new password in mail shares 2020-05-29 02:46:12 +02:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Traits Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Updater Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
User Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Util Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
APITest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
AllConfigTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppConfigTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
AppTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
ConfigTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
ContactsManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DateTimeFormatterTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
ErrorHandlerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
FileChunkingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HelperStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
InfoXmlTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateServiceTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InstallerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelperGetFileSizeTest.php Fix multiline comments 2020-04-08 22:24:54 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
LoggerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfoTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
NaturalSortTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NavigationManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SetupTest.php Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
SubAdminTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TagsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TempManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TestCase.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
UrlGeneratorTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
UtilCheckServerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00