98 Commits

Author SHA1 Message Date
Amaia Anabitarte
66be08216e MDL-69046 core_contentbank: Escape quotes when showing name 2020-11-03 12:34:28 +01:00
Eloy Lafuente (stronk7)
40de097e65 MDL-67673 phpunit: Remove deprecated assertContains() uses on strings
Both assertContains() and assertNotContains() are deprecated in PHPUnit 8
for operations on strings. Also the optional case parameter is. All uses
must be changed to one of:

- assertStringContainsString()
- assertStringContainsStringIgnoringCase()
- assertStringNotContainsString()
- assertStringNotContainsStringIgnoringCase()

More info: https://github.com/sebastianbergmann/phpunit/issues/3422

Regexp to find all uses:

ag 'assert(Not)?Contains\('
2020-10-21 12:46:00 +02:00
Amaia Anabitarte
97c0fa7286 MDL-69672 core_contentbank: is_context_allowed unit tests 2020-09-29 17:46:11 +02:00
Amaia Anabitarte
08687a5198 MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
Bas Brands
a522ded1e3 MDL-69454 core_search: consistent content bank search 2020-09-21 11:54:53 +02:00
Amaia Anabitarte
22da620a7c MDL-68688 core_contentbank: Empty content bank notification 2020-09-10 11:58:28 +02:00
Andrew Nicols
805cca26fd Merge branch 'MDL-69270-master' of git://github.com/ferranrecio/moodle 2020-09-01 07:26:02 +08:00
Andrew Nicols
e1f3746112 MDL-69269 contentbank: Fix issues identified in integration 2020-09-01 07:26:01 +08:00
Sara Arjona
66455e02d8 MDL-69269 contentbank: add support to download content 2020-08-28 12:28:13 +02:00
Ferran Recio
c5a8469abb MDL-69270 contentbank: replace content with file 2020-08-26 12:36:27 +02:00
Andrew Nicols
f8e916d705 Merge branch 'MDL-68975-master' of git://github.com/sarjona/moodle 2020-08-20 08:40:37 +08:00
Andrew Nicols
d606ed13bc Merge branch 'MDL-69473-master' of git://github.com/sarjona/moodle 2020-08-20 07:39:22 +08:00
Andrew Nicols
7cd63bde9f Merge branch 'MDL-69089-master' of git://github.com/aanabit/moodle 2020-08-19 08:18:16 +08:00
Eloy Lafuente (stronk7)
fbb0767536 MDL-69475 versions: bump all versions and requires in master
version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.
2020-08-18 00:47:15 +02:00
Amaia Anabitarte
dfd8f6b56e MDL-69089 core_contentbank: Tests for empty content names 2020-08-17 15:54:36 +02:00
Amaia Anabitarte
5ea98dc5b1 MDL-69089 core_contentbank: Empty content names are not allowed 2020-08-17 15:54:36 +02:00
Sara Arjona
5028169b26 MDL-69473 contentbank: change incorrect ref to size in type column 2020-08-14 08:53:49 +02:00
Sara Arjona
15381c0b33 MDL-68975 contentbank: add author field to file details view 2020-08-13 19:10:15 +02:00
Ferran Recio
5132309170 MDL-69143 contentbank: catching Exception on file upload 2020-08-12 16:57:17 +02:00
Ferran Recio
910755acf5 MDL-69143 contentbank: fix tests when extra plugins installed 2020-07-29 17:49:50 +02:00
Ferran Recio
3dfbd5a16f MDL-69143 contentbank: add import file method to content 2020-07-29 17:49:50 +02:00
Amaia Anabitarte
088786d284 MDL-69047 core_contentbank: Hard coding status messages 2020-06-18 18:06:30 +02:00
Luca Bösch
061893d89b MDL-69060 core_contentbank: fix contenbank typos. 2020-06-15 13:35:43 +02:00
Eloy Lafuente (stronk7)
115cc0214f MDL-68973 versions: bump all versions and requires near release
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Jun Pataleta
ea9a854bb6 Merge branch 'MDL-68962-master' of git://github.com/sarjona/moodle 2020-06-09 11:30:37 +08:00
Amaia Anabitarte
7be38070d4 MDL-68936 core_contentbank: Behat test for editing capabilities 2020-06-08 16:40:10 +02:00
Amaia Anabitarte
0633e60a91 MDL-68936 core_contentbank: Checking manage permissions to allow editing 2020-06-08 16:40:10 +02:00
Sara Arjona
ffd6465029 MDL-68962 contentbank: get sortbyX strings from the correct place 2020-06-08 12:00:22 +02:00
Eloy Lafuente (stronk7)
f6128f3919 Merge branch 'MDL-68888-master-enfix' of git://github.com/mudrd8mz/moodle 2020-06-05 19:21:43 +02:00
Helen Foster
98c882132d MDL-68888 lang: Import fixed English strings (en_fix)
Significant string changes: userdata, userdata_help, keptroles,
keptroles_help in core_backup - Clearer wording about how the settings
work.
2020-06-05 08:33:55 +02:00
Víctor Déniz Falcón
96a4d3f309 Merge branch 'MDL-68641-master' of git://github.com/aanabit/moodle 2020-06-04 12:46:11 +01:00
Amaia Anabitarte
747f6012e4 MDL-68641 contenttype_h5p: Libraries permissions tests 2020-06-04 13:44:23 +02:00
Amaia Anabitarte
2721dd3a63 MDL-68641 contenttype_h5p: Showing permission errors 2020-06-04 13:44:23 +02:00
Sara Arjona
4106d26354 Merge branch 'MDL-68796-master' of git://github.com/bmbrands/moodle 2020-06-03 14:26:53 +02:00
Jake Dallimore
e714288d90 Merge branch 'MDL-68898-master' of git://github.com/bmbrands/moodle 2020-06-03 12:10:38 +08:00
Bas Brands
f31d33c2de MDL-68898 core_contentbank: add link attribute to contentbank items
- this will reveil the fullname of the item which is useful when
the name is truncated
2020-06-02 16:20:48 +02:00
Amaia Anabitarte
45bff7f9d6 MDL-68578 contenttype_h5p: Behat test for H5P editor changes 2020-06-02 16:17:22 +02:00
cescobedo
7e5a395854 MDL-68861 core_contentbank: Fix translation in add button 2020-06-01 08:05:42 +01:00
Víctor Déniz Falcón
f30d1fd6c6 MDL-68858 core_contentbank: added scrollable dropdown and missing icons 2020-05-29 11:57:01 +01:00
Víctor Déniz Falcón
db1fb23ce2 Merge branch 'MDL-67813-master-1' of git://github.com/mihailges/moodle 2020-05-28 13:00:16 +01:00
Eloy Lafuente (stronk7)
6f56e743ed Merge branch 'MDL-68753-master-enfix' of git://github.com/mudrd8mz/moodle 2020-05-28 13:01:39 +02:00
Mihail Geshoski
1bb6231b32 MDL-67813 core_contentbank: Add content name parameter in the generator 2020-05-28 12:06:31 +08:00
Bas Brands
c393d8185a MDL-68796 core_contentbank: Store view preferences
includes privacy export, privacy unit test
2020-05-27 17:27:23 +02:00
Víctor Déniz Falcón
c49d8663ad MDL-67810 core_contentbank: contenttype_h5p editor integrated 2020-05-27 10:27:55 +01:00
Victor Deniz Falcon
613281cd25 MDL-67810 core_contentbank: placed the edit action in the view page 2020-05-27 10:27:13 +01:00
Victor Deniz Falcon
a99dab944f MDL-67810 core_contentbank: contentype_h5p modified to support add menu 2020-05-27 10:27:13 +01:00
Víctor Déniz Falcón
75f58cbfa2 MDL-67810 core_contentbank: added dropdown menu to create content 2020-05-27 10:27:13 +01:00
David Mudrák
c47b174d44 MDL-68753 lang: Use the updated strings in the tests 2020-05-27 09:59:35 +02:00
Luca Bösch
937c7e5f0c MDL-68819 core_contentbank: "Upload" button is not localized. 2020-05-24 21:52:43 +02:00
Andrew Nicols
cd08d856c6 MDL-68493 contentbank: Whitespace fixes 2020-05-22 09:21:21 +08:00