49854 Commits

Author SHA1 Message Date
Petr Skoda
48f69e418c MDL-30005 fix general URI support in URL module
The recent change completely removed support for general URIs and enforced strict URL validation which was breaking backwards compatibility and was not user friendly at all.

This patch finally adds full URI support with basic validation and fixes some older xhtml strict issues.

Please note we do not try to explain the difference between URL and URI to our users. Also keep in mind that mod/url has XSS risk and does not do any security validation of the data.
2011-10-30 23:53:17 +01:00
Dan Marsden
503dfba895 SCORM MDL-30009 fix issue with started on/last accessed when iterating through users. 2011-10-31 11:04:20 +13:00
David Mudrak
8df95cf7f4 MDL-30006 Workshop / Number of errors grading: force graders to actually answer the form
QuickForms do not distinguish non-checked radio from the checked radio
with the value "0". So we map the database grade value "0" to a value
"-1" when displaying the form and vice versa when saving the form. This
allowed us to have none radios checked by default and force the grader
to actually answer the form themselves, using the 'required' rule.
2011-10-30 20:17:54 +01:00
David Mudrak
60a3e801f3 MDL-30006 Workshop / Accumulative grading: force graders to actually pick a grade
This patch introduces a new hidden field with the value "-1". The grade
selectors are compared with this values and must be greater than it.
This should fit well for numerical grades with the range 0..x and scale
items with the range 1..x.
2011-10-30 20:17:50 +01:00
Petr Skoda
9ccb37ad8b MDL-29824 bump up version after new lang string 2011-10-30 13:35:12 +01:00
Petr Skoda
78c5042e06 MDL-29824 improve notification of max number of enrolled users 2011-10-30 13:34:23 +01:00
Petr Skoda
0f14c8273e MDL-29982 fixed missing $userid
Thanks Eloy!
2011-10-30 10:53:42 +01:00
Eloy Lafuente (stronk7)
775051a3e9 MDL-29994 filters - prevent mod/data and mod/glossary to be re-added 2011-10-30 02:35:59 +01:00
Eloy Lafuente (stronk7)
350f973d38 MDL-29993 filters - new filter/data filter replacement for legacy mod/data/filter. 2011-10-30 02:33:11 +02:00
Eloy Lafuente (stronk7)
9ff8c803be MDL-29992 filters - move related css from mod/glossary to filter/glossary 2011-10-29 19:02:22 +02:00
Eloy Lafuente (stronk7)
d307a1a70d MDL-29992 filters - move js popup from mod/glossary to filter/glossary
This commit moves the js popup to the new location of the filter. Also
it fixes one bug, with the js processing also glossary category links
leading to error, so now the categories are working again.
2011-10-29 19:02:07 +02:00
Eloy Lafuente (stronk7)
85a69ce123 MDL-29992 filters - new filter/glossary filter replacement for legacy mod/glossary/filter. 2011-10-29 17:50:58 +02:00
Petr Skoda
563329e84c MDL-29990 fix syntax error 2011-10-29 09:59:49 +02:00
Petr Skoda
1344b0ca7f MDL-29982 improve can_access_course()
Hopefully faster and more accurate.
2011-10-29 09:45:54 +02:00
Petr Skoda
d0a0db4275 MDL-29283 import TCPDF to 5.9.133
There seem to be some problems with unicode chars unfortunately, hopefully real life documents will not hit them...
2011-10-29 08:56:26 +02:00
Dan Marsden
61c347cc73 SCORM MDL-29965 improve display of SCORM package - decrease unecessary padding 2011-10-29 15:28:09 +13:00
Petr Skoda
eb59a448f7 MDL-28720 fix set.php return url handling 2011-10-28 19:35:04 +02:00
Petr Skoda
581e8dba38 MDL-29925 improve redirect url cleanup 2011-10-28 19:32:07 +02:00
Petr Skoda
44ac4f62de MDL-29972 make sure lang dir exists before writing into it 2011-10-28 16:05:52 +02:00
Petr Skoda
96bf0b3af4 MDL-29966 fix invalid group loading image
Credit goes to Alexander Bias.
2011-10-28 15:49:13 +02:00
Petr Skoda
18382a85fe MDL-29980 fix rules typo
Credit goes to Paul Nicholls.
2011-10-28 15:21:02 +02:00
Petr Skoda
4f500c259c MDL-29984 fix undefined $today when no course start date 2011-10-28 15:11:42 +02:00
Petr Skoda
0c2701fd6d MDL-29964 fix order of events triggered by enrolment 2011-10-28 14:57:42 +02:00
Tim Hunt
d68f4d8b9f MDL-29983 fix question_type::local_name 2011-10-28 13:38:33 +01:00
Petr Skoda
63017358c5 MDL-29922 remove outdated unused Smarty lib 2011-10-28 10:38:30 +02:00
Petr Skoda
2dc54611f2 MDL-29921 remove unmaintained qti_two export question type
It can be easily included in official distribution again if somebody fixes it because there are no stored data, capabilities or versions. This will finally allow us to drop the outdate Smarty library form distribution package.
2011-10-28 10:32:24 +02:00
Petr Skoda
f68cef22b9 MDL-29923 remove all traces of experimental global search
Hopefully it will be replaced by something fully functional soon, see http://moodle.org/mod/forum/discuss.php?d=189023
2011-10-28 10:20:00 +02:00
Petr Skoda
8d588844e9 MDL-29883 remove unused mp3player 2011-10-28 09:17:31 +02:00
AMOS bot
d818b933a3 Automatically generated installer lang files 2011-10-28 00:55:37 +00:00
Mary Evans
1bc21356fc MDL-25760 FIX for highlighted current topic section 2011-10-28 01:30:26 +01:00
Eloy Lafuente (stronk7)
3f123d9227 MDL-29978 install - dependencies must be checked against disk (target) versions 2011-10-28 01:41:04 +02:00
Mary Evans
aa1639680f MDL-29787 FIX to remove sprite hover image from single menu item 2011-10-28 00:21:23 +01:00
Andreas Grabs
9c5bc7a580 MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
Henning Bostelmann
4ac9f47051 MDL-29810 Assignment grading: don't include teachers in list of students 2011-10-27 22:16:03 +01:00
Eloy Lafuente (stronk7)
38e9a1cc79 weekly release 2.2dev 2011-10-27 18:51:29 +02:00
Eloy Lafuente (stronk7)
d2822153b0 Merge branch 'install_master' of git://github.com/amosbot/moodle 2011-10-27 18:48:55 +02:00
Petr Skoda
8d1da74863 MDL-29474 fix undefined release, phpdocs and one TODO 2011-10-27 15:07:34 +02:00
Petr Skoda
2dfef18842 MDL-29474 tell AMOS we have a new install string 2011-10-27 14:36:20 +02:00
Petr Skoda
c1f55426ee MDL-29474 fix cli upgrade regression 2011-10-27 14:04:19 +02:00
Petr Skoda
72081a6f75 MDL-29474 add env and plugin test to cli db install 2011-10-27 13:56:22 +02:00
Petr Skoda
f433088d5a MDL-29474 fix regressions in CLI install 2011-10-27 13:55:41 +02:00
AMOS bot
4ca17ac303 Automatically generated installer lang files 2011-10-27 00:55:29 +00:00
Sam Hemelryk
7b27861217 Merge branch 'MDL-29912' of git://github.com/stronk7/moodle 2011-10-27 12:57:21 +13:00
Eloy Lafuente (stronk7)
86e00f970b MDL-29912 course search - oracle inabilities with concats, empties, nulls and type-restrictions 2011-10-26 19:04:31 +02:00
Eloy Lafuente (stronk7)
85819105a6 Merge branch 'w42_MDL-29688_m22_enrol' of git://github.com/skodak/moodle 2011-10-26 11:40:01 +02:00
Petr Skoda
dcb9a0c1f1 MDL-29688 rewrite complex joins to be compatible with MySQL
Unfortunately MySQL does not handle complex EXISTS queries properly…
2011-10-26 11:35:42 +02:00
Eloy Lafuente (stronk7)
75d9479f8b MDL-29474 plugin dependencies: version minibump 2011-10-26 10:34:28 +02:00
Eloy Lafuente (stronk7)
10dd4995da Merge branch 'MDL-29474' of git://github.com/timhunt/moodle 2011-10-26 10:33:37 +02:00
Aparup Banerjee
a0b10b271f Merge branch 'MDL-29854_b' of git://github.com/timhunt/moodle 2011-10-26 11:23:09 +08:00
Dan Marsden
da69510f2a MDL-28559 - hide send for marking button from people that are enrolled but don't have capability to submit files - displays the same way as teachers/admins - keeps ability to display previously submitted files if they exist 2011-10-26 10:59:13 +13:00