5113 Commits

Author SHA1 Message Date
Luca Bösch
398ed46942 MDL-61015 course: consistently display hidden sections
This commit moves the availability info on top.
2018-05-21 11:33:35 +02:00
Marina Glancy
3b29978c8e MDL-61015 course: consistently display hidden sections
When section is hidden but the course setting says to show hidden sections display the hidden
sections consistently with how we display the sections with access restriction.

The only difference is that we didn't previously display the summary of the hidden section
in this case, the new logic repeats this behavior
2018-05-17 08:01:24 +02:00
David Monllao
9fa74e9374 MDL-62029 core_course: Site format is not a standard plugin 2018-05-11 20:15:27 +02:00
David Monllao
99a080f12a Merge branch 'MDL-62361' of git://github.com/stronk7/moodle 2018-05-10 09:17:25 +08:00
Jake Dallimore
e4a37fbef1 MDL-62029 core_course: Fixes to context-aware provider implementation. 2018-05-09 15:34:41 +08:00
Adrian Greeve
fd9c70c43f MDL-62029 core_course: Create privacy files for core_course. 2018-05-09 10:11:41 +08:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Andrew Nicols
1144ae255f Revert "MDL-61876 admin: set default forceclean=1"
This reverts commit c182f060fa48f2266544056cfd03b95c0a2bcb64.
2018-05-08 13:28:12 +08:00
Eloy Lafuente (stronk7)
fc8cc24c85 Merge branch 'MDL-61521-master' of git://github.com/jleyva/moodle 2018-05-08 01:41:32 +02:00
Andrew Nicols
67e2ee0b65 Merge branch 'wip-MDL-61876-master' of git://github.com/marinaglancy/moodle 2018-05-04 08:03:48 +08:00
Marina Glancy
3127fe10b8 MDL-62312 course: Move core_publish renderer methods to course renderer 2018-05-03 10:08:37 +08:00
Jun Pataleta
7816cac9fe Merge branch 'MDL-61012_master' of https://github.com/troywilliams/moodle 2018-04-30 17:29:25 +08:00
Juan Leyva
8c9a196409 MDL-61521 course: Add missing text formatting for category name 2018-04-26 12:21:22 +02:00
Troy Williams
f9a7a98a4a MDL-61012 course: Allow extending class to set 2018-04-24 16:13:29 +12:00
Andreas Grabs
9f9d7bbe87 MDL-62011 course: Approval of a course request fails 2018-04-21 20:55:59 +02:00
Bas Brands
1801b90535 MDL-56511 Theme: behat fixes for theme clean 2018-04-20 06:18:21 +02:00
Andrew Nicols
6979cf56e2 Merge branch 'MDL-56511-master' of git://github.com/andrewnicols/moodle 2018-04-18 09:35:29 +08:00
Bas Brands
3ec69c2ece MDL-56511 theme_boost: Update to Bootstrap 4 stable
Behat fixes by David Monllao <davidm@moodle.com>
    - Blocks
    - Modals
    - Messaging styling
    - Breadcrumb
    - Pagination
    - Course & categories management
2018-04-18 09:31:53 +08:00
Andrew Nicols
cabbda70b1 Merge branch 'MDL-61916-master' of git://github.com/cescobedo/moodle 2018-04-17 11:17:08 +08:00
Marina Glancy
c182f060fa MDL-61876 admin: set default forceclean=1 2018-04-17 09:39:22 +08:00
Matteo Scaramuccia
ef844148a9 MDL-60923 backup: Added $CFG->backuptempdir
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.

Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
Kathrin Osswald
45ae297f7a MDL-61298 theme Boost: Nav drawer icon improvements - fixes. 2018-04-12 13:28:37 +02:00
David Monllao
a5db58f4f2 Merge branch 'MDL-61198-master' of git://github.com/jleyva/moodle 2018-04-11 18:23:59 +02:00
Eloy Lafuente (stronk7)
805a3a4ed7 Merge branch 'MDL-60196_master' of https://github.com/mfabriczy/moodle 2018-04-10 00:55:54 +02:00
cescobedo
bc346cc34d MDL-61916 format: Add privacy implementation for all format plugins
None of the Course format plugins have any user preference or database table.
They all implement the null provider.
2018-04-10 00:17:42 +02:00
Juan Leyva
cf58a2d528 MDL-61198 course: Return course format options in WS 2018-04-05 11:05:47 +01:00
Juan Leyva
ef184ad6e0 MDL-61198 course: New function for format to support external config
New function to return the course format settings for external clients
via Web Services.
Some settings (like private keys/tokens) should be not returned if the
user hasn’t appropriate permissions.
2018-04-05 11:05:47 +01:00
Marcus Fabriczy
e86cbd49bb MDL-60196 core_course: Fix the display of custom LTI icons
Custom LTI icons attached to LTI tools did not display - a regression
caused by MDL-55796.

Change-Id: I02c5d9ff4738657100d020e406d391a449f7588b
2018-04-03 20:36:44 +09:30
Andrew Nicols
c464c08a52 MDL-61256 core_search: Coding style fixes 2018-04-03 14:36:15 +08:00
Andrew Nicols
a9710e9d94 Merge branch 'MDL-61256-master' of https://github.com/sammarshallou/moodle 2018-04-03 14:23:54 +08:00
Eloy Lafuente (stronk7)
0f25080367 MDL-61223 course: keep some tests using old values (January 1st 1970) 2018-04-02 21:55:08 +02:00
sam marshall
40aa5fe9ab MDL-61256 core_search: Support search of section titles, summaries 2018-03-29 17:38:36 +01:00
Marina Glancy
51bc030d19 MDL-60241 course: General section always visible (topics, weeks) 2018-03-09 12:06:47 +08:00
Chernyavskiy Leonid
0e9cda01f1 MDL-60658 course, gradebook: fix missing unformat_float for gradepass
Fix incorrect comparison of gradepass variable (with comma as decimal separator)
with grade variable when trying to save assignment settings.
Adds missing unformat_float($data['gradepass']).
2018-03-01 09:26:51 +07:00
David Monllao
8c52eb2a15 MDL-52811 course: Note about the new capability when creating courses 2018-02-06 08:10:10 +01:00
David Monllao
d3e54578ea Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle 2018-02-06 08:00:11 +01:00
Davo Smith
4a9624af21 MDL-52811 course: fix unit tests broken by setforcedlanguage 2018-02-01 17:07:23 +00:00
Davo Smith
1433a07881 MDL-52811 course: prevent setting of 'lang' without permission 2018-02-01 17:07:12 +00:00
Yair Spielmann
ecce451878 MDL-52811 course: Require course:setforcedlanguage to force language. 2018-02-01 17:06:57 +00:00
Eloy Lafuente (stronk7)
632293b09a Merge branch 'MDL-61058-master' of git://github.com/junpataleta/moodle 2018-02-01 10:33:20 +08:00
Damyon Wiese
4c3e2bdde7 MDL-61023 behat: Automate MDLQA-8158
Verify the general section does not appear in the navigation when it is empty.
2018-01-24 11:36:49 +08:00
Damyon Wiese
3a732ec7bb MDL-61058 behat: Automate MDLQA-8146
Verify that the keyholder is displayed on the self enrolment page.
2018-01-24 11:22:50 +08:00
Eloy Lafuente (stronk7)
2b2cad6f0a Merge branch 'MDL-37390-master' of git://github.com/sarjona/moodle 2018-01-16 00:25:15 +01:00
Andrew Nicols
110965aecd Merge branch 'MDL-61205_m35v1' of git://github.com/sbourget/moodle 2018-01-15 14:17:01 +08:00
Farhan Karmali
6363c9ade2 MDL-37390 course: Set startdate and enddate properly for approved course
Once a course is approved the startdate and enddate were not set properly
This patch sets current date as startdate and enddate is startdate +
default duration of the course
2018-01-12 10:02:18 +01:00
Stephen Bourget
dccd9540d0 MDL-61205 completion: allow expected completion to support time 2018-01-11 21:30:13 -05:00
David Monllao
197672e26c Merge branch 'MDL-60427_dnd_folder_improved' of git://github.com/davosmith/moodle 2018-01-10 12:16:38 +01:00
Davo Smith
96eaee3daf MDL-60427 dndupload: fix Firefox handling of 0-byte folders 2018-01-10 09:58:51 +00:00
Andrew Nicols
61f56fd5f9 Merge branch 'MDL-43648_m35v2' of https://github.com/sbourget/moodle 2018-01-09 11:43:33 +08:00
Davo Smith
4e737cf37f MDL-60427 dndupload: detect attempts to upload folders 2018-01-03 12:36:32 +00:00