Petr Škoda
b4b03d38b7
MDL-43761 execute bulk sql when modifying db structure
...
In case of postgresql this uses transactions to allow easier recovery from broken installs.
2014-01-24 13:47:41 +08:00
Petr Škoda
ab3fc898f4
MDL-43761 use single query in mysql when crating tables
2014-01-24 13:46:30 +08:00
Petr Skoda
3f17d7091b
MDL-43761 refactor db manager code to send arrays of SQL to the dml driver
2014-01-24 13:45:07 +08:00
Jason Fowler
2eab90fa7f
MDL-40786 User profile: Fixing narrow screen RTL collapse
2014-01-24 08:36:02 +08:00
Nadav Kavalerchik
293a18945c
MDL-40786 User Profile: Right align profile fields in RTL mode (theme/bootstrapbase, theme/clean)
2014-01-24 08:35:46 +08:00
Sam Hemelryk
5a3e5fa078
MDL-43688 dndupload: fixed positioning across themes
2014-01-24 09:52:47 +13:00
Tim Hunt
5c0b5ba575
MDL-43809 qformat_xml messes up $s in multianswer questions.
2014-01-23 15:26:38 +00:00
Tim Hunt
84b3710842
MDL-43246 question engine: avoid order-by id.
...
This was breaking with oracle master/master replication. Fortunately all
the places that needed to be changed were private to datalib.php. There
is still some ordering by id there, but only places where we want a
consitent, rather than meaningful, order, so that is OK.
The queries changed by this patch all have subqueries in aggregate
queries that pull out the latest step for a question_attempt. Those
queries used to look for MAX(id) but now they look for
MAX(sequencenumber). This is equivalent (for databases where ids always
increase with time, except for auto-saved steps. In the past, an
auto-saved step might have been considered latest. Now the latest step
will always be one that has been properly processed. You can aruge that
this change is an improvement. Anyway, it is a moot point. All these
queries are only used in reports which are run on completed attempts,
where there will not be any autosaved data.
2014-01-23 15:20:59 +00:00
Tim Hunt
5b0a31bf20
MDL-43246 some question data mapper unit tests
...
With fixes for the issues unearthed by these tests.
2014-01-23 15:20:58 +00:00
Tim Hunt
28273694e5
MDL-43246 give unit tests class a better name.
2014-01-23 15:20:57 +00:00
Eloy Lafuente (stronk7)
9788e26805
weekly release 2.7dev
2014-01-23 12:38:19 +01:00
Eloy Lafuente (stronk7)
93473e5dd2
Merge branch 'install_master' of git://git.moodle.org/moodle-install
2014-01-23 12:38:06 +01:00
Damyon Wiese
b158296ece
Revert "MDL-43247 SCORM: improve pop-up handling and redirect to homepage on close."
...
This reverts commit ed3d1ee60d
.
This reverts commit ed8eebeece
.
This reverts commit f664a93878
.
This reverts commit 9d22765723
.
2014-01-23 17:14:56 +08:00
Dan Poltawski
88de0401ae
MDL-33064 tests: remove code_test.php
...
This test was doing work which doesn't make sense as a unit test.
Perhaps the most sensible option would be to use a git hook. Here is
a replacement David Mudrák created:
$ cat .git/hooks/pre-commit
#!/bin/bash
FOUND=$(git diff-index --cached -U0 HEAD -- | grep DONOTCOMMIT | wc -l)
if [[ $FOUND -gt 0 ]]; then
echo "pre-commit hook: DONOTCOMMIT detected, commit not allowed"
exit 1
fi
2014-01-23 16:03:59 +08:00
Dan Marsden
ed3d1ee60d
MDL-43247 SCORM: use window.closed property instead of window.opener for IE
2014-01-23 20:38:01 +13:00
Marina Glancy
0eadedea57
MDL-43643 chat: do not assign to nonexisting cm_info properties
2014-01-23 10:59:33 +08:00
Damyon Wiese
ed8eebeece
MDL-43247 Scorm: Fix for undefined js variable when popup is blocked.
2014-01-23 10:49:56 +08:00
Damyon Wiese
6baeabc140
Merge branch 'master_MDL-43247' of git://github.com/danmarsden/moodle
2014-01-23 10:27:18 +08:00
Dan Poltawski
6fe1f72ca0
Merge branch 'MDL-43670' of git://github.com/timhunt/moodle
2014-01-23 09:32:36 +08:00
Eric Merrill
ec74b980c6
MDL-43794 Files API Set the mtime of files to extraction time.
...
The restore cleanup code expects the mtime to be the time of extraction
not the mtime before archiving. If set to the old mtime, the restore
files may be cleaned up before the restore is complete.
This behaviour also matches the behaviour of the zip unpacker.
2014-01-22 11:06:39 -05:00
Dan Marsden
f664a93878
MDL-43247 SCORM: convert some js to YUI
2014-01-22 21:53:26 +13:00
Tim Hunt
e5c86d0740
MDL-43670 fix quiz backup.
2014-01-22 08:32:10 +00:00
Marina Glancy
3ba635344f
MDL-43800 course: groupings are sorted alphabetically
2014-01-22 12:16:26 +08:00
Damyon Wiese
ff77d601d5
MDL-26680: Reset my moodle page - add sesskey check.
2014-01-22 10:00:43 +08:00
Damyon Wiese
ce3b8b0e71
Merge branch 'MDL-26680-master' of git://github.com/micaherne/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2014-01-22 09:52:38 +08:00
Dan Poltawski
259d41fcb9
Merge branch 'w03_MDL-43661_m27_edulevel' of https://github.com/skodak/moodle
2014-01-22 09:15:52 +08:00
Michael Aherne
41dcfbf1af
MDL-26680 my page My Moodle "reset to default" button
2014-01-21 22:36:24 +00:00
Dan Poltawski
73cb5874b6
Merge branch 'MDL-41506-master' of git://github.com/FMCorz/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2014-01-21 23:29:20 +08:00
Petr Škoda
32f906b677
MDL-43661 use new edulevel in all existing events
2014-01-21 16:12:35 +08:00
Petr Škoda
3345e24f4b
MDL-43661 change event property level to edulevel
...
Level is a reserved word in sql, sorry.
2014-01-21 15:54:56 +08:00
Dan Poltawski
0758665c0d
Merge branch 'mdl34020-master' of https://github.com/tlock/moodle
2014-01-21 15:21:17 +08:00
Dan Poltawski
0eea6f5d99
Merge branch '43714-27' of git://github.com/samhemelryk/moodle
2014-01-21 14:49:26 +08:00
Dan Poltawski
8a04a045b3
Merge branch 'MDL-43760-master' of git://github.com/damyon/moodle
2014-01-21 14:28:50 +08:00
Damyon Wiese
e677c1be7c
Merge branch 'MDL-43725-master' of git://github.com/ankitagarwal/moodle
2014-01-21 13:47:39 +08:00
Damyon Wiese
29f7aef8e9
Merge branch 'wip-MDL-43294-master' of git://github.com/abgreeve/moodle
2014-01-21 13:17:05 +08:00
Damyon Wiese
f329801959
Merge branch 'MDL-41810_master' of https://github.com/totara/openbadges
...
Conflicts:
badges/upgrade.txt
2014-01-21 13:06:30 +08:00
Damyon Wiese
c821f113cc
Merge branch 'master_MDL-43247' of git://github.com/danmarsden/moodle
2014-01-21 12:57:05 +08:00
Dan Poltawski
e8d79c2d4b
Merge branch 'wip-MDL-43700-master' of git://github.com/abgreeve/moodle
2014-01-21 12:24:38 +08:00
Dan Poltawski
d5b5f1a38b
Merge branch 'MDL-43717_master' of git://github.com/dmonllao/moodle
2014-01-21 12:19:34 +08:00
Dan Poltawski
e5c5f52e8b
MDL-43670 quiz: improve code comments a little
2014-01-21 11:59:07 +08:00
Dan Poltawski
1f931e2928
Merge branch 'MDL-43670' of git://github.com/timhunt/moodle
2014-01-21 11:25:38 +08:00
Dan Poltawski
d0a0768b7f
Merge branch 'MDL-43693-master' of https://github.com/lucisgit/moodle
2014-01-21 11:21:52 +08:00
Rajesh Taneja
ed44f0aa62
MDL-43765 reports: Fixed addtional name warning
...
Fix the alternate name warning which is generated when course participation report
is viewed
2014-01-21 10:59:26 +08:00
Damyon Wiese
5388c6665f
Merge branch 'wip-mdl-40917' of https://github.com/rajeshtaneja/moodle
2014-01-21 10:41:40 +08:00
Dan Poltawski
0296662a22
Merge branch 'MDL-42955_b' of git://github.com/rwijaya/moodle
2014-01-21 10:37:01 +08:00
Damyon Wiese
d3b5017940
Merge branch 'MDL-41688-master' of git://github.com/FMCorz/moodle
2014-01-21 09:35:21 +08:00
Damyon Wiese
7b6464bf9d
Merge branch 'MDL-43732' of github.com:merrill-oakland/moodle
2014-01-21 09:28:54 +08:00
Eloy Lafuente (stronk7)
bc6d39a561
Merge branch 'wip-MDL-43333-master' of git://github.com/marinaglancy/moodle
2014-01-21 01:59:50 +01:00
Eric Merrill
bed27b3024
MDL-43732 quiz Fix styles so that question div doesn't overlap controls.
2014-01-20 19:56:17 -05:00
Eloy Lafuente (stronk7)
ba766c4772
Merge branch 'wip-MDL-43211-master' of git://github.com/marinaglancy/moodle
2014-01-21 01:54:00 +01:00