Jake Dallimore
8db355c58f
MDL-58138 tests: unit and behat tests covering bulk and default tabs
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Marina Glancy
06cdda468a
MDL-58139 completion: bulk update completion
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Jake Dallimore
b54bcddda4
MDL-58190 completion: callbacks to get completion rule descriptions
...
- Activities can have their custom completion rules added to cm_info
through the get_coursemodule_info callback.
- Descriptions of a modules active completion rules can be fetched using
the component callback mod_xxx_get_completion_active_rule_descriptions
which takes in a cm_info object and returns an array of strings.
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Eloy Lafuente (stronk7)
55946a892a
MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests
...
This includes:
- Changing PHPUnit's bootstrap to use https://www ...
- Modify all existing expectations to the new wwwroot.
- Amend some tests now with different defaults because of is_https()
- Added a note to main upgrade.php about the change.
2017-04-18 03:40:17 +02:00
Dan Poltawski
9556d5ec52
Merge branch 'MDL-46929' of https://github.com/stronk7/moodle
2017-04-17 10:53:42 +01:00
Eloy Lafuente (stronk7)
43bb3b77a5
MDL-46929 mod_forum: behat fixes
...
- Keep old scenarios being non-javascript.
- Move the tags stuff to recently added scenario.
- Change some "my" by "your" to avoid problems detecting results
while keeping previous tests (based on "subject") working.
2017-04-17 11:44:00 +02:00
Dan Poltawski
6a346ab440
Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle
2017-04-17 10:42:48 +01:00
Andrew Nicols
e4a090c105
Merge branch 'MDL-58501_master' of git://github.com/markn86/moodle
2017-04-13 13:21:42 +08:00
Andrew Nicols
270d5c1cc5
Merge branch 'MDL-46929' of https://github.com/andrewhancox/moodle
2017-04-13 10:00:58 +08:00
Mark Nelson
59391e80ad
MDL-58501 mod_*: improved docs for new calendar callbacks
2017-04-12 17:43:52 +08:00
Mark Nelson
063b7ee647
MDL-58507 core: link functions with final deprecation issue
2017-04-12 12:38:51 +08:00
Jun Pataleta
8168bfd3e4
Merge branch 'MDL-58576-master' of git://github.com/andrewnicols/moodle
2017-04-12 10:06:13 +08:00
Andrew Nicols
0c0f3fdc1e
MDL-58576 mod_forum: Fix behat failures after string change
2017-04-12 09:32:05 +08:00
Andrew Hancox
32a96916a6
MDL-46929 mod_forum: Improve behat tests
2017-04-11 13:34:22 +01:00
Andrew Hancox
e9c46768b5
MDL-46929 mod_forum: Fix for edge cases when searching
2017-04-11 08:30:09 +01:00
Marina Glancy
151113f93a
MDL-46929 mod_forum: performance improvement for tags backup/restore
2017-04-11 08:30:09 +01:00
Marina Glancy
34c8585d83
MDL-46929 mod_forum: small fixes for post tagging
2017-04-11 08:30:09 +01:00
Andrew Hancox
d2ba493cfe
MDL-46929 mod_forum: Implement tagging
2017-04-11 08:30:09 +01:00
Mark Nelson
01f96180ff
MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action
2017-04-06 15:00:02 +08:00
Andrew Nicols
941cb7ce3c
Merge branch 'MDL-58399-master' of git://github.com/jleyva/moodle
2017-04-05 14:22:39 +08:00
Andrew Nicols
038db9734f
Merge branch 'MDL-58444-master' of git://github.com/jleyva/moodle
2017-04-05 12:29:13 +08:00
Mark Nelson
90b735b169
MDL-12689 core: fixed incorrect use of the term 'depreciated'
2017-04-05 11:12:07 +08:00
Andrew Nicols
04056e715b
Merge branch 'MDL-51998_master' of https://github.com/nadavkav/moodle
2017-04-05 09:56:29 +08:00
Eloy Lafuente (stronk7)
fc96fac29e
Merge branch 'MDL-55499-master' of git://github.com/andrewnicols/moodle
2017-04-04 18:23:02 +02: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
Jun Pataleta
197b6d9e5a
MDL-58386 mod_forum: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Damyon Wiese
739de5fefe
MDL-58087 mod_forum: Fix fragile test
...
This test was dependant on the randomly generated group names coming back in a
specific order.
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Marina Glancy
125c4c4cb8
MDL-57961 course: change wording of module availability
...
renamed Visible to Availability and added help strings
AMOS BEGIN
CPY [availability,core_moodle],[modvisible,core_moodle]
CPY [availability,core_moodle],[modvisiblewithstealth,core_moodle]
CPY [availability,core_moodle],[modvisiblehiddensection,core_moodle]
CPY [show,core_moodle],[modshow,core_moodle]
CPY [hide,core_moodle],[modhide,core_moodle]
AMOS END
2017-04-04 17:05:57 +08:00
Daniel Thee Roperto
589c8eb61b
MDL-57246 forum: Fixed mod/forum/view.php redirection.
...
Fixed: Trying to view a forum without the capability may lead you to a broken page.
2017-04-04 16:16:54 +10: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
Mark Nelson
6c83e65928
MDL-57878 mod_*: added unit tests for event decoration
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
b3bd7a66a0
MDL-57878 mod_*: added inclusion of completion event and callbacks
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Jun Pataleta
12a0c74a29
MDL-58102 mod: Behat fixes
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
e44d71a6ee
MDL-58102 mod: Set sensible defaults for additional completion fields
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +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
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
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
Jun Pataleta
fb36d8dd2c
MDL-58048 mod: New callback implementation
...
* Callback function implementation of
<modname>_core_calendar_event_action_shows_item_count for:
- mod_assign
- mod_forum
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
e9dfeec94e
MDL-57434 core: deprecated xxx_print_overview() and related functions
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
David Monllao
1535cd5bad
MDL-58450 mod_forum: Force groups to be returned as they are created
...
Long history resumed: The test relies on the first group
being the first that is created, the first group is
actually the first one ordering by name. If is
group-999 and is group-1000 is returned
as the first group.
2017-03-31 01:44:21 +02:00
Juan Leyva
2256bb74af
MDL-58444 mod_forum: Return number of unread posts in WS
2017-03-30 11:55:38 +02:00
Nadav Kavalerchik
29f504dede
MDL-51998 Forum: Move subscription update button into page (from navbar)
2017-03-30 12:06:39 +03:00
Andrew Nicols
9a8753de73
MDL-55499 mod_forum: Use context when formatting e-mail text
2017-03-30 11:37:46 +08:00
Juan Leyva
1104a9fa44
MDL-58399 webservice: Return additional file fields for repositories
...
We should be detecting when we are treating files that are linked to
external repositories.
For doing that we'd need to return some additional fields via Web
Services:
- isexternalfile
- mimetype (google docs files use an special one)
- repositorytype (the repository plugin name)
2017-03-28 20:23:16 +02:00
Andrew Nicols
2154c9824d
Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle
2017-03-20 13:57:38 +08:00
Damyon Wiese
3e6adcd69c
MDL-40759 icons: Rename activity_icon
...
image_icon is a better name because there are some valid uses for these other than for activity icons.
E.g. Old JS code that is not worth re-writing.
2017-03-17 15:52:18 +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