Sara Arjona
e6f75b59a3
MDL-80248 course: Display only content for the General section
2024-01-19 12:03:36 +01:00
Stefan Hanauska
6378a41995
MDL-75594 course: Add beforemod parameter
2022-12-12 14:39:53 +01:00
Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
Dongsheng Cai
f97b86e841
MDL-72991 Course: Partial course cache rebuild
...
When updating/deleting a section/module, the system now only
invalidate of the element (section/module), not the whole course cache
Also, the system now only recalculate the cache for element (section/module)
if necessary, not the whole course cache
Move module/section purging to course_modinfo:
+ course_modinfo::purge_course_section_cache_by_id was created to purge section by id
+ course_modinfo::purge_course_section_cache_by_number was created to purge section by number
+ course_modinfo::purge_course_module_cache was created to purge module
2022-03-17 15:34:01 +07:00
Ilya Tregubov
ac93013cd1
MDL-72995 core_course: Revert "MDL-55231: Partial course cache rebuild"
...
This reverts commits c1468388bcecec43e671335db8edfc839494e710,
c1468388bcecec43e671335db8edfc839494e710 and
9a900492bc14176c4f56b8e600ef459069a3ec7a.
2021-11-04 11:57:58 +02:00
Dongsheng Cai
9a900492bc
MDL-55231 core_course: Partial course cache rebuild
2021-10-26 19:08:15 +11:00
Ferran Recio
1e7e255d72
MDL-67707 course: add support for PARAM_ALPHANUM module names
2020-03-16 17:52:08 +01:00
Marina Glancy
8341055eb4
MDL-4782 course: Allow activities in the "stealth" mode
...
Add field 'visibleoncoursepage' to the course_modules table
Add site-wide setting for turning on stealth mode availability
Add callback for "stealth" mode support in the course formats
Change display of modules/sections availability on the course page
2017-02-14 16:38:05 +08:00
Andrew Hancox
3390551872
MDL-51411 course: Fixed warning when deleting activity with js disabled
2015-11-25 14:42:40 +00:00
David Monllao
f31d564133
MDL-47950 course: Adding sesskey confirmation when duplicating activities
2014-10-30 16:58:45 +00:00
Syxton
60df67878b
MDL-46428 course: Remove confirm when duplicating
...
A confirm dialog is given when Javascript is off but not when it is on.
This aligns the two so that they neither have a confirm when duplicating
an activity.
2014-09-04 15:19:17 -04:00
Simey Lameze
9e533215bd
MDL-44627 events: Triggering event course module updated actions.
2014-04-28 12:11:24 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Mark Nelson
a347aee32e
MDL-37082 core_course: create new course_delete_module function that handles the whole deletion process
...
Instead of repeating code all over the place because the original function delete_course_module only partially deletes data, we now place all the functionality needed to delete a module here.
2013-01-22 17:05:16 +08:00
Marina Glancy
38b19bbca1
MDL-35339 call rebuild_course_cache() always (and only) after changing course modules or sections
2012-10-15 14:08:14 +08:00
Marina Glancy
923451c59f
MDL-35276 fix redirect to course/section pages
2012-09-26 10:51:28 +08:00
Ankit Agarwal
9a5e297b4c
MDL-34470 course: Replace all instances of get_context_instance() with context_xxx::instance() in course/
2012-07-24 16:19:01 +08:00
Frederic Massart
a41b1d96b6
MDL-33775 Course: fix redirect to course/section in paged mode
2012-06-18 15:10:33 +08:00
Frederic Massart
76055f5de4
MDL-33442 Course: actions bring you back where you came from
2012-06-14 17:07:57 +08:00
Dan Poltawski
838d013bb2
MDL-32508 course/mod.php: Use $sectionreturn param
...
This param is now used so that users are returned to the
page they started at
2012-05-04 10:53:00 +08:00
Dan Poltawski
5218b9bb7d
MDL-32508 course: Introduce course_get_url()
2012-05-04 10:52:58 +08:00
Petr Skoda
af18993548
MDL-30787 fix use of module and section edit capabilities
2011-12-18 13:54:38 +01:00
David Mudrak
fa82056328
MDL-11288 Added ability to duplicate module in the course
...
Internally, the new script modduplicate.php performs a single activity
backup and restore and then moves the newly created copy right below the
original.
2011-03-31 13:39:05 +02:00
Petr Skoda
fbaea88faa
MDL-24321 switching to stdClass in /c*/
2010-09-21 08:13:11 +00:00
Martin Dougiamas
9645a4843a
MDL-16203 Updated the mod_created, mod_updated and mod_deleted events to be more generic and easier to handle
2010-07-08 02:27:58 +00:00
Rossiani Wijaya
b36781d7a6
MDL-20447 - bulk upload: add heading to the page and fix navbar content.
2010-05-28 09:19:22 +00:00
Dan Marsden
75ba5fe41a
Events MDL-16203 fire events when a module is added/updated/deleted
2010-03-22 02:56:45 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
dc6896efe0
MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-)
2010-01-03 20:47:13 +00:00
Petr Skoda
aa6c1ced0a
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 08:11:02 +00:00
samhemelryk
7f09335135
output MDL-19799 Fixed up some set_url calls as well as fixing some regressions caused by recent upgrades
2009-10-21 04:23:35 +00:00
mudrd8mz
5ac27e270b
NOBUG: Fixed moodle_url issue in module removing confirmation
...
Plain 'mod.php' does not seem to be supported at the moment as a valid $url for the Confirm button
2009-10-01 14:23:48 +00:00
samhemelryk
d9cb06dc0e
course MDL-19794 Replaced deprecated functions, added set_url calls and boilerplates
2009-09-25 05:24:13 +00:00
samhemelryk
3856ca5605
course MDL-19794 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents
2009-09-08 01:33:56 +00:00
nicolasconnault
b453120768
MDL-19794 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:40:19 +00:00
nicolasconnault
e6db30260f
MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 04:58:26 +00:00
nicolasconnault
d60c112435
MDL-19794 Converted all print_footer() calls
2009-08-06 14:10:33 +00:00
tjhunt
d529807a65
moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
...
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
skodak
90ee78e21c
MDL-18293 removing unused error strings (now replaced by exceptions)
2009-02-17 16:33:32 +00:00
sam_marshall
82bd6a5ea9
MDL-15499: Conditional availability of activities
2008-12-17 16:37:35 +00:00
skodak
3ba7053455
MDL-16226 coding style improvements, added deleting of module files, improved validation of params
2008-08-27 15:11:20 +00:00
dongsheng
535a6fa0b5
"MDL-14129, fix print_error"
2008-06-15 11:34:42 +00:00
skodak
681cf96530
MDL-14679 cleaned up mod.php
2008-06-01 20:15:50 +00:00
skodak
caa65d9b59
MDL-14679 cleaned up mod.php
2008-06-01 20:15:50 +00:00
skodak
579d45b434
MDL-14679 converted some get courses
2008-06-01 18:12:24 +00:00
dongsheng
ba6018a902
"MDL-14129, fix print_error call under course/, see tracker"
2008-05-07 06:02:51 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
garethmorgan
693838d37c
Populating $overridableroles and $assignableroles to make the roles tabs accessible. MDL-13803.
2008-03-10 19:05:12 +00:00
poltawski
8cc2a92f04
MDL-3776 fix typo, merged from MOODLE_19_STABLE
2007-12-26 21:42:04 +00:00