Commit graph

3602 commits

Author SHA1 Message Date
Jun Pataleta
e85b1f9c0f Merge branch 'MDL-70768-langpack-admin' of https://github.com/brendanheywood/moodle 2021-02-25 11:32:36 +08:00
Brendan Heywood
300213ee2e MDL-70424 auth: Avoid random changes to $CFG->auth 2021-02-23 11:40:57 +11:00
David Mudrák
af9ad8b2b6 MDL-70608 lang: Recommend running the scheduled task to update packs 2021-02-19 16:02:02 +01:00
David Mudrák
c85215e955 MDL-70608 lang: Install langpacks asynchronously via ad hoc task
When multiple language packs are selected for installation, perform the
installation asynchronously in the background via ad hoc task.
2021-02-19 16:02:02 +01:00
David Mudrák
70b0df5891 MDL-70931 xmldb: Generate install.xml files with EOL and EOF
As discussed in MDLSITE-6397, all Moodle code files should end with
single Unix-style end of line character. Files created and edited
through the XMLDB editor should follow this rule, too.
2021-02-17 20:59:19 +01:00
Mihail Geshoski
76fe097b55 MDL-47410 tool_licensemanager: Update tool_licensemanager behat tests
Updates the tool_licensemanager behat tests to utilize the ability to
conviniently populate the date selector fields.
2021-02-11 12:01:09 +08:00
Brendan Heywood
17e465ca85 MDL-70768 tool_langimport: Make installed admin UI more consistent 2021-02-11 10:43:19 +11:00
Andrew Nicols
84872802ce Merge branch 'MDL-70632' of git://github.com/paulholden/moodle 2021-02-04 09:25:25 +08:00
Eloy Lafuente (stronk7)
b74beab57c MDL-70741 capability overview: missing whitespace after placeholder 2021-02-04 00:01:31 +01:00
Sara Arjona
655a682794 Merge branch 'MDL-70741' of https://github.com/timhunt/moodle 2021-02-03 14:49:36 +01:00
Paul Holden
3f36a7da98 MDL-70632 tool_langimport: search for available language packs. 2021-02-03 10:03:37 +00:00
Jun Pataleta
793aa03598 MDL-70288 mod_lti: Remove unnecessary empty label string
* When a label is passed to an (advanced) checkbox and no text
  was provided, the label will be displayed on the right of the the
  checkbox element. So there's no point in passing an empty string for
  the label just to render the text to the right of the checkbox.
2021-02-02 13:53:05 +08:00
Tim Hunt
3da5a51df7 MDL-70741 capability overview: avoid errors from orphan contexts 2021-01-29 20:48:14 +00:00
Jake Dallimore
9a4cfdeabb Merge branch 'MDL-66979-master-7' of git://github.com/andrewnicols/moodle 2021-01-29 15:41:03 +08:00
Andrew Nicols
b658d18b51 MDL-66979 behat: Mark some tests as being slow
Uses of the httpsreplace and customlang tools are known to be extremely
slow.

In our CI infrastructure on slwoer DBs, the customlang tool can take
over 90 seconds to load the page, whilst the httpsreplace tool can take
up to about 60 seconds.

These changes set appropriate timeout factors to increase the timeout
accordingly.
2021-01-29 14:15:26 +08:00
Víctor Déniz
34dec1d26e Merge branch 'MDL-69816' of git://github.com/paulholden/moodle 2021-01-27 23:00:53 +00:00
Andrew Nicols
05fca85d8e MDL-66979 behat: Warn about old behat.yml file location 2021-01-23 20:43:20 +08:00
Andrew Nicols
0c2403f9b3 MDL-66979 behat: Uncomment step disabled for old firefox 2021-01-22 14:52:12 +08:00
Andrew Nicols
653fb1842f MDL-66979 behat: Remove unnecessary steps which fail
These steps were completely pointless and were failing with the W3C
Webdriver becuase focus was never on the Update Profile button in the
first place.

At a minimum we should remove the Focus change step as it not valid, but
the following step is also pointless.
2021-01-22 14:52:10 +08:00
Eloy Lafuente (stronk7)
333472ce2a Merge branch 'MDL-70159' of git://github.com/paulholden/moodle 2021-01-19 23:43:55 +01:00
Sara Arjona
7d24686e59 Merge branch 'MDL-69308' of https://github.com/stronk7/moodle 2021-01-14 12:03:30 +01:00
Paul Holden
20905a1481 MDL-70159 tool_capability: order capabilities by their name. 2021-01-14 07:32:56 +00:00
Eloy Lafuente (stronk7)
77342b96fc MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps
This just deletes all the upgrade steps previous to 3.6.0. Some
small adjustments, like tweaking globals can also be applied
when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2018120300 (v3.6.0) as anti-cheating measure.

Note that in this case, there wasn't any case of upgradelib
functions being used, hence we haven't to deprecate/remove
anything in codebase. When there is such a need, that is done
in separate commits (one for each function) and documented here.

See MDL-65809 commits for an example removing/deprecating a
good number of functions.
2021-01-13 19:11:19 +01:00
Sara Arjona
8f4ff3014d Merge branch 'MDL-68010-cron-run-disabled' of https://github.com/brendanheywood/moodle 2021-01-13 11:28:10 +01:00
Sara Arjona
d9df954a25 Merge branch 'MDL-68768-adhoc-task-faildelay-check' of https://github.com/brendanheywood/moodle 2021-01-12 10:06:53 +01:00
Paul Holden
23765039d4 MDL-69816 tool_uploadcourse: configure course content download value. 2021-01-08 18:43:49 +00:00
Paul Holden
cbd719556e MDL-70558 tool_langimport: sort available language packs. 2021-01-04 23:53:05 +00:00
Eloy Lafuente (stronk7)
2d37d7f94d Merge branch 'MDL-70279' of git://github.com/paulholden/moodle 2020-12-23 00:46:42 +01:00
Andrew Nicols
31402aa406 MDL-69107 user: Fix autocomplete usages 2020-12-16 07:50:56 +08:00
Brendan Heywood
75d5debe54 MDL-68010 tool_task: Allow disable tasks to still be run manually 2020-12-15 16:59:47 +11:00
Brendan Heywood
71f180447a MDL-68768 tool_tasks: Check for failing adhoc tasks 2020-12-15 12:49:00 +11:00
Jake Dallimore
b83d99c4cf Merge branch 'MDL-70320-master' of https://github.com/andrewnicols/moodle 2020-12-10 11:56:40 +08:00
Andrew Nicols
c571f582bf MDL-70320 behat: User full path to page admin node 2020-12-10 07:53:56 +08:00
Shamim Rezaie
4f82e3c5db MDL-69301 behat: comment a test out
The e.key is not filled correctly by Geckodriver on the verssion of
Firefox that we use.
2020-12-09 13:43:45 +08:00
Andrew Nicols
cd3809653c Merge branch 'MDL-70320' of https://github.com/timhunt/moodle 2020-12-09 11:56:05 +08:00
Paul Holden
1cef02d293 MDL-70279 tool_templatelibrary: preserve component search field value. 2020-12-04 14:55:38 +00:00
Tim Hunt
374d3e7700 MDL-70320 permission overrides: role names were double-escaped 2020-11-25 21:19:57 +00:00
Andrew Nicols
fd71823ec7 MDL-67668 behat: Add inplace editable field type
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
2020-11-23 09:01:19 +08:00
Adrian Greeve
a0ba1ae381 Merge branch 'MDL-65843-task-overrides' of https://github.com/jamie-catalyst/moodle 2020-11-19 11:29:01 +08:00
Eloy Lafuente (stronk7)
695f0b4597 Merge branch 'MDL-70107-task-unlock-session' of https://github.com/brendanheywood/moodle into master 2020-11-18 23:06:49 +01:00
Jamie Stamp
3a232840a5 MDL-65843 tasks: Allow schedules to be overridden in config 2020-11-18 12:44:05 +00:00
Andrew Nicols
3492cf87f0 Merge branch 'MDL-70158' of git://github.com/paulholden/moodle 2020-11-18 10:17:32 +08:00
Paul Holden
cc66de23f4 MDL-70158 tool_templatelibrary: group and sort list of components. 2020-11-17 13:56:01 +00:00
Andrew Nicols
ba34d6e225 MDL-70148 behat: Update steps for keyboard 2020-11-17 15:14:43 +08:00
Andrew Nicols
9c35ea1040 MDL-70148 behat: Add steps to send keys without an element 2020-11-17 15:14:43 +08:00
Brendan Heywood
2481b041ce MDL-70107 tool_task: Unlock session on long running tasks in UI 2020-11-16 15:42:25 +11:00
Eloy Lafuente (stronk7)
114102d37d Merge branch 'MDL-70143-master' of git://github.com/marinaglancy/moodle into master 2020-11-06 19:52:03 +01:00
Marina Glancy
c2aa5a29f1 MDL-70143 tool_uploaduser: fix wrong cache reference 2020-11-06 19:31:25 +01:00
Ferran Recio
b8e1eec4c7 MDL-69378 tool_uploadcourse: fix enrolment methods uploads 2020-11-03 12:34:28 +01:00
Eloy Lafuente (stronk7)
12e273dddd MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached) 2020-10-30 19:27:11 +01:00