Damyon Wiese
d51f9d5fd0
Merge branch 'wip-MDL-36789-master' of git://github.com/marinaglancy/moodle
2013-08-19 13:29:55 +08:00
Dan Poltawski
bee137b65a
Merge branch 'MDL-39703_master' of https://github.com/nadavkav/moodle
2013-08-19 13:08:10 +08:00
Dan Poltawski
a945d48127
Merge branch 'master_MDL-37393' of github.com:danmarsden/moodle
2013-08-19 12:57:34 +08:00
Andrew Davis
e9c599cb84
MDL-39770 mod_chat: improved the chat experience on small screens
2013-08-19 09:08:40 +07:00
Jason Fowler
0c99005a9a
MDL-30839 Accessibility, Forms - Improve accessibility or error messages
2013-08-19 09:54:41 +08:00
Sam Hemelryk
89182546a0
MDL-41106 cache: tidied up several elements
2013-08-19 11:32:08 +12:00
Marina Glancy
170b05362a
MDL-41106 Cleaning up expired elements in session cache store
...
- Always make sure the elements in cache are sorted so we need to remove only elements in the beginning of array
- Remove expired elements from session store to free memory
- Minor bug fixes
2013-08-19 09:28:36 +12:00
Nadav Kavalerchik
48e5db7428
MDL-40752 - Login panel should be placed on the right side, in RTL mode (theme/clean, bootstrap)
2013-08-18 22:04:02 +03:00
Nadav Kavalerchik
373c610ed1
MDL-39703 Roles, Themes: Fix "Add role" dialog width and position, in RTL mode (theme/clean)
2013-08-18 21:51:51 +03:00
Nadav Kavalerchik
42fabe1e87
MDL-36044 - Delete Icon ("X") blocks Score numbers, when in RTL mode (mod/assign , Rubrics editor)
2013-08-18 17:40:00 +03:00
Andrew Nicols
0ef6f6860d
MDL-41258 Forum: Add additional unit tests for forum digest settings
2013-08-18 00:03:06 +01:00
Nadav Kavalerchik
445d4cc065
MDL-40447 Administration: Fix translation: "Profile" should be "Profile Fields" on advanced (more...) user filter form
2013-08-17 23:30:39 +03:00
sam marshall
bc4054f9dd
MDL-38197 Script to generate standard-size large course for testing
2013-08-16 12:09:55 +01:00
Nadav Kavalerchik
1a46c81c87
MDL-37211 Backup: Migrate hard-coded strings to language string for the table header labels on the restore page
2013-08-16 12:24:10 +03:00
Nadav Kavalerchik
6700806403
MDL-39236 - Right align table cells during install process, when in RTL mode (theme/standard, actually theme/base)
2013-08-16 11:53:14 +03:00
Frederic Massart
aa87fe80b3
MDL-40877 core_text: Added UTF-8 safe strrchr method
2013-08-16 10:58:22 +08:00
Rajesh Taneja
135dde74ed
MDL-40042 Completion: added course_completion_updated event to remove related add_to_log
2013-08-16 09:34:23 +08:00
Russell Smith
536e9be605
MDL-40893 backup: cache question answers for performance
...
To constrain memory we only cache a single question's answers.
A quiz must display this many answers, so it will not result
in undue memory pressure.
We now match on the full answer text rather than the first 255
characters. This removes the risk of matching questions with the
same start.
2013-08-16 10:06:13 +10:00
Sam Hemelryk
2e9d5a534e
MDL-41106 cache: several fixes for the session cache.
...
This issue makes several fixes for the session loader and the session store.
* maxsize argument now works for session caches.
* fixed performance hole when interation occurs frequently.
* fixed cache purge bug occuring when multiple caches are defined before being used.
* improved lastaccess handling.
2013-08-16 11:27:55 +12:00
Simon Coggins
be8c6d7bc8
MDL-39572: Fix sql_order_by_text() to use length argument correctly
2013-08-16 11:26:54 +12:00
Simon Coggins
be4bf53d6d
MDL-39572: Fix existing tests and add more to demonstrate issue with sql_order_by_text()
2013-08-16 11:26:54 +12:00
Yuliya Bozhko
b143259ee0
MDL-40162 badges: Image url breaks when slashargumets is not supported
2013-08-16 11:12:12 +12:00
Dan Marsden
492407e9f7
MDL-35380 SCORM: improve check for imsmanifest file and consolidate into a single function.
2013-08-16 09:34:06 +12:00
Dan Marsden
a4aaeeaa81
MDL-41144 enrol_flatfile: ignore deleted users.
2013-08-16 09:32:22 +12:00
Matteo Scaramuccia
9d507f1d70
MDL-37393 SCORM: Fixed PHP Strict Standards errors with AICC packages
2013-08-16 09:28:41 +12:00
Dan Marsden
d4978e044e
MDL-37393 SCORM: Fix existing AICC scoes to use correct parent/child relationships
...
also fix bad version used by patch in MDL-39239
2013-08-16 09:28:40 +12:00
Jonathon Fowler
072c52bbc0
MDL-32191 navigation: Add keys to module and block settings nav nodes
...
Conflicts:
lib/navigationlib.php
2013-08-16 09:18:42 +12:00
Amy Groshek
dc3337b273
MDL-37674 - modify html_attributes() to add .no-header class when header will not be rendered
2013-08-16 09:17:44 +12:00
Sam Hemelryk
af62237d0e
MDL-40931 useragent: separated user agent functionality into a lib
...
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-16 09:02:01 +12:00
Sam Hemelryk
25c605a526
MDL-40974 course: fixed group mode icon now has tooltip
2013-08-16 08:59:01 +12:00
Sam Hemelryk
2a1ebf25de
MDL-41057 csslib: CSS optimiser improvements.
...
This commit makes the following changes:
* Tidies up coding style.
* Tidies up phpdocs.
* Improve CSS optimiser unit tests to cover browser hacks.
* Improve backgound style consolidation.
* Improve border style consolidation.
* Fixed optimiser to handle browser hacks like *zoom.
* Improved @ rule unit tests.
* Fixed @rule breakages caused by OS specific rules.
* Added more unit tests to cover a bit more CSS3.
I am pretty sure this patch will now enable to optimsier to
work on bootstrap based themes should developers not wish
to compress thier compiled less CSS.
2013-08-16 08:57:20 +12:00
Tim Hunt
9e6eb082ff
MDL-38203 multianswer qtype: feedback pop-up should be constrained.
...
So that, when there is a lot of feedback, it is all visible.
2013-08-15 14:15:38 +01:00
Andrew Nicols
1aba6b2b4d
MDL-41196 Unit Tests: Add a phpmailer message sink
2013-08-15 13:58:51 +01:00
Tim Hunt
afb1b3d03b
MDL-39980 question engine: Attempt on last loses response files
...
When doing Each attempt builds on last, we need to copy any response
files into a draft file area, and then re-save them.
While writing the unit test for this, I had to deal with a todo in the
question engine so that questions with files in the response could be
unit-tested.
I also found an fixed a bug with qtype_essay_question::is_same_response
and fixed some notices in the existing essay/manual graded unit tests.
2013-08-15 12:55:13 +01:00
Marina Glancy
676fa06af3
MDL-36789 Quick course cache integrity check for deleted modules
2013-08-15 21:48:24 +10:00
Marina Glancy
0e4954ecff
MDL-40830 Clear course cache in mod_assign generator
2013-08-15 21:44:05 +10:00
Tim Hunt
c9c21e1679
MDL-41162 quiz view page: invalid HTML.
...
We were sometimes outputting nested p tags. Change the outer one to a
div.
2013-08-15 12:38:31 +01:00
Tim Hunt
89b04bef50
MDL-41093 qtype match: unique index upgrade problem.
...
Eliminate duplicate rows before we try to add a unique index. We
arbitrarily keep the duplicate row with the lowest id.
2013-08-15 12:20:07 +01:00
Tim Hunt
fa5c608c62
MDL-41036 Question category info should use HTML editor
...
This is a minimal fix. All this code could do with a clean-up, but at
the moment, it works, so I am not going to touch it.
2013-08-15 12:19:47 +01:00
Tim Hunt
2f7827b241
MDL-40896 Add missing question edit CSS to bootstrapbase.
2013-08-15 12:18:00 +01:00
Tim Hunt
aed2918c14
MDL-32324 qtypes and qbehaviours should use uninstall_plugin.
2013-08-15 11:58:41 +01: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
Henning Bostelmann
55e4100617
MDL-27595 backup: allow course import with warnings
...
Proceed with import if warnings are found, but display the warnings afterwards
2013-08-15 11:18:40 +01:00
Mark Nelson
cd14c5cab8
MDL-39957 course: replaced add_to_log for hiding/showing courses
2013-08-15 18:14:08 +08:00
Mark Nelson
e5959771b2
MDL-39957 course: added PHPUnit assertions for when a course_updated event is triggered by moving a course
2013-08-15 18:14:08 +08: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
02cbb621d6
MDL-39957 course: added PHPUnit test for the new course_restored event
2013-08-15 18:14:08 +08:00
Mark Nelson
a4003c733a
MDL-39957 course: replaced the course_restored legacy event
2013-08-15 18:14:08 +08:00