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
Marina Glancy
8e57a6df6d
MDL-37009 Display courses and categories tree on /course/index.php using new renderer
...
Also /course/category.php
2013-04-02 10:54:49 +11:00
Marina Glancy
a8d683ca8e
MDL-37009 function print_course_search() is moved to deprecatedlib.php
2013-04-02 10:54:48 +11:00
Marina Glancy
f4b571ab2b
MDL-37009 function print_course_search() is moved to course renderer
2013-04-02 10:54:48 +11:00
Aparup Banerjee
3a7e4a80ad
MDL-38564 fixed whitespace
2013-03-26 17:22:22 +08:00
Aparup Banerjee
be0eacf883
Merge branch 'MDL-38564-master' of git://github.com/ankitagarwal/moodle
2013-03-26 17:20:01 +08:00
Ankit Agarwal
bf6b3c7a8a
MDL-38564 Adding unit tests for the functions compare_activities_by_time_asc() and compare_activities_by_time_desc()
2013-03-26 16:12:01 +08:00
Charles Fulton
bb1592c860
MDL-38700 course: only change visibility if a module moves to a different section
2013-03-26 15:03:33 +08:00
Marina Glancy
4e53188a4b
MDL-38147 bug fix, changed usage of non-existing function
2013-03-26 16:17:34 +11:00
Marina Glancy
eabbfa82d3
MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements
...
- Course categories caches are purged by event now
- session cache has additional 10 minutes ttl to clear itself and accomodate for permission changes that do not trigger event purging
- additional request-level cache for coursecat::get()
- We store only children of one category in one cache key
- Function coursecat::get_children() can return results sorted and/or paginated. Added tests
2013-03-25 13:23:15 +11:00
Marina Glancy
8db5dcb7cd
MDL-38147 deprecated get_child_categories(), change usage to coursecat
2013-03-25 13:22:56 +11:00
Marina Glancy
9bad61dbfe
MDL-38147 deprecated create_course_category(), change usage to coursecat. Also avoid direct DB update of table course_categories
...
changed to usage of
- coursecat::create()
- coursecat::update()
2013-03-25 13:22:26 +11:00