Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c .
2013-08-21 13:42:30 +08:00
Dan Poltawski
d99a300563
Merge branch 'wip-MDL-36690-master' of git://github.com/marinaglancy/moodle
2013-08-21 11:35:27 +08:00
Sam Hemelryk
487caf6b65
Revert "MDL-39876 update_course_record function to update global COURSE"
...
This reverts commit c290ac5510 .
Conflicts:
course/lib.php
2013-08-21 15:21:06 +12:00
Marina Glancy
4fcdb0123c
MDL-36690 Do not cache objects inside course.modinfo as they may fail to serialize
...
convert moodle_url (all other fields are numbers or strings) to string before caching and then back to moodle_url when restoring.
Otherwise serialized modinfo can contain \0 byte which cause problems in Postgres DB
2013-08-21 12:30:38 +10:00
Sam Hemelryk
6eee89bc8f
Merge branch 'MDL-39876-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
course/lib.php
2013-08-21 12:08:46 +12:00
Dan Poltawski
43964b852a
Merge branch 'MDL-41125-master' of git://github.com/FMCorz/moodle
2013-08-20 17:10:05 +08:00
Dan Poltawski
7d7e0292cb
Merge branch 'wip-MDL-40974-m26' of git://github.com/samhemelryk/moodle
2013-08-20 15:13:02 +08:00
Dan Poltawski
91a888df34
Merge branch 'MDL-39957_master' of https://github.com/markn86/moodle
2013-08-20 12:38:08 +08:00
Sam Hemelryk
25c605a526
MDL-40974 course: fixed group mode icon now has tooltip
2013-08-16 08:59:01 +12:00
sam marshall
c290ac5510
MDL-39876 update_course_record function to update global COURSE
2013-08-15 11:31:21 +01:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Mark Nelson
ed54cb4110
MDL-39957 course: replaced add_to_log for moving courses
2013-08-15 18:14:08 +08:00
Mark Nelson
2bf2f3599e
MDL-39957 course: altered the handling of legacy log data for the course_updated event
2013-08-15 18:14:08 +08:00
Mark Nelson
53a8e678bf
MDL-39957 course: replaced the course_updated legacy event
2013-08-15 18:14:07 +08:00
Mark Nelson
3c2fab942b
MDL-39957 course: replaced the course_created legacy event
2013-08-15 18:14:07 +08:00
Damyon Wiese
bbb483b259
MDL-36002 Drag and Drop: Improvements to keyboard drag and drop
...
List of fixes:
* Add a simulated drag start event to fix problems with block drag and drop that
were expecting it.
* Add an access-hidden title for the General section in a course format. This
is used to provide the text for the drop region (better than the first activity in the section)
* Changed the text in the list to 'Move to "General"' instead of 'Move after General'. This
makes more sense for activities when you have a list of activities and sections together.
2013-08-15 16:15:32 +08:00
Damyon Wiese
dd66b6ab48
MDL-36002 core: Make drag and drop keyboard friendly (round 2)
2013-08-15 14:39:00 +08:00
Sam Hemelryk
702d1f853e
Revert "MDL-36002 core: Make drag and drop keyboard friendly"
...
This reverts commit 7c271b9 , 313e585 , ade4695 , and 70b4027
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-08-15 13:59:06 +12:00
Sam Hemelryk
615cf2d15a
Merge branch 'MDL-41045-master' of git://github.com/sammarshallou/moodle
2013-08-13 10:19:34 +12:00
Sam Hemelryk
6648f17384
Merge branch 'wip-MDL-41114-master' of git://github.com/marinaglancy/moodle
2013-08-13 09:32:48 +12:00
Marina Glancy
a7a04f6d62
MDL-41114 Avoid unnecessary retrieving of coursecat from DB
...
- course category depth can be estimated in make_categories_options() by the number of separators
2013-08-12 15:07:46 +10:00
Dan Poltawski
f2b45ad65f
Merge branch 'MDL-36002-master' of git://github.com/damyon/moodle
...
Conflicts:
theme/base/style/core.css
theme/bootstrapbase/style/moodle.css
2013-08-12 11:56:37 +08:00
Frederic Massart
5297336942
MDL-41125 course: Only require dndupload library when necessary
2013-08-12 11:34:51 +08:00
sam marshall
5523c34462
MDL-41045 course_add_cm_to_section should not test for sections unless necessary
2013-08-07 17:17:04 +01:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Damyon Wiese
7c271b918e
MDL-36002 core: Make drag and drop keyboard friendly
...
This change adds keyboard support to core drag and drop.
Selecting a grab handle and hitting enter (or space) will
open a menu of possible drop targets and allow you to choose one.
The only other UI change this implies is we need to show the grab
for blocks.
2013-07-31 16:43:25 +08:00
Sam Hemelryk
3665af78ca
MDL-39814 actionmenu: improved alignment, constraint handling, and accessibility
2013-07-30 16:15:26 +12:00
Sam Hemelryk
e5de4933b0
MDL-39814 frontend: redeveloped overlay to correct tab-flow
...
Also:
* fixed zindex issue + spinner placement
* added notes to course format and theme upgrade texts
* fixed behat tests after action menu changes
2013-07-30 16:15:19 +12:00
Sam Hemelryk
cf69a00a1c
MDL-39814 frontend: introduced an action_menu_action class
2013-07-30 16:15:05 +12:00
Sam Hemelryk
b59f2e3bef
MDL-39814 frontend: improved display of activities and the menu
2013-07-30 16:14:56 +12:00
Sam Hemelryk
e282c679e3
MDL-39814 frontend: improvements to course/block editing
2013-07-30 16:07:26 +12:00
Dan Poltawski
c5ceaeaf5e
MDL-40604 course: remove deprecated function
...
* course_delete_module was calling delete_event
* Also fix missing inclusion from 379cd2d4
2013-07-17 14:11:11 +08:00
Eloy Lafuente (stronk7)
379cd2d4e3
MDL-40604 Fix 2 uses causing unit test failures
...
There are still a lot of deprecated uses in core
that we should move to the new counterparts ASAP.
This commit just fixes the 2 deprecated uses that
are causing unit tests to fail.
2013-07-17 02:34:07 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Rajesh Taneja
c592eea2d3
MDL-40428 Libraries: Deprecated delete_context
2013-07-11 12:18:55 +08:00
Adrian Greeve
1de02d62c9
MDL-40426 - Libraries: Deprecate mark_context_dirty().
2013-07-11 12:16:47 +08:00
Rajesh Taneja
2c5b0eb7fc
MDL-40427 Libraries: Deprecated context_moved in favor of context::update_moved()
2013-07-09 15:51:29 +08:00
Sam Hemelryk
9052fc4489
Merge branch 'wip-mdl-33379' of git://github.com/rajeshtaneja/moodle
...
Conflicts:
lib/deprecatedlib.php
2013-06-11 10:35:10 +12:00
Andrew Davis
afd2efc0e8
MDL-36090 core_grade: added logging of overriding of student grades
2013-06-05 08:51:53 +08:00
Damyon Wiese
b55248d5ad
MDL-39462 course: Fix typo in $changesinccoursecat
2013-05-09 14:22:26 +08:00
Marina Glancy
b80a50f7c9
MDL-39462 added missing clearing of coursecat cache
2013-05-08 11:02:45 +10:00
Rajesh Taneja
fbc7f2af93
MDL-33379 course: Removed deprecated move_section() from course/lib.php
2013-04-17 14:28:28 +08:00
Marina Glancy
0fd2635038
MDL-38592 Settings for courses lists on front page are made more user friendly
...
- 'List of courses' is split into 'List of courses' (available) and 'Enrolled courses', CFG->disablemycourses is deprecated;
- CFG->frontpageloggedin by default shows list of available courses;
- There is separate item to display course search box
- CFG->maxcoursesincombo is deprecated
- CFG->maxcategorydepth changed default value to 2 since we have AJAX loading now
- FRONTPAGECOURSELIMIT is transformed to CFG->frontpagecourselimit
c
2013-04-16 15:00:55 +10:00
Marina Glancy
5f79b34b5e
MDL-38682 removed auto page type, created issue MDL-39045 to address this
2013-04-09 16:16:21 +10:00
Marina Glancy
9dd85edf02
MDL-38682 Allow configuring blocks for courses lists pages
...
Also fixed block configuration form error when pagetype string does not exist (for course- pages)
2013-04-09 13:24:31 +10:00
Aparup Banerjee
37240ce5c6
Merge branch 'wip-MDL-38708-master' of git://github.com/marinaglancy/moodle
...
Conflicts:
version.php
2013-04-04 15:07:01 +08:00
Damyon Wiese
200571507f
Merge branch 'wip-MDL-37009-master' of git://github.com/marinaglancy/moodle
2013-04-04 11:22:20 +08:00
Damyon Wiese
9ab0aece49
Merge branch 'MDL-38700-master' of git://github.com/danpoltawski/moodle
...
Conflicts:
course/tests/courselib_test.php
2013-04-02 12:48:08 +08:00
Marina Glancy
d1f8c1bd62
MDL-38708 Added course overview files (most often images) to courses
2013-04-02 11:08:21 +11:00
Marina Glancy
09ae7ee031
MDL-37009 Deprecated all courses display functions that are not used any more
...
print_my_moodle(), print_remote_course(),
print_remote_host(), print_whole_category_list(), print_category_info(), get_course_category_tree(),
print_courses(), print_course(), get_category_courses_array(), get_category_courses_array_recursively()
2013-04-02 10:58:24 +11:00