David Mudrák
1661204a6c
MDL-59544 forms: Implicit validation of the filemanager and filepicker
...
The patch adds an extra validation step against accepted file types.
Even if the repository checks are bypassed (as illustrated in the
Behat), the invalid file is still caught by the element's validation
rules.
It turns out there is no way to test the filepicker element easily via
Behat. Additionally, it provides the renaming features only with
disabled javascript. So the Behat tests are provided for the filemanager
only.
AMOS BEGIN
CPY [err_wrongfileextension,mod_workshop],[err_wrongfileextension,core_form]
AMOS END
2017-07-14 20:38:54 +02:00
..
2016-10-05 10:58:10 +08:00
2016-11-15 12:44:59 +08:00
2017-07-12 16:46:49 +02:00
2017-05-19 19:22:07 +02:00
2017-04-10 11:54:09 +08:00
2017-07-12 16:46:49 +02:00
2017-07-14 11:46:43 +01:00
2017-04-13 12:21:13 -04:00
2017-04-27 10:07:01 +08:00
2017-07-10 09:18:56 +01:00
2017-07-12 10:07:57 +08:00
2016-08-01 09:12:36 +08:00
2017-06-19 08:50:23 +08:00
2017-03-17 15:51:28 +08:00
2017-07-14 20:38:54 +02:00
2017-03-23 14:44:33 +08:00
2016-10-20 17:52:32 +02:00
2016-10-04 11:16:29 +01:00
2017-05-02 09:33:18 +08:00
2016-09-19 08:59:38 +01:00
2016-10-10 13:17:04 +01:00
2016-10-14 08:31:23 +01:00
2016-07-20 12:55:09 +08:00
2016-10-13 09:18:34 +08:00
2017-06-02 07:45:57 +01:00
2017-04-12 14:06:18 +02:00
2017-06-20 16:13:35 +08:00
2017-05-04 10:00:54 +08:00
2016-11-21 08:57:53 +08:00
2016-09-23 10:49:49 +01:00
2016-09-23 10:49:49 +01:00
2016-10-06 11:51:28 +02:00
2016-10-04 10:47:06 +08:00
2017-07-12 16:46:49 +02:00
2017-07-11 11:29:53 +01:00
2017-07-12 16:46:49 +02:00
2016-09-14 13:48:38 +10:00
2017-06-23 10:44:15 +08:00
2017-06-05 15:13:07 +01:00
2017-07-04 10:00:26 +08:00
2017-04-19 06:20:41 +08:00
2016-11-07 15:56:26 +10:30
2017-06-29 15:14:47 +01:00
2016-07-19 14:44:51 +08:00
2017-06-19 12:21:45 +01:00
2016-08-03 09:05:55 +08:00
2016-11-16 08:59:15 -08:00
2017-03-06 12:04:25 +10:30
2017-06-02 17:06:28 +01:00
2017-06-28 18:24:50 +02:00
2017-06-27 11:35:05 +08:00
2017-03-16 18:43:15 +01:00
2017-06-06 19:27:59 +02:00
2017-04-18 13:28:08 +02:00
2016-11-11 12:37:07 +08:00
2017-07-11 13:47:26 +01:00
2017-07-03 10:19:33 +08:00
2017-05-24 12:44:27 +05:30
2017-07-11 13:47:26 +01:00
2016-08-15 10:54:28 +08:00
2017-03-17 15:52:17 +08:00
2017-03-20 16:02:11 +08:00
2017-07-12 10:07:58 +08:00
2017-02-08 11:09:54 +00:00
2016-10-10 13:17:04 +01:00
2017-02-25 23:42:37 +01:00
2017-05-16 10:48:27 +01:00
2017-03-17 15:52:17 +08:00
2016-11-04 17:30:40 +08:00
2017-05-02 15:46:48 +08:00
2017-04-19 08:54:35 +08:00
2017-07-10 09:40:02 +08:00
2016-10-05 15:08:38 +01:00
2017-07-04 10:11:34 +08:00
2017-05-02 12:21:36 +08:00
2016-07-29 08:15:16 +08:00
2016-09-23 10:55:16 +01:00
2017-06-23 09:43:07 +10:00
2016-11-15 12:44:59 +08:00
2017-07-07 11:11:50 +08:00
2017-07-04 16:27:30 +08:00
2017-05-15 12:29:15 +08:00
2017-04-19 11:41:57 +08:00
2017-07-10 09:16:55 +01:00
2017-03-17 15:52:17 +08:00
2016-11-17 14:20:52 +08:00
2016-10-04 09:49:27 +01:00
2017-07-12 10:05:59 +08:00
2017-03-17 15:52:17 +08:00
2017-04-11 08:30:09 +01:00
2017-02-24 10:42:28 +00:00
2017-02-07 13:47:40 +11:00
2017-06-14 12:30:39 +01:00
2017-05-23 19:40:37 +08:00
2017-06-27 11:35:05 +08:00
2017-04-17 11:07:43 +01:00
2017-07-11 10:16:40 +01:00
2017-07-10 09:18:56 +01:00
2016-11-16 17:19:19 +08:00
2017-04-04 16:20:41 +10:00