Commit graph

17388 commits

Author SHA1 Message Date
Petr Škoda
81881cb9d6 MDL-41787 make sure maturity constants are defined before they are used in core_component class 2013-09-20 17:22:20 +02:00
Jamie Pratt
e68e4ccfdc MDL-41725 move db tables from quiz stats report
to question bank

- move cron to clean up old cache records move code and
rename classes
- further review of the quiz reports statistics code
- starting to separate calculations of quiz stats, question stats and
response analysis
- introduce hashcode db field for cached stats convert
- code to use qubaids hashcode for caches

We just drop the old tables (including previous upgrade steps) and
re-create the new ones, because these tables just cache calculated
statistics. No important data is stored in them.
2013-09-20 16:27:06 +07:00
Damyon Wiese
2bc4212209 MDL-41912 atto: Add a little padding to the editor content area 2013-09-20 15:47:01 +08:00
Damyon Wiese
5d2d0e12d5 MDL-41241 atto: Add a checkbox for open in new window to links 2013-09-20 15:23:02 +08:00
Damyon Wiese
db1f37a411 MDL-41241 atto: YUIDoc cleanup for link plugin. 2013-09-20 15:22:50 +08:00
Damyon Wiese
6f9cf841c9 MDL-41870 atto: keyboard navigation for toolbar (arrows) 2013-09-20 14:59:20 +08:00
Jason Fowler
36973d707e MDL-41713 atto - implement new icons with matching UI 2013-09-20 14:20:05 +08:00
Frederic Massart
11b0c8e0e6 MDL-41726 mod_quiz: Replace handlers with observers for group events
This also implements a filtering of the events to be handled when
a course reset has been started.
2013-09-20 12:25:38 +08:00
Michael Aherne
f817c41cbf MDL-41900 events Log handler failures 2013-09-19 15:50:44 +01:00
Damyon Wiese
ce5867a178 MDL-41188 javascript: Prevent scrolling to top
This fix is for dialogues that are not created until some time after the page
has loaded.
2013-09-18 20:21:34 +08:00
Eloy Lafuente (stronk7)
1ee2fb5a11 Merge branch 'MDL-41188-master' of git://github.com/damyon/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-09-17 20:04:08 +02:00
sam marshall
771e3f7cab MDL-41839 Files: Zip packer progress minor bugs
The progress variable wasn't always passed to recursive calls. This
caused a lack of progress() calls between files in subfolders. I
added a unit test for this situation.
2013-09-17 14:19:07 +01:00
Marina Glancy
b73d8a35c2 MDL-41594 Bug fix for orphaned invisible categories
thanks to L.Sanocki
2013-09-17 20:58:03 +10:00
Jason Fowler
ae5af113d0 MDL-40770 TinyMCE - Final Icon implementation 2013-09-17 15:06:32 +08:00
Barbara Ramiro
845ae64913 MDL-41385 usability: new non-default icons for TinyMCE in svg and png formats
Conflicts:

	lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/moodle/img/delete.png
	lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/moodle/img/delete.svg
	lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/moodle/img/spellcheck.png
	lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/moodle/img/table.png
	lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/moodle/img/table.svg
2013-09-17 09:36:06 +08:00
Jason Fowler
d76a36dd05 MDL-40770 TinyMCE - Implementing new icons 2013-09-17 09:31:14 +08:00
Barbara Ramiro
bb18d12d38 MDL-40769 usability: last bit of icons for TinyMCE in svg and png formats 2013-09-17 09:30:26 +08:00
Jason Fowler
d461eb2296 MDL-40770 TinyMCE - Further changes to implement new icons 2013-09-17 09:30:26 +08:00
Barbara Ramiro
9d6c1849c6 MDL-40769 usability: additional icons for TinyMCE in svg and png formats 2013-09-17 09:30:25 +08:00
Jason Fowler
efba9f9c0c MDL-40770 TinyMCE - Implement new icons 2013-09-17 09:30:25 +08:00
Barbara Ramiro
f0b7b95522 MDL-40769 usability: new icons for TinyMCE in svg and png formats 2013-09-17 09:30:25 +08:00
Marina Glancy
4a91055f7c Merge branch 'MDL-39959-master' of git://github.com/ankitagarwal/moodle 2013-09-17 11:08:27 +10:00
Andrew Robert Nicols
97f4bad867 MDL-38286 JavaScript: Include a YUIDoc configuration for Moodle
To build documentation run:
  yuidoc
2013-09-16 23:56:33 +01:00
Marina Glancy
a8fd33b02c MDL-41715 Increase size of char fiels in user table 2013-09-16 17:51:05 +10:00
Ankit Agarwal
63deb5c379 MDL-39959 events: Replace add_to_log() calls with events for course module actions (create, delete and update) 2013-09-16 15:29:56 +08:00
Ankit Agarwal
0158650f59 MDL-39959 events: Add course module events
Added event course_module_created
Added event course_module_updated
Added event course_module_deleted
2013-09-16 13:42:37 +08:00
Jason Fowler
9cc23e2692 MDL-41716 atto - Fix resizing inconsistencies between editor modes 2013-09-16 12:52:04 +08:00
Simon Coggins
d06ffbdf2d MDL-41806 Add assessors to moodle_url class
New assessors for scheme, host and port.
2013-09-16 16:14:29 +12:00
Sam Hemelryk
da8cd86f17 Merge branch 'MDL-38194-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/upgrade.txt
2013-09-16 13:56:05 +12:00
Sam Hemelryk
cf13da65e1 Merge branch 'MDL-36316-master' of git://github.com/danpoltawski/moodle 2013-09-16 13:13:41 +12:00
Sam Hemelryk
0d5c80e298 Merge branch 'MDL-41662_master' of https://github.com/totara/openbadges 2013-09-16 10:48:20 +12:00
sam marshall
137885b7e9 MDL-38194 Files: Allow download of large backup files
The PHP readfile function does not work for files more than 2GB.
This commit provides a wrapper that can be used so that files less
than 2GB are sent with readfile, and files larger than 2GB are
sent manually.

The change applies to all uses of pluginfile.php, although in
reality, backup files are probably the only ones likely to be more
than two gigabytes.
2013-09-13 14:59:57 +01:00
Rajesh Taneja
2b503e40f2 MDL-31560 Messages: Deprecated generate_email_supportuser
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Rajesh Taneja
3bcf6b3cdd MDL-31560 Messages: Added support for noreply and support users
This is used by messaging system for sending/receiving message
to/from noreply or support user. message_send api will now use
core_user class to get noreply or support user and then
send/receive message depending on user state.
2013-09-13 16:13:26 +08:00
Dan Poltawski
378b3eac83 MDL-36316 useragent: Reduce user agent sniffing
* core_useragent: Introduce is_vendor methods to improve readability
  when we are just detecting if a browser is from a vendor, rather than
  the exact version

* Remove uncessary browser version checks when we are just detecting
  vendors - this makes the intention of our sniffing clearer.

* Remove sniffing for browsers which we do not support, grades/ajax/tinymce
  all support modern browsers so there is no need to sniff for them.
2013-09-13 14:25:37 +08:00
David Monllao
f59f6b6b75 MDL-41555 behat: Fixing catch statement location
The exception is thrown when getting the
browser session, not when accessing the first
URL.
2013-09-12 15:51:24 +08:00
Damyon Wiese
2a808cef8f MDL-41188 javascript: Change full screen dialogue to position: fixed
This fixes all sorts of bother with the fullscreen dialogues. It also means that
you don't lose your scroll position in the document when the full screen popup
opens/closes.

It prevents several bugs on mobile where the dialogue could get scrolled off
the page (and handles orientation changes better).

Contains one other tiny tweak to make the close button on the dialogue
a bit bigger so it's easier to click (only for fullscreen).
2013-09-12 14:18:12 +08:00
Jason Fowler
c1f10ffb24 MDL-41238 atto - fixing autoclose of style menu for firefox 2013-09-12 13:28:18 +08:00
Tim Gus
c4012e7e82 MDL-38570 admin: fix cron_delete_from_temp on windows 2013-09-12 11:33:32 +08:00
Ankit Agarwal
ef9ca10699 MDL-21415 reports: We should fetch active group from session not page params
Also donot allow active group to be set to something that user doesn't have access to
2013-09-12 11:18:25 +08:00
Marina Glancy
aba4d0090d MDL-37028 fixed course-module generation
still conditionlib should be using API functions and not inserting the data directly in DB but will fix in another issue
2013-09-11 10:47:49 +08:00
Dan Poltawski
111c649600 MDL-41565 events: fix unit test 2013-09-11 10:25:31 +08:00
Frederic Massart
de170aacda MDL-41436 modinfo: Concatenate SQL fields instead of passing array 2013-09-11 10:02:41 +08:00
Sam Hemelryk
214816fb19 Merge branch 'MDL-40742-master' of git://github.com/ankitagarwal/moodle 2013-09-11 10:13:29 +12:00
Eloy Lafuente (stronk7)
a13f06aec0 Merge branch 'MDL-41619_master' of https://github.com/markn86/moodle 2013-09-10 23:45:20 +02:00
Sam Hemelryk
087bc6ba67 Merge branch 'MDL-41238-master' of git://github.com/phalacee/moodle 2013-09-11 09:28:42 +12:00
Sam Hemelryk
f773cb2e94 Merge branch 'MDL-41630-master' of git://github.com/FMCorz/moodle 2013-09-11 09:20:53 +12:00
Sam Hemelryk
cde5c4a58e Merge branch 'MDL-41632-master' of git://github.com/FMCorz/moodle 2013-09-11 09:12:32 +12:00
Sam Hemelryk
3623d74adc Merge branch 'wip-MDL-41578-master' of git://github.com/marinaglancy/moodle 2013-09-11 09:00:54 +12:00
Sam Hemelryk
994009ddfe Merge branch 'MDL-41599-master' of git://github.com/ankitagarwal/moodle 2013-09-11 08:54:26 +12:00