Dan Poltawski
243b7003e3
MDL-32508 course/format: Display general section above title
2012-05-04 10:53:03 +08:00
Dan Poltawski
803e36e105
MDL-32508 course/format: Hide 'format outline' titles
...
It is now hidden for for accessibility only
2012-05-04 10:53:02 +08:00
Dan Poltawski
a830d86673
MDL-32508 course/format: Only display topic number in topic format
2012-05-04 10:53:02 +08: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
1abf12532d
MDL-32508 course: Add basic 'add a section' button at the bottom of the course page
...
With thanks to LUNS who provided this code from when I did it working
there.
2012-05-04 10:53:01 +08:00
Dan Poltawski
1804b7c1bc
MDL-32508 course/formats: Respect single page course display mode
...
Topics and weeks have been converted to use a shared renderer to output
their content.
Note, I started with good intentions but this renderer has mixed
paradgims due to fast and cheap winning out on the trinity.
AMOS BEGIN
MOV [currenttopic,access],[currentsection,format_topics]
MOV [currentweek,access],[currentsection,format_weeks]
AMOS END
2012-05-04 10:53:01 +08:00
Dan Poltawski
143d743743
MDL-32508 course: make_editting_buttons now takes optionally returns to section
2012-05-04 10:53:00 +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
a5a38c9473
MDL-32508 course/editsection: add a sectionreturn param
...
This is used so that when editing on a section page you
are returned to the section in question.
2012-05-04 10:53:00 +08:00
Dan Poltawski
d9e1326536
MDL-32508 course: deprecate get_section_url format callback
2012-05-04 10:52:59 +08:00
Dan Poltawski
f755868314
MDL-32508 course formats: Remove key callback
...
This was used by course formats but now there is a standardised
'section' param
2012-05-04 10:52:59 +08:00
Dan Poltawski
5218b9bb7d
MDL-32508 course: Introduce course_get_url()
2012-05-04 10:52:58 +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
Dan Poltawski
3fe600aacf
MDL-32505 course formats: zooming feature be gone!
2012-05-04 10:52:57 +08:00
Dan Poltawski
b9bcdb54da
MDL-32505 course: drop course_display table and settings
2012-05-04 10:52:56 +08:00
Dan Poltawski
1156d38d94
MDL-32504 course: Add coursedisplay setting to course table
...
This will replace the course_display database table
2012-05-04 10:49:52 +08:00
Sam Hemelryk
b3c35188b0
MDL-32654 course-toolbox: Fixed up JS issue caused by incorrect selector
2012-05-09 10:55:17 +12:00
Sam Hemelryk
73002f1992
Merge branch 'MDL-32654-master-2' of git://git.luns.net.uk/moodle
...
Conflicts:
course/yui/toolboxes/toolboxes.js
2012-05-09 09:32:01 +12:00
Sam Hemelryk
b34e00c197
Merge branch 'MDL-32771-2' of git://github.com/danpoltawski/moodle
2012-05-09 09:14:20 +12:00
Andrew Robert Nicols
45b364b92c
MDL-32654 Improve course javascript status spinner
2012-05-08 09:12:15 +01:00
Dan Poltawski
3a35a9ff8b
MDL-32771 - course: add ability to increase/reduce number of sections
...
* addsection.php is renamed to changenumsections.php to reflect new purpose
* The add button is changed to a +- toggle rahter than big 'add section'
2012-05-08 15:00:46 +08:00
Sam Hemelryk
bbb0a6eb02
Merge branch 'MDL-32509' of git://github.com/danpoltawski/moodle
2012-05-08 18:12:28 +12:00
Sam Hemelryk
d7013dba20
Merge branch 'MDL-32777' of git://github.com/danpoltawski/moodle
2012-05-08 17:49:44 +12:00
Sam Hemelryk
4ecbd65d32
Merge branch 'MDL-32681-master-2' of git://git.luns.net.uk/moodle
2012-05-08 11:14:12 +12:00
Sam Hemelryk
42708cbeb1
Merge branch 'MDL-32743-master-2' of git://git.luns.net.uk/moodle
2012-05-08 11:05:53 +12:00
Dan Poltawski
b766edea0a
Merge branch 'MDL-32745-master-1' of git://git.luns.net.uk/moodle
2012-05-07 10:18:06 +08:00
Dan Poltawski
7aaed66901
MDL-32509 course: remove enablecourseajax setting
...
We just have the single enableajax setting
2012-05-05 10:56:06 +08:00
Dan Poltawski
a60cc6e174
MDL-32777 format_topics/weeks: section-summary CSS
...
Ensure there isn't list-style like bullets
2012-05-05 10:37:38 +08:00
Andrew Robert Nicols
5bd03e12fa
MDL-32743 Set resource anchor correctly following course ajax changes
2012-05-03 16:25:56 +01:00
Andrew Robert Nicols
178f351480
MDL-32745 Don't apply course ajax to site_main_menu block
2012-05-03 14:27:43 +01:00
Dan Poltawski
0c38671095
Merge branch 'MDL-32657-master-2' of git://git.luns.net.uk/moodle
2012-05-02 16:54:54 +08:00
Ruslan Kabalin
d95b77bdb7
MDL-32657: Add format.js for topics format and remove default
...
Using topics format as default is not a great idea, as we can end up
half-working dragdrop for some formats. With the current soiution, drag-drop
will not work for format, unless required js functions have been created in
format.js
2012-05-02 09:42:06 +01:00
Sam Hemelryk
398e6932b0
Merge branch 'MDL-32657-master-1' of git://git.luns.net.uk/moodle
2012-05-02 14:41:11 +12:00
Andrew Robert Nicols
19d041bf2b
MDL-32681 Only add drag/drop icons if moveup/movedown icons are present
2012-05-01 09:52:46 +01:00
Juan Leyva
63a85dc7a3
MDL-13130 webservices: Implementation of core_course_delete_courses
2012-05-01 15:23:50 +08:00
Dan Poltawski
3869858d3e
Merge branch 'MDL-30986-attempt2' of git://github.com/mouneyrac/moodle
2012-05-01 10:59:06 +08:00
Davo Smith
32528f94e4
MDL-22504 Drag and drop upload course - enables upload of files, text and urls to a course page
2012-04-30 09:53:25 +01:00
Jerome Mouneyrac
4615817d1c
MDL-30986 external API, check and update DocBlock
...
Conflicts:
group/externallib.php
2012-04-30 15:11:56 +08:00
Sam Hemelryk
6caa86747f
Merge branch 'MDL-29044-master-3' of git://git.luns.net.uk/moodle
2012-04-30 12:50:38 +12:00
Sam Hemelryk
b5aa51419a
Merge branch 'MDL-32238-master' of git://github.com/ankitagarwal/moodle
2012-04-30 12:03:01 +12:00
Dan Poltawski
1f43065d95
MDL-32673 ajax: remove legacy debugging info
2012-04-28 15:00:37 +08:00
Ruslan Kabalin
c77582fe42
MDL-32657: course dragdrop: define elements changes within the format
...
It allows to define M.course.format.swap_sections and
M.course.format.get_section_selector in the course format javascript file, so
that course dragdrop is aware about perculiar layout and changes that need to
be done when sections are swapped.
2012-04-27 15:01:02 +01:00
Andrew Robert Nicols
95ef704d7d
MDL-31096 Handle addition/removal of mod-indent-huge to match non-ajax display
2012-04-26 11:02:39 +01:00
Andrew Robert Nicols
eac3ed52c7
MDL-31096 Add hiding of activity descriptions
2012-04-26 10:40:32 +01:00
Andrew Robert Nicols
9d40f585da
Revert MDL-31215 Add the ability to change activity titles using AJAX calls
...
This *partially* reverts commit 6a14c4ffdd
.
Note however parts of that commit were unrelated and haven't been
reverted.
2012-04-26 17:25:06 +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
ede323e2b3
MDL-31914 Ensure that completion criteria are deleted when removing a course module
...
Conflicts:
lib/db/upgrade.php
version.php
2012-04-24 12:25:53 +02:00
Andrew Robert Nicols
b1a8aa73b5
MDL-29044: Move course category creation to a separate function
2012-04-24 10:57:12 +01:00