Commit graph

55130 commits

Author SHA1 Message Date
Petr Škoda
efc80e2bb8 MDL-33454 import latest TinyMCE 3.5.4.1 2012-07-06 08:10:14 +02:00
Petr Skoda
63224dee44 MDL-33568 improve DB->count_records*()
Now always returns integer and invalid queries are detected.
2012-07-06 08:09:11 +02:00
Petr Škoda
79a471435b MDL-33617 add new index to improve perf of enrol related role_assignments 2012-07-06 08:08:45 +02:00
Petr Skoda
64ed8ca214 MDL-33712 add support for unique moodle tags in tinymce 2012-07-06 08:04:00 +02:00
Petr Skoda
6fb8ae95f5 MDL-33753 support utf-8 filename unzipping 2012-07-06 08:03:38 +02:00
Petr Skoda
79c966cf21 MDL-33710, MDL-33710 add utf-8 flag to all zip files created in moodle and unzip from storage fix 2012-07-06 08:02:42 +02:00
Petr Škoda
af225f6c9c MDL-33887 delay string fetching in PAGE->requires->string_for_js() till page footer
This should resolve problems with language switching such as when forcing course language.
2012-07-06 08:02:00 +02:00
Petr Škoda
3c2fbdbb87 MDL-34010 improve mysqli engine diagnostics performace 2012-07-06 08:01:33 +02:00
Michael Aherne
445be5c6cd MDL-34010 Update diagnose() function to query information_schema.tables 2012-07-06 08:01:33 +02:00
Petr Škoda
774c42a8d3 MDL-34046 improve mixed files upgrade error
Credit goes to Gordon Bateson.
2012-07-06 08:00:53 +02:00
Petr Škoda
bcf7f9f36f MDL-34057 improve styles_debug concurrency
Please note style debugging is not intended for busy production sites!
2012-07-06 08:00:18 +02:00
Petr Škoda
8956a329a6 MDL-34101 do not try to authenticate non-existent users when user creation is prevented 2012-07-06 07:59:44 +02:00
Petr Škoda
13951f0ce7 MDL-34101 use current mnethostide when verifying if user deleted
authenticate_user_login() is supposed to work with local accounts only,
mnet accounts must be ignored.
2012-07-06 07:59:44 +02:00
Petr Škoda
d606bee9ce MDL-34147 use cygwin style paths in phpunit hints 2012-07-06 07:58:44 +02:00
Petr Škoda
2b42c88170 MDL-34155 use course visibility default when creator does not have moodle/course:visibility 2012-07-06 07:58:07 +02:00
Petr Škoda
7f22fb4dd9 MDL-34159 improve where_clause_list performance 2012-07-06 07:57:08 +02:00
Petr Škoda
d6fc8d94e2 MDL-34175 a few more renamed admin fixes 2012-07-06 07:53:44 +02:00
Petr Škoda
8a8914cd41 MDL-34175 automatically fix admin JS links 2012-07-06 07:51:23 +02:00
Frederic Massart
3e0ce6079c MDL-33885 Blog: Added maxlength rule to subject field 2012-07-06 13:14:52 +08:00
Frederic Massart
455dc0de61 MDL-18301 Gradebook: Added feature for components to control grade visibility 2012-07-06 09:52:46 +08:00
David Balch
96aeb5be35 MDL-34143 Add file type information for .mdb .accdb (MS Access databases) 2012-07-06 09:44:25 +08:00
Marina Glancy
eb45e641b6 MDL-34139 filemanager select-file dialogue should update file on Enter 2012-07-06 09:44:16 +08:00
Marina Glancy
6dc82385ab MDL-33950 Correctly initialise repository and check access in js and non-js filepicker 2012-07-06 09:44:07 +08:00
Marina Glancy
7e897e67ab MDL-33473,MDL-33950,MDL-33837 Allow non-js filepicker to pick files from moodle repositories
- MDL-33473 actually make non-js filepicker to work with local repositories
- MDL-33950 validate that file is accessible
- MDL-33837 when picking a server file marked as main, do not make it main in current filearea
2012-07-06 09:44:07 +08:00
Marina Glancy
1bd0174743 MDL-33950 check if source file is accessible in repository_ajax.php
- repository::copy_to_area() does not check access any more, and repository_recent::copy_to_area() is unnecessary
- added repository::file_is_accessible() that checks access to the picked file (regardless of accessibility of the file it is referencing to)
2012-07-06 09:44:07 +08:00
Marina Glancy
6133c2ea21 MDL-33444 Upload repository can specify custom label for filepicker 2012-07-06 09:43:50 +08:00
Sam Hemelryk
2cbdaa77ea weekly release 2.4dev 2012-07-06 10:03:44 +12:00
Dan Marsden
c24bdac7dd MDL-34198 SCORM remove unecessary get_records call 2012-07-06 09:53:59 +12:00
Sam Hemelryk
6ff9f8404c Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-07-06 09:50:41 +12:00
Gilles-Philippe Leblanc
f007c032be MDL-33822 SCORM Interactions report - fix formatting of empty cells. 2012-07-06 09:45:44 +12:00
Eloy Lafuente (stronk7)
ecad7393e3 Revert "MDL-33303 Filepicker: resized to match HTML editor and made resizable"
This reverts commit c947ea3e3f.
2012-07-05 23:21:34 +02:00
Eloy Lafuente (stronk7)
2fba8f5a92 Merge branch 'wip-MDL-34063-master' of git://github.com/marinaglancy/moodle 2012-07-05 18:34:27 +02:00
David Mudrák
483afa446d MDL-33453 Make it clear what search_references() and search_references_count() are good for
Initially it was not clear enough that these two methods are supposed to
be used for looking for references to a stored_file only. So the docs
comments are improved and unittests added to illustrate the usage.

The patch also removes the unittest for get_references_by_storedfile()
as its usage is already covered in other test methods.
2012-07-05 17:15:37 +02:00
Eloy Lafuente (stronk7)
2173e56a29 Revert "MDL-30912 - lib - A tidy up of the submit url jump functions for greater ease with accessability."
This reverts commit 82203a1e4e.
2012-07-05 16:09:43 +02:00
Eloy Lafuente (stronk7)
8049a5c413 Merge branch 'wip-MDL-33746-master' of git://github.com/marinaglancy/moodle 2012-07-05 14:19:06 +02:00
Tim Hunt
05038fcba0 MDL-34065 questions: also fix two typos in comments.
Amended to change 2 accordin => according
2012-07-05 13:49:05 +02:00
Tim Hunt
fede0be5de MDL-34065 lib: improve two debugging messages.
If the string passed to get_string is empty, say that. Don't say that it
contains illegal characters.

When relying on the __call magic in plugin_renderer_base, when the
method cannot be found, include the right class name in the error
message.
2012-07-05 13:48:12 +02:00
Marina Glancy
4b8d51d79a MDL-33746 make folder view look like filemanager tree view 2012-07-05 16:50:46 +08:00
Rossiani Wijaya
a50f89ecf5 MDL-30816 Choice module: add format_string() for choice name. 2012-07-05 12:16:30 +08:00
Rossiani Wijaya
0ed9c7456d MDL-30816 choice module: fixed accessibility for responses table and make it easier for screenreader to read it 2012-07-05 10:19:55 +08:00
Eloy Lafuente (stronk7)
c3fcad7d55 Merge branch 'MDL-34145' of git://github.com/timhunt/moodle 2012-07-05 03:40:44 +02:00
Frederic Massart
248910258b MDL-29470 Backup: unit tests for next automated backup date 2012-07-05 09:35:57 +08:00
Frederic Massart
d4a49ba291 MDL-29470 Backup: fixed unexpected next automated backup date 2012-07-05 09:29:03 +08:00
AMOS bot
7c29038aea Automatically generated installer lang files 2012-07-05 00:31:12 +00:00
Sam Hemelryk
e5f0e51942 MDL-33770 webservices: Fixed error with core_group_create_groups when no enrolment key provided 2012-07-05 09:22:12 +12:00
Tim Hunt
d9299c349e MDL-34171 qformat_gift: Fix edge case with special character escaping.
We need to escape \ on export, because it is un-escaped on import.
2012-07-04 10:55:52 +01:00
Tim Hunt
bf92acc253 MDL-32062 question engine: fixup tests that this change broke.
The test data was wrong, and was triggering the work-around code that
MDL-32062 introduced. I fixed the test data.

Also, I fixed one of the tests, that had been broken.
2012-07-04 10:47:03 +01:00
Juan Leyva
30e772a478 MDL-34083 Deleted user_files from backup options 2012-07-04 10:34:24 +02:00
Dan Poltawski
4013359707 MDL-17395 auth_email: clarify description 2012-07-04 15:02:07 +08:00
Dan Poltawski
a274df85f9 MDL-34061 mod_resource: filter settings weren't coming from defaults 2012-07-04 14:06:58 +08:00