Juan Segarra Montesinos
a003b3b882
MDL-76257 core: Activity intro should honor user preference on creation
2023-03-14 06:07:28 +01:00
Ilya Tregubov
d5d64e1c8b
Merge branch 'MDL-77429-401-fix' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-10 14:52:02 +08:00
Andrew Nicols
f8b1b4092f
MDL-77429 course: Change course date to previous day
...
When a test runs just after midnight, and the user time zone is not the
same as the server timezone, and the course is created using a generator
(which runs in server time zone) but the UI presented in the user
timezone, the course start time is still in the future.
We need to create the course a day earlier to ensure that the "This
week" indicator is in the correct day.
2023-03-10 14:11:23 +08:00
Jake Dallimore
65cb8e0792
Merge branch 'MDL-77219-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-03-10 10:36:25 +08:00
Andrew Nicols
8112ce8376
Merge branch 'MDL-77329-401-clr' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-03-09 22:19:08 +08:00
Andrew Nicols
d5b43c03a5
Merge branch 'MDL-77429-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-09 22:03:46 +08:00
Andrew Nicols
f262b2223f
MDL-77037 core_course: Coding style fix in Behat feature
2023-03-09 21:59:41 +08:00
Andrew Nicols
3c1c543c53
Merge branch 'MDL-77037-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-09 21:59:37 +08:00
James C
370c67e7dc
MDL-77329 course: Prevent collapse state loss
2023-03-09 11:56:00 +01:00
Sara Arjona
ab34f215a9
Merge branch 'MDL-76940-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-09 10:54:50 +01:00
Jun Pataleta
bb61d8392b
Merge branch 'MDL-77559-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-09 15:57:44 +08:00
Laurent David
bdd1708455
MDL-77037 core_courseformat: Refresh course index
...
* Refresh course index when language change
2023-03-09 08:44:22 +01:00
Andrew Nicols
3a8b5523d5
Merge branch 'MDL-77014-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-03-09 11:42:03 +08:00
Andrew Nicols
cd48ae56c7
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Laurent David
ed08a4ee52
MDL-76940 core_courseformat: Index refreshing when role switch
...
* Hidden sections and content should not visible to students when switching role
2023-03-08 11:51:51 +01:00
Angelia Dela Cruz
cd609bd915
MDL-77429 Behat: Add coverage for changing course format as teacher
2023-03-08 15:48:28 +08:00
Luca Bösch
5e4d3c4d5b
MDL-77014 course: Single activity format course title multilang.
2023-03-08 08:05:14 +01:00
Sara Arjona
acc250a824
MDL-77219 theme_boost: Remove plugin name on course page
...
In 4.0, the plugin name was added above their name. Based on the community
feedback and the research done by the UX team, this needs to be removed.
This commit removes the activity name when edit mode is disabled.
This is a backport of MDL-74272.
2023-03-07 11:03:23 +01:00
Víctor Déniz
98f10149d6
MDL-77416 lang: Use fixed strings in tests
2023-03-03 13:27:01 +00:00
Jun Pataleta
a377bf30c4
Merge branch 'MDL-75012-401-5' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 12:31:09 +08:00
Andrew Nicols
288620b0b4
MDL-75012 js: Full build of all grunt things
2023-03-02 12:15:25 +08:00
Dani Palou
8045e5e3dd
MDL-77400 reportbuilder: Fix enrolment status return type
2023-02-28 10:41:38 +01:00
Andrew Nicols
09534ee3f9
Merge branch 'MDL-75578-401' of https://github.com/mackensen/moodle into MOODLE_401_STABLE
2023-02-16 12:01:28 +08:00
Paul Holden
be6cb6ab13
MDL-77241 course: optional chaining safety for section toggles.
2023-02-14 13:15:29 +00:00
Andrew Nicols
d7e9b065cb
Merge branch 'MDL-75870-401' of https://github.com/nwp90/moodle into MOODLE_401_STABLE
2023-02-02 12:34:40 +08:00
Andrew Nicols
aa1b0c5ebd
Merge branch 'MDL-75085-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-02-02 12:02:47 +08:00
Andrew Nicols
1780d6a5e8
Merge branch 'MDL-75830-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-02 11:58:02 +08:00
Angelia Dela Cruz
0a66a77054
MDL-75830 behat: Book behat tests optimised
...
Replace steps that manually add Book instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Additionally, performed Behat cleanup and optimisation to affected
files.
2023-02-02 09:05:38 +08:00
Andrew Nicols
3ef9c4c5d0
Merge branch 'MDL-75345-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-02 08:17:54 +08:00
Nick Phillips
e4e7ec5efb
MDL-75870 course: only section togglers to toggle sections
2023-02-02 11:17:31 +13:00
Paul Holden
c125d5f3f2
MDL-75345 reportbuilder: improve course/user custom report tests.
...
Ensure column and filters provided by each source have sufficient
coverage. Re-factor individual entity/helper class tests to test
their own specific implementation only.
Remove now-defunct test fixtures.
2023-02-01 15:41:28 +00:00
Jun Pataleta
e3dd47671c
Merge branch 'MDL-76985-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-02-01 14:11:53 +08:00
Jun Pataleta
bdd3e5efb1
MDL-75085 external: Fix external_multiple_structure parameter passing
...
Some calls to the external_multiple_structure's constructor incorrectly
pass parameters where the value for the $description parameter is not
being passed. This results to invalid values being passed for the
$required parameter.
2023-02-01 11:39:53 +08:00
Charles Fulton
5cd9e69b6a
MDL-75578 course: require course library to resolve namespace issues
2023-01-30 10:44:57 -05:00
Stefan Hanauska
928633a33e
MDL-76985 course: Redirect to moved section
2023-01-25 09:00:06 +01:00
Andrew Nicols
5fbbb51882
MDL-76362 core: Use empty default string when getting prefs
...
The json_decode function does not accept a null, which is the
traditional default for get_user_preferences. By passing a default of
am empty string we avoid issues in PHP 8.1.
2023-01-23 09:16:06 +08:00
Marina Glancy
2dd7290ccb
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:16:06 +08:00
Tim Hunt
2ea89b98a7
MDL-76810 redirect handling: ensure return URLs are properly sanitised
2023-01-11 11:43:12 +08:00
Paul Holden
93d95cf1fe
Merge branch 'MDL-76578-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-01-06 10:41:36 +00:00
Paul Holden
4ecd652189
MDL-76221 reportbuilder: improve report test generator methods.
...
Test generators for creating report columns, filters and conditions
now allow for setting all persistent properties.
2023-01-04 10:56:23 +00:00
Amaia Anabitarte
ad8a10e7b6
MDL-76578 core_course: One section per page summary information
2022-12-26 16:03:34 +01:00
Ilya Tregubov
e572943d21
Merge branch 'MDL-76490-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 13:09:38 +03:00
Andrew Nicols
fa309d0650
Merge branch 'MDL-76145-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-06 13:36:16 +08:00
Paul Holden
20ac0d1626
MDL-76490 behat: use defined step for interaction with autocomplete.
2022-12-05 14:22:19 +00:00
Ferran Recio
272a458099
MDL-76225 core_courseformat: fix section title id
2022-12-05 13:48:05 +08:00
Jun Pataleta
d9cd25c2fb
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-12-01 08:59:07 +03:00
Meirza
2db281b197
MDL-76145 course: Avoid long course names that exceed available space
...
Co-authored-by: Stephen Sharpe <stephen.sharpe@synergy-learning.com>
2022-11-30 11:36:24 +07:00
Marina Glancy
a5f92c041e
MDL-74853 various: add second parameter to htmlentities functions
...
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:32 +01:00
Jun Pataleta
00bae8b8a4
MDL-76403 versions: bump all versions and requires near release
2022-11-23 09:45:23 +08:00
Paul Holden
7c79ff41b0
Merge branch 'MDL-75569-master' of https://github.com/justusdieckmann/moodle
2022-11-17 14:35:01 +00:00