Damyon Wiese
1f738c8c0c
MDL-43074 assignfeedback_editpdf: Use escapeshellarg for all args in exec command.
...
This is to fix a reported problem with windows compatibility (e.g. when ghostscript is installed in
a folder with spaces in the name).
2013-12-09 10:52:35 +08:00
Damyon Wiese
9a046c0683
MDL-40096 assign: Prevent js error because uniqid() is not unique.
...
Use html_writer::random_id instead because it incorporates a static counter.
2013-12-09 10:25:15 +08:00
Adrian Greeve
5bb7158d77
MDL-43175 events: Base event unit tests for JSON encoding / decoding comparison.
2013-12-09 09:21:37 +08:00
Adrian Greeve
49ff134227
MDL-43175 events: Changed JSON encoding decoding comparison to be less strict.
...
Debugging messages would be sent when other contained a float that is a whole number.
When encoding and decoding using JSON the number is changed to an integer and the
comparison fails.
2013-12-09 09:21:37 +08:00
Andrew Nicols
54d076a353
MDL-43104 JavaScript: Combine mcore JS into simplemoodle
...
I was wrong about why this didn't work before - this was caused by the
missing semi-colon.
Joining these scripts into a single combo-load has the benefit of further
reducing the number of HTTP transactions to load a page, and a minor
reduction on transferred size due to a reduced header count.
2013-12-09 09:05:16 +08:00
Marina Glancy
9f973b7bae
Merge branch 'master_MDL-43192' of https://github.com/danmarsden/moodle
2013-12-09 11:28:03 +11:00
Marina Glancy
3f189b5d49
Merge branch 'wip-MDL-40213_master' of git://github.com/gjb2048/moodle
2013-12-09 11:13:16 +11:00
Andrew Nicols
cff3b8feed
MDL-43259 JavaScript: Deprecate M.core.dialogue's lightbox attribute
...
The lightbox attribute just sets the modal attribute of the upstream
dialogue and provides no real benefit. We should deprecate it in favour of
documented upstream attributes of Y.Panel.
2013-12-08 16:27:41 +08:00
Andrew Nicols
6531d5a8ec
MDL-43253 JavaScript: Migrate moodle-backup-backupselectall to use Shifter
2013-12-07 23:44:12 +08:00
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
0dd7c711c5
MDL-41292 cache: only update identifiers if they change
2013-12-07 11:34:40 +11: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
Dan Poltawski
4ea3286758
MDL-37380 mod_data: remove unused JS functions
2013-12-06 16:27:41 +08: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
Pavel Sokolov
a66555328b
MDL-43199 assign: fix js error when expanding comments for non editing teachers in assign grading table
2013-12-06 12:57:20 +08:00
David Monllao
333db2e9b9
MDL-42625 behat: Editing .feature files
2013-12-06 12:13:39 +08:00
Andrew Nicols
a42791cb90
MDL-41030 JavaScript: Convert remaining YUI2 IO calls to YUI3
2013-12-06 12:13:39 +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
David Monllao
5d2b67228c
MDL-41030 behat: Dock blocks compatible with both selenium and phantomjs
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
af549df9df
MDL-31410 always send 200 in PayPal IPN response and hide all errors
2013-12-06 10:01:49 +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
7c64c102ad
MDL-43152 JavaScript: Add update instructions for gallery-bootstrap
2013-12-06 09:19:45 +08:00
Andrew Nicols
3eb67d05b0
MDL-43152 JavaScript: Fix linting issues with moodle-theme_bootstrapbase
2013-12-06 09:19:42 +08:00
Andrew Nicols
2db015372a
MDL-43152 JavaScript: Fix linting issues with moodle-core-blocks
2013-12-06 09:19:39 +08:00
Andrew Nicols
350ef81938
MDL-43152 JavaScript: Fix linting issue with navigation JS
2013-12-06 08:43:34 +08:00
Andrew Nicols
078d8c6e70
MDL-43232 JavaSript: Migrate moodle-backup-confirmcancel to use Shifter
2013-12-06 08:35:47 +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
Tim Hunt
165d6d7c56
MDL-43131 qbank: Fix show question text when first viewing.
...
When you followed the link to the question bank, the checkbox for the
"Show question text in the question list" option correctly reflected the
user's preference, but what was actually shown in the question bank did
not.
2013-12-05 11:22:18 +00: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
c36a2401ab
weekly release 2.7dev
2013-12-05 15:09:50 +08:00
Dan Poltawski
c33ea63147
Merge branch 'install_master' of git://git.moodle.org/moodle-install
2013-12-05 15:09:47 +08:00
Mark Nelson
626aec1e74
MDL-43215 core_webservice: retrieve all user name fields when adding a token
2013-12-04 20:56:25 -08:00
David Monllao
a9c32ee29e
MDL-41592 behat: Setting a default value for CFG->behat_wwwroot in case it is empty
2013-12-05 17:06:02 +13:00
Dan Poltawski
dfe84ffb52
MDL-37517 testing: remove deprecated classes
2013-12-05 12:05:10 +08:00