Commit graph

11271 commits

Author SHA1 Message Date
Sam Hemelryk
1b32bc234a categories MDL-24936 Added turn editing on/off links to the category settings in the settings block 2010-11-22 05:31:46 +00:00
Petr Skoda
c4cef1fe39 MDL-25314 weaker misconfiguration detection
seems like there are too many problems in buffer flushing in different PHP/browser configurations; flushing the buffers after all headers are sent, this is the safest way
2010-11-20 11:39:11 +00:00
Petr Skoda
116ee3e433 MDL-25314 coding style improvement 2010-11-20 03:56:34 +00:00
Petr Skoda
596c71156d MDL-25314 some more header diagnostics when preparing to send file 2010-11-20 03:55:53 +00:00
Petr Skoda
871ed45870 MDL-25314 adding some header/session related notes 2010-11-20 03:49:20 +00:00
Eloy Lafuente
6bfe81293f MDL-25268 dml - change whitespace capture in limitfrom/limitnum regexp. Fixes some border cases 2010-11-20 00:49:01 +00:00
Eloy Lafuente
296f6c99b1 NOBUG: moodle/blog:manageexternal is SYSTEM cap, not USER at all 2010-11-19 18:25:27 +00:00
David Mudrak
072e9d9a39 TinyMCE tool to generate upstream pack to be imported into AMOS
I have tweaked Petr's script so that now it generates files in a
suitable format for importing into AMOS.
2010-11-19 13:04:26 +00:00
Tim Hunt
b80d424c50 question export MDL-25324 Better file names for question exports. 2010-11-19 11:02:28 +00:00
Petr Skoda
6e65fcd9b9 trying to work around gzip issue 2010-11-19 08:51:49 +00:00
Andrew Davis
bc68fc9a9b message MDL-25297 refactored quiz to make message notifications work 2010-11-19 05:18:34 +00:00
Sam Hemelryk
060cd0c887 course MDL-25269 Fixed up module/resource indentation on the course view page. Now uses div margins rather than spacer images. 2010-11-19 04:02:21 +00:00
Petr Skoda
cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
27466303d9 MDL-25314 getting rid of @ hiding error
We were using these because we added them in stable and did not want to risk any regression, in the long term it is better to show all errors caused by random PHP restrictions introduced by shared hosting admins.
2010-11-19 01:39:30 +00:00
Eloy Lafuente
cbb9e9b8b4 MDL-25310 backup - some minor tasks related to cleaning/old options 2010-11-18 21:34:01 +00:00
Eloy Lafuente
39cf0e8e74 MDL-24863 unit tests - tidy up a bit some tests 2010-11-18 14:02:02 +00:00
Petr Skoda
9ecf4f44e4 fixing regression in the last commit 2010-11-18 06:26:27 +00:00
Petr Skoda
de542ff813 NOBUG explaining why textlib sorting fails 2010-11-18 06:14:59 +00:00
Aparup Banerjee
011bfd2a54 database MDL-24863
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix
2010-11-18 06:00:51 +00:00
Andrew Davis
c40cfb8cfc message MDL-25265 message_send() now uses a success flag rather than returning false immediately if a processor fails to prevent a single bad processor preventing others from running 2010-11-18 02:19:59 +00:00
Eloy Lafuente
9882b2c824 MDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing. 2010-11-18 01:27:49 +00:00
Eloy Lafuente
a018adf038 MDL-25276 dml - completed sql_cast_char2int/real tests to reveal some problems 2010-11-18 01:10:41 +00:00
Eloy Lafuente
3a55ee2f5e MDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests 2010-11-17 10:39:56 +00:00
Aparup Banerjee
08d3898c7c installation MDL-24863 fixed area that is calling get_site() to catch dml_exception instead of dml_read_exception. (This is to handle other possible types of dml_exceptions during calling get_site()) 2010-11-17 07:40:48 +00:00
Aparup Banerjee
4f8b9632f8 database MDL-24863 applied fix like MDL-23997 which converts number to string. 2010-11-17 07:36:02 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Petr Skoda
2c0b6ab223 MDL-23610 increasing version number to trigger environment test 2010-11-17 03:52:05 +00:00
Sam Hemelryk
9a424c711e navigation MDL-25247 Fixed regression in the navigation. 2010-11-17 02:20:05 +00:00
Petr Skoda
cd4f18595a MDL-23610 finally fixed the broken utf8 detection in mysqli driver
this was actually causing tons of false reports because people are often creating the database without the encoding parameter, especially when testing upgrades
2010-11-17 01:58:38 +00:00
Sam Marshall
15e48a1a49 Forum MDL-25170 Discussion move feature should have button so you don't do it by accident (again) 2010-11-15 10:41:26 +00:00
Petr Skoda
8082d3abf7 MDL-25187 upgrade log debugging to use new DML style
all credit goes to Eloy Lafuente (stronk7)
2010-11-15 07:38:02 +00:00
Petr Skoda
e47c78f929 MDL-25031, MDL-25198 fixed use of proper table prefixes in blocks upgrade and fixed invalid DML call in questions ugprade 2010-11-15 05:52:33 +00:00
Dongsheng Cai
675e7a425b MDL-25198, fixed incorrect sql, protect question image migration code by field_exists check 2010-11-15 02:54:31 +00:00
Petr Skoda
7415aed103 MDL-11728 finally defining the exact meaning of is_internal() in auth plugins
internal means "uses password hash for user authentication", there is a new is_synchronised_with_external() method that indicates if moodle should automatically sync user info with external system after login; I have also improved the default for prevent_local_passwords() which is now defaulting to !is_internal()
2010-11-14 02:01:59 +00:00
Tim Hunt
e4b54c79e0 question export MDL-25088 followup - remove no-longer-used function. 2010-11-12 12:07:22 +00:00
Tim Hunt
9203b70576 question deletion MDL-25173 when a question is deleted, all the associated files must be deleted. 2010-11-12 11:29:53 +00:00
Petr Skoda
2e24dd645e MDL-25174 adding a workaround for old passwords that were hashed with magic quotes 2010-11-12 10:13:40 +00:00
David Mudrak
628c78409c New icon for portfolio export and improving its position
The old icon was considered "temporary" (according to Penny) and it was
not very clear. Hopefully this one is a bit better.
2010-11-12 08:52:55 +00:00
Sam Hemelryk
d9e0726431 lib MDL-1975 Users who have been auto logged in by guest are now redirected to login on capability exceptions rather than being shown the exception. 2010-11-12 07:53:55 +00:00
Sam Hemelryk
d067fc474c javascript MDL-25013 YUI modules are now recursively loaded and a stacktrace stored when this occurs 2010-11-12 05:26:47 +00:00
Andrew Davis
078397d28e gradebook MDL-21907 grader report group view was being limited to groups in the course's default grouping 2010-11-12 04:00:45 +00:00
Petr Skoda
07c53c4a48 MDL-25174 adding a workaround for old passwords that were hashed with magic quotes 2010-11-12 02:36:20 +00:00
Eloy Lafuente
96c726b663 MDL-24924 course/import - plugin not available anymore. Killed! 2010-11-11 22:52:17 +00:00
Tim Hunt
5d548d3e0a question bank MDL-24995 clean up a lot of deprecated code to do with moving questions around.
This should also fix MDL-25172, MDL-23021 and MDL-23073. In other words, moving questions between categories should now work.
2010-11-11 21:54:22 +00:00
Tim Hunt
d2af10140a forum files MDL-25167 files in the post file area were not moved when the post was moved or deleted.
Also, I refactord some code out of forum_move_post and into a new method file_storage::move_area_files_to_new_context. I hope that is OK.
2010-11-11 18:58:06 +00:00
Tim Hunt
057815f341 formslib editor NOBUG delete unused global file reference. 2010-11-11 18:33:11 +00:00
David Mudrak
ac6d26bbd1 Portfolio export link displays title plus obsolete code cleanup 2010-11-11 18:24:49 +00:00
David Mudrak
0ce579fe89 Portfolio strings changed to reflect the heading of the next page
Plus fixed some typos in the portfolio library
2010-11-11 18:04:27 +00:00
Tim Hunt
a9efae50e3 question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.

Also, not all the calls to format_text had been updated to use the values in the new format columns.

I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
David Mudrak
d39c651378 Fixed trivial typo in debugging message text 2010-11-11 16:46:41 +00:00