nextcloud/tests/lib
Daniel Calviño Sánchez d6f1937502 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 14:42:16 +02:00
..
Accounts Log critical fallback to user default if we can't parse the JSON 2019-12-13 12:39:29 +01:00
Activity Mode to modern phpunit 2019-11-27 15:27:18 +01:00
App Compress the appstore requests by default 2020-05-20 11:18:19 +02:00
AppFramework Fix http cache test 2020-05-13 14:40:18 +02:00
Archive Remove \OCP\Files::tmpFolder 2018-03-19 10:54:39 +01:00
Authentication Check the user on remote wipe 2020-03-25 15:50:12 +00:00
Avatar Mode to modern phpunit 2019-11-27 15:27:18 +01:00
BackgroundJob Make sure to catch php errors during job execution 2020-02-03 08:55:22 +00:00
Cache I love unit tests that mock unnecessary stuff 2019-12-04 15:22:02 +01:00
Calendar Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Collaboration dont show remote and email options if we have an exact match for local user email 2020-05-12 16:30:48 +02:00
Command Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Comments Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Contacts/ContactsMenu Do not encode contacts menu mailto links 2020-01-30 08:46:09 +00:00
DB Pick a shorter name for the transfer ownership table 2019-12-10 11:01:26 +01:00
Diagnostics Mode to modern phpunit 2019-11-27 15:27:18 +01:00
DirectEditing CHeck if file already exists during file creation 2020-01-14 07:35:31 +00:00
Encryption Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files add basic tests for s3 seeking and add some error handling if reopen return the wrong range 2020-05-20 22:58:58 +02:00
GlobalScale Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Group Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Hooks Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Http/Client Do not read certificate bundle from data dir by default 2020-05-25 17:53:23 +00:00
IntegrityCheck Mode to modern phpunit 2019-11-27 15:27:18 +01:00
L10N Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Lock Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Lockdown Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Log Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Mail Provide the proper language to the mailer 2020-04-18 11:37:05 +02:00
Memcache Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Migration Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Notification Mode to modern phpunit 2019-11-27 15:27:18 +01:00
OCS Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Preview Mode to modern phpunit 2019-11-27 15:27:18 +01:00
PublicNamespace Migrate tests for contacts manager to correct test class 2018-03-21 10:43:18 +01:00
Remote Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Repair Mode to modern phpunit 2019-11-27 15:27:18 +01:00
RichObjectStrings Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Security Use random_bytes 2020-05-11 12:24:59 +00:00
Session Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Settings Merge pull request #18064 from nextcloud/feature/php74 2019-11-28 08:36:10 +01:00
Share Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Share20 Fix disabling send password by Talk without new password in mail shares 2020-05-29 14:42:16 +02:00
Support Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SystemTag Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Template Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Traits Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Updater Add message for DoesNotExistException 2020-03-02 15:20:38 +00:00
User Add typed create user events 2019-12-03 08:03:57 +01:00
Util Some php-cs fixes 2019-11-22 20:52:10 +01:00
AllConfigTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
APITest.php Remove unused methods and constants from legacy OC_API 2018-03-12 18:03:25 +01:00
AppConfigTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
AppTest.php Allow to force enable apps via CLI 2019-12-13 13:06:12 +01:00
AutoLoaderTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
CapabilitiesManagerTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ConfigTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
ContactsManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
DateTimeFormatterTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
FileChunkingTest.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
HelperStorageTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
HookHelper.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ImageTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
InfoXmlTest.php Move settings to an app 2019-09-28 09:39:28 +00:00
InitialStateServiceTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
InstallerTest.php disable timeout on app install via cli 2020-02-12 16:34:58 +00:00
LargeFileHelperGetFileSizeTest.php TO REVERT LATER: disable tests in LargeFileHelperGetFileSizeTest 2019-11-27 15:27:28 +01:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LoggerTest.php Fix the LoggerTests for phpunit 2020-01-06 09:06:52 +01:00
MemoryInfoTest.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSortTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
RepairStepTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ServerTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SetupTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SubAdminTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
TagsTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TemplateFunctionsTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TempManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TestCase.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
UrlGeneratorTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
UtilCheckServerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
UtilTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00