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
Marina Glancy
2d8a275bab
MDL-38147 deprecated get_course_category(), change usage to coursecat
2013-03-25 13:21:20 +11:00
Marina Glancy
6e1d1ee0e7
MDL-38147 deprecated move_category(), course_category_hide(), course_category_show(), change usage to coursecat
...
All usages in core replaced with:
- coursecat::change_parent()
- coursecat::hide()
- coursecat::show()
2013-03-25 13:21:09 +11:00
Marina Glancy
deb65cedc4
MDL-38147 deprecated category_delete_move(), category_delete_full(), change usage to coursecat
2013-03-25 13:21:04 +11:00
Marina Glancy
4e0b6025ad
MDL-38147 deprecated make_categories_list(), change usage to coursecat
2013-03-25 13:20:46 +11:00
Jerome Mouneyrac
80fe0c1983
MDL-37079 switch the modedit.php functions into course/modedit.php
2013-03-18 14:41:38 +08:00
Jerome Mouneyrac
7cb0ea2c37
MDL-37079 remove TODO, add . in comments
2013-03-18 14:41:37 +08:00
Jerome Mouneyrac
7bf4f6e999
MDL-37079 Added many assertEquals + generic test function (easy to test new module) + now process next advanced grading screens
2013-03-18 14:41:36 +08:00
Jerome Mouneyrac
dd5d933f30
MDL-37079 create/update_module()
2013-03-18 14:41:35 +08:00
Eloy Lafuente (stronk7)
9515c34ee6
Merge branch 'wip-MDL-30669-master' of git://github.com/abgreeve/moodle
2013-02-26 09:46:13 +01:00
Adrian Greeve
3dd204b1e6
MDL-30669 - blocks: Added a warning when deleting blocks that have multiple displays set.
...
Also added a fix to the function course_page_type_list(). It was making a call to
get_context_info_array() which will generate an error if $currentcontext is not set.
2013-02-26 10:21:37 +08:00
Eloy Lafuente (stronk7)
ca1774aea4
Merge branch 'wip-MDL-34298-m25' of git://github.com/samhemelryk/moodle
2013-02-20 00:45:50 +01:00
Sam Hemelryk
79a809ba44
MDL-34298 course: fixed course search output validation issue
2013-02-19 11:03:58 +13:00
Marina Glancy
9ecb50e6e3
MDL-33774 instead of checking that activity is label we check that it has view url
2013-02-14 19:46:19 +11:00
Damyon Wiese
6904688967
Merge branch 'MDL-37654_master' of https://github.com/markn86/moodle
2013-02-12 13:09:18 +08:00