Commit graph

86322 commits

Author SHA1 Message Date
Mark Nelson
b94814fa91 MDL-59204 analytics: added corresponding name '_help' strings
Strings are intentionally left blank as they will be done later by
AMOS.
2017-08-18 18:02:38 +08:00
Mark Nelson
7e00aa725a MDL-59204 analytics: changed get_name so that it returns a lang_string
This was done for indicators, targets and time splitting methods so that we
can get the string identifier and component in order to display a help_icon.

The functions were also made abstract, removing the default implementation.
Indicators, targets and time splitting methods should define this function.
2017-08-18 18:02:38 +08:00
Simey Lameze
6a87019b13 MDL-59860 core_calendar: behat scenario for module events 2017-08-18 12:29:49 +08:00
Simey Lameze
4c3cd3c1b4 MDL-59860 core_calendar: add editurl parameter back 2017-08-18 12:05:30 +08:00
Jun Pataleta
68a0485c5c MDL-59836 core_amd: Use only one input event handler
* We have duplicate input event handlers for the autocomplete element
which are both firing when the input element's value is being set.
In case an AJAX handler is defined for the autocomplete suggestions,
this causes the autocomplete suggestions so show "No suggestions" first
and then load the results from the AJAX handler a little bit later.
2017-08-18 11:19:08 +08:00
Simey Lameze
ed84d85fdb MDL-59687 core_calendar: calendar feature improvement 2017-08-18 11:13:27 +08:00
Simey Lameze
a56a9b3937 MDL-59687 core_calendar: create event step needs to wait page ready 2017-08-18 11:12:41 +08:00
Jake Dallimore
788ea5c85c MDL-59826 output: make context_header() aware of page context.
There are times, such as when viewing a user profile within a course,
when user_can_view_profile() should be passed a course to force it to
restrict its capability checks to only the supplied course. This change
makes sure that core_renderer->context_header() calls this correctly.
2017-08-18 11:07:19 +08:00
Jake Dallimore
c09541fd28 MDL-59049 badges: allows users to view badges from deleted courses 2017-08-18 09:08:50 +08:00
Jake Dallimore
067accce47 MDL-59825 user: user_can_view_profile() checks all of a $user's courses
This function used to check only those courses shared by both users
when it should have been checking all courses in which $user is
enrolled. Managers can view a user's course profile without necessarily
sharing the course (being enrolled in) with the $user.
2017-08-18 08:29:37 +08:00
David Monllao
1855cdeb75 MDL-59779 analytics: Alternative to query log table 2017-08-17 20:55:50 +02:00
David Monllao
cab7abec70 MDL-59779 analytics: Bulk-insert predictions 2017-08-17 20:55:38 +02:00
David Monllao
d126f83806 MDL-59661 analytics: Export models training data 2017-08-17 20:51:56 +02:00
David Monllao
56d4981e03 MDL-59661 analytics: Filearea passed as an argument to dataset_manager 2017-08-17 20:51:56 +02:00
Davo Smith
527459a4c7 MDL-53848 mod_assign, formslib: add hideIf to real form and adapt behat tests to use this 2017-08-17 14:52:11 +01:00
Davo Smith
8dff6c78bd MDL-53848 formslib: peer review fixes 2017-08-17 14:52:11 +01:00
Davo Smith
68d206b274 MDL-53848 form: fix disabledIf functionality 2017-08-17 14:52:11 +01:00
Davo Smith
766d6f9a61 MDL-53848 form: hide entire group if hideIf test is applied to the group 2017-08-17 14:52:10 +01:00
Ankit Agarwal
988879655b MDL-53848 formslib: make conditional hidden elements properly accessible 2017-08-17 14:52:10 +01:00
Marina Glancy
f3da329da4 MDL-53848 forms: additions to the behat test 2017-08-17 14:52:10 +01:00
Davo Smith
d20498625c MDL-53848 form: add hideIf functionality 2017-08-17 14:52:10 +01:00
Eloy Lafuente (stronk7)
27466d7548 weekly release 3.4dev 2017-08-17 10:39:13 +02:00
Eloy Lafuente (stronk7)
3ea6691c74 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2017-08-17 10:39:10 +02:00
Damyon Wiese
3be8982033 MDL-59824 groups: no groups == cannot edit members
On the participants page, if there are no course groups - don't make the groups list editable.
2017-08-17 12:07:18 +08:00
Damyon Wiese
f4ddc4ecd3 MDL-59823 users: Enrol bulk op course instance
The commit message above was my best attempt at meeting the very short restrictions on commit message first lines.

What it needed to say was: "Only show bulk enrolment operations for enrolment methods that have an instance in the course"
2017-08-17 12:03:52 +08:00
Damyon Wiese
ca56095250 MDL-59822 users: No enrolments on frontpage
Hide enrolment status and bulk actions from the frontpage.
2017-08-17 11:34:52 +08:00
AMOS bot
b257793cf8 Automatically generated installer lang files 2017-08-17 00:08:17 +08:00
Damyon Wiese
bd6f87ed82 MDL-59809 boost: Don't allow z-index on pagination
This causes parts of the pagination bar to show through overlays and modals.
2017-08-16 15:53:40 +08:00
Jun Pataleta
a88a63e694 Merge branch 'MDL-59388-master' of git://github.com/lameze/moodle 2017-08-16 10:12:51 +08:00
Simey Lameze
1a1e8ab029 MDL-59388 core_calendar: convert manage subscription button 2017-08-16 10:10:48 +08:00
Simey Lameze
bd33760372 MDL-59388 core_calendar: remove empty lines and unused imports 2017-08-16 09:44:42 +08:00
Jun Pataleta
12eef11c8f MDL-59388 calendar: footer_options fixes 2017-08-16 09:36:48 +08:00
Ryan Wyllie
6a7ad2cb21 MDL-59388 core_calendar: setUpTrigger needs to handle arrays 2017-08-16 09:27:26 +08:00
Simey Lameze
836aa3f64a MDL-59388 core_calendar: fix month view on clean theme 2017-08-16 09:27:22 +08:00
Simey Lameze
a4af4c9633 MDL-59388 core_calendar: fix cibot complains 2017-08-16 09:25:51 +08:00
Andrew Nicols
77c762b3ba Merge branch 'wip-MDL-59800-master' of git://github.com/marinaglancy/moodle 2017-08-16 09:08:34 +08:00
Andrew Nicols
34cf57f1d0 Merge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle 2017-08-16 08:46:55 +08:00
David Mudrák
8bfd82b2f5 MDL-57775 xmlrpc: Formal fix of coding style and phpdocs
- There was missing MOODLE_INTERNAL check.
- The client is not used for unit tests only so the class description
  was obsolete.
2017-08-15 21:43:35 +02:00
David Mudrák
b4da577385 MDL-57775 xmlrpc: Test webservice_xmlrpc_client request encoding
The patch wraps the underlying xmlrpc_encode_request() call into a
standalone method that can be then unit-tested.
2017-08-15 21:43:35 +02:00
David Mudrák
2b604286b5 MDL-57775 xmlrpc: Pass escaping to xmlrpc_encode_request() calls
This patch adds the missing 'escaping' option to all remaining
xmlrpc_encode_request() calls in the moodle core code.

Without this, the xmlrpc_decode_request() call on the server side may
lead to wrongly decoded non-ascii characters.
2017-08-15 21:43:34 +02:00
Stephen Bourget
f5de9484e8 MDL-53537 core_backup: Add a course_backup_created event 2017-08-15 14:10:38 -04:00
Eloy Lafuente (stronk7)
ddea987812 Merge branch 'MDL-58435' of https://github.com/NeillM/moodle 2017-08-15 16:35:12 +02:00
Eloy Lafuente (stronk7)
19e8e56e7e Merge branch 'MDL-59756-master-2' of git://github.com/junpataleta/moodle 2017-08-15 13:38:01 +02:00
Eloy Lafuente (stronk7)
245227fdcd Merge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle 2017-08-15 13:12:45 +02:00
Mark Nelson
952cbce293 MDL-59204 mod_*: removed redundant activity name from string index
Also fixed references to incorrect strings.
2017-08-15 16:55:28 +08:00
Neill Magill
156a0a1560 MDL-58435 behat: Update existing tests to use section editing steps 2017-08-15 09:22:31 +01:00
Jun Pataleta
654f52d288 MDL-59756 user: More Behat tests for the status field and friends
* Add coverage for the rendering of the edit/unenrol icons in the status
  column.
* Add coverage for the rendering of the edit icon in the enrolment
  details modal.
* Avoid usage of xpath_element selectors whenever possible.
2017-08-15 14:33:23 +08:00
John Okely
a18b4799f2 MDL-59733 assignsubmission_file: Use click interface in behat 2017-08-15 13:29:14 +08:00
Ankit Agarwal
2ba3ce9829 MDL-55937 assign: Check for group submission caps when userid=0 2017-08-15 10:58:00 +05:30
Andrew Nicols
9729cd2fcc Merge branch 'MDL-59746-master' of git://github.com/Dagefoerde/moodle 2017-08-15 13:17:37 +08:00