Dan Poltawski
9e586967a6
MDL-34539 course - allow negative section numbers
...
This gives course format authors more flexibility.
Thanks to Itamar Tzadok for the suggestion.
2012-08-15 03:26:26 +02:00
Frederic Massart
643b1de890
MDL-28207 Course: Showing/hiding/marking a section respect capabilities
2012-08-03 09:21:43 +08:00
sam marshall
c069dacfc1
MDL-33937 Paged course view: Allows view of sections that are not visible
2012-06-21 16:25:52 +01:00
Frederic Massart
a41b1d96b6
MDL-33775 Course: fix redirect to course/section in paged mode
2012-06-18 15:10:33 +08:00
Dan Poltawski
3970a4719c
MDL-33593 course: rename editingenabled param
...
Change to notifyeditingon to better reflect what it does and
prevent people getting confused with edit=1
2012-06-08 10:21:58 +08:00
Aparup Banerjee
ac16f14512
Merge branch 'MDL-33465-master' of git://github.com/ankitagarwal/moodle
...
Conflicts:
backup/moodle2/restore_stepslib.php
2012-06-07 14:04:08 +08:00
Sam Hemelryk
e5b200cd65
Merge branch 'wip-mdl-33367' of git://github.com/rajeshtaneja/moodle
2012-06-06 15:19:49 +12:00
Sam Hemelryk
2c7a72df06
Merge branch 'MDL-33369-master' of git://github.com/ankitagarwal/moodle with changes
2012-06-06 09:05:04 +12:00
Sam Hemelryk
5deaa764ba
Merge branch 'MDL-33056_dnd_status_bar' of git://github.com/davosmith/moodle
2012-06-06 08:30:02 +12:00
Rajesh Taneja
ac5f641465
MDL-33367 course: Deprecated message added to move_section, so it can be removed in 2.5
2012-06-05 09:34:36 +08:00
Ankit Agarwal
336d8c49f4
MDL-33465 course: 'Course view section' logs should use sectionid instead of section number to generate action urls'
2012-06-05 09:33:45 +08:00
Ankit Agarwal
5249ba7405
MDL-33369 course: Adding support for sectionid parameter for section view pages
2012-06-05 08:53:04 +08:00
Davo Smith
6c0ae99b69
MDL-33056 Course dnd upload - improved status box styling and added fade in/out
2012-06-01 11:27:42 +01:00
Rossiani Wijaya
34b84d45b6
MDL-32766 course view section log: update patch
2012-05-22 14:02:48 +08:00
Rossiani Wijaya
15a848ba90
MDL-32766 course log: specify log for viewing course section
2012-05-22 13:50:40 +08:00
Andrew Robert Nicols
01e0e7044a
MDL-30617 Add a javascript interface for adding modules to a course
...
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Dan Poltawski
12ba24a8f8
Merge branch 'MDL-24419' of git://github.com/stronk7/moodle
2012-05-17 11:19:02 +08:00
Sam Hemelryk
7b06151288
Merge branch 'MDL-22504_drag_and_drop_upload_final' of https://github.com/davosmith/moodle
...
Conflicts:
course/lib.php
theme/base/style/course.css
2012-05-17 10:55:35 +12:00
Eloy Lafuente (stronk7)
94dc3c7d1e
MDL-24419 (5): Coding style cleanup
2012-05-17 00:51:50 +02:00
Sam Hemelryk
fbb4c959b5
MDL-32881 Prevent course/view.php from being cached
...
This should prevent browser caching which will ensure that changes made
using the course javascript (e.g. drag/drop, show/hide) will not be 'lost'
by using the browser back button.
This reverts commit 3aaa1843999eeb1832331ec5c8b30865fdba9710.
2012-05-17 10:12:29 +12:00
sam marshall
ce4dfd2703
MDL-24419 (4): Add conditional availability support to sections; section cache
...
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.
This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)
In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.
The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Davo Smith
5103b5e667
MDL-22504 Course drag and drop upload - now correctly ignores disabled modules and allows upload to orphaned sections
2012-05-14 09:48:04 +01:00
Dan Poltawski
d628215d49
MDL-32508 course: turn editting on/off stays on current page
...
Rather than always going to the index page, we can edit on section page
2012-05-04 10:53:01 +08:00
Dan Poltawski
45774bddf7
MDL-32508 course: Switch to 'section' URL param
...
This is a course format independent url param and replaces weekly/topic specific params.
By using a standardised param we are able to use this url consistenly across the codebase
and reduce the risk of param collision
2012-05-04 10:52:58 +08:00
Dan Poltawski
e3c171e19b
MDL-32508 course/view.php: action cleanup
...
After doing actions redirect back to the 'real url' in order to
prevent problems with caching/bookmarking bad urls
2012-05-04 10:52:58 +08:00
Dan Poltawski
599a52fec7
MDL-32508 course/view.php: moderise with MUST_EXIST
2012-05-04 10:52:57 +08:00
Eloy Lafuente (stronk7)
ee5855687e
Merge branch 'MDL-31052-js-rewrite' of git://github.com/danpoltawski/moodle
2012-04-26 03:32:08 +02:00
Andrew Robert Nicols
ebaa29d107
MDL-31096 Convert course resource/section javascript to YUI3 Module
...
AMOS BEGIN
MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
MOV [showweekfromothers,moodle],[showfromothers,format_week]
MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Petr Skoda
cdbea7eed1
MDL-31607 use full course object for require_login() if already available
...
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda
f20edd5208
MDL-32094 fix various E_STRICT compatibility problems
2012-03-18 18:37:24 +01:00
Ruslan Kabalin
93d46f4802
MDL-31255 Fix move of highlighted section when JS is off
2012-02-29 09:08:58 +00:00
Aparup Banerjee
74f0b72254
Merge branch 'MDL-30569-master' of git://github.com/ankitagarwal/moodle
2011-12-20 11:08:42 +08:00
Petr Skoda
af18993548
MDL-30787 fix use of module and section edit capabilities
2011-12-18 13:54:38 +01:00
Ankit Kumar Agarwal
ad96cc524b
MDL-30569 Administration Fixing the redirect after editting is toggeled on the front page
2011-12-15 08:23:15 +05:30
Petr Skoda
743fff98dc
MDL-26142 fix immediately spelling in strings, comments and code
2011-02-13 11:36:46 +01:00
Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
David Mudrak
03276af682
MDL-25072 reverted theme's disablecourseajax to enablecourseajax property
2010-11-09 11:55:37 +00:00
David Mudrak
8b2918a425
MDL-25072 convert $CFG->disablecourseajax to $CFG->enablecourseajax
2010-11-09 11:55:11 +00:00
David Mudrak
c0b5d9252b
MDL-25072 Stop abusing $CFG->ajaxcapable and $CFG->ajaxtestedbrowsers
2010-11-09 11:54:58 +00:00
Petr Skoda
cdfb6ba850
MDL-25072 themes may disable ajax course edit
2010-11-09 01:28:43 +00:00
Sam Hemelryk
3714c264b9
navigation MDL-24780 Navigation cache is cleared after moving a section
2010-10-21 02:09:37 +00:00
Sam Hemelryk
47e75d04b8
course MDL-23996 section names now used in jump to menu
2010-08-30 01:32:45 +00:00
Petr Skoda
8a7934f7b1
we really should redirect after each action, otherwise sloppy referer tricks fail back especially when action is using POST
2010-08-03 11:00:02 +00:00
David Mudrak
09eb215121
MDL-22729 Course sections can be re-edited again
...
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
2010-06-10 18:25:06 +00:00
Martin Dougiamas
088e33633b
Avoid a set_url notice on this page when user isn't enrolled
2010-05-02 09:12:18 +00:00
Martin Dougiamas
2b3d1ac71b
MDL-14632 Removed switchroles from the course view page
2010-04-29 09:32:15 +00:00
Sam Hemelryk
f868c945ff
course-view MDL-21240 Fixed regression: course ajax classes need to be in the head
2010-02-23 08:14:03 +00:00
Petr Skoda
76c0123b0e
MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable)
2010-02-04 22:41:49 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +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