moodle/mod
Eloy Lafuente (stronk7) 9392313b88 MDL-72698 behat: Reduce random lesson behat failures on slow envs
In very slow environments viewing the lesson page for a student takes
more than 1 second and, because of this, the "Spend at least 1 sec"
completion condition is considered done.

So, in order to alleviate this problem, that leads to random failures
in CIs with slow databases, we have changed the condition to be 3
seconds instead.

That seems to do the work in super-slow environments, with 100
executions passing ok (when previously the scenario was failing 33%
of times).

The only cost is that now the behat run will be 2 seconds slower (there
is a wait changed from 2 to 4 seconds), but that's an acceptable
price to pay to get the scenarios consistent passing.

See the issue for more details.
2022-03-19 18:10:01 +01:00
..
assign Merge branch 'MDL-74142-master' of https://github.com/aanabit/moodle 2022-03-10 11:58:21 +01:00
assignment NOBUG: Fixed SVG browser compatibility 2021-12-23 16:29:57 +01:00
bigbluebuttonbn Merge branch 'MDL-73193' of https://github.com/call-learning/moodle 2022-03-15 23:07:47 +01:00
book MDL-73595 theme_boost: make tertiary nav more distinct 2022-02-28 13:07:52 +01:00
chat Merge branch 'MDL-72991-master-4' of https://github.com/HuongNV13/moodle 2022-03-17 22:25:10 +08:00
choice MDL-73532 navigation: Modify methods that extend the setting nav 2022-02-14 09:40:27 +08:00
data MDL-74180 database: Add behat test 2022-03-14 17:10:55 +08:00
feedback MDL-73595 theme_boost: make tertiary nav more distinct 2022-02-28 13:07:52 +01:00
folder MDL-74104 mod_folder: fix recent activity with forcedownload links 2022-03-09 13:05:55 +01:00
forum MDL-74240 mod_forum: tertiary nav button wrapper 2022-03-17 13:56:29 +01:00
glossary MDL-74162 glossary: Fix the returned data type by create_add_button() 2022-03-11 00:03:52 +08:00
h5pactivity MDL-72092 behat: Add private files block where needed 2022-03-01 19:13:20 +08:00
imscp MDL-73764 tool_xmldb: Regenerate all the files detected by the report 2022-02-08 19:25:03 +01:00
label MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
lesson MDL-72698 behat: Reduce random lesson behat failures on slow envs 2022-03-19 18:10:01 +01:00
lti MDL-74116 behat: Unrelated, add the @skip_interim tag 2022-03-18 13:45:42 +01:00
page MDL-72991 Course: Partial course cache rebuild with cache versioning 2022-03-17 15:34:26 +07:00
quiz Merge branch 'MDL-73999' of https://github.com/paulholden/moodle 2022-03-17 15:23:56 +06:00
resource MDL-72991 Course: Partial course cache rebuild with cache versioning 2022-03-17 15:34:26 +07:00
scorm MDL-72698 behat: Reduce random scorm behat failures on slow envs 2022-03-19 18:09:45 +01:00
survey MDL-73595 theme_boost: make tertiary nav more distinct 2022-02-28 13:07:52 +01:00
url MDL-72991 Course: Partial course cache rebuild with cache versioning 2022-03-17 15:34:26 +07:00
wiki MDL-73586 mod_wiki: Removed php init param for php80 and up 2022-03-08 14:56:49 +01:00
workshop MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
index.html
README.txt
upgrade.txt MDL-73532 navigation: Modify methods that extend the setting nav 2022-02-14 09:40:27 +08:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: an SQL dump of all the required db tables and data

  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:

   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community