Frederic Massart
c55cd6ac64
MDL-38691 form: Styling for show more/less toggle
2013-03-26 17:20:58 +08:00
Aparup Banerjee
d54bc60b33
Merge branch 'w13_MDL-38672_m25_purifier' of git://github.com/skodak/moodle
2013-03-26 17:12:18 +08:00
Damyon Wiese
0231f91d86
Merge branch 'w13_MDL-38673_m25_flowplayer' of git://github.com/skodak/moodle
2013-03-26 16:11:47 +08:00
Damyon Wiese
41fdbc0d77
MDL-38468 Filelib: Fix ordering of new mimetypes
2013-03-26 15:16:15 +08:00
Damyon Wiese
2013daeb47
Merge branch 'm25_MDL-38468_Fix_MHTML_files_delivery' of https://github.com/scara/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2013-03-26 15:13:35 +08:00
Damyon Wiese
d0fd9726d1
Merge branch 'MDL-30438_b' of git://github.com/rwijaya/moodle
2013-03-26 14:29:57 +08:00
Damyon Wiese
0c241b980a
Merge branch 'wip-MDL-38147-master' of git://github.com/marinaglancy/moodle
...
Conflicts:
lib/upgrade.txt
2013-03-26 14:22:11 +08:00
Jason Fowler
6671fa735a
MDL-35876 - Blocks - Adding verbose move here descriptions to blocks for accessibility
2013-03-26 14:21:38 +08:00
Damyon Wiese
8af0dffb50
Merge branch 'MDL-34311-master' of git://github.com/danpoltawski/moodle
...
Conflicts:
course/moodleform_mod.php
lib/upgrade.txt
2013-03-26 13:46:29 +08:00
Damyon Wiese
37e50e9316
Merge branch 'MDL-38598-master-int' of git://github.com/FMCorz/moodle
2013-03-26 13:28:57 +08:00
Marina Glancy
290af25434
MDL-38147 fixed small bug on changed categories cache
2013-03-26 14:09:00 +11:00
Petr Škoda
f22f1cafd2
MDL-38627 force byteserving abort on error
...
It is weird, but Chrome PDF viewer keeps retrying byteserving requests for anything but 407. This commit also normalises response headers on all error pages.
2013-03-25 16:06:02 +01:00
Damyon Wiese
3b5539af5e
Merge branch 'MDL-38668' of git://github.com/stronk7/moodle
2013-03-25 15:51:01 +08:00
Damyon Wiese
8b18c1bae5
Merge branch 'w13_MDL-38675_m25_tcpdf' of git://github.com/skodak/moodle
2013-03-25 15:36:25 +08:00
Damyon Wiese
8aae16fb41
MDL-38654 Deprecating gdversion setting: Fix typo for new install
2013-03-25 14:06:00 +08:00
Damyon Wiese
35f155519e
Merge branch 'w13_MDL-38654_m25_gdversion' of git://github.com/skodak/moodle
...
Conflicts:
lang/en/admin.php
2013-03-25 14:02:31 +08:00
Damyon Wiese
2e0b17051c
Merge branch 'w13_MDL-15727_m25_jquery' of git://github.com/skodak/moodle
2013-03-25 12:27:32 +08:00
Rossiani Wijaya
3bd18935d7
MDL-30438 Lesson Module: fixed input text editable capability after checking/unchecking unmask option
2013-03-25 11:47:05 +08:00
Damyon Wiese
e909c7c390
Merge branch 'MDL-38044-master' of git://github.com/FMCorz/moodle
2013-03-25 11:30:36 +08:00
Rossiani Wijaya
41e2a9591f
MDL-30438 Lesson Module: improve password field to disabled when password protect is set to no.
2013-03-25 11:26:50 +08:00
Marina Glancy
93c544bdb0
MDL-38147 Added functions coursecat::search_courses(), get_courses()
...
Also search_courses_count(), get_courses_count();
Added unittests
2013-03-25 13:23:38 +11:00
Marina Glancy
9c6cfc083f
MDL-38147 fixes to phpdocs and avoid using deprecated context functions
2013-03-25 13:23:37 +11:00
Marina Glancy
9178bbbcf3
MDL-38147 changed logic for building list in make_categories_list()
2013-03-25 13:23:37 +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
15d50fffd8
MDL-38147 Performance improvements to coursecat class:
...
- Retrieve and cache only often-used fields of course category
- Removed function coursecat::get_all_visible() as potentially causing performance issues
- removed function coursecat::get_all_parents() as ineffective and unnecessary, replaced with get_parents()
- retrieve all fields from course_categories when unretrieved field is accessed
Also some code improvements:
- rename functions starting with _ , rename arguments, etc.
2013-03-25 13:23:14 +11:00
Marina Glancy
e1d54562ce
MDL-38147 deprecated get_categories(), change usage to coursecat
2013-03-25 13:23:06 +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
bc81b0065c
MDL-38147 deprecated get_all_subcategories()
2013-03-25 13:22:38 +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
Marina Glancy
b28bb7e8c7
MDL-38147 Added coursecatlib_test.php, changed other tests to use coursecat::create() for creating category
2013-03-25 13:20:39 +11:00
Marina Glancy
b33389d228
MDL-38147 Created class coursecat, added cache definition and lang strings
2013-03-25 13:20:33 +11:00
Damyon Wiese
adfcc976f6
Merge branch 'MDL-31681' of https://github.com/Lightwork-Marking/moodle
2013-03-25 10:15:38 +08:00
Dan Poltawski
b45ba7f6fa
MDL-34311 formslib: warn when no param type set
...
Params without a type set will not be getting cleaned, so if developers
really do not want cleaning, they should set it explicitly.
2013-03-25 09:30:51 +08:00
Frederic Massart
619fe67e32
MDL-38598 form: Prevent flickering due to advanced fields
2013-03-25 08:28:32 +08:00
Frederic Massart
8819a83601
MDL-26644 course: Remove useless setting completionstartonenrol
...
This commit removes any trace of the setting 'Completion tracking
begins on enrolment' as it does not appear to do anything.
2013-03-25 08:28:01 +08:00
Petr Škoda
c7289da7eb
MDL-38654 add full $CFG->gdversion backwards compatibility for now
2013-03-24 22:18:49 +01:00
Paul Charsley
3f0ea6d8a7
MDL-31681 added core_grade_get_definitions web service function
2013-03-25 08:38:05 +13:00
Andrew Robert Nicols
a94dd7d2b8
MDL-38517 JavaScript: Migrate moodle-core-blocks to use Shifter
2013-03-24 18:39:57 +00:00
Petr Škoda
e5f4ba84ab
MDL-38675 import tcpdf 5.9.209
2013-03-24 18:59:33 +01:00
Petr Škoda
83cca3da87
MDL-38673 import flash based FlowPlayer 3.2.16
2013-03-24 18:35:09 +01:00
Petr Škoda
510d190382
MDL-38672 import HTML Purifier 4.5.0
2013-03-24 18:00:44 +01:00
Petr Škoda
9f7b1c7f95
MDL-38671 add adodb 5.18
2013-03-24 17:48:11 +01:00
Petr Škoda
fe95fb5322
MDL-37782 reset DB after each failed database test
2013-03-24 14:16:28 +01:00
Petr Škoda
77a5c09354
MDL-37742 simplify dirty one-space oracle hack
2013-03-24 13:43:18 +01:00
Eloy Lafuente (stronk7)
dbd349ab09
MDL-38668 timezones: update to tzdata 2013b
2013-03-24 10:42:28 +01:00
Matteo Scaramuccia
2aecb84d01
MDL-38468 Files API: fixed the support for MTHML (MIME HTML: web page archive) files
2013-03-23 10:21:51 +01:00