Shamim Rezaie
4f96d7ac92
MDL-70721 core: a new mustache helper to clean string after get_string
2021-11-15 22:14:03 +11:00
Michael Hawkins
6d26ba77f3
MDL-72096 core: Add safe ORDER BY helpers for db sorting from user input
...
The new get_safe_orderby() and get_safe_orderby_multiple() methods
provide a centralised safe way for user submitted sorting values to be
incorporated into SQL ORDER BY. They do this by removing the need for
user submitted data to pass in any SQL and not allowing arbitrary
column values, instead using string keys which map to a predefined
list of allowed sortable columns.
2021-11-15 12:42:43 +08:00
Mathew May
6ca9c2154a
MDL-70801 core_my: Add a new courses page
2021-11-15 11:49:35 +08:00
Andrew Nicols
e11332cf90
MDL-69092 behat: Repeated generator
2021-11-15 11:06:58 +11:00
Jake Dallimore
c5a2e2db6c
Merge branch 'MDL-71912-master-V4' of git://github.com/abgreeve/moodle
2021-11-09 11:47:55 +08:00
Adrian Greeve
b72fa5fbae
MDL-71912 behat: Updating various tests using assign steps.
2021-11-09 11:24:08 +08:00
Huong Nguyen
ffca35b805
MDL-72896 Accessibility: Make html_table responsive
...
The tables are generated by html_table will responsive across viewports
2021-11-09 09:41:27 +07:00
Víctor Déniz
6c920c9f56
Merge branch 'MDL-72995-master' of https://github.com/ilyatregubov/moodle
2021-11-04 23:42:31 +00:00
Ilya Tregubov
ac93013cd1
MDL-72995 core_course: Revert "MDL-55231: Partial course cache rebuild"
...
This reverts commits c1468388bc
,
c1468388bc
and
9a900492bc
.
2021-11-04 11:57:58 +02:00
Paul Holden
e22fded5fe
MDL-70823 core: safer alternative for unserializing objects.
2021-11-03 16:57:06 +01:00
Andrew Nicols
f764fa8e62
Merge branch 'MDL-72433-master' of git://github.com/peterRd/moodle
2021-10-29 11:27:39 +08:00
Andrew Nicols
73ca68d3d5
Merge branch 'MDL-72779' of https://github.com/paulholden/moodle
2021-10-29 10:16:56 +08:00
Shamim Rezaie
674ce41ffe
Merge branch 'MDL-71086' of https://github.com/paulholden/moodle
2021-10-29 00:10:24 +11:00
Andrew Nicols
54b4418596
Merge branch 'MDL-72871' of https://github.com/stronk7/moodle
2021-10-28 14:51:34 +08:00
Andrew Nicols
f80a31b8b6
Merge branch 'MDL-72827-master' of git://github.com/peterRd/moodle
2021-10-28 11:51:29 +08:00
Peter Dias
cb2afc668d
MDL-72827 completion: Revert completion flow logic
...
- Reverts the custom flow logic introduced in the 52206
- Expand unit tests to cover different grade based completion settings
2021-10-28 11:38:10 +08:00
Andrew Nicols
62f1e0540e
Merge branch 'MDL-72263-master-v02' of git://github.com/ferranrecio/moodle
2021-10-28 08:51:09 +08:00
Ferran Recio
59128bb411
MDL-72263 courseformat: adding core/tree to course index
2021-10-27 10:54:56 +02:00
Eloy Lafuente (stronk7)
fdc2dcf264
MDL-72871 cleanup: Remove incorrect whitespace from codebase
...
Differences can be checked with git diff --ignore-all-space and
that will show that the only non-whitespace change is in a test
in the git lib/tests/html2text_test.php file. In that case the
whitespace has been replaced by a quoted string (of whitespaces)
keeping the test 100% equivalent and workarrounding the whitespace.
2021-10-26 17:19:11 +02:00
Dongsheng Cai
9a900492bc
MDL-55231 core_course: Partial course cache rebuild
2021-10-26 19:08:15 +11:00
abgreeve
ca229dfcad
Merge branch 'MDL-69371-master-4' of git://github.com/bmbrands/moodle
2021-10-21 17:16:48 +08:00
Andrew Nicols
f59018f67a
Merge branch 'MDL-71953-master' of git://github.com/HuongNV13/moodle
2021-10-21 14:02:58 +08:00
Huong Nguyen
bca6b06a1c
MDL-71953 calendar: Accessibility improvement for manage subscription
...
- Create new web services for manage subscription (Update calendar subscription)
- Modified delete subscription feature to use Web service.
- Midified update subscription feature to use in-place editbale
- Delete subscription feature now have a confirmation box before processing.
- Fixed some accessibility issues
- Used 'Delete' instead of 'Remove' for deleting subscriptions
2021-10-21 11:02:34 +07:00
Jun Pataleta
56c55f996a
Merge branch 'MDL-72352-master-v2' of git://github.com/peterRd/moodle
2021-10-20 15:45:22 +08:00
Peter Dias
44922dfe2d
MDL-72352 navigation: Unit tests
2021-10-20 14:55:11 +08:00
Bas Brands
cf630f06a1
MDL-69371 core_renderer: Move unit test for language renderable
2021-10-19 13:47:46 +02:00
Andrew Nicols
d07a2bc105
Merge branch 'MDL-71810-master-3' of git://github.com/HuongNV13/moodle
2021-10-15 11:30:55 +08:00
Huong Nguyen
0328241373
MDL-71810 calendar: responsiveness for calendar block
...
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>>
2021-10-15 10:24:34 +07:00
Peter Dias
f019394b89
MDL-72433 core: Final deprecation get_grades
...
Final deprecation of core_grades_external::get_grades along with unit tests and related private methods.
2021-10-15 10:53:45 +08:00
Ilya Tregubov
e95aee50cc
Merge branch 'MDL-72099-master' of https://github.com/aanabit/moodle
2021-10-14 22:02:31 +07:00
Amaia Anabitarte
1d4edcb57b
MDL-72099 core_contenbank: Add context navigation
2021-10-14 13:04:13 +02:00
Paul Holden
310bf46963
MDL-72779 core: add set_many helper method to persistent class.
2021-10-13 14:44:23 +01:00
Mihail Geshoski
2c9ab4980d
MDL-72530 navigation: Optional max limit of displayed secondary nodes
...
Includes an optional function argument $maxdisplayednodes (int/null)
in force_nodes_into_more_menu() which will enable configuration of the
max limit of displayed nodes in the secondary navigation. If null,
a limit of displayed nodes will not be applied.
2021-10-13 12:58:32 +08:00
Shamim Rezaie
045ca2f1f0
Merge branch 'MDL-72689-master' of https://github.com/sharidas/moodle
2021-10-11 20:11:44 +11:00
Paul Holden
de2b0565a7
MDL-71086 core: load only those properties defined within persistent.
2021-10-11 09:09:27 +01:00
Sujith Haridasan
28f4ab461e
MDL-72689 core_navigation: Respect homepage preference
...
If defaulthomepage is set to Dashboard then Site home link
in the primary navigation should point to "/?redirect=0"
2021-10-08 10:46:40 +05:30
Eloy Lafuente (stronk7)
8b577dfb46
Merge branch 'MDL-72621-master' of git://github.com/andrewnicols/moodle
2021-10-07 21:06:07 +02:00
Ilya Tregubov
b4675942ce
Merge branch 'MDL-52206-master-rebased' of git://github.com/peterRd/moodle
2021-10-07 12:55:12 +07:00
Jake Dallimore
3c7e486205
Merge branch 'MDL-72094-master' of git://github.com/mihailges/moodle
2021-10-06 10:51:29 +08:00
Andrew Nicols
3482a5494b
Merge branch 'MDL-72347-master' of git://github.com/sarjona/moodle
2021-10-05 23:20:38 +02:00
Andrew Nicols
8b7fb0f7ab
Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle
2021-10-05 23:18:46 +02:00
Peter
90acd8d381
MDL-52206 core: Add completion criteria to course_modules
2021-10-04 19:44:02 +08:00
Sara Arjona
32576936ad
MDL-72347 filter: Remove censor filter
...
Word censorship filter is not widely used these days so it has been
removed from Moodle core.
2021-10-04 09:28:59 +02:00
Eloy Lafuente (stronk7)
e4f33b837c
MDL-72329 phpunit: Avoid === on floats and raw reserved word
...
In general it's a bad idea to compare floats with ===,
because depending of different systems precision, can
come to mismatches after certain decimal position.
So we replace them by:
- assetIsFloat() : to verify the type.
- assertEqualsWithDelta() : to compare values with some delta allowed.
Also, "raw" is Oracle reserved word, so renaming to "someraw" in tests.
2021-10-01 18:40:06 +02:00
Andrew Nicols
0437f409e5
Merge branch 'MDL-72329' of https://github.com/stronk7/moodle
2021-10-01 13:21:46 +02:00
Ilya Tregubov
bb0942ad71
Merge branch 'MDL-71610-master' of git://github.com/andrewnicols/moodle
2021-10-01 13:21:46 +02:00
Eloy Lafuente (stronk7)
0df1347304
MDL-72329 phpunit: Fix some tests
...
- XMLDB_TYPE_FLOAT definition was incorrect, meaning no decimals for
some DBs.
- Avoid using reserved words in column names.
2021-10-01 13:21:45 +02:00
Andrew Nicols
1d2cdb3a0d
MDL-71610 behat: Add custom steps for edit mode checks
2021-10-01 16:41:03 +08:00
Ferran Recio
5d18501ffb
MDL-71795 behat: fix breadcrumb navigation step
2021-10-01 09:03:56 +02:00
Andrew Nicols
29662c3488
Merge branch 'MDL-72329-master' of https://github.com/dravek/moodle
2021-10-01 11:02:28 +08:00