Commit graph

18058 commits

Author SHA1 Message Date
Andrew Nicols
4246e5c7cc MDL-43234 JavaScript: Clone dialogue configuration before initialising
Since we modify the config object when instantiating a new Dialogue, we
need to clone the configuration to prevent those changes from being
reflected back in the caller.
2013-12-07 09:04:45 +08:00
Russell Smith
9c7dfbe6ed MDL-41359 database: no table columns is a dml_excpeiton
When insert_record is called and it doesn't find any columns
to insert data into, that is a dml_exception as you need at least
one column in the database to insert into it.  This can happen
when you have created a zero column database table, or the table
does not exist.
2013-12-07 08:56:24 +11:00
Andrew Nicols
0a59cd5917 MDL-43240 JavaScript: Remove deprecated functions for 2.7
This patch removes functions which were deprecated in Moodle 2.4:
* M.util.init_select_autosubmit
* M.util.init_url_select
* M.util.help_icon
2013-12-06 16:26:14 +08:00
Andrew Nicols
11dd4dadb4 MDL-42796 ActionMenu: Add additional keyboard event handling
Add additional handling for up/down/escape key presses and consolidate them
with the existing tab/shift+tab handling.
2013-12-06 16:20:10 +08:00
Andrew Nicols
a4e1fefa39 MDL-42796 ActionMenu: Move event handlers to showMenu 2013-12-06 16:19:52 +08:00
Andrew Nicols
5f77a55984 MDL-42959 JavaScript: Backport fix from https://github.com/yui/yui3/pull/1465 2013-12-06 16:14:56 +08:00
Ankit Agarwal
1f2aeda91e MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
Ankit Agarwal
45faf15dfd MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
Ankit Agarwal
c4b0d6dca5 MDL-43044 events: Deprecate course_module_instances_list_viewed abstract class 2013-12-06 15:59:49 +08:00
Ankit Agarwal
bad8b60009 MDL-43044 events: Add a course_module_instance_list_viewed abstract class 2013-12-06 13:18:50 +08:00
Ankit Agarwal
b6c7ab22db MDL-43044 events: Move component declartion to construct 2013-12-06 13:18:50 +08:00
Damyon Wiese
519449c528 MDL-42625 TinyMCE: Hook into API to track the progress of the init script 2013-12-06 13:10:24 +08:00
David Monllao
d1e55a47be MDL-42625 behat: Step definitions + related changes in features
In general aiming for compatibility with multiple browsers,
firefox, chrome and phantomjs to be more specific.

* Removing hardcoded waits
* Adding @_alert, @_switch_window and @_switch_frame tags,
  to label actions that different drivers have problems with.
* Adding missing @_files_upload and @_only_local tags to features that
  uploads files.
* Fixing a few wait for page ready what specified miliseconds.
* New methods to ensure elements (usual selectors), sections and editors
  are ready to interact with
* Changing the select an option implementation to deal with the different
  drivers implementations when listening to JS events.
2013-12-06 13:10:24 +08:00
Damyon Wiese
6e2c417c1f MDL-41030 Behat: Add support for waiting for javascript
This is so that phantomjs (which runs faster than selenium) can pass the tests.
2013-12-06 12:13:39 +08:00
Rajesh Taneja
53b93a6b30 MDL-43224 navigation: Load local plugin navigation in site admin via ajax
Local plugin can add navigation nodes to site admin and while loading
site admin via ajax this should be considered.
2013-12-06 10:17:19 +08:00
Petr Škoda
6c3ae510f1 MDL-31625 fix multiple global search-replace issues
Includes following fixes:
* support for MS SQL Server
* optional trimming of of oversized VARCHAR fields
* conversion to forms library
* full localisation
* other cleanup
2013-12-06 09:51:49 +08:00
Petr Škoda
fc28111316 MDL-42973 fix multiple addon update issues 2013-12-06 09:36:38 +08:00
Petr Škoda
6ef8d163c1 MDL-43137 fix open_basedir regression in classloader 2013-12-06 09:29:28 +08:00
Andrew Nicols
2db015372a MDL-43152 JavaScript: Fix linting issues with moodle-core-blocks 2013-12-06 09:19:39 +08:00
Matteo Scaramuccia
aea486c8d5 MDL-43159 Libraries Wrong naming convention in $compat_view. 2013-12-05 16:06:54 +01:00
Matteo Scaramuccia
657a94fcfd MDL-43082 Themes IE 9 Compatibility View doesn't support SVG. 2013-12-05 15:55:17 +01:00
Marina Glancy
cde67a8377 MDL-42174 behat: change word filepicker to filemanager in step definitions 2013-12-05 21:00:26 +11:00
Marina Glancy
07622451a3 MDL-42174 behat: deprecate upload file to filepicker step in favour of filemanager 2013-12-05 21:00:25 +11:00
Marina Glancy
fcb6ed4776 MDL-42174 More behat tests for filepicker 2013-12-05 21:00:20 +11:00
Dan Poltawski
dfe84ffb52 MDL-37517 testing: remove deprecated classes 2013-12-05 12:05:10 +08:00
Dan Poltawski
b9aaae163e MDL-40517 deprecatedlib: remove functions
* Removed functions which were throwing fatal errors
* Fixup navmenu comment, as it hasn't been throwing a fatal error, it
  shouldn't be removed as part of this issue yet. (Although if you are
  still using this function, you are crazy and should thank me ;-)).
2013-12-05 11:55:33 +08:00
Yuliya Bozhko
c8d2f392c5 MDL-42965 badges: Improve badge criteria review performance 2013-12-05 14:47:55 +13:00
Sam Hemelryk
ba9935866a Merge branch 'MDL-43185-master' of git://github.com/FMCorz/moodle 2013-12-05 08:07:59 +13:00
Andrew Nicols
81cb52bb9a MDL-38776 JavaScript: Migrate moodle-form-showadvanced to Shifter 2013-12-04 22:51:26 +08:00
Andrew Nicols
5e4ef61c00 MDL-38775 JavaScript: Migrate moodle-form-shortforms to Shifter 2013-12-04 22:24:32 +08:00
Frederic Massart
6046f1c8f1 MDL-43185 behat: Use realpath on existing paths 2013-12-04 10:59:49 +08:00
Dan Poltawski
fed9deadcd MDL-42597 yui: remove stale built files 2013-12-04 09:08:54 +08:00
Dan Poltawski
d22147667d Merge branch 'wip-mdl-42597' of https://github.com/rajeshtaneja/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-12-04 08:53:25 +08:00
Dan Poltawski
9fff253293 Merge branch 'master_MDL-43049' of git://github.com/totara/moodle 2013-12-04 08:36:05 +08:00
Rajesh Taneja
f487a8f825 MDL-42597 Administration: Modified maintenance mode countdown to display nicely
Added Style and JS to display maintenance mode timer similar
to what is done on moodle demo site for rest.
2013-12-04 08:31:56 +08:00
Eloy Lafuente (stronk7)
e16b1bb124 Merge branch 'MDL-41446-master' of git://github.com/sammarshallou/moodle 2013-12-03 23:55:42 +01:00
Sam Hemelryk
5d288a5dbb Merge branch 'MDL-41592_master' of https://github.com/dmonllao/moodle 2013-12-04 11:52:12 +13:00
Eloy Lafuente (stronk7)
2574b28b81 Merge branch 'w49_MDL-43117_m27_releaseinfo' of https://github.com/skodak/moodle 2013-12-03 23:45:54 +01:00
Sam Hemelryk
12f46583f0 Merge branch 'MDL-43093' of git://github.com/timhunt/moodle 2013-12-04 10:12:12 +13:00
Sam Hemelryk
db9c8f4c7d Merge branch 'MDL-42919-master' of git://github.com/damyon/moodle 2013-12-04 09:43:43 +13:00
Eloy Lafuente (stronk7)
75b296abf6 Merge branch 'MDL-43105-master' of git://github.com/andrewnicols/moodle 2013-12-03 19:15:05 +01:00
Damyon Wiese
a977fa7b36 Merge branch 'wip-MDL-42731-master' of git://github.com/marinaglancy/moodle 2013-12-03 17:29:39 +08:00
Aaron Barnes
ddb0a1b0e5 MDL-43087 testing: ability to load features from additional paths 2013-12-03 22:11:26 +13:00
Damyon Wiese
23a05a1b9a Merge branch 'MDL-42627_master' of git://github.com/dmonllao/moodle 2013-12-03 16:15:53 +08:00
Damyon Wiese
a5ec4f7ae9 Merge branch 'wip-MDL-43026-master' of git://github.com/marinaglancy/moodle 2013-12-03 16:11:48 +08:00
Dan Poltawski
8761a4f15d Merge branch 'MDL-42097-master' of git://github.com/ankitagarwal/moodle 2013-12-03 15:21:09 +08:00
Damyon Wiese
53741d32a6 Merge branch 'MDL-42962-master' of git://github.com/ankitagarwal/moodle 2013-12-03 15:15:25 +08:00
Damyon Wiese
4c9464ca0d Revert "MDL-39286 Remove link on My Courses settings heading"
This reverts commit 8b79059480.

Behat is failing with this change.
2013-12-03 14:59:16 +08:00
Ankit Agarwal
3c24828823 MDL-42962 events: Add unit tests for the abstract class course_module_viewed 2013-12-03 14:24:31 +08:00
Ankit Agarwal
df2ac49f72 MDL-42962 events: Add a abstract class course_module_viewed
AMOS BEGIN
 CPY [eventcoursemoduleviewed,core],[eventcoursemoduleviewed,mod_feedback]
AMOS END
2013-12-03 14:24:31 +08:00