Andrew Nicols
a8db8e590a
MDL-72291 js: Fix event names for inplace_editable
2021-10-04 11:17:10 +08:00
Andrew Nicols
c00e7b1bb8
Merge branch 'MDL-72291' of git://github.com/paulholden/moodle
2021-10-04 10:54:32 +08:00
Eloy Lafuente (stronk7)
c78624af2b
MDL-72707 install: update the list of stale files for 4.0
...
Note that, at the same time, the function has got
return type specified and simple conversion to short-array.
2021-10-02 22:46:15 +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
Paul Holden
244d304b6e
MDL-72291 output: emit native events from inplace editable element.
...
Removes jQuery dependency from calling code that wants to listen
for these events. Maintains backwards compatibility with existing
code that does want to listen to jQuery-style events.
2021-10-01 10:41:45 +01: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
Ferran Recio
7ad939c592
MDL-71795 courseformat: course index in activity page
2021-10-01 09:03:56 +02:00
Jun Pataleta
b3166c4dcf
Merge branch 'MDL-72449-master' of git://github.com/andrewnicols/moodle
2021-10-01 11:43:25 +08:00
Andrew Nicols
29662c3488
Merge branch 'MDL-72329-master' of https://github.com/dravek/moodle
2021-10-01 11:02:28 +08:00
Andrew Nicols
f4604fe5fb
Merge branch 'MDL-72544' of git://github.com/paulholden/moodle
2021-10-01 10:14:51 +08:00
Eloy Lafuente (stronk7)
a665ad27d2
Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle
2021-09-30 20:12:39 +02:00
Víctor Déniz
2384dc7d0a
Merge branch 'MDL-72496-master_assert_tag' of https://github.com/call-learning/moodle
2021-09-30 15:40:25 +01:00
Bas Brands
61bacfb935
MDL-72455 theme_boost: enable roundness for bootstrap components
2021-09-30 15:53:44 +02:00
Laurent David
93a3724d8e
MDL-72496 question tests: fix assertTag if tag not found
...
* The basic_test::assertTag method will issue a warning as $tag is not
found, failing the PHP Unit test that uses this method.
* Add tests to check that assertTag is working
2021-09-30 13:04:45 +02:00
Eloy Lafuente (stronk7)
a8268e6562
Merge branch 'MDL-72462' of https://github.com/paulholden/moodle
2021-09-29 23:31:22 +02:00
Andrew Nicols
c83e637ff9
MDL-72621 admin: Add environment check for admin deprecation
2021-09-29 22:39:32 +08:00
Ilya Tregubov
34a0ba3232
Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle
2021-09-29 15:40:39 +02:00
Ferran Recio
639a99014d
MDL-71834 course: lock elements
...
Now components has a new property lock to disable all user interactions.
This is applied directly into the course index and course content to
freeze an element if some action is performed over it. To set this
locked value there are 2 new mutations cmLock and sectionLock.
2021-09-29 11:34:43 +02:00
Bas Brands
16c726cde7
MDL-71610 core_behat: use new edit mode step in feature files
2021-09-29 09:25:36 +02:00
Bas Brands
3ff1b83239
MDL-71610 core_behat: update edit mode steps
2021-09-29 09:25:36 +02:00
Bas Brands
6ece030948
MDL-71610 theme_boost: switch to standard editing mode for gradebook
...
the gradebook need to use the standard $USER->editing to check if editing mode is turned on
2021-09-29 09:25:36 +02:00
Bas Brands
a0bb51622c
MDL-71610 theme_boost: remove edit button from Boost
2021-09-29 09:25:36 +02:00
Bas Brands
09f6ce9fed
MDL-71610 theme_boost: add a edit mode switch
2021-09-29 09:25:36 +02:00
Ilya Tregubov
44f06eddc1
Merge branch 'MDL-72675' of git://github.com/paulholden/moodle
2021-09-28 15:51:58 +02:00
Ilya Tregubov
950504bac0
Merge branch 'MDL-72643-master' of git://github.com/sammarshallou/moodle
2021-09-28 08:03:14 +02:00
Andrew Nicols
d7a67faf2f
Merge branch 'MDL-72031-master' of https://github.com/NashTechOpenUniversity/moodle
2021-09-28 13:36:11 +08:00
Eloy Lafuente (stronk7)
5f7db5bf85
Merge branch 'MDL-72658-master-welcometosite' of git://github.com/mudrd8mz/moodle
2021-09-27 23:33:47 +02:00
Paul Holden
cf99ea1a46
MDL-72462 forms: style checkbox/radio field labels consistently.
...
Fixes small regression from 942dc9de
that moved indentation of form
fields to the label node, but only for those labels with specific
class.
2021-09-27 18:23:51 +01:00
Ilya Tregubov
d7620cc5bc
Merge branch 'MDL-71943-master' of git://github.com/dravek/moodle
2021-09-27 18:36:35 +02:00
David Matamoros
5909d5b0ce
MDL-71943 core: Dynamic (AJAX) tabs in Moodle LMS
2021-09-27 17:53:37 +02:00
sam marshall
e332d1849d
MDL-72643 core: Improve display_size
...
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.
Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').
Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
Bas Brands
646109ec3b
MDL-72305 theme_boost: user initials as profile picture placeholder
2021-09-27 14:02:45 +02:00
cescobedo
bad5b1d891
MDL-72335 tool_health: Remove tool_health from core
2021-09-27 07:12:32 +02:00
Paul Holden
ffa9b692e3
MDL-72675 repository_picasa: remove plugin config after uninstall.
...
It was missed as part of the original plugin uninstallation change
in 128ebcc4
.
2021-09-24 12:35:03 +01:00
Paul Holden
e8d7817f7f
MDL-72544 output: set default core/toast message type to information.
...
Update existing code to set type to warning as appropriate.
2021-09-24 08:19:54 +01:00
David Matamoros
78735a72bc
MDL-72329 core: Persistent method get needs to return correct type
2021-09-24 08:45:08 +02:00
David Mudrák
3722466892
MDL-72658 lang: Let welcome message use other than just firstname
...
The patch allows for strings welcomeback and welcometosite to be
customised and use other user names than just the firstname.
Supported are placeholder properties matching all known name fields:
firstnamephonetic, lastnamephonetic, middlename, alternatename,
firstname and lastname. Special values fullname and alternativefullname
are supported, too.
By default, the firstname is kept for compatibility with the original
feature design.
2021-09-23 20:57:22 +02:00
Mihail Geshoski
8e4a7c6b90
MDL-72642 navigation: Fix duplicated ID in more menu items
2021-09-23 15:10:48 +08:00
Jun Pataleta
87b8583803
Merge branch 'MDL-71964-master' of git://github.com/junpataleta/moodle
2021-09-23 11:32:27 +08:00
Dongsheng Cai
a2d5d43223
MDL-71964 dashboard: add welcome message for all users
2021-09-23 10:42:04 +08:00
Eloy Lafuente (stronk7)
b889f9f3f6
Merge branch 'MDL-72110-master-v3' of https://github.com/sharidas/moodle
2021-09-22 20:00:18 +02:00
Ilya Tregubov
0e979b85cc
Merge branch 'MDL-72042-master' of git://github.com/sarjona/moodle
2021-09-22 13:34:28 +02:00
Eloy Lafuente (stronk7)
f4a730e350
Merge branch 'MDL-72593-master' of git://github.com/andrewnicols/moodle
2021-09-22 10:48:07 +02:00
Jun Pataleta
99cb8a7303
Merge branch 'MDL-71037-master-8' of git://github.com/ilyatregubov/moodle
2021-09-22 14:44:17 +08:00
Eloy Lafuente (stronk7)
09614b91c6
Merge branch 'MDL-72566-master' of git://github.com/ferranrecio/moodle
2021-09-21 19:07:17 +02:00
Bas Brands
c08ee9169c
MDL-71037 theme_boost: section collapse styling
2021-09-21 18:41:59 +02:00