Andrew Nicols
8173c3ef7f
Merge branch 'wip-mdl-55329' of https://github.com/rajeshtaneja/moodle
2016-08-09 14:26:09 +08:00
Rajesh Taneja
e259795c4f
MDL-55329 behat: PyStrings should end with : (colon)
2016-08-09 14:22:21 +08:00
Andrew Nicols
19491e68fe
MDL-41126 mod_data: Add type hinting
2016-08-09 12:49:01 +08:00
Andrew Nicols
d5bd76f4e5
MDL-41126 mod_data: Styling fixes
2016-08-09 12:49:01 +08:00
Rajesh Taneja
9f2b916dee
MDL_41126 phpunit: Timestamp should be less than 2038
...
http://php.net/manual/en/datetime.gettimestamp.php#114590
In 32-bit system the unix timestamp will overflow if the date goes beyond year 2038
and this method will return false.
2016-08-09 10:50:07 +08:00
Devang Gaur
400eb2d0e5
MDL-41126 mod_data: added field and entry generator
2016-08-05 04:08:50 +05:30
Stephen Bourget
87d6e85a9a
MDL-55158 mod_data: Add calendar events for database activities
2016-07-18 18:35:37 -04:00
Juan Leyva
7ef49bd393
MDL-54951 webservice: Return intro text files in modules
2016-07-04 09:24:28 +01:00
Adrian Greeve
3829d1e2c8
MDL-53402 mod_data: Behat test for entering zero in required fields.
2016-05-02 13:24:01 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Dan Poltawski
93c9c9a86b
Merge branch 'wip-MDL-49861-master' of git://github.com/abgreeve/moodle
2016-04-04 12:10:17 +01:00
Adrian Greeve
f27ca9451f
MDL-49861 mod_data: Behat step to test adding records.
...
Clicking 'Save and add another' should clear the form.
2016-03-30 16:22:49 +08:00
Adrian Greeve
85974a83ba
MDL-53538 mod_data: Unit test for data_get_advance_search_ids
2016-03-22 14:22:27 +08:00
Dan Poltawski
4539892cda
MDL-53149 mod_data: update backup and webservices for timemodified
...
Amended to add support for standard restore apply_date_offset().
2016-03-15 23:41:55 +01:00
Rajesh Taneja
e01012e96d
MDL-46891 behat: Driver specific fixes.
...
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
with few drivers, increasing size of window to ensure
grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Adrian Greeve
4a9a9bad73
MDL-51486 mod_data: Unit test update for item ratings.
...
Additional checks that access is available for item ratings
on records that have a group id of zero (all participants).
2015-11-04 10:12:39 +08:00
Andrew Nicols
be09ca85ef
MDL-50664 mod_data: Fix for unit test failure
2015-09-23 09:27:30 +08:00
Dan Poltawski
abd3fdc977
Merge branch 'wip-MDL-51108-master' of git://github.com/abgreeve/moodle
2015-09-22 11:48:49 +01:00
Adrian Greeve
453adb1adf
MDL-51108 mod_data: Addition to behat test for Lat. and Long.
2015-09-18 07:33:12 +08:00
Ryan Wyllie
ec9e1bec57
MDL-50664 mod_data: tests for 'manageapproved' setting.
...
Adding test coverage for the 'manageapproved' setting that
was added by Johannes Burk.
2015-09-17 06:18:26 +00:00
Ankit Agarwal
731c2712e7
MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
...
Mainly to verify groups visibility this new callback has been created.
Note this was originally 3 commits but for amending purposes they have
been squashed.
2015-09-09 04:07:21 +02:00
David Monllao
9dbcdd8b1f
Merge branch 'MDL-49937-master' of git://github.com/jleyva/moodle
2015-04-24 10:19:18 +01:00
Juan Leyva
8352aa50f3
MDL-49937 data: Handle admins/managers in get_databases_by_courses
2015-04-23 09:37:06 +02:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
John Okely
9b5e702a11
MDL-49748 mod_data: Fix undefined offset error and add behat coverage
2015-04-10 09:42:34 +08:00
Juan Leyva
067b3fda6a
MDL-49337 webservices: Unit tests for mod_data_get_databases_by_courses
2015-03-24 10:46:36 +01:00
John Okely
1c3b2058c8
MDL-5583 mod_data: Improve required fields
...
Fix accidental <tr> in some field modify screens
Update mod_data version
Change required asterisk to image
Improve required error message
Fix required icon positions
Remove required code from date field
Add name in labels for fields
Add required field option for multimenu
Remove old required field title text modifier
Add multimenu to behat
Add more comprehensive behat tests
Reload old input when an input error occurs
Behat grammar fixes
Allow location of 0, 0
Use html_writer
Fix existing mod_data behat tests
2015-03-09 13:56:16 +08:00
Damyon Wiese
b89cca197e
MDL-5583 mod_data: Add required fields
...
This is implemented for most fields but not all. The reason is that there are
some fields for which this does not make sense because no entry is a valid entry.
The supported fields are:
checkbox
file
latlong
menu
number
picture
radio
text
textarea
url
The unsupported fields are:
date
multimenu
2015-03-06 09:55:49 +08:00
Adrian Greeve
14fb7662cc
MDL-20053 mod_data: Update to fix unit tests.
2015-01-19 15:24:47 +08:00
Adrian Greeve
c1d222fcf8
MDL-20053 mod_data: Update to behat tests
...
A bulk delete of entries has been added to
the behat tests.
2015-01-19 15:24:47 +08:00
Russell Smith
d2c58b95bb
MDL-43835 phpunit: Correct unit tests.
...
When different ID's are set for each sequence a number
of unit test failures appear. They have been corrected
to allow unit tests to pass with the new generator in place.
2014-06-17 19:08:01 +10:00
David Monllao
a0f59af847
MDL-44621 behat: Automating MDLQA-20
...
Database activity entries can be viewed in a list
or singly or they can be searched or browsed.
2014-04-15 20:16:19 +07:00
David Monllao
f2cc870f9c
MDL-44618 behat: MDLQA-18 converted to a behat scenario
...
In a database activity, students can add
entries to a database.
2014-04-15 18:34:36 +07:00
David Monllao
7e471fca18
MDL-44618 behat: Steps to speed up mod_data features creation
...
A step to add a field to a database and
another one to add a database entry.
2014-04-15 18:22:22 +07:00
Ankit Agarwal
b63f773296
MDL-44717 events: Fix multiple issues in events
...
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings
AMOS BEGIN
MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Rajesh Taneja
b54696395d
MDL-44552 Events: Fixed wrong id returned in get_url
2014-03-19 09:57:44 +08:00
Mark Nelson
561672d3a6
MDL-40061 mod_data: replaced 'record delete' add_to_log call with an event
2014-02-14 18:40:19 -08:00
Mark Nelson
3909293faf
MDL-40061 mod_data: replaced 'templates saved' add_to_log call with an event
2014-02-14 18:39:56 -08:00
Mark Nelson
3ac413b28e
MDL-40061 mod_data: replaced 'templates view' add_to_log call with an event
2014-02-14 18:39:55 -08:00
Mark Nelson
76ca452c12
MDL-40061 mod_data: replaced 'add' add_to_log call with an event
2014-02-14 18:39:50 -08:00
Mark Nelson
45eae37967
MDL-40061 mod_data: replaced 'update' add_to_log call with an event
2014-02-14 18:13:05 -08:00
Mark Nelson
d1ec55570d
MDL-40061 mod_data: replaced 'fields update' add_to_log call with an event
2014-02-14 18:12:41 -08:00
Mark Nelson
e0d7ed6dae
MDL-40061 mod_data: replaced 'fields add' add_to_log call with an event
2014-02-14 18:12:13 -08:00
Mark Nelson
e37c413e87
MDL-40061 mod_data: replaced 'fields delete' add_to_log call with an event
2014-02-14 18:11:47 -08:00
Marina Glancy
1b066c06c6
Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle
2014-02-03 13:42:23 +08:00
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Russell Smith
74b63eae76
MDL-43440 unit testing: Use cmid in unit tests when it should be used.
...
instance is has been used instead of cmid. This works as all id's are 1
in most cases, but not always.
accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
Rajesh Taneja
cdfd607449
MDL-43293 Events: Added unit test for comment events
2013-12-23 09:22:15 +08:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00