63959 Commits

Author SHA1 Message Date
Dan Marsden
b33e466550 MDL-41434 SCORM: add new sortorder field to allow better ordering of scos 2013-09-16 10:11:16 +12:00
Jamie Pratt
764f6153d1 MDL-41572 pass through question behaviour vars with correct prefix
Through prepare_simulated_post_data. Also includes unit tests for
multiple attempts and tries.
2013-09-15 17:52:18 +07:00
AMOS bot
a2c52dabef Merge branch 'master' into install_master 2013-09-14 00:41:33 +00: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
Jean-Philippe Gaudreau
3aaa906b1e MDL-38317 grade import: Translation support for import mappings form. 2013-09-13 08:49:58 -04:00
Tim Hunt
ca6fa1216e MDL-41667 quiz: Fix CSS rules.
Thanks to Renaat Debleu for spotting this problem.
2013-09-13 11:16:05 +01:00
sam marshall
2a70b70c44 MDL-41087 Backup: add progress tracking in slow steps
Adds calls to the new backup progress tracking API within various steps of the
backup system - previously it only tracked progress between steps, but some steps
can themselves be slow. This ensures the system displays progress (either by
moving the progress bar if possible, or by making the wibbler below it pulsate)
during nearly all of the backup process.
2013-09-13 11:07:23 +01:00
Henning Bostelmann
df0671f0d2 MDL-29987 File resource: fix problem with PDF display on mobile devices
Setting the default display option for PDF files from DISPLAY_EMBED to DISPLAY_OPEN
2013-09-13 10:30:41 +01:00
Damyon Wiese
20b7dcfc2c MDL-41315 assign: Add unit test for groupmembersonly 2013-09-13 16:43:26 +08:00
Rajesh Taneja
af0afab30a MDL-31560 Error: Fixed coding style 2013-09-13 16:13:26 +08: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
Rajesh Taneja
3a11e2d2d6 MDL-41557 Events: Fixed event data snapshot to save valid data 2013-09-13 16:05:23 +08:00
Adrian Greeve
82d05bc63f MDL-41772 - mod_data: Fixed database_module comments not being restored. 2013-09-13 15:26:13 +08:00
Damyon Wiese
a0e59f04dd MDL-41315 assign: Dont show users not in the current grouping
This is for separate groups mode. Note - this will be slower - but
this feature is experimental and groupslib does not provide a nicer api.
2013-09-13 14:47:01 +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
Damyon Wiese
83f26f6407 weekly release 2.6dev 2013-09-13 14:05:33 +08:00
Damyon Wiese
1561a37cab MDL-37148 assign: Fix all phpdocs warnings from moodlecheck (except tests) 2013-09-13 13:30:02 +08:00
Damyon Wiese
539af60201 MDL-37148 assign: codechecker cleanups 2013-09-13 13:30:02 +08:00
Damyon Wiese
05a6445a14 MDL-37148 Assignment: Lots more webservices
This patch adds lots of webservices to the assignment module.
* mod_assign_revert_submissions_to_draft
* mod_assign_lock_submissions
* mod_assign_unlock_submissions
* mod_assign_save_submission
* mod_assign_submit_for_grading
* mod_assign_save_grade
* mod_assign_save_user_extensions
* mod_assign_reveal_identities
* mod_assign_copy_previous_attempt

All features such as reopening attempts and marking workflow are supported through
the save_grade and save_submission functions.

Uploading files is supported by sending draft item ids for the files_filemanager param the same functions.
2013-09-13 13:29:51 +08:00
Rossiani Wijaya
f7bfb405cb MDL-41288 wiki: fix missing .rtl class for deleting comment button and improve page display for deleting comment 2013-09-13 12:56:41 +08:00
Mohamed Alsharaf
dca16fd76f MDL-27684 repository: make require_login() throws exception instead of redirect 2013-09-13 16:01:55 +12:00
Rossiani Wijaya
14cdc25731 MDL-41288 Wiki: add additional fix for heading level 2013-09-13 11:04:08 +08:00
Dan Poltawski
6e3cdbdc33 MDL-41438 - unbuilt less changes 2013-09-13 10:56:12 +08:00
Rossiani Wijaya
4460e380a9 MDL-41438 core renderer: additional patch to remove .main definition from all core themes 2013-09-13 10:49:57 +08:00
AMOS bot
2c9ac05f76 Automatically generated installer lang files 2013-09-13 00:48:38 +00:00
Marina Glancy
e2e9cb6a14 MDL-37028 Fixed bug, orphaned modules are moved to the 0-section 2013-09-13 10:28:52 +10:00
Dan Poltawski
7ea5f0714d NOBUG/MDL-40829 - fix whitespace errors 2013-09-12 19:22:03 +08:00
Dan Poltawski
1d49a5cdc6 Revert "MDL-40829: courses heading: remove 'headerblock' class from header and fix heading levels"
This reverts commit 278d64572d272c776c564dcd743959c21ee20c8b.

Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-09-12 19:21:43 +08:00
Mark Nelson
9df08c9c51 MDL-41748 calendar: removed unused strings 2013-09-12 16:56:31 +08:00
Frederic Massart
d7587b3136 MDL-41305 group: Behat test failing due to string change 2013-09-12 16:37:23 +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
Dan Poltawski
3e29ecabea MDL-41311 tool_generator: remove legacy code
There was some functionality to generate data here, but it was not
maintained, dangerous and being monkeypatched over time.
2013-09-12 11:06:57 +08:00
Damyon Wiese
7f43748f18 MDL-37804 assign: Return proper notice when submissions closed.
MDL-38267 was returning the html page when it should have been adding to the list
of notices and returing false.
2013-09-12 10:34:02 +08:00
sam marshall
39ca3044ea MDL-41728 Backup: Unnecessary use of in_array in base_plan
Remove unnecessary use of in_array which causes performance problems
when loading the plan for very large courses.
2013-09-11 14:32:14 +01:00
Rajesh Taneja
33f9a60133 MDL-28561 blocks_rss_client: Fixed line separator color in bootstrap 2013-09-11 17:43:25 +08:00
Damyon Wiese
fa8b1fa4a4 Merge branch 'wip-MDL-37028-fix2' of git://github.com/marinaglancy/moodle 2013-09-11 16:55:13 +08:00
Dan Poltawski
e3a1fa4be8 MDL-40733 forum: fix duplciate headings
two integration patches collided..
2013-09-11 16:14:37 +08:00
Rajesh Taneja
77063326e6 MDL-41717 Theme: Aligned completion checkbox and commands on course page for label 2013-09-11 16:12:11 +08:00
Marina Glancy
6313817352 MDL-40347 Fixed gradebook css overwriting in Canvas 2013-09-11 16:45:38 +10:00
Rajesh Taneja
3aa3de0db7 MDL-41711 Glossary: Fixed seach label alignment 2013-09-11 14:34:24 +08:00
Damyon Wiese
0956dd7b5f MDL-40347 Theme canvas Remove !important override
The !important override in this rule in the grader report was
preventing the last row of cells from being highlighted.
2013-09-11 14:33:10 +08:00
Jason Fowler
3eb439e206 MDL-40833 theme - fixing centre align of sectionname headings 2013-09-11 13:20:46 +08:00
Marina Glancy
cfda8732b7 MDL-37028 fixed statement to clear course cache 2013-09-11 14:57:59 +10:00
Jason Fowler
fe3a7466ff MDL-40833 theme - fixing centre align of sectionname headings 2013-09-11 12:42:01 +08:00
prateeksachan
9054c04d45 MDL-38267 assign: No Submit button after cut-off date 2013-09-11 12:17:59 +08:00