1618 Commits

Author SHA1 Message Date
Marina Glancy
23e5104ae2 MDL-58666 course: add module name to cache
without it there will be an extra db read in get_array_of_activities() to retrieve it for each activity
2017-04-21 13:00:28 +08:00
Jake Dallimore
273d310601 MDL-58138 completion: Fixes for a number of small issues. 2017-04-19 11:41:57 +08:00
Marina Glancy
61167c16d0 MDL-58460 mod_data: work with bulk completion API
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
d233adbb77 MDL-58460 completion: add callbacks to mod_data for bulk completion
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Mark Nelson
59391e80ad MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
Mark Nelson
01f96180ff MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action 2017-04-06 15:00:02 +08:00
Marina Glancy
63709b0e16 MDL-23919 mod_data: fix bug when completion is reset 2017-04-06 08:54:00 +08:00
Dan Poltawski
1e4e5c52d7 Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle 2017-04-04 17:07:41 +01:00
Mark Nelson
e1cd93ce20 MDL-58423 core_calendar: moved \core_calendar\event class
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
David Monllao
6d353d2dfd MDL-23919 mod_data: completionentries can be null 2017-04-04 00:27:30 +02:00
David Monllao
bf3b4321c0 MDL-23919 mod_data: Clean illegal whitespace
Also moving upgrade step below 3.2 mark.
2017-04-04 00:07:24 +02:00
David Monllao
ea51aa631b Merge branch 'MDL-23919-mod_data-required-entry-completion' of https://github.com/marcusgreen/moodle 2017-04-03 23:24:28 +02:00
Marina Glancy
cf873ada46 MDL-23919 mod_data: small corrections to completion form element 2017-04-03 18:15:52 +01:00
Dan Poltawski
a29cd3138c Merge branch 'MDL-57411-master' of git://github.com/jleyva/moodle 2017-04-03 17:59:34 +01:00
Eloy Lafuente (stronk7)
8478e5b44c Merge branch 'MDL-58462-master' of git://github.com/junpataleta/moodle 2017-04-03 16:35:50 +02:00
Jun Pataleta
cefd780fa3 MDL-58462 mod_data: Generate users with different names
* Give test users different first and last names.
* Declare class member variables instead of dynamically assigning them.
* Rename member variable $data to $database since it conflicts with the
  private member variable PHPUnit_Framework_TestCase::$data.
* Replace setExpectedException usage with expectException().
2017-04-03 13:49:25 +08:00
Damyon Wiese
141ee541ca MDL-58219 repository: Change how controlled links work
Files are copied to the system user as soon as they are uploaded. Write access is then controlled when
serving links to the file.

Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
151b0f9409 MDL-58132 repositories: Controlled link file type
This introduces a new "controlled link" file type where the file is not
stored in Moodle - but Moodle will control the access permissions on the file.

Plugins can "freeze" a filearea which means Moodle will take ownership of all the remote
files of this type.

When accessing a file, if the "filebrowser" infomation indicates the current user can write to the file, they
will be granted temporary write access.

Part of MDL-58220
2017-04-03 13:40:13 +08:00
Andrew Nicols
89cfa1e6b2 MDL-58363 mod_data: Remove calendar is_visible
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Simey Lameze
fdeeaff954 MDL-58265 core_test: replace I turn editing on steps
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.

Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef MDL-58265 core_test: replace all uses of I follow course steps
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Mark Nelson
7c6f961bf9 MDL-57877 mod_data: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Mark Nelson
e057f279e4 MDL-57497 core_calendar: added new calendar event class
Moved calendar_event class to new location using replaceclasses.php

Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Juan Leyva
0a34838725 MDL-57411 course: Return modules updates for teachers 2017-04-01 19:39:02 +02:00
Marcus Green
f9729dcfe0 MDL-23919 mod_data: add requiredentries to completion settings
Added required entries text field to the completion criteria area.
This field accepts a number.

If the legacy Entries required field has a value greater than 0 it will
be displayed and editable. For new instances this field will not be displayed.
2017-03-31 15:20:44 +01:00
Juan Leyva
b0f3e6d618 MDL-57924 mod_data: Fix get_entry call
It was using the pre-integration version where a group was mandatory
2017-03-30 09:29:08 +02:00
Juan Leyva
8cc04bcc67 MDL-57920 mod_data: Fix var dynamic creation (failing in php7) 2017-03-30 09:26:27 +02:00
Juan Leyva
57ab070e01 MDL-57925 mod_data: Implement check_updates_since callback 2017-03-30 03:41:55 +02:00
Juan Leyva
01b7ec36d1 MDL-57925 mod_data: Support new search criteria 2017-03-30 03:19:45 +02:00
Juan Leyva
4ca2890d8e MDL-57924 mod_data: New WS mod_data_update_entry 2017-03-30 02:36:32 +02:00
Juan Leyva
df0c549f88 MDL-57924 mod_data: Move update record code to new function 2017-03-30 02:35:59 +02:00
Juan Leyva
61c640c13a MDL-57923 mod_data: New WS mod_data_add_entry 2017-03-30 02:28:54 +02:00
Juan Leyva
b376f55e59 MDL-57923 mod_data: Move entry creation code to function 2017-03-30 02:26:11 +02:00
Juan Leyva
67bb168e1f MDL-57922 mod_data: New Web Service mod_data_delete_entry 2017-03-30 02:15:46 +02:00
Juan Leyva
229158fe74 MDL-57921 mod_data: New WS mod_data_approve_entry 2017-03-30 02:12:53 +02:00
Juan Leyva
b8e0e64455 MDL-57921 mod_data: Move approval code to new function 2017-03-30 02:11:46 +02:00
Juan Leyva
56b8edcb1e MDL-57920 mod_data: New WS mod_data_search_entries 2017-03-30 01:53:46 +02:00
Juan Leyva
c8a804ff68 MDL-57920 mod_data: Refactor search array creation 2017-03-30 01:53:35 +02:00
Juan Leyva
a934c89639 MDL-57919 mod_data: New WS mod_data_get_fields 2017-03-29 11:38:39 +02:00
Juan Leyva
aefe9c5faa MDL-57919 mod_data: Refactor and new method get_configs_for_external 2017-03-29 11:38:38 +02:00
Juan Leyva
771effef8d MDL-57918 mod_data: New WS mod_data_get_entry 2017-03-24 15:19:46 +01:00
Juan Leyva
8077107565 MDL-57918 mod_data: Minor refactors for the new WS
- Move entry permission code to function
- Retrieve user record when missing
2017-03-22 11:31:04 +01:00
Juan Leyva
ef6aea9db8 MDL-49409 mod_data: New Web Service mod_data_get_entries 2017-03-21 23:03:01 +01:00
Juan Leyva
5b901787db MDL-49409 mod_data: Create exporters for record and content 2017-03-21 23:03:00 +01:00
Juan Leyva
31aae5d459 MDL-49409 mod_data: Create new API function for search entries 2017-03-21 23:02:59 +01:00
Eloy Lafuente (stronk7)
74ccc7768e Merge branch 'MDL-57916-master' of git://github.com/jleyva/moodle
Mini bump version in merge...
2017-03-20 17:53:02 +01:00
Damyon Wiese
b9b409cfc3 MDL-40759 icons: Peer review fixes (all minor) 2017-03-17 15:52:46 +08:00
Damyon Wiese
663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Juan Leyva
cac43b9b6a MDL-57916 mod_data: New WS mod_data_get_access_information 2017-03-15 11:48:08 +01:00
Juan Leyva
a99c13af84 MDL-57916 mod_data: Move notifications code to new functions 2017-03-15 11:44:28 +01:00