Compare commits

...

3129 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) 572729aaa5 on-demand release 1.9.19+ 2013-05-13 12:30:23 +02:00
Dan Poltawski bfae08a46d Merge branch 'mdl19_MDL-35958' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2013-05-06 11:01:20 +01:00
Adrian Greeve 3d1141b0ee MDL-38225 - data: Database entries are now linked correctly.
This was a regression that was fixed in the 2.x versions but not 1.9
2013-02-27 08:45:53 +08:00
Dan Poltawski 0e2be52d69 weekly release 1.9.19+ 2013-01-25 15:59:35 +08:00
Eloy Lafuente (stronk7) 237f06b3d0 weekly release 1.9.19+ 2013-01-11 22:16:54 +01:00
Eloy Lafuente (stronk7) 4493e62d1d weekly release 1.9.19+ 2013-01-11 12:27:34 +01:00
Eloy Lafuente (stronk7) cb8004dabd weekly release 1.9.19+ 2012-12-20 21:08:53 +01:00
Paul Nicholls a292ea9761 MDL-27619: Prevent teachers from turning course Outcomes into site-wide ones
Similar to the issue which allowed teachers to create site-wide scales by editing a course-specific scale (MDL-24682), teachers could also promote a course-specific scale to a site-wide (standard) by editing it.  As with MDL-24682, removing the course ID check (leaving just the capability check) prevents this unauthorised creation of site-wide (standard) outcomes.
2012-11-27 10:41:14 +13:00
Eloy Lafuente (stronk7) 1033e1e2f2 weekly release 1.9.19+ 2012-11-09 19:31:54 +01:00
Dan Poltawski b52204405e weekly release 1.9.19+ 2012-11-09 18:01:40 +08:00
Dan Poltawski 342d7cf4bf Merge branch 'MDL-36346_19' of git://github.com/pauln/moodle into MOODLE_19_STABLE 2012-11-06 16:37:01 +08:00
Paul Nicholls 72225da176 MDL-36346 - YUI2 SWF vulnerability 2012-11-06 14:09:01 +13:00
Dan Marsden 9b4660e0ba MDL-35958 mod_data: backport of MDL-34448 members of seperate groups can see database entries for other groups. 2012-10-15 11:31:52 +13:00
Petr Škoda 6ab3a85252 MDL-35469 fix Gecko based browser checks
The problem is that latest firefox versions stopped using dates because they lost the meaning over the time.
2012-10-09 15:59:03 +02:00
Eloy Lafuente (stronk7) 1c2857e2e4 weekly release 1.9.19+ 2012-08-31 11:32:51 +02:00
Eloy Lafuente (stronk7) 224a8644b0 weekly release 1.9.19+ 2012-08-23 19:23:19 +02:00
Eloy Lafuente (stronk7) 41246701c2 weekly release 1.9.19+ 2012-08-16 17:23:39 +02:00
Eloy Lafuente (stronk7) 15d529c1c3 weekly release 1.9.19+ 2012-08-09 20:49:25 +02:00
Aparup Banerjee 905ff1fc36 weekly release 1.9.19+ 2012-07-26 14:42:17 +08:00
Dan Poltawski af72d273df weekly release 1.9.19+ 2012-07-19 13:49:10 +08:00
Dan Poltawski 8907e85ab5 weekly release 1.9.19+ 2012-07-12 16:09:38 +08:00
Sam Hemelryk 9016f02312 Moodle 1.9.19 release 2012-07-06 11:30:14 +12:00
Sam Hemelryk 2b190b1359 weekly release 1.9.18+ 2012-07-06 10:10:27 +12:00
Eloy Lafuente (stronk7) 007182c2ae weekly release 1.9.18+ 2012-07-02 00:49:21 +02:00
Eloy Lafuente (stronk7) aeabf66c16 weekly release 1.9.18+ 2012-06-24 18:32:30 +02:00
Eloy Lafuente (stronk7) 7e2eb109ee weekly release 1.9.18+ 2012-06-15 20:25:45 +02:00
Eloy Lafuente (stronk7) ef2a66a993 weekly release 1.9.18+ 2012-06-12 02:57:49 +02:00
David Monllaó 6b1280f163 MDL-31823 - Remote hosts users created via mnet enrolments marked as confirmed 2012-06-04 10:38:46 +02:00
Eloy Lafuente (stronk7) 3286ed2048 weekly release 1.9.18+ 2012-06-01 09:46:19 +02:00
Eloy Lafuente (stronk7) f19f76ae9a weekly release 1.9.18+ 2012-05-25 12:47:48 +02:00
Dan Poltawski e1d726afcf Merge branch 'w21_MDL-28676_m19_mysqli' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2012-05-25 16:38:31 +08:00
Gordon Bateson ad69341954 CONTRIB-3662 Hotpot: fix fatal error during restore and general tidy up of spacing 2012-05-24 11:52:00 +08:00
Petr Skoda ef69fa6e29 MDL-28676 add hack mysqli php ext requirement for upgrades to 2.x
The mysql extension is not supported in Moodle 2.x, this hack should inform admins that they must add mysqli support before doing 2.x upgrades.
2012-05-19 18:58:33 +02:00
Eloy Lafuente (stronk7) c56ff4a8f7 weekly release 1.9.18+ 2012-05-19 12:20:58 +02:00
Gordon Bateson bb2714e517 CONTRIB-3469 - latest version of the HotPot module. 2012-05-17 10:30:58 +08:00
Adrian Greeve 36c45da5ce MDL-32126 - data - Improvements in the advanced search code. 2012-05-14 08:36:33 +08:00
Eloy Lafuente (stronk7) 628d7c0f9b Moodle release 1.9.18 2012-05-12 03:19:00 +02:00
Eloy Lafuente (stronk7) e9771fda98 weekly release 1.9.17+ 2012-05-11 12:15:18 +02:00
Dan Poltawski a9375cc95d Merge branch 'MDL-18335b_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2012-05-07 15:32:53 +08:00
Eloy Lafuente (stronk7) be0f5bf384 weekly release 1.9.17+ 2012-05-04 13:14:11 +02:00
Rossiani Wijaya 4928e13799 MDL-18335 calendar event: fixed role capability checking to create new event 2012-04-30 17:07:15 +08:00
Eloy Lafuente (stronk7) ad964b8a7b weekly release 1.9.17+ 2012-04-27 12:51:26 +02:00
Dan Poltawski a2624c32c2 weekly release 1.9.17+ 2012-04-19 17:51:51 +08:00
Sam Hemelryk 96d8c696ce Merge branch 'm19_MDL-32388' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2012-04-16 12:22:50 +12:00
Dan Poltawski 0bbd045329 weekly release 1.9.17+ 2012-04-12 13:22:59 +08:00
Dan Marsden 6db00e4208 MDL-32388 SCORM: Fix chrome pop-ups 2012-04-11 21:10:35 +12:00
Rajesh Taneja db52f45c68 MDL-31746 calendar: Fixed up validation inconsistencies when creating/editing an event 2012-04-10 17:50:58 +12:00
David Mudrak 516878be1e MDL-24403 Fixing the print_error() calls to use the existing string 2012-04-06 11:22:18 +02:00
Yevhenii Vlasenko cf81547d49 MDL-24403 Adding a missing error string 2012-04-06 11:21:40 +02:00
Aparup Banerjee 58be0534b2 weekly release 1.9.17+ 2012-04-05 16:51:44 +08:00
Eloy Lafuente (stronk7) 09f011a628 weekly release 1.9.17+ 2012-03-29 13:21:26 +02:00
Dan Poltawski a30670f7b1 Revert "MDL-31746 calendar: insufficient parameter cleaning"
This reverts commit b0b228f7b9.
2012-03-29 12:20:37 +08:00
Ciaran Irvine b0b228f7b9 MDL-31746 calendar: insufficient parameter cleaning 2012-03-28 14:48:16 +08:00
Dan Poltawski 2763a7d713 Revert "MDL-31746 calendar: insufficient parameter cleaning"
This reverts commit f253646408.
2012-03-28 14:46:42 +08:00
Ciaran Irvine f253646408 MDL-31746 calendar: insufficient parameter cleaning 2012-03-26 23:23:18 +08:00
Dan Poltawski 7d20a8a05c Revert "MDL-31746 calendar: insufficient parameter cleaning"
Potential SQL injection with this solution

This reverts commit 47013fc0bb.
2012-03-26 23:11:30 +08:00
Ciaran Irvine 47013fc0bb MDL-31746 calendar: insufficient parameter cleaning
Reviewed-by: Alastair Munro <alastair.munro@totaralms.com>
Signed-off-by: Dan Poltawski <dan@moodle.com>
2012-03-26 13:57:11 +08:00
Rajesh Taneja 038131c8b5 MDL-31745 blog: Fixed up encoding issue within blog 2012-03-26 11:54:01 +13:00
Sam Hemelryk 8925a12934 weekly release 1.9.17+ 2012-03-23 12:16:58 +13:00
Eloy Lafuente (stronk7) 83668c6efa weekly release 1.9.17+ 2012-03-15 11:50:41 +01:00
Eloy Lafuente (stronk7) 86e74d3eaf Moodle release 1.9.17 2012-03-11 15:55:59 +01:00
Eloy Lafuente (stronk7) 076b2ce86c weekly release 1.9.16+ 2012-03-09 11:16:53 +01:00
Eloy Lafuente (stronk7) b3391165f1 Merge branch 'wip-MDL-31248-MOODLE_19_STABLE-v3' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2012-03-09 09:49:52 +01:00
Eloy Lafuente (stronk7) cf9b51f4f1 Revert "MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use."
This reverts commit f8adbd6a02.
2012-03-09 09:40:40 +01:00
Eloy Lafuente (stronk7) f4f2b26ec5 Revert "MDL-31248 - lib - prevent moodle_strtolower() silent discard to lead to false-correct usernames"
This reverts commit c67bc65cbe.
2012-03-09 09:40:38 +01:00
Eloy Lafuente (stronk7) 281afcd067 Revert "MDL-31248 - lib - Gah, erroneus condition fixed."
This reverts commit e85a54d931.
2012-03-09 09:40:32 +01:00
Adrian Greeve b48d546c97 MDL-31248 - lib - Retaining the old password key and creating a new cookie prefix. 2012-03-09 13:35:22 +08:00
Eloy Lafuente (stronk7) e85a54d931 MDL-31248 - lib - Gah, erroneus condition fixed.
For sure that leaded to accept anything as valid username
for cookies in 19_STABLE. That explains why garbled username were
being transformed into "invented" usernames, instead of blank.
2012-03-08 12:27:44 +01:00
Eloy Lafuente (stronk7) c67bc65cbe MDL-31248 - lib - prevent moodle_strtolower() silent discard to lead to false-correct usernames 2012-03-08 11:42:13 +01:00
Adrian Greeve f8adbd6a02 MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use. 2012-03-08 08:15:45 +08:00
Eloy Lafuente (stronk7) 2c39e251b4 weekly release 1.9.16+ 2012-03-01 11:34:39 +01:00
Eloy Lafuente (stronk7) cd20b15196 weekly release 1.9.16+ 2012-02-23 11:41:24 +01:00
Eloy Lafuente (stronk7) a364ab036c weekly release 1.9.16+ 2012-02-17 01:53:52 +01:00
Eloy Lafuente (stronk7) 46d0e6fb17 MDL-25185 - data - whitespace fixes 2012-02-13 16:20:20 +01:00
Sam Hemelryk 7eb1327487 Merge branch 'wip-MDL-25185-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2012-02-13 17:34:09 +13:00
Eloy Lafuente (stronk7) f5dc0e4110 weekly release 1.9.16+ 2012-02-13 01:21:39 +01:00
Adrian Greeve 312ada2856 MDL-25185 - data - Allowing data from the database to be exported according to group roles. 2012-02-03 07:49:27 +08:00
Eloy Lafuente (stronk7) 4f87a0dccc weekly release 1.9.16+ 2012-02-02 12:16:03 +01:00
Eloy Lafuente (stronk7) 2726791626 weekly release 1.9.16+ 2012-01-27 02:24:07 +01:00
Eloy Lafuente (stronk7) 8db39dc10a weekly release 1.9.16+ 2012-01-19 13:31:02 +01:00
Eloy Lafuente (stronk7) ebd57374cb Merge branch 'w03_MDL-31213_m19_attributesmess' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2012-01-17 12:38:56 +01:00
Petr Skoda c444939ec7 MDL-31213 fix incorrect modifications of quickforms attributes 2012-01-17 11:17:35 +01:00
Tim Gus bc6e8366a9 MDL-31055 backport disabledIf fix from 2.0. (MDL-27045) 2012-01-16 15:22:21 +08:00
Eloy Lafuente (stronk7) 09249fe5c9 weekly release 1.9.16+ 2012-01-12 11:29:47 +01:00
Eloy Lafuente (stronk7) 863b49bd9c Merge branch 'MDL-29294_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2012-01-08 22:59:52 +01:00
Eloy Lafuente (stronk7) 593a3e84c0 Moodle release 1.9.16 2012-01-07 17:09:21 +01:00
Eloy Lafuente (stronk7) fa6008c687 weekly release 1.9.15+ 2012-01-05 15:09:59 +01:00
Aparup Banerjee 15624257cb Merge branch 'wip-mdl-29844-m19' of git://github.com/rajeshtaneja/moodle into MOODLE_19_STABLE 2012-01-04 10:11:20 +08:00
Sam Hemelryk 5753b2da0b Merge branch 'w52_MDL-29917_m19_autocomplete' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2012-01-04 10:57:58 +13:00
Rajesh Taneja 4ed1199524 MDL-29844 Administration: Added new config for users to login for viewing profile image 2012-01-03 13:48:24 +08:00
Petr Skoda f88a9ef3fb MDL-13572 do not send messages to invalid addresses 2012-01-02 23:25:38 +01:00
Petr Skoda 43625959f7 MDL-29917 prevent form autocompletion in most Moodle forms
The password autocompletion in case of Moodle makes sense only on the login page, the form autocompletion in general is most probably useful only on the user signup page.

This patch is compatible with html 5, unfortunately we have to ignore strict warnings in legacy xhtml 1.0 standard.
2011-12-30 14:57:36 +01:00
Tim Hunt 4d06e61a53 MDL-29294 qtype match restore problem on Oracle. 2011-12-28 11:44:51 +00:00
Eloy Lafuente (stronk7) ea5534f864 weekly release 1.9.15+ 2011-12-23 03:06:52 +01:00
Eloy Lafuente (stronk7) faecf14df6 Merge branch 'MDL-20198c_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-12-20 01:26:21 +01:00
Sam Hemelryk 8afed3b9fc Merge branch 'wip-MDL-28948-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2011-12-20 10:40:51 +13:00
adrian@moodle.com 75366c60ff MDL-28948 - lib - removed the hard coded key for the rc4encryt function. 2011-12-16 09:27:10 +08:00
Petr Skoda 65e18e9ea8 MDL-30610 new environment requirements for 2.3 2011-12-14 02:44:20 +01:00
Rossiani Wijaya 5d72721e5c MDL-20198: wiki module: extend Dong's patch to fixed grouping access to view/edit wiki.. 2011-12-13 13:37:40 +08:00
Rossiani Wijaya 4866f01b4a MDL-20198: wiki module: fixed grouping access in wiki. Credit goes to Dong Kim(kimx0794@umn.edu). 2011-12-13 13:34:47 +08:00
Petr Skoda 1501cc8cea MDL-30575 yet more mail header cleanup 2011-12-11 23:42:32 +01:00
Petr Skoda a9e3abe0b4 MDL-30575 more mail header cleanup 2011-12-10 18:21:35 +01:00
Eloy Lafuente (stronk7) 485cb391de weekly release 1.9.15+ 2011-12-09 16:30:03 +01:00
Petr Skoda c3056feed8 MDL-27364 use https for recaptcha when site runs via https
Based on solution by Rajesh Taneja.
2011-12-09 11:11:55 +08:00
Aparup Banerjee f844dbcace Merge branch 'wip-MDL-30336-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2011-12-08 16:24:00 +08:00
Aparup Banerjee cc4d45b916 Merge branch 'wip-MDL-30012-m19' of git://github.com/samhemelryk/moodle into MOODLE_19_STABLE 2011-12-08 14:46:40 +08:00
adrian@moodle.com 630fc6ee7e MDL-30336 - login - Added a setting in security that allows auto complete to be set to off in password fields. 2011-12-08 09:21:15 +08:00
Eloy Lafuente (stronk7) 54947d0dad MDL-19147 - forum - whitespace cleanup 2011-12-07 15:56:46 +01:00
Sam Hemelryk e114543f69 Merge branch 'wip-MDL-19147-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2011-12-07 14:19:45 +13:00
Sam Hemelryk 36b0ddeed4 MDL-30012 mod_forum: Fixed bug in forum user script 2011-12-06 16:05:49 +13:00
Eloy Lafuente (stronk7) 7fe52ca7d9 weekly release 1.9.15+ 2011-12-05 12:35:36 +01:00
adrian@moodle.com 24b048c2cf MDL-19147 - forum - Removed single discussions from the pull down menu for moving posts to single discussions. 2011-12-02 08:11:16 +08:00
Eloy Lafuente (stronk7) 6dc36a0101 weekly release 1.9.15+ 2011-12-01 19:21:21 +01:00
Eloy Lafuente (stronk7) dadac0b3b3 emergency release 1.9.15 2011-12-01 18:17:12 +01:00
Eloy Lafuente (stronk7) fdcc0f46cc Merge branch 'wip-MDL-20627-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2011-12-01 18:02:51 +01:00
Eloy Lafuente (stronk7) 51c6d453e1 Merge branch 'w48_MDL-30480_m19_dmlobjects' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-11-29 15:33:18 +01:00
Petr Skoda 33314c72f3 MDL-30480 fix BC regression from MDL-29033
Improve insert_record() and update_record() handling of $dataobject parameter. Some developers expect they can use any class instance there. This is not officially supported, but in any case we should not break backwards compatibility so late in STABLE branch.

Credit for discovery goes to Pascal Maury, thanks!
2011-11-29 15:20:23 +01:00
Sam Hemelryk 79cf3f0884 MDL-30273 whitespace cleanup 2011-11-29 16:48:10 +13:00
Sam Hemelryk 921383f789 Merge branch 'wip-MDL-30273-MOODLE_19_STABLE' of git://github.com/abgreeve/moodle into MOODLE_19_STABLE 2011-11-29 16:41:38 +13:00
Eloy Lafuente (stronk7) b4cdee0a73 Moodle release 1.9.15 2011-11-27 23:44:23 +01:00
Eloy Lafuente (stronk7) 8bcfa47d9b weekly release 1.9.14+ 2011-11-25 11:08:15 +01:00
Eloy Lafuente (stronk7) e0d470b5a6 MDL-15610 add missing condition to allow some tests to pass 2011-11-24 20:10:15 +01:00
Dan Marsden 1958705818 SCORM MDL-25757 fix for saving of duplicate CMI values - thanks to Evan Irving-Pease for the patch 2011-11-23 11:10:30 +01:00
adrian@moodle.com 8f83cfbe91 MDL-20627 user - Fixed viewing permission of email when sending group messages. 2011-11-21 08:30:57 +08:00
Charles Fulton 0f035ff23b MDL-30273 forum - prevent the creation of discussions in simple single forums 2011-11-18 15:48:59 +08:00
Eloy Lafuente (stronk7) 5a0fba7e7e weekly release 1.9.14+ 2011-11-18 01:33:06 +01:00
Eloy Lafuente (stronk7) 6ae95cc856 Merge branch 'MDL-29551' of git://github.com/ankitagarwal/moodle into MOODLE_19_STABLE 2011-11-17 17:11:53 +01:00
Ankit Kumar Agarwal c42cd0d1b3 MDL-29893 Fixing issues with password generation function 2011-11-16 11:39:36 +05:30
Patrick Mcneill 3ab2851d2a MDL-29551 Fixing ip_in_range function 2011-11-16 11:09:01 +05:30
Eloy Lafuente (stronk7) 012a51e958 weekly release 1.9.14+ 2011-11-15 11:09:43 +01:00
Eloy Lafuente (stronk7) 5fe44ec90d Merge branch 'MDL-29092_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-11-11 18:31:34 +01:00
Stephen Bourget ee1692e740 MDL-29529 Assignment: Fix regression (order by status) caused by MDL-27638 2011-11-11 01:21:46 +01:00
Aparup Banerjee 9d7e30f9b8 Merge branch 'MDL-29977-mnet-masquerade_19_STABLE' of git://github.com/mudrd8mz/moodle into MOODLE_19_STABLE 2011-11-09 13:37:41 +08:00
David Mudrak 408d3ca000 MDL-29977 MNet does not allow to start a remote session when masquerading as another user 2011-11-04 10:57:58 +01:00
Tim Hunt 9d656f584a MDL-30038 mod_lesson was not working on PHP4. 2011-11-03 10:24:38 +00:00
Rossiani Wijaya 01dd64a8c8 MDL-29092 login/change password: backporting to 1.9 for MDL-26381 and set form action to user https when loginhttps is enable 2011-11-03 13:02:24 +08:00
Eloy Lafuente (stronk7) f28a448513 weekly release 1.9.14+ 2011-11-02 19:55:31 +01:00
Sam Hemelryk 01c33e8a01 Merge branch 'w43_MDL-29925_m19_calendar' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-11-01 09:37:18 +13:00
David Mudrak 67205358fc MDL-29991 MDL-27107 auth_mnet - consider all incoming roaming users confirmed
Moodle 2.x sites do not send the 'confirmed' field any more (see MDL-27107). We
consider all roaming users confirmed automatically.
2011-10-29 17:04:29 +02:00
Petr Skoda e311b14364 MDL-29925 fix calendar parameter handling 2011-10-28 19:07:48 +02:00
Eloy Lafuente (stronk7) ea8bda2526 weekly release 1.9.14+ 2011-10-27 18:55:42 +02:00
Eloy Lafuente (stronk7) b3b6da8b72 weekly release 1.9.14+ 2011-10-19 18:47:10 +02:00
Sam Hemelryk 37e289a131 Merge branch 'MDL-29697-Fix_incorrect_error_msg' of https://github.com/ncsu-delta/moodle into MOODLE_19_STABLE 2011-10-18 11:11:57 +13:00
Sam Hemelryk 0aff48f3a4 Merge branch 'MDL-28170_19' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2011-10-17 18:51:08 +13:00
Eloy Lafuente (stronk7) e660329ab1 MDL-28170 environment - add new 2.2 section
nothing changes from 2.1 as far as it was agreed that this will be
the last version supporting 1.9 upgrade. See issue for details.
2011-10-17 02:15:13 +02:00
Eloy Lafuente (stronk7) 53f32cbd8a MDL-29626 backup - fix restore of links to course page to behave like other links 2011-10-17 01:47:16 +02:00
Eloy Lafuente (stronk7) ba6446ecaf weekly release 1.9.14+ 2011-10-12 23:50:28 +02:00
Eloy Lafuente (stronk7) a89aa3131b MDL-16553 Assignment, student view: whitespace fix 2011-10-10 13:12:18 +02:00
Sam Hemelryk e1b4fa3029 Merge branch 'MDL-16553-19' of git://github.com/bostelm/moodle into MOODLE_19_STABLE 2011-10-10 17:57:41 +13:00
Sam Hemelryk d2a5725cd5 Merge branch 'MDL-23047-Add_missing_log' of https://github.com/ncsu-delta/moodle into MOODLE_19_STABLE 2011-10-10 12:18:08 +13:00
Eloy Lafuente (stronk7) 07728bfaee Moodle release 1.9.14 2011-10-09 00:56:48 +02:00
Henning Bostelmann b9625c16b6 MDL-16553 Assignment, student view: show response files when no grade available 2011-10-07 23:23:41 +01:00
Glenn Ansley 6e698a4563 MDL-29697 Don't return the error if it wasn't updated because original question type had no answers 2011-10-07 12:04:13 -04:00
Glenn Ansley cefe46ad16 MDL-23047 Add resorce view to log table when viewing file set to 'Yes, without frame' 2011-10-07 09:16:30 -04:00
Eloy Lafuente (stronk7) e9e2def9b0 weekly release 1.9.13+ 2011-10-07 00:13:18 +02:00
Sam Hemelryk ed999df32a Merge branch 'wip-MDL-25454-MOODLE_19_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_19_STABLE 2011-10-03 14:23:16 +13:00
Glenn Ansley 970cc1c968 MDL-28428 quiz: Prefer getElementById for IE9 fix 2011-10-03 13:51:17 +13:00
Marina Glancy 2f81316ad1 MDL-25454: using the faster way to check if record exists in db 2011-09-29 17:12:24 +08:00
Marina Glancy b7df65036f MDL-25454 before skipping course backup make sure that there are no change entries in it's log during the last month 2011-09-29 10:01:20 +08:00
Eloy Lafuente (stronk7) 050504c371 weekly release 1.9.13+ 2011-09-28 11:09:43 +02:00
Tim Hunt 71712c9424 MDL-29462 html_to_text('0') gives '', not '0'.
Conflicts:

	lib/simpletest/testweblib.php
2011-09-21 16:38:35 +01:00
Eloy Lafuente (stronk7) d04b36808d weekly release 1.9.13+ 2011-09-21 17:13:18 +02:00
Andrew Davis (andyjdavis) 97f258fabb MDL-29311 messaging: added a safety check to prevent message refreshing causing inadvertant DOS 2011-09-19 13:45:10 +08:00
Sam Hemelryk 5f4d14ebbe Merge branch 'MDL-29212_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-09-19 13:22:07 +12:00
Charles Fulton 77848edc26 MDL-18952: move uploaded file into dataroot before attempting to read it 2011-09-16 09:49:44 -07:00
Eloy Lafuente (stronk7) 400d887474 weekly release 1.9.13+ 2011-09-16 01:41:43 +02:00
Glenn Ansley 4021470fd3 MDL-29212 RCount incorrect in Quiz Analysis Report when correct answer is 0 2011-09-14 20:57:48 +01:00
Eloy Lafuente (stronk7) b4d495892d Merge branch 'w36_MDL-29033_m19_magicquotes' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-09-13 21:57:20 +02:00
Aparup Banerjee b503008c6a MDL-26257 Authentication : whitespace/style fixes 2011-09-13 19:30:34 +08:00
Petr Skoda 040bd939b2 MDL-29033 add tests for the sql injection hack 2011-09-09 16:29:09 +02:00
Petr Skoda bf0ddcb332 MDL-29033 dirty magic quotes hack 2011-09-09 16:18:08 +02:00
Henning Bostelmann 1b2a3392d9 MDL-26257 Shibboleth auth: run logout handler only if logged in via Shibboleth 2011-09-08 11:59:50 +01:00
Eloy Lafuente (stronk7) 9c105fc680 weekly release 1.9.13+ 2011-09-07 17:52:33 +02:00
Eloy Lafuente (stronk7) 09ece44093 weekly release 1.9.13+ 2011-08-31 01:35:14 +02:00
Eloy Lafuente (stronk7) 05dbe4dcb0 MDL-28537 DB whitespace clean, just for testing some CI stuff is working ok 2011-08-29 13:43:56 +02:00
Eloy Lafuente (stronk7) 78e1682d36 Merge branch 'wip-MDL-28537-m19' of git://github.com/samhemelryk/moodle into MOODLE_19_STABLE 2011-08-29 13:36:12 +02:00
Eloy Lafuente (stronk7) 7c460e50c5 Merge branch 'wip-MDL-28722-m19' of git://github.com/samhemelryk/moodle into MOODLE_19_STABLE 2011-08-29 12:49:27 +02:00
Sam Hemelryk 7a8115a92c MDL-28537 DB Fixed up use of the TYPE option when creating MySQL tables, now uses ENGINE for bc and future support 2011-08-29 19:19:28 +12:00
Eloy Lafuente (stronk7) 151543d0b6 Merge branch 'MDL-28079_cron_rs' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2011-08-29 02:12:37 +02:00
David Mudrak 0dd51bbdbd MDL-29148 MNet - improved handling of a verification function return code 2011-08-29 01:47:45 +02:00
Sam Hemelryk b094ce466b Merge branch 'MDL-13331_m19' of git://github.com/nebgor/moodle into MOODLE_19_STABLE 2011-08-29 11:24:26 +12:00
Eloy Lafuente (stronk7) 4ae7426d09 weekly release 1.9.13+ 2011-08-26 15:08:04 +02:00
Sam Hemelryk 4a2acd8c7e MDL-28722 course Fixed typo and variable use when editing a section 2011-08-26 12:48:18 +12:00
Aparup Banerjee 0693cb2220 MDL-16950 Search : added mysqli_real_escape_string call when using mysqli 2011-08-25 17:53:12 +08:00
Eloy Lafuente (stronk7) 724d76c765 Merge branch 'm19_MDL-4561' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-08-24 03:33:26 +02:00
Eloy Lafuente (stronk7) 4c8c9ef9a0 Merge branch 'w33_MDL-28932_m19_php5' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-08-24 01:35:36 +02:00
Aparup Banerjee d87ea7704d Merge branch 'MDL-28723-plugin-tables_19_STABLE' of git://github.com/mudrd8mz/moodle into MOODLE_19_STABLE 2011-08-24 01:16:23 +08:00
Eloy Lafuente (stronk7) e832010c51 MDL-28690 metacourses - add some more alias prefixes to be 100% in the safe side 2011-08-23 17:56:49 +02:00
Eloy Lafuente (stronk7) 615702a5c1 Merge branch 'MDL-28690_metacourse_automatic_unenrolment' of git://github.com/davosmith/moodle into MOODLE_19_STABLE 2011-08-23 17:55:01 +02:00
Eloy Lafuente (stronk7) eee432c616 Merge branch 'wip-mdl-29001-m19' of git://github.com/rajeshtaneja/moodle into MOODLE_19_STABLE 2011-08-23 02:31:08 +02:00
Andrew Davis (andyjdavis) 14fabc127a MDL-28079 cron: added a safety check around a record set in cron 2011-08-22 11:52:54 +08:00
Petr Skoda 93b06d08b4 MDL-28932 remove type hinting which is not compatible with PHP 4 2011-08-21 18:59:50 +02:00
Petr Skoda 188280a76f MDL-27248 remove forgotten unique sortorder index from the course table 2011-08-21 17:35:46 +02:00
Rajesh Taneja 903441b159 MDL-29001 unit tests: removed timezone test fixtures dependent on 'Australia/Perth' 2011-08-19 14:38:39 +08:00
Dan Marsden 38eaf9f365 MDL-4561 allow guests to access metacourses with an enrolment key. 2011-08-19 11:54:01 +12:00
Eloy Lafuente (stronk7) 07950882c6 weekly release 1.9.13+ 2011-08-18 02:44:04 +02:00
Eloy Lafuente (stronk7) c02352a5c4 Revert "MDL-25757 SCORM fix issue with duplicate cmi values being saved"
This reverts commit ba41c237a4.
2011-08-17 02:30:03 +02:00
Eloy Lafuente (stronk7) 34b082a296 Merge branch 'MDL-18012' of git://git.luns.net.uk/moodle into MOODLE_19_STABLE 2011-08-16 16:22:38 +02:00
Eloy Lafuente (stronk7) 443b5044a5 Merge branch 'MDL-24887' of git://git.luns.net.uk/moodle into MOODLE_19_STABLE 2011-08-16 14:36:06 +02:00
David Mudrak 1824a69d7a MDL-28723 Make sure that the arrays used by print_plugin_tables() are correctly initialized
This covers a very rare and unexpected case when no mods or no blocks
are installed. Credit goes to Aparup Banerjee for spotting this.
2011-08-16 14:11:02 +02:00
Eloy Lafuente (stronk7) 2a44c5192c Merge branch 'MDL-23872_m19' of git://github.com/nebgor/moodle into MOODLE_19_STABLE 2011-08-16 11:52:32 +02:00
Eloy Lafuente (stronk7) bfe5eed065 Merge branch 'MDL-28931_m19' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2011-08-16 03:06:47 +02:00
Eloy Lafuente (stronk7) 2c33a00afb Merge branch 'm19_MDL-25757' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-08-16 00:39:59 +02:00
Tim Hunt 3367853670 MDL-28639 question import should set timemodified and modified by.
Thanks to Jean-Michel Vedrine for the fix.
2011-08-15 14:58:47 +01:00
Eloy Lafuente (stronk7) 9ea4a1c8f5 MDL-28931 timezone - update to 2011h (2200 rules) 2011-08-14 18:06:55 +02:00
Dan Marsden ba41c237a4 MDL-25757 SCORM fix issue with duplicate cmi values being saved 2011-08-13 13:26:54 +12:00
Davo Smith f802bf65a1 MDL-28690 Do not automatically unenrol users from meta courses after ->longtimenosee days as this can lead to multiple 'welcome' messages 2011-08-12 11:28:58 +01:00
Eloy Lafuente (stronk7) 1287d5ed97 weekly release 1.9.13+ 2011-08-12 00:21:16 +02:00
Daren Chandisingh 1ee988357f MDL-23872 Forms Library : Updated MoodleQuickForm to honour setConstant(), prevents injection.
- resolved conflict
2011-08-10 15:33:56 +08:00
Sam Hemelryk 4a7fee7be0 Merge branch 'MDL-20501_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-08-10 14:10:58 +08:00
Sam Hemelryk bf6c05f449 Merge branch 'MDL-27174_MOODLE_19_STABLE' of git://github.com/nebgor/moodle into MOODLE_19_STABLE 2011-08-10 13:27:48 +08:00
Eloy Lafuente (stronk7) 9038daab26 Merge branch 'w31_MDL-27597_m19_catlike' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-08-10 02:38:04 +02:00
Aparup Banerjee cccaf2648a MDL-28565 General - updated lang files License link to docs.moodle.org/dev/License 2011-08-09 18:22:53 +08:00
Aparup Banerjee 5e64c36b8a MDL-28565 General - updated License and Credits links
to docs.moodle.org/dev/License and docs.moodle.org/dev/Credits
2011-08-09 18:18:36 +08:00
Petr Skoda 3adf4006a7 MDL-27597 fix invalid results of get_categories when shallow is false 2011-08-05 20:20:21 +02:00
Dan Poltawski 1d2d89aa60 MDL-18012 - roles/assign - Use more precise language string 2011-08-03 23:40:33 +01:00
Petr Skoda 51793f4a89 weekly release 1.9.13+ 2011-08-03 17:57:05 +02:00
Dan Poltawski 9955ec862e MDL-24887 - rss block - feed validator link fails with ampersands 2011-08-03 14:53:11 +01:00
Sam Hemelryk 6ea9d495b8 Merge branch 'MDL-28508_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-08-02 17:39:44 +08:00
Aparup Banerjee 5cece750f5 MDL-27174 Backup Assignment - fixed fatal missing assignmenttype error during backup. Credit: Chris Follin 2011-08-02 14:27:43 +08:00
Sam Hemelryk 2d58b91a9c Merge branch 'MDL-28209_MOODLE_19_STABLE' of github.com:nebgor/moodle into MOODLE_19_STABLE 2011-08-02 11:06:57 +08:00
Petr Skoda b3b781f9fc Merge branch 'MDL-28199_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-08-01 13:16:00 +02:00
Rossiani Wijaya 5c53773caf MDL-20501 Survey module: fix text alignment for right to left language 2011-08-01 16:58:34 +08:00
Sam Hemelryk 1f6c3ff2f4 Moodle 1.9.13 release 2011-08-01 16:53:14 +08:00
Rossiani Wijaya 133d528c67 MDL-28199 Lesson mod: fixed lesson answer alignment 2011-08-01 11:45:27 +08:00
Tim Hunt 4d0a6fec12 MDL-28508 bad string trunction in Aiken format. 2011-07-28 12:23:44 +01:00
Petr Skoda 4d3c6ac7d3 weekly release 1.9.12+ 2011-07-26 11:04:59 +02:00
Sam Hemelryk 05f38de60e MDL-28411 Post-integration improvement of string changes 2011-07-26 16:09:12 +08:00
Petr Skoda fdee5d95b7 Merge branch 'MDL-27717_MOODLE_19_STABLE' into MOODLE_19_STABLE 2011-07-25 16:40:56 +02:00
Aparup Banerjee c50253c834 MDL-28209 updated Copyright notice to point to docs.moodle.org/dev/Releases for release notes. 2011-07-25 14:44:55 +08:00
Aparup Banerjee 1384c7e685 MDL-28209 General - following up on MDL-28135, modified links to point to 1.9 version of docs
- development links pointed under /dev.
2011-07-25 14:42:27 +08:00
Aparup Banerjee 10fbf4d8ca MDL-27717 Enrolments - separated display of localized cost being displayed from cost being charged at authorize.net 2011-07-25 12:59:49 +08:00
Dan Poltawski ba4dfc998d MDL-28232 - Course log text export is missing a new line 2011-07-25 12:59:18 +08:00
Sam Hemelryk e41831dde4 Merge branch 'w29_MDL-27464_m19_continue' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-07-25 11:04:13 +08:00
Sam Hemelryk fb50bf6c32 Merge branch 'w29_MDL-28360_m19_flatfile' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-07-25 10:25:08 +08:00
Matt Meisberger 8f9f666c90 MDL-27464 continuation link sometimes links off-site
Integrating #CSTAGE-656, continuation link sometimes links off-site, into trunk.
2011-07-23 13:21:14 +02:00
Petr Skoda 9dce25dea5 MDL-28411 make sure people understand the difference between groupings and Available for group members only 2011-07-21 11:24:00 +02:00
Matt Meisberger bd4f3fa5c4 MDL-28360 Fix for sql injection vulnerability in flat file enrollment - Matt Meisberger (WebCourseworks) 2011-07-20 15:52:22 +02:00
Petr Skoda 6bbf934a3e weekly release 1.9.12+ 2011-07-19 15:20:19 +02:00
Petr Skoda 5c66e926b6 MDL-27889 use new recaptcha google urls in lang packs 2011-07-19 10:15:46 +02:00
Sam Hemelryk 61b865f72c Merge branch 'MDL-27889_MOODLE_19_STABLE' of git://github.com/nebgor/moodle into MOODLE_19_STABLE 2011-07-18 17:29:08 +08:00
Sam Hemelryk 215e7a00a2 weekly release 1.9.12+ 2011-07-13 20:26:00 +08:00
Eloy Lafuente (stronk7) 715b7649bd MDL-23580 course overview - remove debugging junk
Conflicts:

	admin/report/courseoverview/index.php
2011-07-11 16:55:15 +02:00
Eloy Lafuente (stronk7) 4a817f0753 Merge branch 'MDL-27515_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-07-11 16:19:16 +02:00
Sam Hemelryk b2d016f3da Merge branch 'wip-MDL-28197-MOODLE_19_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_19_STABLE 2011-07-11 13:38:58 +08:00
Marina Glancy 682e430ce0 MDL-28197 another possible sql vulnerability injection fixed 2011-07-11 09:40:05 +08:00
Marina Glancy ffd3e38977 MDL-28197 adding slashes to group name when creating group in user upload 2011-07-11 09:40:05 +08:00
Eloy Lafuente (stronk7) 731e813ac8 MDL-28062 glossary - rate redirect not working after search 2011-07-11 02:14:00 +02:00
Eloy Lafuente (stronk7) 85c123b5b1 weekly release 1.9.12+ 2011-07-08 11:23:51 +02:00
Rossiani Wijaya b2fd028829 MDL-27515 resource module: change 'require' to 'require_once' 2011-07-08 10:51:39 +08:00
Aparup Banerjee a424b206f6 MDL-27889 lib Updated recaptchlib to point to google urls based on google's api v1.11 2011-07-07 04:59:51 +08:00
Sam Hemelryk c74a93d017 Merge branch 'MDL-27716_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-07-06 12:10:17 +08:00
Joseph Rezeau 96aec10056 MDL-27716 qtype_multianswer make the work 'Close' in the overlib popup translatable. 2011-07-04 15:50:17 +01:00
Eloy Lafuente (stronk7) 6c56155188 weekly release 1.9.12+ 2011-07-02 00:02:12 +02:00
Aparup Banerjee 5cea248b8b MDL-28044 general - updated print_error() to point to versioned docs.moodle.org 2011-06-30 11:56:35 +08:00
Eloy Lafuente (stronk7) 1b75cdd4c7 weekly release 1.9.12+ 2011-06-23 11:27:56 +02:00
Eloy Lafuente (stronk7) ed64a00a57 MDL-27966 timezones - updated to 2011g version + fix minor notice 2011-06-21 16:25:43 +02:00
Eloy Lafuente (stronk7) d395fa4024 weekly release 1.9.12+ 2011-06-16 19:11:01 +02:00
Eloy Lafuente (stronk7) 54a70ffb8c Merge branch 'wip-MDL-24355-MOODLE_19_STABLE' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2011-06-16 10:40:46 +02:00
Eloy Lafuente (stronk7) 4474ee420a Merge branch 'wip-mdl-27863-MOODLE_19_STABLE' of git://github.com/rajeshtaneja/moodle into MOODLE_19_STABLE 2011-06-15 11:53:28 +02:00
Rajesh Taneja de5da04c5f MDL-27863 moodlelib - fixed testcase faliure in MDL-27577 2011-06-15 17:38:49 +08:00
Eloy Lafuente (stronk7) 6cc32cbb9e Merge branch 'wip-MDL-27638-MOODLE_19_STABLE' of git://github.com/samhemelryk/moodle into MOODLE_19_STABLE 2011-06-14 12:06:09 +02:00
Sam Hemelryk 3b246aca22 MDL-27638 Removed buggy status line from query as it is being calculated in php anyway 2011-06-14 10:15:21 +08:00
Sam Hemelryk d98e3d6b60 Merge branch 'm19_MDL-27404' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-06-13 14:55:48 +08:00
Dan Marsden 7ef0866c93 MDL-27404 SCORM fix for IE 6 - thanks to Howard Miller 2011-06-13 11:29:05 +12:00
Dan Marsden c58d4eef1e MDL-27545 fix length of log action field - merged from 2.0 stable MDL-26880 2011-06-13 09:54:06 +12:00
Eloy Lafuente (stronk7) 1de5024830 weekly release 1.9.12+ 2011-06-09 03:43:55 +02:00
Eloy Lafuente (stronk7) c0e462c5d1 Merge branch 'wip-mdl-27577-MOODLE_19_STABLE' of git://github.com/rajeshtaneja/moodle into MOODLE_19_STABLE 2011-06-09 01:10:53 +02:00
Sam Hemelryk d17b16b697 MDL-27695 doc link checks ->release before including version.php now 2011-06-08 16:54:35 +08:00
Aparup Banerjee 7bfc8766bc MDL-27695 Documentation : updated the moodle docs link at the footer of pages to point to new docs url 2011-06-08 13:42:00 +08:00
Andrew Davis (andyjdavis) ab0c861479 MDL-24355 tag: added code to prevent an error if there are no tag correlations found 2011-06-07 17:06:00 +08:00
Rajesh Taneja 7a94695536 MDL-27577 moodlelib - fixed dst offset in userdate, usergetdate and make_timestamp functions 2011-06-03 10:02:30 +08:00
Eloy Lafuente (stronk7) 59d8944377 weekly release 1.9.12+ 2011-06-02 23:38:05 +02:00
Eloy Lafuente (stronk7) 2ecbeaf815 weekly release 1.9.12+ 2011-05-26 00:09:20 +02:00
Sam Hemelryk 226f0f6fdc weekly release 1.9.12+ 2011-05-18 18:14:25 +08:00
Eloy Lafuente (stronk7) 8347921cfa Merge branch 'MDL-26704_user_outline_report_19' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2011-05-17 12:01:40 +02:00
Eloy Lafuente (stronk7) 4f336e2c97 weekly release 1.9.12+ 2011-05-11 15:24:42 +02:00
Andrew Davis (andyjdavis) b66705e52c MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report 2011-05-10 11:28:29 +08:00
Andrew Davis (andyjdavis) d221a3839d Merge branch 'MOODLE_19_STABLE' of git://git.moodle.org/moodle into MOODLE_19_STABLE 2011-05-10 11:17:45 +08:00
Eloy Lafuente (stronk7) 0e4c5bfdbe Moodle 1.9.12 release 2011-05-09 15:59:53 +02:00
Andrew Davis (andyjdavis) a1bc21b045 Revert "MDL-26704 gradebook: switched the user outline activity report to use date submitted instead of date graded"
This reverts commit e9cd73e2f3.
2011-05-06 11:10:01 +08:00
Andrew Davis (andyjdavis) e9cd73e2f3 MDL-26704 gradebook: switched the user outline activity report to use date submitted instead of date graded 2011-05-06 11:08:07 +08:00
Eloy Lafuente (stronk7) 9251e27e76 weekly release 1.9.11+ 2011-05-05 00:38:37 +02:00
Eloy Lafuente (stronk7) 9330414966 Merge branch 'MDL-26937' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-05-02 11:37:08 +02:00
Tim Hunt 71ec5d19df MDL-26937 quiz grades report. Work-around MySQL fussiness, like for MDL-26416. 2011-04-29 12:09:05 +01:00
Tim Hunt 551a610ed1 MDL-26981 qtype_random fix restore of attempt data.
Fix worked out by Colin Campbell from colin@umn.edu. Many thanks.
2011-04-28 23:54:59 +01:00
Petr Skoda d14e8ea454 weekly release 1.9.11+ 2011-04-27 12:05:55 +02:00
Eloy Lafuente (stronk7) d58181c60b weekly release 1.9.11+ 2011-04-20 13:37:43 +02:00
Sam Hemelryk ef7383d32a MDL-24355 Fixed up deletion of tag correlations when deleting tags 2011-04-20 12:03:00 +08:00
Sam Hemelryk 3aeb4f03bd MDL-24355 Greatly improved performance of the tag correlation function and fixed up bugs with it 2011-04-20 11:51:16 +08:00
Dan Marsden ac9387b049 SCORM MDL-26450 fix undefined pkgtype warning (ONLY REQUIRED IN 1.9 STABLE BRANCH) 2011-04-14 09:58:21 +12:00
Petr Skoda 8be4ad990a weekly release 1.9.11+ 2011-04-13 22:06:49 +02:00
Sam Hemelryk 032be8a19b Merge branch 'MDL-26130' of git://github.com/MaryE/moodle into MOODLE_19_STABLE 2011-04-11 11:31:38 +08:00
Eloy Lafuente (stronk7) bd49223246 Merge branch 'w15_MDL-27069_m19_httpsrequired' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-04-11 01:35:47 +02:00
Petr Skoda 7e58c03d6c MDL-27069 fix notice when inserting images in editor 2011-04-10 21:16:24 +02:00
Mary Evans 5a76642ddf MDL-26130 css fix for orangewhite theme 2011-04-10 01:15:24 +01:00
Tony Levi 697664c813 MDL-27108: Fix invalid SQL syntax in mod/data/field/latlong 2011-04-07 10:05:47 +09:30
Petr Skoda fb8642bce5 weekly release 1.9.11+ 2011-04-06 14:55:11 +02:00
Eloy Lafuente (stronk7) d2cabfdf9b Merge branch 'MDL-20946_19_simplehistory' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2011-04-04 11:39:51 +02:00
Petr Skoda 0c3c77269d weekly release 2011-03-30 13:40:40 +02:00
Andrew Davis (andyjdavis) 6c41ae0a0c gradebook MDL-20946 switched from using IN to using JOIN in the quiries 2011-03-30 13:31:47 +08:00
Eloy Lafuente (stronk7) d6ed445589 Merge branch 'w13_MDL-26966_19_urlparsing' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-03-28 19:12:04 +02:00
Petr Skoda 5a3010310b MDL-26966 improve self URL validation 2011-03-27 12:03:22 +02:00
Petr Skoda dedb3c5121 MDL-26985 new Moodle 2.1 requirements
For now only extra PHP 5.3.2 requirement compared to 2.0.
2011-03-26 22:03:13 +01:00
Petr Skoda 3215955fd0 weekly release 2011-03-23 11:32:35 +01:00
Eloy Lafuente (stronk7) 19f65e6c6b Merge branch 'm19_MDL-25770_hotpotfix' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-03-21 22:52:16 +01:00
Sam Hemelryk 5b2d591bcb Cherry-picked changes for PULL-460/MDL-26557 into MOODLE_19_STABLE 2011-03-21 17:36:29 +08:00
Tim Hunt 6d276b3254 MDL-20946 fix gradebook SQL to cope with multi-role and deleted users. 2011-03-17 12:30:58 +00:00
Dan Marsden 68d3425577 Hotpot MDL-25770 - missing return - thanks to Tomasz Pawlik for report/fix 2011-03-17 15:30:45 +13:00
Petr Skoda 08bf2b2723 weekly release 2011-03-16 09:34:19 +01:00
Petr Skoda 5dce59a4cf Merge branch 'MDL-4633-m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-03-14 17:58:46 +01:00
Eloy Lafuente (stronk7) 72250eed86 Merge branch 'w11_MDL-26634_19_ldapset' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-03-14 16:29:02 +01:00
Eloy Lafuente (stronk7) 49e0d5d5e3 Merge branch 'MDL-19555_m19' of git://github.com/rwijaya/moodle into MOODLE_19_STABLE 2011-03-14 01:41:32 +01:00
Eloy Lafuente (stronk7) fd602f4620 MDL-9376 fix minor global use 2011-03-14 01:37:28 +01:00
Eloy Lafuente (stronk7) fb7abd481b Merge branch 's7_MDL-9376_qaforum_m19' of git://github.com/dongsheng/moodle into MOODLE_19_STABLE 2011-03-14 01:35:57 +01:00
Eloy Lafuente (stronk7) 7e06e9ff4a Merge branch 'MDL-21446_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-03-14 01:32:18 +01:00
Petr Skoda 416ea17252 MDL-26634 LDAP NTLM SSO Multiple subnet separator is not specified and people use a wrong one
Credit goes to Inaki Arenaza.
2011-03-13 10:18:02 +01:00
Aparup Banerjee f8fb37424e MDL-26757 fixed regression in glossary recent activity block url 2011-03-11 13:27:45 +08:00
Dongsheng Cai a6df2c2e5f MDL-9376, disallow student to see the other users posts in max editing time, credits to Vlas Voloshin and Charles Fulton MOODLE_19_STABLE 2011-03-11 12:25:46 +08:00
Rossiani Wijaya 04b4210605 MDL-19555: add NULL string test to format_test(). Credit goes to Matej Vela. Thanks 2011-03-11 12:14:29 +08:00
Rossiani Wijaya e1bde19170 MDL-4633: remove 'required' rule for user's profile description 2011-03-10 15:56:20 +08:00
Tim Hunt 5cf3a84aee MDL-21446 truncate >31 char worksheet names that otherwise break Excel export. 2011-03-09 14:48:24 +00:00
Petr Skoda 1c712d947a weekly release 2011-03-09 09:05:15 +01:00
Eloy Lafuente (stronk7) 1b607c2266 Merge branch 'm19_MDL-26672_aiccfix' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-03-07 02:38:48 +01:00
Eloy Lafuente (stronk7) cddf3e1679 Merge branch 'MDL-26324_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-03-07 01:25:53 +01:00
Dan Marsden eb2dc3ab87 AICC MDL-26672 fix for AICC Value=0 - thanks to Matteo for fix/report 2011-03-07 10:03:04 +13:00
Petr Skoda f483e32922 MDL-26605 fix problematic mediaplugin regex matching 2011-03-05 10:04:26 +01:00
Tim Hunt 83f22aae0e MDL-26324 overall feedback problem when quiz changed to being graded out of 0 2011-03-04 17:45:03 +00:00
Petr Skoda 0e33a45653 weekly release 2011-03-03 18:25:05 +01:00
Daren Chandisingh 18174ef082 MDL-26534 allow iframes in course category descriptions 2011-02-28 09:27:11 +01:00
Eloy Lafuente (stronk7) 6720f29ccf weekly release 2011-02-23 20:04:29 +01:00
Eloy Lafuente (stronk7) 9044a8edb3 Merge branch 'MDL-26528_restore_forum_read' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2011-02-22 16:15:24 +01:00
Eloy Lafuente (stronk7) 86a8740b67 Merge branch 'MDL-26502_symbian' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2011-02-22 15:21:01 +01:00
Eloy Lafuente (stronk7) 49a1b113ad Merge branch 'MDL-25122_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-02-22 12:45:37 +01:00
Eloy Lafuente (stronk7) f733078c91 MDL-26502 check browser - fix for Symbian (backported) 2011-02-22 11:51:26 +01:00
Eloy Lafuente (stronk7) eeff6a0839 Merge branch 'MDL-26505_19' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-02-22 10:56:28 +01:00
Eloy Lafuente (stronk7) 9170eb5aab MDL-26528 restore - ignore wrong forum_read records 2011-02-21 16:00:41 +01:00
Martin Dougiamas 783cca4ee3 Moodle 1.9.11 release 2011-02-21 13:19:01 +01:00
Tim Hunt 49b2521492 MDL-26505 rounding problem in quiz_save_best_grade.
Note I cheated and slipped in a fix for another instance of MDL-21811 too, since I noticed it at the same time.
2011-02-18 19:34:31 +00:00
Petr Skoda 3075ec4341 emergency release 2011-02-18 19:59:18 +01:00
Petr Skoda b408c5f485 Merge branch 'MDL-21811' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-02-18 19:31:20 +01:00
Tim Hunt 12e4ff0d19 MDL-21811 also need to fix the rounding on the review page. 2011-02-18 18:25:28 +00:00
Tim Hunt 8d5eaee1c9 MDL-25122 Quiz review page does not check and enforce separate groups mode. 2011-02-18 17:23:41 +00:00
Petr Skoda 0c9bd492a0 Merge branch 'MDL-21811' of git://github.com/timhunt/moodle into MOODLE_19_STABLE 2011-02-18 18:00:19 +01:00
Tim Hunt db99a96d1e MDL-21811 use the un-rounded grade to display the overall feedback in the quiz reports. 2011-02-17 09:43:32 +00:00
Petr Skoda c737ead6f4 weekly release 2011-02-17 01:18:34 +01:00
Aparup Banerjee 7cc4ceae64 MDL-22970 glossary - backporting recent activity fix from 2.0.x 2011-02-15 00:48:08 +01:00
Petr Skoda af497cf64c Merge branch 'm19_MDL-26216_windowoptions' of github.com:danmarsden/moodle into MOODLE_19_STABLE 2011-02-14 21:40:23 +01:00
Petr Skoda 05d38f44cc Merge branch 'MDL-26371_distinct_text_m19' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2011-02-14 21:23:15 +01:00
Dan Marsden 776ecc8b9d SCORM MDL-26216 - prevent auto update from resetting window options 2011-02-14 17:34:44 +13:00
Eloy Lafuente (stronk7) d7ef29dcbd Merge branch 'w07_MDL-26030_19_mediafilter' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-02-14 01:14:40 +01:00
Eloy Lafuente (stronk7) 185f71c40d MDL-26371 sql - avoid distinct + text in lesson essay and report 2011-02-13 01:45:18 +01:00
Eloy Lafuente (stronk7) 6d12bf2020 MDL-26371 sql - avoid distinct + text in security report 2011-02-13 01:30:20 +01:00
Petr Skoda 8f81bfd412 MDL-26030 fix js and attribute quoting 2011-02-12 13:29:38 +01:00
Rossiani Wijaya eabab3de5a MDL-26030_m19: fix regex in media filter and removing addslashes to non-js code 2011-02-12 13:16:30 +01:00
Petr Skoda 782d74e053 MDL-26322 always allow https in login local redirection test
This fixes problems for sites that use loginhtts where the redirection after login did not work for pages that require https such as the forgotten passowrds page.
2011-02-11 11:31:20 +01:00
Petr Skoda e7d43de4ed weekly release 2011-02-09 12:25:53 +01:00
Eloy Lafuente (stronk7) 21cec9df42 MDL-26052 data - fix various transitions that were not working ok 2011-02-04 20:06:26 +01:00
Petr Skoda 35f730f16b weekly release 2011-02-02 14:07:51 +01:00
Eloy Lafuente (stronk7) b178d86aab Merge branch 'MDL-17201_index_19' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2011-01-31 15:49:13 +01:00
Eloy Lafuente (stronk7) d9fe1c6aa1 Merge branch 'w05_MDL-26189_19_imse' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-01-31 11:59:31 +01:00
Sam Hemelryk 490a186269 Merge branch 'm19_MDL-25320' of git://github.com/danmarsden/moodle into MOODLE_19_STABLE 2011-01-31 13:14:52 +08:00
Petr Skoda 886c6635e2 MDL-26189 protect imsenterprise enrol file 2011-01-30 13:57:37 +01:00
Dan Marsden c504285645 SCORM MDL-25320 removes spaces from children patterns - thanks to Ian Wright for report 2011-01-28 23:09:48 +13:00
Petr Skoda 251d6f3e6d weekly release 2011-01-25 19:37:59 +01:00
andyjdavis 73c07a1f72 profiles MDL-17201 added an index to user_info_data table 2011-01-25 15:06:32 +08:00
Petr Skoda c7bb198fe2 weekly release 2011-01-19 14:10:18 +01:00
Sam Hemelryk 093f30a3fe Merge branch 'MDL-18839_19_wip' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-01-18 13:52:23 +08:00
Sam Hemelryk e7682e584a Merge branch 'MDL-25754_19_wip' of git://github.com/skodak/moodle into MOODLE_19_STABLE 2011-01-18 13:38:05 +08:00
Rossiani Wijaya 12e3dc19a6 MDL-25646: fixed html_writer class, get string param, remove url addslashed from regular context (only use addslashes_js if it prints for javascript. Add new string to mediaplugin file. 2011-01-14 12:02:17 +08:00
Petr Skoda fd29b2ad1c MDL-25754 improved tag sanitisation and fixed tag autocomplete 2011-01-13 22:55:52 +01:00
Petr Skoda 8f031d5431 MDL-18839 sesskey protection for RSS feed actions 2011-01-12 22:21:48 +01:00
Petr Skoda 8b085f23ca weekly release 2011-01-12 10:51:14 +01:00
Petr Skoda 6226c65506 MDL-24561 fixed missing u. prefix 2011-01-11 09:51:57 +01:00
Eloy Lafuente (stronk7) 344817fa8a Merge branch 'MDL-24561_forum_subscribe_sesskey_m19' of git://github.com/mudrd8mz/moodle into MOODLE_19_STABLE 2011-01-10 21:45:08 +01:00
Petr Skoda bffe6c274e Merge branch 'MDL-20607' of git://github.com/arborrow/moodle into MOODLE_19_STABLE 2011-01-10 14:28:55 +01:00
Dan Marsden af778921f0 SCORM MDL-25891 typo causing general exception for some SCORM objects - thanks to Hais Deakin for report/fix 2011-01-10 14:24:39 +01:00
Anthony Borrow eddf533b0a MDL-20607 - adding firstname as secondary sort criteria 2011-01-05 09:30:20 -06:00
David Mudrak be7c8bb2c2 MDL-24561 forum: require sesskey for the course-wide subscriptions - backported from 2.0
mod/forum/index.php allows to subscribe to and unsubscribe from all
forums in the course. However, sesskey was not checked here.
2011-01-05 15:58:41 +01:00
David Mudrak 0b393d6716 MDL-24561 forum subscription checks sesskey - backported from 2.0
The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
2011-01-05 15:52:25 +01:00
Petr Skoda 44ddbc657b weekly release 2011-01-05 11:53:45 +01:00
Petr Skoda d04350adeb weekly release version updated 2010-12-29 17:51:23 +01:00
Petr Skoda d1dd5f0a08 Merge branch 'MDL-25186_m19' into MOODLE_19_STABLE 2010-12-27 12:18:53 +01:00
Petr Skoda 1150662ecc MDL-25186 fixed whitespace 2010-12-27 12:18:31 +01:00
Petr Skoda 76035b1339 Merge branch 'MDL-25713_recordset' of git://github.com/andyjdavis/moodle into MOODLE_19_STABLE 2010-12-27 12:09:58 +01:00
Petr Skoda 535037f521 Merge branch 'm19-MDL-16858-fixed' of git://github.com/mouneyrac/moodle into MOODLE_19_STABLE 2010-12-27 11:50:17 +01:00
sam marshall 010758adb2 accessibility MDL-24613 Update previous change to fix back to 'top' for RTL languages 2010-12-27 11:45:53 +01:00
Petr Skoda 53c8f1056f Merge branch 'MOODLE_19_STABLE' of github.com:danmarsden/moodle into MOODLE_19_STABLE 2010-12-27 11:33:00 +01:00
Rossiani Wijaya 059518944a MDL-25186: add environmental check to recommend PHP 5.3.3 2010-12-23 11:32:36 +08:00
Eloy Lafuente (stronk7) 93b89cae76 MDL-25755 enrol ldap - avoid reserved keyword. (k) goes to Chris Myers 2010-12-23 00:23:18 +01:00
Petr Skoda 0300e588d5 Updated the 19 build version 2010-12-22 08:32:34 +01:00
Penny Leach 612d671fbc mnet MDL-16858 xmlrpc client signature verification code 2010-12-21 10:30:41 +08:00
David Mudrak 603cc5c6e6 MDLSITE-1162 .gitignore file for Moodle git mirror 2010-12-20 20:48:24 +01:00
Dongsheng Cai 009fca2bb4 category editing MDL-21671 MOODLE_19_STABLE check capability when parent category changed 2010-12-20 19:23:46 +01:00
Dongsheng Cai 5b6519cb42 MDL-21671, MOODLE_19_STABLE site level categroy manage capability when edit category, credits to Vadim Dvorovenko 2010-12-20 19:23:45 +01:00
Petr Skoda dc92d40c44 Merge branch 'mssql_database_activity' of git://github.com/stronk7/moodle into MOODLE_19_STABLE 2010-12-20 19:09:04 +01:00
Sam Hemelryk 2e490b8b29 mod-lesson MDL-22349 Fixed bug with matching lesson type and empty correct response. Kudos to Michael Lipp for the patch 2010-12-20 18:59:39 +01:00
andyjdavis 635f4f2c64 gradebook MDL-20617 replaced the missing range column on the user report 2010-12-20 16:39:30 +01:00
Petr Skoda 1d7908e7f7 MDL-25725 escape query parameter in enrol/database setup_enrolments() 2010-12-20 14:58:55 +01:00
Dongsheng Cai 42d9cf7dff MDL-14934 fixed excel time in MOODLE_19_STABLE credits to Jonathon Fowler 2010-12-20 12:30:22 +01:00
Dan Marsden cb1e1bc1ca SCORM MDL-25739 check var set before using - Thanks to Howard for report - This only affects 1.9stable, fix already in head 2010-12-20 22:29:46 +13:00
andyjdavis 49436db62a gradebook MDL-25713 switched grade_object fetch_all_helper over to use a recordset 2010-12-20 16:15:35 +08:00
Eloy Lafuente (stronk7) 7911272ea2 MDL-25692 fix sortings and edit->single navigation 2010-12-16 01:21:48 +01:00
Eloy Lafuente (stronk7) 3751c84008 MDL-25692 search working for mssql + oracle 2010-12-16 01:07:16 +01:00
Eloy Lafuente (stronk7) 5dd05d5a21 MDL-25692 make search template to work for mssql + oracle 2010-12-16 00:09:47 +01:00
Moodle Robot 3703965f09 Updated the 19 build version to 20101214 2010-12-14 00:53:48 +00:00
Moodle Robot f332f25f95 Updated the 19 build version to 20101213 2010-12-13 00:51:19 +00:00
Moodle Robot 9cfc7cce93 Updated the 19 build version to 20101212 2010-12-12 00:51:18 +00:00
Moodle Robot ba3d4c3449 Updated the 19 build version to 20101211 2010-12-11 00:51:14 +00:00
Moodle Robot da5abcf6ba Updated the 19 build version to 20101210 2010-12-10 00:52:18 +00:00
David Mudrak 4a7b983bbf MDL-21554 MNet: fixed SQL usage to check a record existence
The solution backported from 2.0 and independently suggested by Penny,
too.
2010-12-09 09:33:32 +00:00
Moodle Robot 5fa5c2ed74 Updated the 19 build version to 20101209 2010-12-09 00:52:05 +00:00
Moodle Robot 3090cf62fe Updated the 19 build version to 20101208 2010-12-08 00:51:52 +00:00
Petr Skoda 7111a5c1a9 MDL-25591 disable ajax and htmleditor in ios devices
The problem appeared after changes from MDL-16336 because ios devices were detected as Safari. This is an ugly hack, hopefully it will not create visual or JS regressions elsewhere.
2010-12-07 17:56:04 +00:00
Moodle Robot 5a5e4020fa Updated the 19 build version to 20101207 2010-12-07 00:51:57 +00:00
Moodle Robot f480eefc6b Updated the 19 build version to 20101206 2010-12-06 00:56:11 +00:00
Moodle Robot 269fe00559 Updated the 19 build version to 20101205 2010-12-05 00:53:52 +00:00
Helen Foster 4014622ee9 MDL-25550 bom removal 2010-12-04 14:51:17 +00:00
Moodle Robot 6644a83d10 Updated the 19 build version to 20101204 2010-12-04 00:55:36 +00:00
Moodle Robot 409bd4de70 Updated the 19 build version to 20101203 2010-12-03 00:51:41 +00:00
Moodle Robot dae5d69789 Updated the 19 build version to 20101202 2010-12-02 00:52:15 +00:00
Moodle Robot 56043dc26b Updated the 19 build version to 20101201 2010-12-01 00:51:14 +00:00
Moodle Robot c186da462f Updated the 19 build version to 20101130 2010-11-30 00:54:20 +00:00
Moodle Robot a4a7b67871 Updated the 19 build version to 20101129 2010-11-29 00:53:31 +00:00
Moodle Robot 3e117f45c3 Updated the 19 build version to 20101128 2010-11-28 00:52:06 +00:00
Moodle Robot 50fde5927d Updated the 19 build version to 20101127 2010-11-27 00:53:15 +00:00
Moodle Robot 2b94ab066d Updated the 19 build version to 20101126 2010-11-26 00:53:31 +00:00
Dan Marsden a2aa8324a4 SCORM MDL-25298 escape html vars correctly - thanks to Xavier Paz for report/fix merged from HEAD 2010-11-25 01:47:48 +00:00
Moodle Robot 14a4e75ccd Updated the 19 build version to 20101125 2010-11-25 00:52:18 +00:00
Petr Skoda 7eef630957 MDL-24699 minimalistic fix for the missing mnet host id when updating local user records, thanks 2010-11-24 04:03:18 +00:00
Moodle Robot 1929455fba Updated the 19 build version to 20101124 2010-11-24 00:52:46 +00:00
Moodle Robot f39ae19ef3 Updated the 19 build version to 20101123 2010-11-23 00:51:42 +00:00
Moodle Robot e9cef979c1 Updated the 19 build version to 20101122 2010-11-22 00:54:41 +00:00
Moodle Robot 9c850a8942 Updated the 19 build version to 20101121 2010-11-21 00:54:17 +00:00
Moodle Robot eb04d38327 Updated the 19 build version to 20101120 2010-11-20 01:01:34 +00:00
Moodle Robot 96eeb9812c Updated the 19 build version to 20101119 2010-11-19 00:55:45 +00:00
Rossiani Wijaya cd1f8ac253 MDL-20044: add test to prevent javascript error due to null data. 2010-11-18 09:30:33 +00:00
Rossiani Wijaya c476a2ecfc MDL-16336: add Chrome to browser identification to display HMTL editor. 2010-11-18 08:49:26 +00:00
Inaki 064f325bce auth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certificate
If we enable the server validation but don't specify a certificate file path
flag the error and don't let the user save the settings.
2010-11-18 00:58:21 +00:00
Moodle Robot b7b35426b9 Updated the 19 build version to 20101118 2010-11-18 00:50:07 +00:00
Inaki c07fcc1383 auth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certificate
The CAS protocol security model requires that you verify the cas server
certificate before you trust the answer (valid authentication and username
etc.).

Credit goes to Joachim Fritschi for reporting it and providing a patch.
2010-11-18 00:09:02 +00:00
Moodle Robot 70ec102175 Updated the 19 build version to 20101117 2010-11-17 00:50:23 +00:00
Andrew Davis 5cb39510c0 gradebook MDL-25171 made it possible to deselect all grade items when exporting grades 2010-11-16 05:37:51 +00:00
Moodle Robot 5f19bece4c Updated the 19 build version to 20101116 2010-11-16 00:51:27 +00:00
Moodle Robot 594b0a31ab Updated the 19 build version to 20101115 2010-11-15 00:50:35 +00:00
Moodle Robot e072f9a1e5 Updated the 19 build version to 20101114 2010-11-14 00:49:45 +00:00
Moodle Robot 114cda373e Updated the 19 build version to 20101113 2010-11-13 00:49:42 +00:00
Petr Skoda fd5a71b0cb MDL-21907 reverting latest change in groups api, we definitely can not make changes like this in stable and right before the release 2010-11-12 10:03:10 +00:00
Andrew Davis bdc05176e9 gradebook MDL-21907 grader report group view was being limited to groups in the course's default grouping 2010-11-12 04:04:01 +00:00
Moodle Robot 628344cb79 Updated the 19 build version to 20101112 2010-11-12 00:51:06 +00:00
Moodle Robot fcf01f3d30 Updated the 19 build version to 20101111 2010-11-11 00:51:44 +00:00
Dan Marsden eef2618dc8 MDL-25147 tidy up readme wording related to cron 2010-11-11 00:25:36 +00:00
Dan Marsden 67e13a8014 SCORM MDL-24217 correct handling of suspend icon and fix SCORM 2004 usage of cmi.core.exit - thanks to Valerian for report/fix 2010-11-10 22:22:46 +00:00
Dan Marsden ab34dd9ca9 SCORM MDL-24579 remove badly formatted debugging code - thanks to Peter Chamberlain for report. 2010-11-10 21:53:35 +00:00
Dan Marsden 89d793478f SCORM MDL-24579 fix CMILongIdentifier regex (SCORM 2004) - thanks to Peter Chamberlain for report/fix merged from HEAD 2010-11-10 21:38:18 +00:00
Dan Marsden 57512f8b54 SCORM MDL-25085 fix typo in $usertracks array - thanks to Valerian for report/fix 2010-11-10 21:08:33 +00:00
Moodle Robot e548b53474 Updated the 19 build version to 20101110 2010-11-10 00:49:03 +00:00
Aparup Banerjee 990ec2171c assignment MDL-25109 added missing sesskey check for file upload 2010-11-09 02:39:18 +00:00
Moodle Robot 1b1834e8be Updated the 19 build version to 20101109 2010-11-09 00:52:02 +00:00
Tim Hunt 54c489cb73 question bank MDL-24312 problem when deleting a course with orphaned categories.
When there was a question category whose parent had somehow been deleted from the question bank, while the child category was still there, then that gave an error because a DB query was still referring to the question_categories.courese coloumn, that was changed to contextid in moodle 1.9.

Backported to from HEAD. Fix thanks to Mahmoud Kassaei.
2010-11-08 16:00:29 +00:00
Petr Skoda 15a18acddc MDL-25053 invalid SQL syntax
postgresql requires AS when defining column aliases, credit goes to Alan Peter Carter and Brett Wilkins
2010-11-08 01:26:10 +00:00
Moodle Robot 87bf65cbb6 Updated the 19 build version to 20101108 2010-11-08 00:52:12 +00:00
Patrick Malley fbda4556a8 MDL-20757 2010-11-07 19:19:34 +00:00
Moodle Robot 81fb0527dc Updated the 19 build version to 20101107 2010-11-07 00:51:09 +00:00
Moodle Robot 193173bf1f Updated the 19 build version to 20101106 2010-11-06 00:49:55 +00:00
Moodle Robot 974d440d73 Updated the 19 build version to 20101105 2010-11-05 00:49:21 +00:00
Moodle Robot 251aa8e3b1 Updated the 19 build version to 20101104 2010-11-04 00:50:54 +00:00
Moodle Robot c536d23cd5 Updated the 19 build version to 20101103 2010-11-03 00:50:29 +00:00
Tim Hunt 9e8badd3a0 html_to_text MDL-25018 fix regression caused by be previous comment.
Thanks Eloy for spotting this.
I was worried about this happening, so I checked the diff before committing, to make sure something like this did not happen, and still Eclipse+CVS screwed it up for me. Sorry.
2010-11-02 21:50:20 +00:00
Tim Hunt 36a40748e1 MDL-25018 stop html_to_text from breaking utf-8 multibyte characters. 2010-11-02 20:03:50 +00:00
Moodle Robot 52f29243e1 Updated the 19 build version to 20101102 2010-11-02 00:50:59 +00:00
Inaki b59d5522d6 grade/report: MDL-21001 Gradebook shows ranges always
We unconditionnally set them to visible, ignoring configured settings.
Fix it.
2010-11-01 10:22:06 +00:00
Moodle Robot e239bb1734 Updated the 19 build version to 20101101 2010-11-01 00:49:34 +00:00
Moodle Robot fb94121fbc Updated the 19 build version to 20101031 2010-10-31 00:54:23 +00:00
Moodle Robot 60546676cf Updated the 19 build version to 20101030 2010-10-30 00:52:25 +00:00
Andrew Davis 7755bba3f0 gradebook MDL-24791 fixing grader report column highlighting 2010-10-29 07:06:46 +00:00
Moodle Robot 6cfe146bf7 Updated the 19 build version to 20101029 2010-10-29 00:55:16 +00:00
Rossiani Wijaya bb8c661c9d MDL-22528: fixed AJAX Course editing in Chrome and Safari. 2010-10-28 07:41:28 +00:00
Moodle Robot f7dad24fbc Updated the 19 build version to 20101028 2010-10-28 00:51:07 +00:00
Martin Dougiamas dd8a49c15e Bumping version post-release 2010-10-27 06:35:51 +00:00
Moodle Robot 75a917faee Updated the 19 build version to 20101027 2010-10-27 00:51:22 +00:00
Moodle Robot 1946377765 Updated the 19 build version to 20101026 2010-10-26 00:54:47 +00:00
Sam Marshall b085489d88 files MDL-24841 Changed require to require_once in files/index.php so it doesn't break if libraries are required elsewhere 2010-10-25 11:22:31 +00:00
Eloy Lafuente a83fefb70c MDL-24836 data - I'm idiot! Sorry! 2010-10-25 09:31:10 +00:00
Eloy Lafuente c3303a2517 MDL-24836 data - fix causing DBs with new file fields to boom updating records. Merged from 18_STABLE 2010-10-25 08:23:16 +00:00
Martin Dougiamas bd6ec36735 Bumping for 1.9.10 release 2010-10-25 06:36:35 +00:00
Moodle Robot 1036a833d9 Updated the 19 build version to 20101025 2010-10-25 00:52:24 +00:00
Petr Skoda c5fc40990b MDL-24808 2010-10-24 22:14:11 +00:00
Moodle Robot 813d4754fd Updated the 19 build version to 20101024 2010-10-24 00:55:27 +00:00
Petr Skoda ad5644829f MDL-24803 fixed tagid typo in tag correlation table update 2010-10-23 10:28:06 +00:00
Moodle Robot 120604f429 Updated the 19 build version to 20101023 2010-10-23 00:52:55 +00:00
Petr Skoda 71d49c63c4 MDL-24810 importing latest HTMLPurifier - already tested in HEAD for some time 2010-10-22 14:46:59 +00:00
Petr Skoda 9551b113bc MDL-20210 dod not stop login process when can not connect to auth/db external database 2010-10-22 09:11:55 +00:00
Moodle Robot 6989ee3a2e Updated the 19 build version to 20101022 2010-10-22 00:53:32 +00:00
Inaki 257f5e3655 auth/cas MDL-24789 phpCAS single sign-on module client needs updating due to security issues
Upgraded phpCAS to 1.1.3 (latest stable version), which fixes them.
2010-10-21 07:53:00 +00:00
Gordon Bateson 280d8c1d5d MDL-24779 mod/hotpot tidy up calls to js_value() method which escapes and encodes unicode strings for javascript 2010-10-21 03:17:30 +00:00
Moodle Robot 61225707fe Updated the 19 build version to 20101021 2010-10-21 00:58:09 +00:00
Gordon Bateson 1775e5e042 MDL-24779 mod/hotpot fix escaping of apostrophes on strings that are used within JavaScript 2010-10-20 14:41:52 +00:00
Moodle Robot 0a85771b07 Updated the 19 build version to 20101020 2010-10-20 00:48:49 +00:00
Moodle Robot 993cc5c7a3 Updated the 19 build version to 20101019 2010-10-19 00:48:28 +00:00
Sam Hemelryk 3a4546b910 course-participation-report MDL-23603 Optimised SQL, merged from HEAD 2010-10-18 04:54:25 +00:00
Moodle Robot f4c126ba1d Updated the 19 build version to 20101018 2010-10-18 00:49:12 +00:00
Moodle Robot 1773a53f62 Updated the 19 build version to 20101017 2010-10-17 00:48:14 +00:00
Petr Skoda 470559c68a MDL-20716 json PHP extension is required in Moodle 2.0 2010-10-16 18:03:34 +00:00
Petr Skoda 5467d64c2a MDL-20643 fixed login redirection from user profile 2010-10-16 17:59:35 +00:00
Moodle Robot 6d819631e9 Updated the 19 build version to 20101016 2010-10-16 00:48:54 +00:00
Aparup Banerjee 21e609d5b7 forum MDL-24638 improved forum_search_posts by passing through cm and context from forum_get_readable_forums. 2010-10-15 03:13:20 +00:00
Andrew Davis 6dbefdab52 gradebook MDL-24682 1.9 corrected a capability check that was incorrectly allowing some users to make a course scale a standard scale 2010-10-15 02:58:18 +00:00
Moodle Robot 57e5e322fc Updated the 19 build version to 20101015 2010-10-15 00:49:40 +00:00
Rossiani Wijaya 4ba226fdd0 MDL-20396:
1. remove carriage return to prevent javascript error
2. remove whitespaces.
2010-10-14 06:12:23 +00:00
Moodle Robot 5de2c6fbd3 Updated the 19 build version to 20101014 2010-10-14 00:49:29 +00:00
Petr Skoda e10317e53e MDL-20366 reverting previous commit because it breaks label indentation, sorry 2010-10-13 20:30:23 +00:00
Jenny Gray 7d2c082b1a MDL-24565 control characters stripped so xml output functions correctly
now without unicode regular expression
2010-10-13 14:07:59 +00:00
Moodle Robot b9a87c8fc0 Updated the 19 build version to 20101013 2010-10-13 00:48:20 +00:00
Petr Skoda fc32b26906 MDL-14595 more CSS styles whitelisted in KSES 2010-10-12 09:20:19 +00:00
Moodle Robot 8d34226d31 Updated the 19 build version to 20101012 2010-10-12 00:49:42 +00:00
Sam Marshall 302b1c4bec accessibility MDL-24163 Change to accesshide definition to avoid rare Safari/VoiceOver crashes 2010-10-11 15:57:17 +00:00
Aparup Banerjee dcba9ebe59 assignment MDL-24469 fixed an SQL error with get_role_users() when there are no graded roles set ( was passing in an empty array as roleid). 2010-10-11 07:43:55 +00:00
Rossiani Wijaya 6eab1a9b0c MDL-20034: add title attribute to user picture. 2010-10-11 05:43:00 +00:00
Rossiani Wijaya 42d68af1d1 MDL-19146: fixed display message history for non-admin user. 2010-10-11 02:54:28 +00:00
Moodle Robot f0542ff914 Updated the 19 build version to 20101011 2010-10-11 00:51:09 +00:00
Petr Skoda 8a436292d8 MDL-20366 mod/label output now wrapped in DIV instead of SPAN - XHTML strict fix (thanks Andrea Bicciolo) 2010-10-10 17:51:08 +00:00
Petr Skoda c1e19bd258 MDL-10782 fixed double footer when deleting glossary category 2010-10-10 10:21:28 +00:00
Moodle Robot 7ca5bce01d Updated the 19 build version to 20101010 2010-10-10 00:48:01 +00:00
Moodle Robot 7863792b6b Updated the 19 build version to 20101009 2010-10-09 00:49:03 +00:00
Moodle Robot 866827bf78 Updated the 19 build version to 20101008 2010-10-08 00:49:13 +00:00
Rossiani Wijaya f030e2a793 MDL-19927: add new plugins for ogg and ogv file and also removing some extra whitespaces within the file. 2010-10-07 08:42:46 +00:00
Sam Hemelryk d5abaa68e0 mod-resource MDL-15686 Applied patch for fix force download JS locking. Kudos Yolanda for the patch. 2010-10-07 05:40:35 +00:00
Moodle Robot b5afaf51bd Updated the 19 build version to 20101007 2010-10-07 00:48:16 +00:00
Petr Skoda 03c5a27bf4 MDL-6122 truncate_userinfo() has to use unicode aware functions 2010-10-06 19:15:31 +00:00
Petr Skoda 78da89dc64 MDL-24523 markdown text cleanup 2010-10-06 12:22:19 +00:00
David Mudrak ee8dd77f75 MDL-24530 Fixed core functions usage during early install phase when the site is not fully set up yet 2010-10-06 08:50:31 +00:00
Moodle Robot ec7e6c6de8 Updated the 19 build version to 20101006 2010-10-06 00:49:03 +00:00
jerome mouneyrac a3ed90bb6c database module MDL-24470 change 'notification' column ('data' table) default and NOT NULL. Update code for restore operation to support old backup with NULL value into 'notification'. 2010-10-05 01:56:10 +00:00
Moodle Robot 00067c196e Updated the 19 build version to 20101005 2010-10-05 00:48:39 +00:00
Moodle Robot a0459f2008 Updated the 19 build version to 20101004 2010-10-04 00:48:53 +00:00
Moodle Robot 006d30e7ac Updated the 19 build version to 20101003 2010-10-03 00:51:45 +00:00
Moodle Robot 0c32b5c061 Updated the 19 build version to 20101002 2010-10-02 00:52:30 +00:00
Andrew Davis ca664bc4e9 data MDL-24473 corrected the data table description 2010-10-01 08:09:42 +00:00
Rossiani Wijaya 3ead833be8 MDL-24258: removing white spaces. 2010-10-01 02:33:18 +00:00
Moodle Robot 44aa24d71b Updated the 19 build version to 20101001 2010-10-01 00:52:04 +00:00
Moodle Robot 4d53caffe9 Updated the 19 build version to 20100930 2010-09-30 00:52:15 +00:00
Moodle Robot 5efa1f7c65 Updated the 19 build version to 20100929 2010-09-29 00:53:51 +00:00
Petr Skoda dd4f38980c MDL-24225 fixed https login redirection - credit goes to Andrew Zoltay 2010-09-28 14:05:37 +00:00
Moodle Robot ce9830f4b7 Updated the 19 build version to 20100928 2010-09-28 00:53:22 +00:00
Moodle Robot f2cde6fe5d Updated the 19 build version to 20100927 2010-09-27 00:53:37 +00:00
Moodle Robot 8237dedfee Updated the 19 build version to 20100926 2010-09-26 00:51:35 +00:00
Moodle Robot fa8f0918f0 Updated the 19 build version to 20100925 2010-09-25 00:53:50 +00:00
Inaki eac3177bc1 auth/cas MDL-18643 CAS synchronization fails with Microsoft Active Directory
The bug was fixed in LDAP auth plugin but was not applied to CAS auth too.

Thanks to Jose Garcia for the bug report and proposed fix.
2010-09-24 12:46:46 +00:00
Inaki a727aabc50 auth/cas MDL-16168 CAS crashes if no LDAP is set up
Fix the other two potential places where CAS would crash
if no LDAP server is configured.

Thanks to Mark Nielsen for prompting me to have a deeper look at it.
2010-09-24 12:27:07 +00:00
Rossiani Wijaya 0e744d43dc MDL-18232: fixed section links error for IE8 2010-09-24 05:19:38 +00:00
Moodle Robot 09cb29fbb6 Updated the 19 build version to 20100924 2010-09-24 00:53:11 +00:00
Andrea Bicciolo f367460381 mdl-24033 - fix Daniele's reopening for 1.9 2010-09-23 11:31:43 +00:00
Rossiani Wijaya c927eb443e MDL-24258: eliminate student capability to delete their post when it exceeded the max editing time. 2010-09-23 09:10:05 +00:00
Moodle Robot b02ed89582 Updated the 19 build version to 20100923 2010-09-23 00:52:34 +00:00
Moodle Robot c3dd17d66c Updated the 19 build version to 20100922 2010-09-22 00:54:49 +00:00
Moodle Robot 06db98f7d7 Updated the 19 build version to 20100921 2010-09-21 00:52:26 +00:00
Moodle Robot a6436e6c90 Updated the 19 build version to 20100920 2010-09-20 00:51:51 +00:00
Moodle Robot f0ec46b98f Updated the 19 build version to 20100919 2010-09-19 00:53:02 +00:00
Moodle Robot 6f420fb2d6 Updated the 19 build version to 20100918 2010-09-18 00:53:31 +00:00
David Mudrak b803fa1628 NOMDL resource: fixed client side validation for file resource location
This was spotted during the work on MDL-21382. Without this fix, the
Location field is not validated against empty values.
2010-09-17 22:30:20 +00:00
David Mudrak 82b7f70bf4 MDL-21382 mform: escape invalid characters when generating javascript validation function name
This patch fixes the support for addGroupRule in cases when the element
name contains invalid characters like square brackets (that is if the
group element is an array element).

Credit goes to Hubert Chathi for the solution and the patch provided.
2010-09-17 22:29:37 +00:00
Eloy Lafuente 50978a0b6a Initial commit of dz_utf8 installer lang strings for 19_STABLE 2010-09-17 16:44:40 +00:00
Eloy Lafuente 344816b106 file installer.php was added on branch MOODLE_19_STABLE on 2010-09-17 16:44:40 +0000 2010-09-17 16:44:02 +00:00
Andrew Davis 3318054d95 gradebook MDL-23928 fixed grade history recording to correctly save the user id of the user making the change pt 2 2010-09-17 03:09:29 +00:00
Andrew Davis ca0cd9a253 gradebook MDL-23928 fixed grade history recording to correctly save the user id of the user making the change 2010-09-17 03:04:07 +00:00
Sam Hemelryk 209a25197d mod-assignment MDL-23848 Fixed regression causing group dropdowns to be ignored when viewing submissions 2010-09-17 01:44:14 +00:00
Moodle Robot 8c4d14e892 Updated the 19 build version to 20100917 2010-09-17 00:52:10 +00:00
Pierre Pichet 2f31d18184 MDL-24241 replacing !empty() by isset() 2010-09-16 23:04:58 +00:00
Andrea Bicciolo 8fa7806c77 Update according to capability change in "data_atmaxentries" function 2010-09-16 10:42:18 +00:00
Sam Hemelryk a3f2fa69b0 mod-assignment MDL-23848 Users can now view previously submit assignments if they no longer have the submit capability 2010-09-16 05:45:40 +00:00
Martin Dougiamas 0fab420435 MDL-22551 Grr fixed typo 2010-09-16 02:13:07 +00:00
Martin Dougiamas 436f4e0757 forum MDL-22551 Don't put In-Reply-To and References headers on the first post for a thread 2010-09-16 01:49:06 +00:00
Moodle Robot 86254f78ea Updated the 19 build version to 20100916 2010-09-16 00:53:19 +00:00
Moodle Robot 0da9b1ffc9 Automatic installer.php lang files by installer_builder (20100916) 2010-09-16 00:43:35 +00:00
Eloy Lafuente 28ff610968 MDL-24207 dml - fix in oracle fallabck for sequences that shouldn't be executed ever 2010-09-15 20:08:58 +00:00
Inaki 9a688af4ee auth/cas MDL-16168 CAS crashes if no LDAP is set up
Don't crash if no LDAP server is configured. This also means that
user details need to be retrieved/updated via other means.
2010-09-15 16:18:52 +00:00
Moodle Robot ae0a52faaa Updated the 19 build version to 20100915 2010-09-15 00:55:35 +00:00
Andrew Davis 76fe2687d5 gradebook MDL-22841 fixed a bug where the user report when viewing multiple students would misreport student's course totals 2010-09-14 08:32:58 +00:00
Moodle Robot e14ee4ce58 Updated the 19 build version to 20100914 2010-09-14 00:53:36 +00:00
Moodle Robot fcaa1b1078 Automatic installer.php lang files by installer_builder (20100914) 2010-09-14 00:43:51 +00:00
Eloy Lafuente 07ee3b4e29 MDL-24189 data module restore - Fix 1.x comments and ratings restore. Were missing user remappings. 2010-09-13 21:16:28 +00:00
Rossiani Wijaya 22ed3e491a MDL-20138 - convert &amp; to ampersand symbol in Grades tooltip (for simple and full view). 2010-09-13 10:09:27 +00:00
Andrew Davis 656f1a97da data MDL-23488 made available from/to work 2010-09-13 08:39:34 +00:00
Andrea Bicciolo 9398995df6 Fix for MDL-24033 2010-09-13 07:43:06 +00:00
Moodle Robot d4bd146ab5 Updated the 19 build version to 20100913 2010-09-13 00:53:41 +00:00
Moodle Robot 90887b82ee Updated the 19 build version to 20100912 2010-09-12 00:52:21 +00:00
Moodle Robot aaf191d026 Updated the 19 build version to 20100911 2010-09-11 00:53:16 +00:00
Moodle Robot b0288f3f3a Updated the 19 build version to 20100910 2010-09-10 00:51:59 +00:00
Moodle Robot 91a59aa1d6 Updated the 19 build version to 20100909 2010-09-09 00:53:33 +00:00
Eloy Lafuente 912ecb4d73 MDL-16106 report - fix old double-column trick causing problems in backup logs. Thanks Luis! 2010-09-08 16:51:29 +00:00
Moodle Robot 50d28776fc Updated the 19 build version to 20100908 2010-09-08 00:54:18 +00:00
Moodle Robot 4becfc43c8 Updated the 19 build version to 20100907 2010-09-07 00:54:23 +00:00
Moodle Robot 16a6a4730a Updated the 19 build version to 20100906 2010-09-06 00:52:04 +00:00
Petr Skoda db3db60f7d MDL-23431 XMLDB editor fails to parse STATEMENTS properly in certain cases 2010-09-05 21:15:12 +00:00
Petr Skoda 7c48c3c060 MDL-23899 PHP Intl extension is recommended in 2.0 now because we use it for asort in textlib 2010-09-05 13:13:12 +00:00
Moodle Robot 0724fdfa75 Updated the 19 build version to 20100905 2010-09-05 00:51:52 +00:00
Moodle Robot 290c3851f1 Updated the 19 build version to 20100904 2010-09-04 00:52:09 +00:00
Inaki 29c3c0a42d MDL-23864 auth/cas Coding error: Undefined index REQUEST_URI in auth/cas/CAS/CAS.php
Patch our local copy (and record the change) while upstream fixes it (see
https://issues.jasig.org/browse/PHPCAS-81 )
2010-09-03 16:51:11 +00:00
Petr Skoda 08c5c9fd52 MDL-24043 addslashes_object() for and added default course category is insert fails, credit goes to Troy Williams <troyw@waikato.ac.nz> 2010-09-03 11:31:30 +00:00
Moodle Robot 649ec3ad84 Updated the 19 build version to 20100903 2010-09-03 00:52:48 +00:00
Moodle Robot 6bc05947bc Updated the 19 build version to 20100902 2010-09-02 00:51:56 +00:00
Moodle Robot a14e1e3933 Updated the 19 build version to 20100901 2010-09-01 00:54:24 +00:00
Moodle Robot 8e2173b1d2 Automatic installer.php lang files by installer_builder (20100901) 2010-09-01 00:43:42 +00:00
Moodle Robot 561f8bd698 Updated the 19 build version to 20100831 2010-08-31 00:53:40 +00:00
Rossiani Wijaya 3385b1702e MDL-10906 - remove the functionality to add a local file. 2010-08-30 02:17:54 +00:00
Moodle Robot 372f31d6f3 Updated the 19 build version to 20100830 2010-08-30 00:48:58 +00:00
Petr Skoda 49fbc2b157 MDL-23974 dom and xml extensions are now required - backported from HAED 2010-08-29 19:37:45 +00:00
Petr Skoda fb70228496 MDL-15057 PCRE is a required extension, looks like we do not need to add detailed feedback strings for required extensions - nice! 2010-08-29 19:28:28 +00:00
Moodle Robot 51faf98dee Updated the 19 build version to 20100829 2010-08-29 00:48:48 +00:00
Moodle Robot 5a504a9e11 Updated the 19 build version to 20100828 2010-08-28 00:48:23 +00:00
Moodle Robot 7f428b50b7 Updated the 19 build version to 20100827 2010-08-27 00:49:48 +00:00
Moodle Robot 065d0c8364 Updated the 19 build version to 20100826 2010-08-26 00:48:29 +00:00
Andrew Davis eb8f8daecb admin MDL-21011 fix a bug with the course auto-sort 2010-08-25 00:59:40 +00:00
Moodle Robot fd87f11c24 Updated the 19 build version to 20100825 2010-08-25 00:48:15 +00:00
Moodle Robot 097b999c6c Updated the 19 build version to 20100824 2010-08-24 00:49:33 +00:00
Moodle Robot ee809c7098 Updated the 19 build version to 20100823 2010-08-23 00:48:35 +00:00
Moodle Robot 180aff354a Updated the 19 build version to 20100822 2010-08-22 00:48:06 +00:00
Moodle Robot a7d4c04104 Updated the 19 build version to 20100821 2010-08-21 00:48:06 +00:00
Moodle Robot 28aadeecdc Updated the 19 build version to 20100820 2010-08-20 00:48:17 +00:00
Sam Marshall 2780a3f5fc blocks MDL-23871 blocks_have_content ignores global block visibility option 2010-08-19 14:06:03 +00:00
Moodle Robot 8f17261d25 Updated the 19 build version to 20100819 2010-08-19 00:48:33 +00:00
Moodle Robot 443528d31b Updated the 19 build version to 20100818 2010-08-18 00:48:57 +00:00
Moodle Robot 920fe9fcaf Updated the 19 build version to 20100817 2010-08-17 00:48:56 +00:00
Moodle Robot bb52365f1a Updated the 19 build version to 20100816 2010-08-16 00:47:47 +00:00
Moodle Robot 82db8939ee Updated the 19 build version to 20100815 2010-08-15 00:48:51 +00:00
Moodle Robot df33ac3d4c Automatic installer.php lang files by installer_builder (20100815) 2010-08-15 00:39:40 +00:00
Moodle Robot 49c067f1a0 Updated the 19 build version to 20100814 2010-08-14 00:48:01 +00:00
Moodle Robot 4d4084c560 Automatic installer.php lang files by installer_builder (20100814) 2010-08-14 00:38:56 +00:00
Moodle Robot 58933a99c1 Updated the 19 build version to 20100813 2010-08-13 00:47:55 +00:00
Ashley Holman 7a8868f00a MDL-23755 remove erroneous sleep() call when messages are sent
Results in big speed boost when sending messages to multiple recipients.
2010-08-12 07:07:48 +00:00
Andrew Davis 4afe9581ab gradebook MDL-22931 display more meaningful strings when configuring grade category 2010-08-12 01:32:56 +00:00
Moodle Robot 9f4b6432da Updated the 19 build version to 20100812 2010-08-12 00:48:02 +00:00
Tim Hunt a1a0d9a49d question import/export MDL-23198 extra_question_fields not handling special characters properly.
Thanks to Oleg Sychev for the fix.
2010-08-11 19:05:50 +00:00
Tim Hunt 874a2eaf55 quiz reports MDL-23161 notify(get_string('nostudentsyet')) breaking downloads. 2010-08-11 18:34:44 +00:00
Andrew Davis 9cb5d53238 gradebook MDL-19070 Added a guard to protect against a potential error 2010-08-11 07:27:35 +00:00
Moodle Robot 6c71cb9758 Updated the 19 build version to 20100811 2010-08-11 00:51:31 +00:00
Moodle Robot 08264ea23b Automatic installer.php lang files by installer_builder (20100811) 2010-08-11 00:38:25 +00:00
Petr Skoda ddff72647a MDL-23667 reverting my previous wrong patch and using original patch by Matt Clarkson, sorry for the trouble 2010-08-10 07:22:59 +00:00
Moodle Robot f8d17f7225 Updated the 19 build version to 20100810 2010-08-10 00:47:54 +00:00
Petr Skoda 5f724f2f3b MDL-23726 fixed phpdocs - credit goes to Henning Bostelmann 2010-08-09 16:19:09 +00:00
Petr Skoda 11b153215d MDL-23667 fixed unenscaped query 2010-08-09 08:08:17 +00:00
Moodle Robot 846a5fe4f1 Updated the 19 build version to 20100809 2010-08-09 00:47:08 +00:00
Moodle Robot 16023079de Updated the 19 build version to 20100808 2010-08-08 00:47:41 +00:00
Moodle Robot 7be338eca0 Updated the 19 build version to 20100807 2010-08-07 00:47:45 +00:00
Inaki b652d769bf auth/ldap MDL-23652 Error in auth_ldap_sync_users.php
We need to specify a valid user id in the call to role_assign(). And we only
have to make the call if the user has been added successfully, not
otherwise.

Also make sure we lowercase the memberuser and group distinguished names
before comparing them. Depending on the LDAP server we can get mixed case
values for the DNs, and the user may have specified the creators group/ou
name in a different case.

By the way, this has been broken for ages (since the auth cleanup in 1.8, in
2007!). It's a bit strange nobody noticed before :-O

Credit goes to Joe Chryst.
2010-08-07 00:38:15 +00:00
Inaki 7647cb357e auth/cas MDL-23645 CAS single sign-on module needs updating due to security issues
Upgraded phpCAS to 1.1.2 and fixed https://issues.jasig.org/browse/PHPCAS-73 ,
as reported by Fred Woolard in MDL-23126 (the fix will be in upstream in the
next release)

Credit goes to Johan Reinalda.
2010-08-06 21:21:25 +00:00
Tim Hunt 96666fb36a quiz delays MDL-20956 don't let overdue attempts + delays block students.
Suppose a quiz has a 60 min time limit, and an enforced delay of 60 mins between attempts.

Suppose a sudent starts an attempt, and then closes their browser, and then comes back 2 hours later. When they try to restart the quiz, it is submitted immediately by the timer.

Now they are blocked out for the next hour.

After this change, they would no longer be blocked, becuse if their attemtp had been submitted at the end of the first hour, then they would already have waited an hour.

That is, we compare the current time with both $lastattempt->timefinish + $delay and $lastattempt->timestart + $timelimit + $delay.
2010-08-06 11:41:48 +00:00
Moodle Robot dd2e755837 Updated the 19 build version to 20100806 2010-08-06 00:46:53 +00:00
Tim Hunt 8e47727dab question moving MDL-21195 add missing error message strings. 2010-08-05 17:33:09 +00:00
Tim Hunt 9e0825e908 quiz password: MDL-20779 the page that asks for the password must call print_header and print_footer, even in secure mode. 2010-08-05 15:51:40 +00:00
Tim Hunt 155ac544d5 quiz reports MDL-21262 do not work for quizzes on the front page.
This was already fixed in 2.0. A bit of a hack to make it work in 1.9 too.
Hopefully there won't be any side-effects.
2010-08-05 15:37:05 +00:00
Tim Hunt d35f34c282 qformat xml MDL-22743 questiontextformat not imported correctly since the fix for MDL-9700 went in. 2010-08-05 13:11:28 +00:00
Tim Hunt 348aae8680 quiz reports MDL-21111 Quiz duration is reported in years if Time Finish is before Time Start
Suppose you have two load-balanced servers with badly-synchronised clocks, and
a student does a really quick quiz attempt.

Then it is possible that quiz_attemtp.timestart is greater than quiz_attemtp.timefinish.
And these columns are unsigned (on MySQL) so timefinish - timestart is compulted as
a number close to 2^64, which is about 42 times the age of the universe.

Do the subtraction in PHP instead. (But we still need to compute a duration columnin PHP
because sometimes we sort on it.)
2010-08-05 12:43:15 +00:00
Tim Hunt f7046b2599 multianswer question import MDL-11326 make a better question name.
Also fix coding style in this file.
2010-08-05 12:13:29 +00:00
Moodle Robot b36082baa4 Updated the 19 build version to 20100805 2010-08-05 00:47:09 +00:00
Tim Hunt f47906fbf5 weblib MDL-22664 html_to_text should not strip images, it should replace them by their alt text.
Also, an new optional argument to html_to_text to control word-wrapping.
2010-08-04 17:39:56 +00:00
Moodle Robot 791325ae6c Updated the 19 build version to 20100804 2010-08-04 00:47:40 +00:00
Tim Hunt 981a7785be quiz overview report MDL-23377 can't delete attempts when there are no students.
Actually, reviewing this, I noticed some other security checks were missing, for
example we should ensure the users can only delete attempts belonging to this quiz!
2010-08-03 13:15:28 +00:00
Tim Hunt bed436f084 quiz overview MDL-23377 whitespace cleanup, before doing the real fix. 2010-08-03 12:54:24 +00:00
Tim Hunt e9686d7015 qtype shortanswer MDL-20380 small refactoring to help subclasses. Thanks to Oleg Sychev. 2010-08-03 10:39:54 +00:00
Moodle Robot 8427722a9e Updated the 19 build version to 20100803 2010-08-03 00:47:14 +00:00
Moodle Robot 961f188766 Automatic installer.php lang files by installer_builder (20100803) 2010-08-03 00:38:40 +00:00
Tim Hunt 2477185155 grader report NOBUG strange 'null' tooltip sometimes appeard in IE. 2010-08-02 16:33:29 +00:00
Moodle Robot cebf5c6673 Updated the 19 build version to 20100802 2010-08-02 00:47:30 +00:00
Petr Skoda e19e3b6e9e MDL-22508 fixed deprecated wiki text formating pointing to nonexistent function 2010-08-01 10:03:38 +00:00
Moodle Robot ebe4e916f1 Updated the 19 build version to 20100801 2010-08-01 00:50:33 +00:00
Moodle Robot 34ab2f0006 Updated the 19 build version to 20100731 2010-07-31 00:51:13 +00:00
Andrew Davis 9ab33a1328 gradebook MDL-23577 made grade_update_outcomes() return a success/failure flag 2010-07-30 06:46:32 +00:00
Moodle Robot 1b8ee2a01b Updated the 19 build version to 20100730 2010-07-30 00:50:10 +00:00
Moodle Robot 2f2607a256 Updated the 19 build version to 20100729 2010-07-29 00:48:07 +00:00
Tim Hunt e8a63fdaba MDL-23560 questions import/export. PHP5 protected had been comitted to the 1.9 branch. Sorry. 2010-07-28 14:18:37 +00:00
David Mudrak 51b2bf5ab1 MDL-21845 multilang filter applied to custom field labels in user profile 2010-07-28 09:41:54 +00:00
Moodle Robot 0af9124a00 Updated the 19 build version to 20100728 2010-07-28 00:47:07 +00:00
Moodle Robot 4bfc5e542e Updated the 19 build version to 20100727 2010-07-27 00:47:40 +00:00
Moodle Robot 96c20af86a Automatic installer.php lang files by installer_builder (20100727) 2010-07-27 00:38:41 +00:00
David Mudrak e5bc3566e0 NOMDL assignment: fixed recent activity report for separate groups mode
There were two typos here. The first one ($cm->userid) led to incorrect
groups list. But the second one ($interset) caused that the intersection
of the group lists was never used. I just spotted this during copy &
pasting into workshop 2.0
Also fixed the heading size to what other modules use.
2010-07-26 21:27:24 +00:00
Moodle Robot d4922edcaf Updated the 19 build version to 20100726 2010-07-26 00:47:22 +00:00
Petr Skoda a2f5e222b7 MDL-22871 fixed detection of local guest account, it must have the local mnet id 2010-07-25 17:52:53 +00:00
Moodle Robot 9bea72dcb9 Updated the 19 build version to 20100725 2010-07-25 00:47:10 +00:00
Moodle Robot 960e55c3df Updated the 19 build version to 20100724 2010-07-24 00:47:40 +00:00
Sam Hemelryk d9b5ed15b6 quiz-report-grading MDL-20724 Fixed display of table when no results are available due to firstname/surname filtering 2010-07-23 06:07:33 +00:00
Moodle Robot ce0e1f248d Updated the 19 build version to 20100723 2010-07-23 00:47:33 +00:00
Dan Marsden 039d39243e SCORM MDL-21333 remove link to allow manual opening of window as JS communication can fail and no grades are reported from the object. Remove old strings no longer required. merged from HEAD 2010-07-22 02:20:11 +00:00
Moodle Robot f467b170b9 Updated the 19 build version to 20100722 2010-07-22 00:47:19 +00:00
Moodle Robot f4f421fa84 Updated the 19 build version to 20100721 2010-07-21 00:50:12 +00:00
Moodle Robot 7874175e2c Automatic installer.php lang files by installer_builder (20100721) 2010-07-21 00:38:49 +00:00
Moodle Robot 4678c59ea6 Updated the 19 build version to 20100720 2010-07-20 00:48:19 +00:00
Moodle Robot 454787d14e Updated the 19 build version to 20100719 2010-07-19 00:46:52 +00:00
Moodle Robot ba77ab80e0 Updated the 19 build version to 20100718 2010-07-18 00:46:53 +00:00
Moodle Robot f665b0bb4a Automatic installer.php lang files by installer_builder (20100718) 2010-07-18 00:37:58 +00:00
Dan Marsden c35d76a066 SCORM MDL-21568 fix regression merged from head 2010-07-17 06:47:04 +00:00
Moodle Robot e13b7dc4be Updated the 19 build version to 20100717 2010-07-17 00:47:16 +00:00
Moodle Robot 9978722410 Updated the 19 build version to 20100716 2010-07-16 00:47:22 +00:00
Petr Skoda 29a61a2c15 MDL-23222 marking spl as required php ext 2010-07-15 18:36:42 +00:00
Moodle Robot 04ea8275ff Updated the 19 build version to 20100715 2010-07-15 00:47:35 +00:00
Moodle Robot f50e20a23b Updated the 19 build version to 20100714 2010-07-14 00:47:29 +00:00
Moodle Robot ef20b03596 Updated the 19 build version to 20100713 2010-07-13 00:48:43 +00:00
Moodle Robot a24b47ce8f Updated the 19 build version to 20100712 2010-07-12 00:46:35 +00:00
Moodle Robot d5408b8821 Updated the 19 build version to 20100711 2010-07-11 00:46:48 +00:00
Petr Skoda f6372807e0 MDL-23126 fixed incorrect method call, credit goes to Fred Woolard 2010-07-10 12:21:46 +00:00
Dan Marsden ab911906a2 SCORM MDL-23119 allowing extra characters in CMIIdentifier - this is outside the ADL Spec but it seems to be ok to extend this and allow more characters than is specified by ADL 2010-07-10 08:17:44 +00:00
Moodle Robot 6655d8038b Updated the 19 build version to 20100710 2010-07-10 00:46:20 +00:00
Moodle Robot d979e7a72c Automatic installer.php lang files by installer_builder (20100710) 2010-07-10 00:37:35 +00:00
Moodle Robot 3ea0250389 Updated the 19 build version to 20100709 2010-07-09 00:46:25 +00:00
Moodle Robot b92015b342 Automatic installer.php lang files by installer_builder (20100709) 2010-07-09 00:37:34 +00:00
Dan Marsden a19dd8f9d2 SCORM MDL-19442 - remove tab, replace with spaces. 2010-07-08 22:40:37 +00:00
Piers Harding 35332cda8e MDL-19442 - fix type cast of values for gradebook calculations 2010-07-08 18:15:10 +00:00
Dan Marsden d29c037725 SCORM MDL-21568 - use correct storing of grading method - remove old references to bad calls. thanks to Bruce Cota for report/patch - merged from HEAD 2010-07-08 11:49:31 +00:00
Dan Marsden 119fff55dd SCORM MDL-22423 don't include empty raw scores from assets when calculating grade merged from HEAD 2010-07-08 09:48:12 +00:00
Martin Dougiamas b8ebff5722 MDL-22964 XMLRPC no longer required. Merged from HEAD 2010-07-08 09:07:17 +00:00
Moodle Robot 08c5c11998 Updated the 19 build version to 20100708 2010-07-08 00:46:38 +00:00
Moodle Robot 245f03b768 Automatic installer.php lang files by installer_builder (20100708) 2010-07-08 00:37:50 +00:00
Moodle Robot 1bd8b2306e Updated the 19 build version to 20100707 2010-07-07 00:46:56 +00:00
Gordon Bateson 0e3973f02a mod/hotpot MDL-17702: fix validation error on nested class="logininfo" elements 2010-07-06 08:06:32 +00:00
Martin Dougiamas 6264006089 MDL-15976 Merging Taiwan change from HEAD 2010-07-06 06:58:27 +00:00
Dan Marsden ad654ec04e NOBUG SCORM fix location of icon.gif 2010-07-06 03:39:41 +00:00
Moodle Robot 2d81fc0898 Updated the 19 build version to 20100706 2010-07-06 00:46:59 +00:00
Tim Hunt d256e1c021 quiz NOBUG Turn off autocomplete on the quiz form in a way that actually works.
See http://moodle.org/mod/forum/discuss.php?d=153419 for dicussion.
2010-07-05 21:55:25 +00:00
Petr Skoda 94c1fe8096 MDL-23097 latest htmlpurifier 4.1.1 2010-07-05 21:10:51 +00:00
Moodle Robot 60e9031391 Updated the 19 build version to 20100705 2010-07-05 00:46:56 +00:00
Moodle Robot 3098a1570f Updated the 19 build version to 20100704 2010-07-04 00:46:48 +00:00
Moodle Robot cca7a6dd68 Updated the 19 build version to 20100703 2010-07-03 00:46:13 +00:00
Tim Hunt 6ab47dd350 question import/export: MDL-22100 ' / etc. in category names confuse the import/export. 2010-07-02 13:36:50 +00:00
Tim Hunt 0b76235280 file testimportexport.php was added on branch MOODLE_19_STABLE on 2010-07-02 13:36:50 +0000 2010-07-02 13:36:49 +00:00
Moodle Robot 55ffc77cc6 Updated the 19 build version to 20100702 2010-07-02 00:45:21 +00:00
Moodle Robot c1bbd6a05c Automatic installer.php lang files by installer_builder (20100702) 2010-07-02 00:37:01 +00:00
Moodle Robot 7bde173381 Updated the 19 build version to 20100701 2010-07-01 00:46:16 +00:00
Dan Marsden c8642dc921 MNET MDL-20660 fix regression caused by previous commit - move lang strings to tabs.php 2010-06-30 01:04:51 +00:00
Moodle Robot c8cb29c92a Updated the 19 build version to 20100630 2010-06-30 00:46:26 +00:00
Moodle Robot 41d9ee90d5 Updated the 19 build version to 20100629 2010-06-29 00:46:17 +00:00
Moodle Robot 2244cc3a54 Automatic installer.php lang files by installer_builder (20100629) 2010-06-29 00:37:01 +00:00
David Mudrak 664917cca0 MNet fixed SQL bug in remote enrolments synchronisation 2010-06-28 22:12:37 +00:00
David Mudrak 57793dba2a MNet enrol/mnet/enrol.php/available_courses returns wrong array key for default role name in some cases 2010-06-28 22:12:17 +00:00
Martin Dougiamas 820603ef70 MDL-22964 XML-RPC is now required in 2.0. We need it for hub communication, and it's useful for web services and Moodle networking 2010-06-28 07:50:28 +00:00
Moodle Robot a0d7ca9b3f Updated the 19 build version to 20100628 2010-06-28 00:45:28 +00:00
Dan Marsden 7845c53359 SCORM MDL-21306 invalid management of Mastery Score - thanks to Matteo Scaramuccia for the report/patch merged from HEAD 2010-06-27 23:49:58 +00:00
Dan Marsden efefda0c5f SCORM MDL-12834 add link for returning to course page if pop-up window used merged from HEAD 2010-06-27 22:14:30 +00:00
Piers Harding b6ec0e7940 MDL-21761 - fix the statefulness of saving dataelements in scorm api 1.2 2010-06-27 22:13:47 +00:00
Moodle Robot 939c648820 Updated the 19 build version to 20100627 2010-06-27 00:45:39 +00:00
Moodle Robot f7d55f0aaf Updated the 19 build version to 20100626 2010-06-26 00:46:46 +00:00
Dan Marsden a0ad0d2515 SCORM MDL-21492 don't skip view if user is able to view reports - thanks to valerian for report/patch merged from HEAD 2010-06-25 10:16:25 +00:00
Dan Marsden 1a95986243 SCORM MDL-22741 add missing restore code - thanks to Michael Avelar for patch merged from HEAD 2010-06-25 08:17:49 +00:00
Moodle Robot ce3a6c788f Updated the 19 build version to 20100625 2010-06-25 00:45:58 +00:00
Dan Marsden ae53b6879f SCORM MDL-21551 fix calculation for when to run auto update everyday - thanks to Phillip Franks for the report/fix merged from HEAD 2010-06-24 08:06:57 +00:00
Dan Marsden 48cbcd8df5 SCORM MDL-21551 bug with 1.9 branch and update frequency - using wrong values - thanks to Phillip Franks for report and fix 2010-06-24 07:59:49 +00:00
Dan Marsden 98bad24a00 SCORM MDL-17891 fix loss of session data - thanks to Ron and Matteo for report/fixes missed fix for LMSCommit merged from HEAD 2010-06-24 02:26:12 +00:00
Dan Marsden 63a5affbda SCORM MDL-17891 fix loss of session data - thanks to Ron and Matteo for report/fixes merged from HEAD 2010-06-24 02:21:15 +00:00
Dan Marsden f30f961fa1 SCORM MDL-21333 modify way link appears if popup does not load to prevent SCORM from loading and not being able to communicate with API - thanks to Matteo Scaramuccia for report/fix merged from HEAD 2010-06-24 02:02:35 +00:00
Dan Marsden 6ab52c7ee4 SCORM MDL-22168 fix accidental revert - set start time of SCO correctly merged from HEAD 2010-06-24 00:49:52 +00:00
Moodle Robot 128e8c54bd Updated the 19 build version to 20100624 2010-06-24 00:45:44 +00:00
Dan Marsden 1f992ca3fd SCORM MDL-22340 use full path for includes. thanks to Valerian for report/patch merged from HEAD 2010-06-23 23:13:18 +00:00
Dan Marsden da98ba3d73 SCORM Gradebook MDL-22332 add missing grade file to redirect to report page - thanks to Valerian for report/patch merged from HEAD 2010-06-23 22:53:21 +00:00
Tim Hunt 9b312b9402 quiz global settings: MDL-22808 Cannot turn adaptive mode on globally.
Because of a missing constant definition.
2010-06-23 20:14:27 +00:00
Tim Hunt b312f97929 quiz reports MDL-22847 Cannot delete quiz attempts when a group is selected. 2010-06-23 20:09:07 +00:00
Tim Hunt 98a38a3994 quiz reports: Fix debug warning. 2010-06-23 19:59:51 +00:00
Moodle Robot 0402d10e22 Updated the 19 build version to 20100623 2010-06-23 00:46:40 +00:00
Moodle Robot e0ce29da98 Updated the 19 build version to 20100622 2010-06-22 00:46:01 +00:00
Tim Hunt 7038c4c371 NOBUG two more broken $Id$s 2010-06-21 21:14:48 +00:00
Tim Hunt adca4b84cc NOBUG Fix broken $Id$ tag.
Of course $Id$ tags are fundamentally broken, but ...
2010-06-21 21:08:56 +00:00
Moodle Robot 75c9ffa2b4 Updated the 19 build version to 20100621 2010-06-21 00:45:49 +00:00
Helen Foster f93086848c MDL-22842 typo fix thanks to Stuart Mealor 2010-06-20 10:10:09 +00:00
Moodle Robot b384f6ac72 Updated the 19 build version to 20100620 2010-06-20 00:45:17 +00:00
Moodle Robot 7a4b44c8f2 Updated the 19 build version to 20100619 2010-06-19 00:45:58 +00:00
Moodle Robot 7e0882cb35 Updated the 19 build version to 20100618 2010-06-18 00:45:40 +00:00
David Mudrak c36671d72c NOBUG: improved check of user context existence
When importing users from backup, their CONTEXT_USER level context is
not created yet. Therefore, make_context_subobj() creates $user->context
object here with empty values. So we have to call full
get_context_instance() here to create the context.
2010-06-17 21:02:36 +00:00
David Mudrak c17e376337 NOBUG proper checking the value of checkbox elements
Without this patch, PHP generates notices as the variables representing
unchecked checkboxes are not defined at all in $data object.
2010-06-17 20:15:26 +00:00
Moodle Robot d57599c1e1 Updated the 19 build version to 20100617 2010-06-17 00:46:14 +00:00
Moodle Robot 73c5bebd14 Updated the 19 build version to 20100616 2010-06-16 00:45:53 +00:00
Moodle Robot 27f466ddae Updated the 19 build version to 20100615 2010-06-15 00:45:52 +00:00
Moodle Robot a7364f8f2d Updated the 19 build version to 20100614 2010-06-14 00:45:36 +00:00
Moodle Robot 0379df566f Updated the 19 build version to 20100613 2010-06-13 00:45:48 +00:00
Eloy Lafuente 8edf9bc7fe MDL-22740 import - fixed regression introduced by MDL-19880 2010-06-12 10:10:49 +00:00
Moodle Robot 95f44f8de7 Updated the 19 build version to 20100612 2010-06-12 00:46:39 +00:00
Moodle Robot db302c8414 Updated the 19 build version to 20100611 2010-06-11 00:46:24 +00:00
Gordon Bateson d666c843b1 mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank 2010-06-10 23:37:23 +00:00
Moodle Robot df77129ed9 Bumping post 1.9.9 2010-06-10 15:02:10 +00:00
Tim Hunt 69312b4f9c question restore: MDL-22720 silly typo in question restore.
Thanks to Vadim Dvorovenko for finding and fixing this.
2010-06-10 14:58:37 +00:00
Moodle Robot ee7ee73aa4 Updated the 19 build version to 20100610 2010-06-10 00:45:30 +00:00
Moodle Robot 0e4acd26ca Updated the 19 build version to 20100609 2010-06-09 00:45:47 +00:00
Martin Dougiamas 040d304d0f MDL-19880 Fixed a potential memory overflow problem with lots of courses 2010-06-08 06:38:18 +00:00
Martin Dougiamas 6ab0ce20cc Bumping to 1.9.9 2010-06-08 05:24:12 +00:00
Moodle Robot 57409479d8 Updated the 19 build version to 20100608 2010-06-08 00:46:59 +00:00
Moodle Robot 26ca459a4c Updated the 19 build version to 20100607 2010-06-07 00:46:39 +00:00
Moodle Robot abd6504cd2 Updated the 19 build version to 20100606 2010-06-06 00:45:28 +00:00
Moodle Robot 1c137ab5ba Updated the 19 build version to 20100605 2010-06-05 00:45:26 +00:00
Petr Skoda c0693c51bc MDL-22680 fixed new password setting 2010-06-04 18:12:18 +00:00
Moodle Robot e0dd38c20c Updated the 19 build version to 20100604 2010-06-04 00:46:05 +00:00
David Mudrak 71ae9c7f43 MDL-22448 Fixed missing sql_cast_char2int(), credit goes to Tim Lock 2010-06-03 08:55:45 +00:00
Petr Skoda a91e69f384 MDL-22042 fixed kses cleaning of html code 2010-06-03 08:28:14 +00:00
Petr Skoda d7f657b308 MDL-22040 converting username to html entities before outputting 2010-06-03 08:18:13 +00:00
Sam Hemelryk 37278b6d23 htmlpurify MDL-22654 Merged fixes into 1.9 2010-06-03 07:24:30 +00:00
Moodle Robot 2bbe8d4fdf Updated the 19 build version to 20100603 2010-06-03 00:45:21 +00:00
Moodle Robot f7f3aa2f1a Automatic installer.php lang files by installer_builder (20100603) 2010-06-03 00:37:05 +00:00
Moodle Robot 24c6373de9 Updated the 19 build version to 20100602 2010-06-02 00:44:53 +00:00
Moodle Robot dbd52f1631 Automatic installer.php lang files by installer_builder (20100602) 2010-06-02 00:36:46 +00:00
Martin Dougiamas fa2edb63cf Making sure header.php can't be called by itself 2010-06-01 03:32:37 +00:00
Martin Dougiamas e595058242 MDL-22631 Added some clean_param calls to clean the $_GET data and also added lots of warnings and info there. 2010-06-01 02:51:23 +00:00
Moodle Robot 1bdb4edbca Updated the 19 build version to 20100601 2010-06-01 00:44:48 +00:00
Moodle Robot 8f6ab2905f Updated the 19 build version to 20100531 2010-05-31 00:45:29 +00:00
Eloy Lafuente 430cb2d510 MDL-22585 languages import - fixed regression caused by the inclusion of 'parentlanguage' in 1.9 strings 2010-05-30 10:15:55 +00:00
Moodle Robot f1608ce3c6 Updated the 19 build version to 20100530 2010-05-30 00:44:58 +00:00
Moodle Robot 39f98aac09 Automatic installer.php lang files by installer_builder (20100530) 2010-05-30 00:36:20 +00:00
Moodle Robot a6a6ea6355 Updated the 19 build version to 20100529 2010-05-29 00:44:58 +00:00
Eloy Lafuente 8156571788 MDL-22588 restore scales - fix scales not being assigned to target course 2010-05-28 09:18:03 +00:00
Moodle Robot 2688a99af4 Updated the 19 build version to 20100528 2010-05-28 00:45:05 +00:00
Moodle Robot d85cd635a6 Updated the 19 build version to 20100527 2010-05-27 00:44:48 +00:00
Petr Skoda a7ff0a2fc5 MDL-22181 brute force hack to work around missing idnumber in module fast info 2010-05-26 08:39:37 +00:00
Moodle Robot 7bfaddbe42 Updated the 19 build version to 20100526 2010-05-26 00:45:07 +00:00
Moodle Robot f3b02a16f7 Automatic installer.php lang files by installer_builder (20100526) 2010-05-26 00:36:44 +00:00
David Mudrak 83270e8780 MDL-22575 Preparing langconfig.php in the English pack
As all strings must be defined in the English language pack, we must add
thislanguageint into English langconfig.php, too. Also added empty
parentlang, even it is not used, for the same reason.

Backported from HEAD.
2010-05-25 08:43:36 +00:00
Moodle Robot 3496332bca Updated the 19 build version to 20100525 2010-05-25 00:43:47 +00:00
Moodle Robot 05592aa650 Updated the 19 build version to 20100524 2010-05-24 00:44:32 +00:00
Moodle Robot 1a9693eaf1 Updated the 19 build version to 20100523 2010-05-23 00:44:45 +00:00
Moodle Robot 007f5f4fed Updated the 19 build version to 20100522 2010-05-22 00:45:01 +00:00
Petr Skoda db359e6369 MDL-22537 new html purifier backported to stable, unfortunately PHP5 only 2010-05-21 11:39:22 +00:00
Petr Skoda f8502768a2 file data.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:52 +0000 2010-05-21 10:40:57 +00:00
Petr Skoda 3e56add650 file SafeObject.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:47 +0000 2010-05-21 10:40:57 +00:00
Petr Skoda 143238487c file RemoveSpansWithoutAttributes.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:47 +0000 2010-05-21 10:40:57 +00:00
Petr Skoda 470e633924 file schema.ser was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:49 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda c1309ecc35 file URI.AllowedSchemes.txt was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:30 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda 75f2fd8aa4 file SafeParam.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:40 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda c5e7f53d78 file SafeObject.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:46 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda a21e336aa9 file SafeEmbed.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:45 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda 62dd96980a file Output.FlashCompat.txt was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:28 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda 40856f1442 file HTMLPurifier.safe-includes.php was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:49 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda f0597acf73 file HTML.SafeObject.txt was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:32 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda 1a4f34e080 file HTML.SafeEmbed.txt was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:29 +0000 2010-05-21 10:40:56 +00:00
Petr Skoda 15d6569e4c file AutoFormat.RemoveSpansWithoutAttributes.txt was added on branch MOODLE_19_STABLE on 2010-05-21 11:39:25 +0000 2010-05-21 10:40:56 +00:00
Moodle Robot 3182434c46 Updated the 19 build version to 20100521 2010-05-21 00:43:45 +00:00
Moodle Robot cfd3f06544 Automatic installer.php lang files by installer_builder (20100521) 2010-05-21 00:35:41 +00:00
Petr Skoda e720dbd79a MDL-22531 fix for broken sql in get_users_by_capability() in cases where role_assignmetns is not in the resulting query such as when only default role is interesting for us - thanks Ye Chen for the report and solution 2010-05-20 18:35:05 +00:00
Martin Dougiamas a4a0264df6 MDL-19628 Store 0.0.0.0 in user table and log tables if IP address can't be found. I didn't change getremoteaddr in 1.9. 2010-05-20 02:42:18 +00:00
Moodle Robot e5264d19e9 Updated the 19 build version to 20100520 2010-05-20 00:44:48 +00:00
Sam Marshall 4d16b11a38 Lib MDL-22518 Group selector dropdowns destroy accessibility 2010-05-19 16:51:52 +00:00
Moodle Robot fb8d8cac39 Updated the 19 build version to 20100519 2010-05-19 00:44:53 +00:00
Moodle Robot 448d4b5057 Updated the 19 build version to 20100518 2010-05-18 00:44:28 +00:00
Moodle Robot 04b6aaaa5f Updated the 19 build version to 20100517 2010-05-17 00:43:28 +00:00
Moodle Robot 41e7b080a3 Updated the 19 build version to 20100516 2010-05-16 00:43:10 +00:00
Moodle Robot 8f8c02f6e7 Updated the 19 build version to 20100515 2010-05-15 00:44:22 +00:00
Gordon Bateson d1174b125c MDL-17702 when embedding documents in ie, use iframe for ie and object for others, because forms cannot escape from objcet in ie 2010-05-14 02:10:41 +00:00
Moodle Robot 0dd4fc0886 Updated the 19 build version to 20100514 2010-05-14 00:43:45 +00:00
Martin Dougiamas 03b8bc9bf3 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 01:40:36 +00:00
Moodle Robot ae46b1f880 Updated the 19 build version to 20100513 2010-05-13 00:43:16 +00:00
Tim Hunt b778784346 moodlelib MDL-19418 fix bugs introduced when converting clean_param to preg.
Aumusingly, one of the bugs was detected by a unit test that was in Moodle 1.9, but
which for some reason was not in HEAD. I have tidied up the clean_param unit tests
and added a few more.
2010-05-12 12:05:37 +00:00
Moodle Robot 4434e5f6f8 Updated the 19 build version to 20100512 2010-05-12 00:43:33 +00:00
Moodle Robot f08641cd3f Updated the 19 build version to 20100511 2010-05-11 00:43:14 +00:00
Tim Hunt 2ccb0b9fd2 quiz recent activity: MDL-22410 permission check was wrong. 2010-05-10 22:36:37 +00:00
Moodle Robot 0de2d1fbe3 Updated the 19 build version to 20100510 2010-05-10 00:43:13 +00:00
Moodle Robot de902ce34e Updated the 19 build version to 20100509 2010-05-09 00:43:23 +00:00
Moodle Robot d0ca0af595 Updated the 19 build version to 20100508 2010-05-08 00:43:35 +00:00
Pierre Pichet 0fc550a5cc MDL-22386 merge from HEAD setting correctly the number of dataitem when duplicating a calculated, calculatedsimple, calculatedmulti question 2010-05-07 22:08:27 +00:00
Moodle Robot 13e949cdb0 Updated the 19 build version to 20100507 2010-05-07 00:44:14 +00:00
Eloy Lafuente 6f1cadb7c9 MDL-18576 timezones - updated to 2010i from 2009c (2147 rules) ; backported to 19_STABLE 2010-05-06 15:28:55 +00:00
Moodle Robot 92ddde6799 Updated the 19 build version to 20100506 2010-05-06 00:44:58 +00:00
Dan Marsden ecf6f35cbf SCORM MDL-22340 use full path for includes. 2010-05-06 00:13:54 +00:00
Moodle Robot d5db311178 Updated the 19 build version to 20100505 2010-05-05 00:44:48 +00:00
Dan Marsden a88499aa40 SCORM backup MDL-22301 use consistant naming for vars. 2010-05-04 01:48:57 +00:00
Moodle Robot afd0814aeb Updated the 19 build version to 20100504 2010-05-04 00:44:28 +00:00
Moodle Robot 6a48b4e765 Automatic installer.php lang files by installer_builder (20100504) 2010-05-04 00:36:05 +00:00
Moodle Robot bfa942338f Updated the 19 build version to 20100503 2010-05-03 00:44:06 +00:00
Moodle Robot 490b93f210 Updated the 19 build version to 20100502 2010-05-02 00:44:03 +00:00
Tim Hunt 28e5664ac2 quiz: MDL-20586 Oops, remove reference to global $DB. 2010-05-01 07:08:24 +00:00
Gordon Bateson f5bf248e24 MDL-17702 replace iframe with object to be compatible with XHTML 1.0 strict 2010-05-01 02:20:30 +00:00
Moodle Robot d55e5169bc Updated the 19 build version to 20100501 2010-05-01 00:43:23 +00:00
Tim Hunt 3271c060c2 quiz reports MDL-22257: was loading the complete user record, when it only wanted userid.
On a coures with 16000 users, that is a very bad idea ;-)
2010-04-30 13:15:40 +00:00
Dan Marsden 6f51e02bab SCORM AICC MDL-2144 total_time accumulation calculated incorrectly. - thanks to Matteo Scaramuccia for report and fix. merged from HEAD 2010-04-30 08:51:04 +00:00
Dan Marsden cfb345a7ba SCORM MDL-18202 MDL-21379 use correct Scorm format for 1.3 merged from HEAD 2010-04-30 05:47:06 +00:00
Moodle Robot c1211da953 Updated the 19 build version to 20100430 2010-04-30 00:43:14 +00:00
Tim Hunt 5c8f9016b2 quiz recent activity: MDL-20586 was showing scores even if quiz settings said not to.
Fix started with a patch from Yolanda Ordo?ez Rufat but with significant reworking by me.
2010-04-29 10:46:37 +00:00
Tim Hunt 4017267988 calculated qtype: MDL-22241 Invalid SQL (must not have a ; at the end.) 2010-04-29 10:41:53 +00:00
Dan Marsden ad71ee56a3 SCORM MDL-21568 missing var from restore merged from HEAD 2010-04-29 09:49:55 +00:00
Dan Marsden 649e176ed6 SCORM MDL-22046 - show last completed attempt in gradebook - thanks to Bruce Cota for the report/fix merged from HEAD 2010-04-29 09:18:32 +00:00
Dan Marsden 74dd5c50ab SCORM MDL-22168 only set x.start.time when a SCO is started - don't update it. merged from HEAD 2010-04-29 08:32:58 +00:00
Moodle Robot c74610c8dd Updated the 19 build version to 20100429 2010-04-29 00:43:19 +00:00
Moodle Robot cb16f0b515 Automatic installer.php lang files by installer_builder (20100429) 2010-04-29 00:35:17 +00:00
Moodle Robot 0a52c510e7 Updated the 19 build version to 20100428 2010-04-28 00:44:32 +00:00
Moodle Robot 57d09bef9c Updated the 19 build version to 20100427 2010-04-27 00:43:48 +00:00
Tim Hunt a8d3973c00 tablelib.php: Fix some minor whitespace errors that were messing up a merge I was doing.
(Seemed better to fix core, rather than intentionally introduce whitespace errors into my code.)
2010-04-26 15:47:55 +00:00
Moodle Robot 996ef6c1ec Updated the 19 build version to 20100426 2010-04-26 00:44:25 +00:00
Moodle Robot 7e7b4b5a96 Updated the 19 build version to 20100425 2010-04-25 00:43:12 +00:00
Petr Skoda 7c9ec0dbdb MDL-22181 fixed 'random' overriding of assignment idnumbers in gradebook - big thanks to Gordon Bridge for the report and patch 2010-04-24 17:37:54 +00:00
Moodle Robot c6bd6f2413 Updated the 19 build version to 20100424 2010-04-24 00:43:23 +00:00
Eloy Lafuente ccfc004f26 MDL-22176 backup & restore links - Fixed missing .php extension in URL 2010-04-23 17:36:52 +00:00
Tim Hunt 7e3078db0a unit tests: MDL-22175 Further improvements unit test failure display.
Exceptions are now also shown with a pruned stack trace.
And 2.0 code for displaying PHP5 error types backported to 1.9.
2010-04-23 17:22:54 +00:00
Eloy Lafuente a6fbcfa0aa MDL-22176 backup & restore links - preserve links to course main page 2010-04-23 15:45:19 +00:00
Tim Hunt 80f752acf4 unit tests: MDL-22175 Improve unit test failure display.
When you are using helper funcitions, show all the interesting bits of the stack trace,
rather that just the line in the helper function where the failed asset was called.
2010-04-23 11:22:31 +00:00
Sam Marshall 9476acfbcb weblib: MDL-22174 print_group_picture should not print empty links 2010-04-23 11:13:23 +00:00
Gordon Bateson 7480adb9cb fix detection of correct answers in JCross that is not case-sensitive 2010-04-23 01:20:16 +00:00
Moodle Robot 70f337107d Updated the 19 build version to 20100423 2010-04-23 00:43:29 +00:00
Moodle Robot 23fa4a1b8d Updated the 19 build version to 20100422 2010-04-22 00:43:18 +00:00
Dan Marsden 2114f6764b SCORM MDL-16184 MDL-21423 backport from HEAD 2010-04-21 23:40:03 +00:00
Dan Marsden fc289cab3b SCORM MDL-18835 display time periods in "human-readable" format. - mainly for SCORM 2004 objects. - thanks to Vlas Voloshin for patch - merged from HEAD 2010-04-21 22:42:30 +00:00
Petr Skoda caa932d8bf MDL-22154 fixed incorrect URL in ajax call (thanks Pasi H?kkinen) and fixed xhtml strict issue with embedded JS 2010-04-21 12:42:24 +00:00
Moodle Robot b0f8277a33 Updated the 19 build version to 20100421 2010-04-21 00:44:04 +00:00
Helen Foster 3d76035f86 MDL-21218 help file rewording thanks to Elena Ivanova 2010-04-20 07:36:44 +00:00
Moodle Robot b3d9ac7064 Updated the 19 build version to 20100420 2010-04-20 00:44:44 +00:00
Moodle Robot 38567b9421 Updated the 19 build version to 20100419 2010-04-19 00:43:10 +00:00
Inaki f8997538f3 auth cas: MDL-20029 upgrade phpCAS version to the latest available version
Also make sure phpCAS doesn't try to start a new PHP session. We have already
started our own and want to keep it :). In addition to it, it emitted a PHP
notice that could block the authentication process under certain
configurations.

And pretty much the same with the wantsurl and loginguest checks.
2010-04-18 14:39:33 +00:00
Inaki 741f53bad8 file spanish.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:35 +0000 2010-04-18 12:08:45 +00:00
Inaki 21a0f2c43a file languages.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:35 +0000 2010-04-18 12:08:45 +00:00
Inaki 6235205a16 file pgt-main.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki 61cbf5ca09 file pgt-file.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki 8fd2e01b2d file pgt-db.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:33 +0000 2010-04-18 12:08:44 +00:00
Inaki 9a921c9c70 file japanese.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:35 +0000 2010-04-18 12:08:44 +00:00
Inaki d4048003a7 file greek.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:35 +0000 2010-04-18 12:08:44 +00:00
Inaki 35ac4fbc5f file german.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:35 +0000 2010-04-18 12:08:44 +00:00
Inaki e4c34125f7 file french.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki de6e4d5762 file english.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki 5ae94b8164 file domxml-php4-to-php5.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki d1c9fa80a5 file client.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Inaki b2a3385dbb file catalan.php was added on branch MOODLE_19_STABLE on 2010-04-18 14:39:34 +0000 2010-04-18 12:08:44 +00:00
Moodle Robot ff0a7c0c34 Updated the 19 build version to 20100418 2010-04-18 00:45:02 +00:00
Moodle Robot ff33ac3fc7 Updated the 19 build version to 20100417 2010-04-17 00:42:55 +00:00
Andrew Davis a4bc9693af unit tests MDL-22017 made test_usergetdate() work on machines in different timezones 2010-04-16 07:48:15 +00:00
Andrew Davis 192dcd8871 gradebook MDL-21218 made overview report respect display hidden items default correctly 2010-04-16 04:38:03 +00:00
Moodle Robot 241f7d68a7 Updated the 19 build version to 20100416 2010-04-16 00:43:24 +00:00
Tim Hunt 1565032231 grades: MDL-22098 silly bug that leads to bad performance problems in the grader report. 2010-04-15 16:37:07 +00:00
Moodle Robot d87f45de85 Updated the 19 build version to 20100415 2010-04-15 00:42:59 +00:00
Moodle Robot 9724c30eff Updated the 19 build version to 20100414 2010-04-14 00:42:55 +00:00
Moodle Robot 8ed5548898 Updated the 19 build version to 20100413 2010-04-13 00:42:55 +00:00
Moodle Robot b1fbd47b45 Updated the 19 build version to 20100412 2010-04-12 00:42:54 +00:00
Moodle Robot eea6830deb Updated the 19 build version to 20100411 2010-04-11 00:42:49 +00:00
Inaki 73f20aa03b auth cas/db/ldap: MDL-18689 Fix typos in auth/{cas,db,ldap}/auth.php
Forward-ported from MOODLE_18_STABLE
2010-04-10 15:24:55 +00:00
Inaki a24cd879b7 auth config: MDL-19053 Use the HTML editor to edit the login page authentication instructions
They are actually displayed as HTML, but they are edited through a plain
text area control instead.
2010-04-10 15:11:49 +00:00
Moodle Robot a012708185 Updated the 19 build version to 20100410 2010-04-10 00:43:07 +00:00
Inaki 8b86439780 filter tex: MDL-10197 Quality improvement of TeX-images by using PNG format.
It seems some TeX installs use a convert utility that renders poor quality
images when using the GIF format, but render good ones when using PNG. If
all the needed tools are available, let the admin choose the preferred
output format.
2010-04-10 00:17:45 +00:00
Anthony Borrow 30a906c58a MDL-18044 - updating missed scalestip string to scalestip2 2010-04-09 08:33:06 +00:00
Moodle Robot c544712126 Updated the 19 build version to 20100409 2010-04-09 00:44:19 +00:00
Eloy Lafuente 68715e174c NOBUG: Bombing BOM: BOM bombed 2010-04-08 18:11:41 +00:00
Moodle Robot 4967d90426 Updated the 19 build version to 20100408 2010-04-08 00:44:19 +00:00
Tim Hunt 0e31d5bfc6 quiz reports: MDL-21688 Add missing sesskey checks. 2010-04-07 11:26:00 +00:00
Tim Hunt 97546dbe14 questionlib: MDL-21828 Fix database query that does not work in Oracle.
Bug report and fix thanks to David Binney.
2010-04-07 09:47:17 +00:00
Moodle Robot c6efbb9bf8 Updated the 19 build version to 20100407 2010-04-07 00:44:25 +00:00
Moodle Robot 131094b6bf Automatic installer.php lang files by installer_builder (20100407) 2010-04-07 00:36:27 +00:00
Moodle Robot 8f3e6f99a2 Updated the 19 build version to 20100406 2010-04-06 00:44:13 +00:00
Moodle Robot 9eab193993 Updated the 19 build version to 20100405 2010-04-05 00:43:44 +00:00
Moodle Robot ebc3754f1d Updated the 19 build version to 20100404 2010-04-04 00:44:01 +00:00
Moodle Robot ac55810332 Updated the 19 build version to 20100403 2010-04-03 00:44:42 +00:00
Helen Foster 9478c59e3e MDL-21218 new help file thanks to David Mudrak for help with wording 2010-04-02 12:34:41 +00:00
Helen Foster b49c4720f3 lang string MDL-21218 small rewording 2010-04-02 12:01:56 +00:00
David Mudrak 0db6ff6fa9 MDL-21845 Fixed missing multilang support 2010-04-02 09:36:31 +00:00
David Mudrak 503b8b480a MDL-18903 All outgoing emails can be diverted into a single address
This is highly useful when developing or debugging any emailing feature.
Backported from 2.0dev
2010-04-02 09:33:11 +00:00
Moodle Robot e8ee0a0720 Updated the 19 build version to 20100402 2010-04-02 00:44:07 +00:00
Petr Skoda 10dd4cd8d0 MDL-22006 fixed problems with E_ALL in PHP 5.3., thanks Mauno Korpelainen for the report 2010-04-01 17:10:58 +00:00
Moodle Robot d1d101ef38 Updated the 19 build version to 20100401 2010-04-01 00:44:15 +00:00
Tim Hunt 8bf6b5c2c8 grade import: MDL-21987 Problem with repeated imports of the same grade.
The thanks to Petr (skodak).

Here is what I learned while working on this:

1. when explicitly setting the final grade (manual edit or import),
   it is important that ->overridden gets set, and it should get set
   to the time when the override was done.

2. but only on certainly sorts of grade item, and the condition for
   setting the flag is different when it is the feedback being changed
   or the grade being changed, hence the two different tests
   is_overridable_item and is_overridable_item_feedback.

3. but, if the grade and feedback is not actually changed, then the ->overridden
   timestamp should not be changed. (That was the bit that was buggy.)
2010-03-31 13:50:58 +00:00
Moodle Robot dc2c925cc9 Updated the 19 build version to 20100331 2010-03-31 00:45:22 +00:00
Moodle Robot b7bc4dd60b Updated the 19 build version to 20100330 2010-03-30 00:45:24 +00:00
Moodle Robot d96719ac58 Updated the 19 build version to 20100329 2010-03-29 00:44:01 +00:00
Moodle Robot 13f3ba7f8f Updated the 19 build version to 20100328 2010-03-28 00:43:43 +00:00
Martin Dougiamas ee3c8982cb Post 1.9.8 bump 2010-03-27 16:54:22 +00:00
Moodle Robot 255c63edeb Updated the 19 build version to 20100327 2010-03-27 00:43:50 +00:00
Moodle Robot 5f6a78acc8 Automatic installer.php lang files by installer_builder (20100327) 2010-03-27 00:36:18 +00:00
Lukas Haemmerle 9a1222085f MDL-21931 Fixed IE CSS bug 2010-03-26 10:11:49 +00:00
Moodle Robot 8c9b64e53e Updated the 19 build version to 20100326 2010-03-26 00:43:59 +00:00
Martin Dougiamas 892aafe88d Bumping to 1.9.8 release 2010-03-25 04:11:28 +00:00
Moodle Robot 6a8797fae6 Updated the 19 build version to 20100325 2010-03-25 00:43:56 +00:00
Petr Skoda 7bce3cf885 MDL-21910 adding https www root to flash detection 2010-03-24 08:28:28 +00:00
Petr Skoda 67255b58ec MDL-21802 backporting patch for vulnerability in CAS client library 2010-03-24 08:11:47 +00:00
Petr Skoda 351d2a98ac file readme_moodle.txt was added on branch MOODLE_19_STABLE on 2010-03-24 08:11:47 +0000 2010-03-24 08:11:13 +00:00
Moodle Robot 58b89df986 Updated the 19 build version to 20100324 2010-03-24 00:43:08 +00:00
Moodle Robot a4e4a51219 Updated the 19 build version to 20100323 2010-03-23 00:42:54 +00:00
Eloy Lafuente 2c77aa3685 MDL-19233 restore of roles - prevent role creation, role assignment and
permission overrides by observing corresponding caps. Improve role mapping a bit.
Credit goes to Daniel Neis.
2010-03-22 22:10:33 +00:00
Eloy Lafuente a914552779 NOBUG: Fixed incorrect text comparison breaking mssql/oracle upgrade 2010-03-22 10:59:05 +00:00
Moodle Robot 3dafa79a51 Updated the 19 build version to 20100322 2010-03-22 00:43:21 +00:00
Eloy Lafuente 68323795b8 MDL-21868 mssql generator - be a bot more specific (both must be integers) 2010-03-21 18:47:35 +00:00
Eloy Lafuente 32feeb023c MDL-21868 mssql generator - improve integer meta type detection 2010-03-21 18:04:44 +00:00
Moodle Robot 09b2ffb97b Updated the 19 build version to 20100321 2010-03-21 00:43:07 +00:00
Moodle Robot f60a7c8bbd Updated the 19 build version to 20100320 2010-03-20 00:44:57 +00:00
Petr Skoda 811c2e7575 MDL-21788 use session regeneration on all sites by default and improved string 2010-03-19 07:58:52 +00:00
Moodle Robot 2a011db8a2 Updated the 19 build version to 20100319 2010-03-19 00:43:48 +00:00
Moodle Robot 986a3d0036 Automatic installer.php lang files by installer_builder (20100319) 2010-03-19 00:36:12 +00:00
Petr Skoda 12b9842c6b MDL-21859 fixed sesskey protection on email actions 2010-03-18 22:54:28 +00:00
Petr Skoda 838093ab3b MDL-21830 Prevent users from viewing names of all other site users - only teachers with role assign see the full name of not enrolled users when trying to access the profile 2010-03-18 22:15:22 +00:00
Petr Skoda e92e4b8ab0 MDL-21068 do not show admin usernames in cron logs 2010-03-18 21:59:51 +00:00
Petr Skoda 31eb0fddb6 MDL-21649 fixed form value quoting 2010-03-18 21:23:25 +00:00
Petr Skoda 031afaa59c MDL-21858 improved input validation 2010-03-18 21:07:54 +00:00
Petr Skoda 9c170e28c4 MDL-21818 fixed globals problems 2010-03-18 20:58:19 +00:00
Moodle Robot 7e02fe26fc Updated the 19 build version to 20100318 2010-03-18 00:44:10 +00:00
Moodle Robot 469a320ea1 Automatic installer.php lang files by installer_builder (20100318) 2010-03-18 00:36:32 +00:00
Helen Foster 0ee71c638a help file MDL-17698 edits to ensure XHTML strict compliance thanks to David Horat 2010-03-17 14:11:42 +00:00
Helen Foster 64b004b025 help file MDL-17698 edits to ensure XHTML strict compliance thanks to David Horat 2010-03-17 14:01:24 +00:00
Helen Foster 080f872804 help file MDL-21308 rewording thanks to Bente Olsen 2010-03-17 10:47:48 +00:00
Helen Foster 171d0f7b86 help file MDL-21600 obsolete file thanks to Koen Roggemans 2010-03-17 09:46:14 +00:00
Moodle Robot 250f99df74 Updated the 19 build version to 20100317 2010-03-17 00:44:16 +00:00
Moodle Robot 0d361c8309 Automatic installer.php lang files by installer_builder (20100317) 2010-03-17 00:36:21 +00:00
Moodle Robot 6c1bc334c0 Updated the 19 build version to 20100316 2010-03-16 00:43:30 +00:00
Gordon Bateson 9f23ea03b1 MDL-21817 replace use of preg_match() with /e modifier with preg_replace_callback() and preg_match_all() with a loop 2010-03-15 10:39:42 +00:00
Gordon Bateson b45b9eae4d MDL-21817 replace use of preg_match() with /e modifier with preg_match_callback() and preg_match_all() with a loop 2010-03-15 10:15:59 +00:00
Moodle Robot ca2d4e6edc Updated the 19 build version to 20100315 2010-03-15 00:43:28 +00:00
Moodle Robot 4a1fc7b4de Updated the 19 build version to 20100314 2010-03-14 00:44:07 +00:00
Moodle Robot 5b9b92e935 Updated the 19 build version to 20100313 2010-03-13 00:43:21 +00:00
Moodle Robot ef0cdb25ef Automatic installer.php lang files by installer_builder (20100312) 2010-03-12 15:17:13 +00:00
Moodle Robot 35a0d5f8c8 Automatic installer.php lang files by installer_builder (20100312) 2010-03-12 15:01:52 +00:00
Dan Marsden 278fc21a29 AICC MDL-21332 set scoid if not already set - thanks to Matteo Scaramuccia for report and fix. merged from HEAD 2010-03-12 07:39:09 +00:00
Dan Marsden 05d9f028e7 AICC MDL-21305 mastery score should be set even when lessonstatus <> "completed" - thanks to Matteo Scaramuccia for report and fix. merged from HEAD 2010-03-12 07:27:22 +00:00
Moodle Robot e7a7712bfa Updated the 19 build version to 20100312 2010-03-12 00:43:23 +00:00
Moodle Robot e31b66eb15 Automatic installer.php lang files by installer_builder (20100312) 2010-03-12 00:35:50 +00:00
Dan Poltawski 3afe38a532 lib/blocklib.php MDL-21805 Moving blocks up/down causes blocks to disappear
If two blocks of the same type were next to each other the weight would be
set the same and block disappear..

Thanks to my colleague Andrew Nicols for the patch.

(This patch was commited on a train at 90mph near Coventry, UK)
2010-03-11 16:25:45 +00:00
Moodle Robot 7b6c6e9c31 Updated the 19 build version to 20100311 2010-03-11 00:43:03 +00:00
Petr Skoda a8944c8195 MDL-21789 fixed buggy handling of 0.00 in s() 2010-03-10 08:46:19 +00:00
Moodle Robot 903182f822 Updated the 19 build version to 20100310 2010-03-10 00:43:11 +00:00
Helen Foster 97f7661011 lang string MDL-21016 rewording as suggested by Ray Lawrence 2010-03-09 21:40:56 +00:00
Moodle Robot 9d3c427e7d Updated the 19 build version to 20100309 2010-03-09 00:43:38 +00:00
Moodle Robot 8d08717b51 Updated the 19 build version to 20100308 2010-03-08 00:42:59 +00:00
Petr Skoda 63c7303150 MDL-21769 fixed input validation 2010-03-07 15:36:20 +00:00
Petr Skoda 38b6976505 MDL-21769 fixed input validation 2010-03-07 15:29:39 +00:00
Petr Skoda b6c760ccd7 MDL-21769 fixed input validation 2010-03-07 15:23:58 +00:00
Petr Skoda 3d2d9e6527 MDL-21769 fixed input validation 2010-03-07 15:16:19 +00:00
Petr Skoda f7429974b2 MDL-21769 fixed input validation 2010-03-07 15:10:15 +00:00
Petr Skoda e20b7eed49 MDL-21767 fixed input validation 2010-03-07 14:57:43 +00:00
Moodle Robot 9597ac84c9 Updated the 19 build version to 20100307 2010-03-07 00:43:00 +00:00
Moodle Robot 98bfdc3355 Updated the 19 build version to 20100306 2010-03-06 00:43:03 +00:00
Helen Foster fe08331675 help file MDL-21054 rewording thanks to Bente Olsen 2010-03-05 15:14:01 +00:00
Helen Foster b74bdc319c help file MDL-21053 rewording thanks to Bente Olsen 2010-03-05 14:55:00 +00:00
Helen Foster 9c72f010d3 lang string MDL-18565 spelling fix thanks to Ray Lawrence 2010-03-05 11:41:33 +00:00
Moodle Robot 7ba0dd71ad Updated the 19 build version to 20100305 2010-03-05 00:43:31 +00:00
Eloy Lafuente 4f13fe005e MDL-17510 calendar - added 2 missing labels plus space/comments cleaning. Credit goes to Daniel Neis 2010-03-04 21:57:33 +00:00
Eloy Lafuente 7e4a97c6ac MDL-21750 ims-cc restore - avoid requiring net conection on validation. Credit goes to Darko 2010-03-04 21:30:23 +00:00
Penny Leach 774c13ca15 events: MDL-17442 add support for local events and run event queue in cron 2010-03-04 17:06:19 +00:00
Moodle Robot bf71c4c778 Updated the 19 build version to 20100304 2010-03-04 00:42:49 +00:00
Moodle Robot 405be90aba Updated the 19 build version to 20100303 2010-03-03 00:43:04 +00:00
Moodle Robot 76571df084 Updated the 19 build version to 20100302 2010-03-02 00:42:36 +00:00
Moodle Robot c6fc01d98f Updated the 19 build version to 20100301 2010-03-01 00:43:06 +00:00
Moodle Robot b5a84497e7 Updated the 19 build version to 20100228 2010-02-28 00:42:20 +00:00
Moodle Robot 6570787eba Automatic installer.php lang files by installer_builder (20100228) 2010-02-28 00:34:48 +00:00
Moodle Robot 6b900d9666 Updated the 19 build version to 20100227 2010-02-27 00:42:46 +00:00
Moodle Robot 7237c0f83d Updated the 19 build version to 20100226 2010-02-26 00:43:15 +00:00
Eloy Lafuente fbd146b362 MDL-14934 excel dates. Rely in excellib's format_date() to otput dates. It supports base/timezones properly. 2010-02-25 10:16:15 +00:00
Moodle Robot fc77147262 Updated the 19 build version to 20100225 2010-02-25 00:42:45 +00:00
Helen Foster 850e4781ad lang string MDL-21546 rewording thanks to Bente Olsen 2010-02-24 10:52:02 +00:00
Helen Foster 41e7385f01 help file MDL-21546 rewording thanks to Bente Olsen 2010-02-24 10:35:25 +00:00
Dan Poltawski 47e32d2955 moodlelib: sync_metacourse MDL-20626 wasn't respecting hidden role assignments
This causes hidden role assignments to become public on metacourses

Many thanks to Daniel Neis for the patch

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-02-24 09:01:27 +00:00
Dan Poltawski f6674e23e8 blocks/admin MDL-21593 - Specify full url to 'child courses'
Prevents link breaking on resources will full blocs
2010-02-24 08:56:41 +00:00
Dan Poltawski dcb98cd8e8 gradebook/overview MDL-21424 - link to correct grade card
The overview report was sending the user to their own user report
rather than the user they were looking at.
2010-02-24 08:53:45 +00:00
Dan Poltawski 7348068be8 blocks/quiz_results: MDL-21284 - dont strip leading zeros from idnumbers
Or make assumptions its an integer as many external systems are not and to
be of copy and paste use to teachers it should match
2010-02-24 08:51:16 +00:00
Dan Poltawski 695ba14064 grader report: MDL-21192 - remove duplicate variable decleration
Many thanks to Barry Oosthuizen for the patch!

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-02-24 08:48:18 +00:00
Dan Poltawski e9d030cfdd block/mentees: MDL-20993 - incorrectly assumes SITEID 2010-02-24 08:45:18 +00:00
Dan Poltawski ed5a88a715 user/edit_form MDL-20683 - allow user to edit description if set with
$CFG->profilesforenrolledusersonly

The original intention seems to be to allow the user to edit the description
if its not empty, however it was not ever allowing that to happen. This was
already correct in HEAD.
2010-02-24 08:38:24 +00:00
Moodle Robot 131065d3e1 Updated the 19 build version to 20100224 2010-02-24 00:42:38 +00:00
Tim Hunt 74aabeb08a nobug: whitespace fixes. 2010-02-23 14:31:09 +00:00
Tim Hunt 0f6a49da32 match qtype: MDL-21701 / OU bug 9551 Fix display of response history.
The displays were being displayed in an order that depended on what the student had
selected, not the order in which the subquestions were displayed.

Great attention to detail by the OU testing team to notice this!
2010-02-23 12:47:07 +00:00
Moodle Robot 74964e989e Updated the 19 build version to 20100223 2010-02-23 00:43:18 +00:00
Dan Marsden 4ee0c3a1a7 SCORM MDL-21584 detect SCORM 2004 4th edition correctly. thanks to Valerian for the report and patch. merged from HEAD 2010-02-22 01:33:33 +00:00
Moodle Robot c29f46d37c Updated the 19 build version to 20100222 2010-02-22 00:43:16 +00:00
Dan Poltawski c33dd43a31 moodlelib: MDL-21477 - stop unzip_show_status depending on files/index.php
function
2010-02-21 15:31:26 +00:00
Eloy Lafuente 19a34c2fd6 Added new installer langs (mr_utf8 & zu_utf8) to 19_STABLE 2010-02-21 15:08:27 +00:00
Eloy Lafuente b189e210d1 file installer.php was added on branch MOODLE_19_STABLE on 2010-02-21 15:08:27 +0000 2010-02-21 15:04:22 +00:00
Dan Poltawski f01ce862ec config-dist.php MDL-21603 - prevent php5 strict warnings with defualt config 2010-02-21 14:46:49 +00:00
Urs Hunkler d472b68b11 FF 3.6 has problems with the used sarissa library. Following the sarissa forums the conflicting line can be commented out. http://sourceforge.net/projects/sarissa/forums/forum/256492/topic/3508927 2010-02-21 12:06:36 +00:00
Moodle Robot 6366286ebf Updated the 19 build version to 20100221 2010-02-21 00:42:39 +00:00
Moodle Robot 34d10397a2 Updated the 19 build version to 20100220 2010-02-20 00:41:43 +00:00
Dan Poltawski 1b97bb14df Revert revision 1.75.2.23 to access.php - MDL-21664
I commited junk from another file as part of commit. Sorry everyone.

I'm to use emacs for the weekend as punishment
2010-02-19 19:13:31 +00:00
Dan Poltawski ff9a1e85c9 lib/db/upgrade: MDL-21664 - $CFG->passwordmainsalt was used rather than $CFG->passwordsaltmain
Causing all admins to be warned about their salt even if they had one set
2010-02-19 16:47:28 +00:00
Moodle Robot 5bc3ab3db0 Updated the 19 build version to 20100219 2010-02-19 00:42:49 +00:00
David Mudrak 4815487089 MDL-7932 Yet another occurance of missing default comments 2010-02-18 18:39:12 +00:00
Jamie Pratt 7d2e309c9b MDL-21650 "cookieless sessions fail when opening a pop up window using the javascript 'openpopup' function for example from the course view page " adding the session name and id in the js function openpopup. 2010-02-18 12:56:12 +00:00
Jamie Pratt 4a4a05cfa8 MDL-21637 "bug in some versions of php version 5 prevents cookieless sessions working" 2010-02-18 11:50:18 +00:00
Andrew Davis e599553d84 simpletestlib MDL-21644 Removed instances of the php keyword protected which is unsupported by php 4 2010-02-18 08:30:45 +00:00
Andrew Davis c315756bf6 gradebook MDL-21644 Removed instances of the php keyword protected which is unsupported by php 4 2010-02-18 08:29:03 +00:00
Penny Leach 9fa2029768 mnet MDL-21633 fixed array to string conversion when rotating keys.
this doesn't need fixing in HEAD because of our new dml stuff
2010-02-18 03:22:23 +00:00
Penny Leach 25cd4deb3a mnet MDL-14117 truncate values in $dn to the RFC 3280 lengths when making new mnet keys 2010-02-18 03:11:52 +00:00
Penny Leach da92b21caa mnet MDL-17202 disambiguating strings in mnet enrolment config and updated plugin desc
committing forgotten file
2010-02-18 01:23:43 +00:00
Moodle Robot c28ccac7f8 Updated the 19 build version to 20100218 2010-02-18 00:42:46 +00:00
Dan Poltawski 8d6e18cc6c mnet: MDL-21632 - set $this to deleted too.
My previous commit message wasn't quite correct, I had misread the code, peers
were being properly makred as delted.
2010-02-17 22:18:11 +00:00
Dan Poltawski 154b2a1d7f mnet: MDL-21632 - remove reference to non-existant table
Backport Jermoes patch to only mark mnet hosts as deleted rather than delete
from db. Unfortunately the previous behaviour in <2.0 to mark hosts as delted
wasn't at all correct due to horrible behaviour of the commit()  function.
This addresses tha tproblem.
2010-02-17 22:15:02 +00:00
Jamie Pratt cdf50f82de MDL-21641 cookieless sessions - Need to try to set a cookie before falling back to cookieless mode. Moved test to see if cookies are working till after Moodle has attempted to set a cookie. If there is no cookie then we use session id in url. 2010-02-17 14:25:35 +00:00
Jamie Pratt 62236dd1b1 MDL-21638 cookieless session id not passed when loading images - needed for example for graphs which access session data 2010-02-17 11:31:33 +00:00
Jamie Pratt 72336b7f93 MDL-21637 bug in some versions of php version 5 prevents cookieless sessions working. Using static variable to store data from CFG on first call to fix problem. 2010-02-17 11:25:38 +00:00
Penny Leach 5425c4d06a mnet MDL-17202 disambiguating strings in mnet enrolment config and updated plugin desc 2010-02-17 03:59:04 +00:00
Penny Leach 5a97f0d96b mnet MDL-21257 temporary fix for mnet breaking on session regeneration. This is fixed better, but more obtrusively in 2.0 2010-02-17 01:32:14 +00:00
Moodle Robot c0f891d6fe Updated the 19 build version to 20100217 2010-02-17 00:43:07 +00:00
Moodle Robot 42d3d715ec Automatic installer.php lang files by installer_builder (20100217) 2010-02-17 00:35:47 +00:00
Andrew Davis 2fa0e3e21b user profiles MDL-20619 Email obfuscation wasnt working in some versions of IE 2010-02-16 02:52:53 +00:00
Moodle Robot cda0cdb819 Updated the 19 build version to 20100216 2010-02-16 00:42:46 +00:00
Moodle Robot 86bc6d3898 Updated the 19 build version to 20100215 2010-02-15 00:42:44 +00:00
Moodle Robot d8f12e5a98 Updated the 19 build version to 20100214 2010-02-14 00:42:33 +00:00
Moodle Robot 6b25991f60 Updated the 19 build version to 20100213 2010-02-13 00:42:46 +00:00
Sam Marshall bfaf0e5747 MDL-21567 Assign roles screen at module level can show users twice 2010-02-12 16:33:54 +00:00
Moodle Robot 45f656b9bc Updated the 19 build version to 20100212 2010-02-12 00:41:57 +00:00
Gordon Bateson dfdec574d3 fix student access to HotPots in tail of a HotPot quiz chain 2010-02-11 02:52:22 +00:00
Moodle Robot b5e596256c Updated the 19 build version to 20100211 2010-02-11 00:42:45 +00:00
Eloy Lafuente fddef9d6b7 MDL-7647 confirmation email - usernames with slashes causing confirmation problems 2010-02-10 16:46:00 +00:00
Moodle Robot 88b78226dd Updated the 19 build version to 20100210 2010-02-10 00:44:06 +00:00
Moodle Robot 67abeea724 Automatic installer.php lang files by installer_builder (20100210) 2010-02-10 00:36:23 +00:00
Piers Harding b34b5c7b49 MDL-18202 - fix incorrect substitutions of '_'. 2010-02-09 17:50:52 +00:00
Moodle Robot 4d5ead9be0 Updated the 19 build version to 20100209 2010-02-09 00:42:54 +00:00
Moodle Robot abe92c685e Automatic installer.php lang files by installer_builder (20100209) 2010-02-09 00:35:18 +00:00
Andrew Davis 1966cb853f gradebook MDL-21315 Fixed column highlighting 2010-02-08 04:18:40 +00:00
Moodle Robot edab8319fe Updated the 19 build version to 20100208 2010-02-08 00:42:38 +00:00
Moodle Robot 78421bfa9a Updated the 19 build version to 20100207 2010-02-07 00:41:48 +00:00
Moodle Robot 25733f443d Updated the 19 build version to 20100206 2010-02-06 00:42:45 +00:00
Moodle Robot 5ac643a6b6 Automatic installer.php lang files by installer_builder (20100206) 2010-02-06 00:35:17 +00:00
Tim Hunt b6be82811d question state loading MDL-9327 and MDL-19114 fix loading the state of ungraded essay questions
In two situations, the correct state was not being loaded for essay questions that had
not yet been manually graded:
1. When starting a subsequent attempt in each attempt builds on last mode.
2. In the quiz reports.

This commit fixes the problem. It has one other side-effect. When viewing the individual
question grades in the overview report for an attempt that is still in progress, the
information displayed will be slightly different. This only affects adaptive mode quizzes,
and will acutally cause the report to show slighly more up-to-date information.

Interestingly, the reportlib.php change had already been made in HEAD, as part of MDL 16529
2010-02-05 16:36:59 +00:00
Andrew Davis 3570713828 gradebook MDL-21218 course and category totals behaviour when they contain hidden items 2010-02-05 07:27:02 +00:00
Moodle Robot 0e2ff533bd Updated the 19 build version to 20100205 2010-02-05 00:43:23 +00:00
Rossiani Wijaya edef4cd2e1 MDL-20307 - add view fullname capabilities to display fullname in gradebook and participant list 2010-02-04 04:37:31 +00:00
Moodle Robot df9fe21b58 Updated the 19 build version to 20100204 2010-02-04 00:42:38 +00:00
Eloy Lafuente 9e9b31f89b MDL-21407 latex filter - lalala, added missing savepoint 2010-02-03 09:11:49 +00:00
Eloy Lafuente 16421d0353 MDL-21407 tex filter - trim leading whitespace from latex preamble 2010-02-03 09:10:13 +00:00
Andrew Davis a97f19333c grader report MDL-21367 when an item is unhidden its category should unhide to 2010-02-03 02:22:58 +00:00
Moodle Robot c50959fa54 Updated the 19 build version to 20100203 2010-02-03 00:42:30 +00:00
Moodle Robot 0815881c65 Updated the 19 build version to 20100202 2010-02-02 00:38:58 +00:00
Penny Leach 5f3aa3c97a mnet MDL-17863 increase length of portno field in the host table (so 443 works) 2010-02-01 04:19:51 +00:00
Penny Leach 6b970039cb mnet MDL-17082 fixing typo in previous bugfix 2010-02-01 01:43:26 +00:00
Moodle Robot 49e25c58ea Updated the 19 build version to 20100201 2010-02-01 00:38:11 +00:00
Moodle Robot 360a5d6955 Automatic installer.php lang files by installer_builder (20100201) 2010-02-01 00:31:21 +00:00
Moodle Robot 8f978af0a3 Updated the 19 build version to 20100131 2010-01-31 00:37:52 +00:00
Moodle Robot 678730b041 Updated the 19 build version to 20100130 2010-01-30 00:38:29 +00:00
Moodle Robot c7539c2c15 Automatic installer.php lang files by installer_builder (20100130) 2010-01-30 00:31:41 +00:00
Helen Foster d6b5a314f7 help file MDL-21308 rewording thanks to Bente Olsen 2010-01-29 20:27:30 +00:00
Andrew Davis fd1e0f3beb grader report MDL-21374 made column averages align correctly 2010-01-29 01:17:23 +00:00
Moodle Robot 2d9e548ef5 Updated the 19 build version to 20100129 2010-01-29 00:37:36 +00:00
Rossiani Wijaya b1bef4085e MDL-21440 - replacing hardcoded string with language string. 2010-01-28 02:19:06 +00:00
Moodle Robot f5058b206b Updated the 19 build version to 20100128 2010-01-28 00:37:53 +00:00
Moodle Robot 62e1cf14d8 Updated the 19 build version to 20100127 2010-01-27 00:37:49 +00:00
Moodle Robot 2fd7250f20 Updated the 19 build version to 20100126 2010-01-26 00:37:48 +00:00
Gordon Bateson 986c607c4b do not treat https absolute urls as relative urls 2010-01-25 07:16:45 +00:00
Penny Leach 70d2f4be3c mnet MDL-17629 upgrade to fix referntial integrity in mnet hostids for localhost and all hosts records 2010-01-25 00:59:21 +00:00
Moodle Robot bcaa8cd2bd Updated the 19 build version to 20100125 2010-01-25 00:37:41 +00:00
Moodle Robot 788291baa0 Updated the 19 build version to 20100124 2010-01-24 00:37:52 +00:00
Moodle Robot e99a3c131c Updated the 19 build version to 20100123 2010-01-23 00:37:15 +00:00
Rossiani Wijaya da4aed67d3 MDL-21300 - remove filename validation for invalid character. 2010-01-22 02:01:03 +00:00
Moodle Robot 0135dda86a Updated the 19 build version to 20100122 2010-01-22 00:38:08 +00:00
Eloy Lafuente 3a41c990dc MDL-16018 textarea height - min 7 lines to avoid visualization problem 2010-01-22 00:01:08 +00:00
Eloy Lafuente 589ad34e82 MDL-21265 wiki - fix problem for students not able to see entries in other groups until own entry is created by teacher 2010-01-21 23:40:02 +00:00
Eloy Lafuente 94e5756daf MDL-21293 Grrr, left one testing line there... sorry! 2010-01-21 19:34:27 +00:00
Eloy Lafuente 468a1aff83 MDL-21293 Better conversion from old to new categories in specialization() 2010-01-21 19:32:39 +00:00
Inaki 3381dd4607 auth ldap/cas config: MDL-21343 LDAP / CAS settings broken due to wrong superflous value 2010-01-21 19:20:37 +00:00
Eloy Lafuente bc188d0273 MDL-21293 tag_youtube block - migrate from old (not working anymore!) YouTube API
to the new Google Data API
2010-01-21 17:37:46 +00:00
Moodle Robot 1584d69510 Updated the 19 build version to 20100121 2010-01-21 00:38:04 +00:00
Eloy Lafuente 35e25af7b0 MDL-21393 clean old executabble (by everybody) script. 2010-01-20 11:21:30 +00:00
Rossiani Wijaya 85056e763f MDL-11131 - style for temporary block handler (for sticky block) 2010-01-20 06:37:51 +00:00
Rossiani Wijaya 1833b24abb MDL-11131 - fixed the weight of sticky blocks as it moved around. 2010-01-20 04:36:23 +00:00
Moodle Robot e3fb0b7847 Updated the 19 build version to 20100120 2010-01-20 00:37:39 +00:00
Moodle Robot 7a525d74f0 Updated the 19 build version to 20100119 2010-01-19 00:38:01 +00:00
Eloy Lafuente 77fcfa7395 MDL-21370 restore - avoid adding slashes twice to user info
Credit goes to jean-christophe zulian
2010-01-18 19:37:49 +00:00
Tim Hunt d3e2dfaf75 graphlib MDL-21371: Legend layout issue when different legend texts had different heights. 2010-01-18 15:24:19 +00:00
Moodle Robot 1070f24868 Updated the 19 build version to 20100118 2010-01-18 00:37:41 +00:00
Moodle Robot e5448baec4 Automatic installer.php lang files by installer_builder (20100118) 2010-01-18 00:30:50 +00:00
Moodle Robot 5c2bb616c7 Updated the 19 build version to 20100117 2010-01-17 00:37:40 +00:00
Moodle Robot e418527862 Updated the 19 build version to 20100116 2010-01-16 00:37:57 +00:00
Sam Marshall 8ec0c7b0da MDL-21356 rsslib: Schema address from tag output in wasn't escaped (problem only if it contains &) 2010-01-15 14:36:48 +00:00
Moodle Robot 4f1216af39 Updated the 19 build version to 20100115 2010-01-15 00:37:47 +00:00
Moodle Robot 2c214cee4f Automatic installer.php lang files by installer_builder (20100115) 2010-01-15 00:30:56 +00:00
Pierre Pichet d2eca89391 MDL-21336 testing with $correct != '' so that correct answer 0 is shown in multianswer 2010-01-14 21:56:42 +00:00
David Mudrak a81beb4c24 MDL-21346 fixed various print_password_policy() issues 2010-01-14 20:46:31 +00:00
David Mudrak a34d4fbe03 MDL-21229 editor: added missing tooltip translation 2010-01-14 10:20:29 +00:00
Andrew Davis 732cef98a7 weblib MDL-21183 Commented out some unreasonable unit tests 2010-01-14 02:14:10 +00:00
Pierre Pichet 77a6f29667 MDL-21336 testing with $correct != '' so that correct answer 0 is shown 2010-01-14 01:17:37 +00:00
Moodle Robot 85cb53c0ad Updated the 19 build version to 20100114 2010-01-14 00:38:03 +00:00
Dan Marsden 5883099064 SCORM AICC MDL-21330 fix php notice - thanks to Matteo Scaramuccia for report and fix. merged from Stable 2010-01-13 22:42:03 +00:00
Penny Leach 46cc83dfdb mnet MDL-17931 add slashes to mnet method profiles when saving 2010-01-13 22:17:25 +00:00
Dan Marsden 534182ebdd SCORM AICC MDL-19392 add some missing params to querystring merged from HEAD 2010-01-13 22:08:39 +00:00
Eloy Lafuente b70f33ea6d NOBUG: Fix notice (and something more?). Like MDL-12961 but in data module 2010-01-13 16:47:42 +00:00
Rossiani Wijaya 3de4198a4f MDL-20402 - update bulk user action messages from regular textarea to HTML editor. 2010-01-13 07:56:20 +00:00
Penny Leach 1ddd8283f9 mnet: MDL-20059 fix up login/mnet_email.php in a few places
Merged (belatedly from HEAD)
2010-01-13 03:10:26 +00:00
Penny Leach 3022e494ca mnet MDL-21328 fixed non unique first field sql in mnet_services.php 2010-01-13 02:46:13 +00:00
Penny Leach bcb7c63ec0 mnet MDL-17082 removed all use of $_POST 2010-01-13 02:42:05 +00:00
Andrew Davis 6dc8c4e402 weblib MDL-21296 a temporary workaround convert_urls_into_links() causing timeouts 2010-01-13 02:16:12 +00:00
Dan Marsden ff9be2feef SCORM AICC MDL-19392 MDL-13716 cast result as a String in AICC (already done in Scorm 1.2 and 1.3 merged from HEAD 2010-01-13 02:01:31 +00:00
Penny Leach a3f6b0fe7e mnet MDL-19260 add an addslashes_object when updating public keys
fixing typo in last commit
2010-01-13 01:48:23 +00:00
Penny Leach 77ca2c9c1d mnet MDL-19260 add an addslashes_object when updating public keys
not merged to HEAD because of new db stuff
2010-01-13 01:43:24 +00:00
Dan Marsden 2ee0ca3438 SCORM AICC MDL-21304 typo when referring to SCORM session var in AICC files - thanks to Matteo Scaramuccia for the report and fix. merged from HEAD 2010-01-13 01:39:22 +00:00
Moodle Robot 7bf1a0ec9b Updated the 19 build version to 20100113 2010-01-13 00:38:01 +00:00
Eloy Lafuente 0cced51f5a MDL-21296 - secs are secs no milisecs, :-P 2010-01-12 14:07:34 +00:00
Eloy Lafuente 6650e754c7 MDL-21296 - Adding timing info to test in order to compare results 2010-01-12 14:06:06 +00:00
Eloy Lafuente b0fbf376cc MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. 2010-01-12 13:37:13 +00:00
Eloy Lafuente fe8525e86b MDL-21168 - Added test for URLs with encoded paths and queries 2010-01-12 13:23:23 +00:00
Gordon Bateson 1bef863f84 add groupings awareness to HotPot module 2010-01-12 07:26:10 +00:00
Moodle Robot 743ee9d956 Updated the 19 build version to 20100112 2010-01-12 00:37:42 +00:00
Penny Leach 8901f90395 mnet: MDL-21298 fixed a very unhelpful error message (and saved a db query)
this adds a new string for nolocaluser - nolocaluser2 (it's just nolocaluser in head)
2010-01-11 22:20:14 +00:00
Penny Leach decbf994c0 mnet/login: MDL-21018 - be a bit more picky about when to show the link to mnet_email.php 2010-01-11 22:05:47 +00:00
Rossiani Wijaya f3a1b0ce39 MDL-21174 - exclude deleted users in bulk upload of user profile pictures. 2010-01-11 06:50:02 +00:00
Andrew Davis 5eb17eabee weblib MDL-21168 I had accidently deleted a test 2010-01-11 06:21:32 +00:00
Andrew Davis bdac61091c weblib MDL-21168 added some more tests 2010-01-11 06:14:09 +00:00
Andrew Davis 1f6a37155a course sorting MDL-21011 made upgrade code more efficient 2010-01-11 02:29:08 +00:00
Penny Leach b6fff6a5aa mnet MDL-17169 trim the raw xmlrpc response before passing it to the xml parser 2010-01-11 01:02:35 +00:00
Moodle Robot d3b3fad86d Updated the 19 build version to 20100111 2010-01-11 00:38:10 +00:00
Moodle Robot 276b2b2ea3 Updated the 19 build version to 20100110 2010-01-10 00:37:30 +00:00
Moodle Robot d807d3a516 Automatic installer.php lang files by installer_builder (20100110) 2010-01-10 00:30:43 +00:00
Eloy Lafuente 0959a70851 First commit of ast_utf8 installer file. Backported from HEAD 2010-01-09 23:16:46 +00:00
Eloy Lafuente 158b6463e6 file installer.php was added on branch MOODLE_19_STABLE on 2010-01-09 23:16:46 +0000 2010-01-09 23:13:20 +00:00
Moodle Robot 25a049d01d Updated the 19 build version to 20100109 2010-01-09 00:38:02 +00:00
Moodle Robot cbcd5d6c27 Automatic installer.php lang files by installer_builder (20100109) 2010-01-09 00:31:11 +00:00
Eloy Lafuente 321b4075cd MDL-21168 convert_urls_into_links() - added tests about links in tags and double conversions 2010-01-08 22:21:16 +00:00
Eloy Lafuente 8267366e44 MDL-21168 avoid http://www.whatever to be linked twice 2010-01-08 22:16:37 +00:00
Eloy Lafuente c782bd7a4b MDL-21168 convert_urls_into_links() - changed solution to avoid linking
inside <img> tags by negative look-behind assertion of =" string
2010-01-08 16:48:38 +00:00
Eloy Lafuente 7fd2dcec3c MDL-21168 convert_urls_into_links() - minor changes to tests (code formatting,
utf_decode() out and properly escape % chars.
2010-01-08 16:38:40 +00:00
Andrew Davis ac13e678c9 grader report MDL-21088 Fixed assorted vertical alignment issues 2010-01-08 08:03:22 +00:00
Andrew Davis 1a59f3dd02 grader report MDL-21270 Use constants instead of integers 2010-01-08 07:46:30 +00:00
Andrew Davis 7cf7a14d85 course sorting MDL-21011 "Re-sort courses by name" button eventually lead sortorder to hit column maximum value 2010-01-08 07:38:50 +00:00
Andrew Davis 1ca30d589f course sorting MDL-21011 "Re-sort courses by name" button eventually lead sortorder to hit column maximum value 2010-01-08 07:17:52 +00:00
Andrew Davis 9c09c3b89a course sorting MDL-21011 "Re-sort courses by name" button eventually lead sortorder to hit column maximum value 2010-01-08 07:07:55 +00:00
Andrew Davis e45757ad63 moodlelib MDL-20918 usergetdate was returning an array in a different order depending on whether or not timezone was set 2010-01-08 06:41:57 +00:00
Rossiani Wijaya 366a5bb8fd MDL-18774 - fixed fullname format label. 2010-01-08 02:27:32 +00:00
Moodle Robot deb03b4ff9 Updated the 19 build version to 20100108 2010-01-08 00:37:59 +00:00
Eloy Lafuente 566c19c620 MDL-21264 sql_isnotempty fixed. Thanks Tim! Backported from HEAD 2010-01-07 15:02:41 +00:00
David Mudrak f330bf4a42 MDL-21248 workshop: yet another place violating not null feedback 2010-01-07 14:19:11 +00:00
David Mudrak d5ed6c36d2 MDL-21248 workshop fills description field for a grade mapping only element 2010-01-07 13:53:55 +00:00
Moodle Robot 3eb066cdfa Updated the 19 build version to 20100107 2010-01-07 00:37:30 +00:00
Rossiani Wijaya 733f09a461 MDL-18824 changing fullname name (fullnamedisplay) default value to language. 2010-01-06 05:10:23 +00:00
Moodle Robot bc90a47903 Updated the 19 build version to 20100106 2010-01-06 00:37:59 +00:00
Moodle Robot 3f09627554 Automatic installer.php lang files by installer_builder (20100106) 2010-01-06 00:31:06 +00:00
Helen Foster 24cc21c077 config settings: MDL-16658 small rewording 2010-01-05 22:15:59 +00:00
Helen Foster d10342e4a2 moodle lang string: MDL-16658 small rewording 2010-01-05 21:53:51 +00:00
Moodle Robot 0cdb0453f2 Updated the 19 build version to 20100105 2010-01-05 00:37:25 +00:00
Andrew Davis 36f1ce024f graderreport MDL-21159 grader report was producing invalid html 2010-01-04 08:14:14 +00:00
Moodle Robot a8bb7474a6 Updated the 19 build version to 20100104 2010-01-04 00:34:35 +00:00
Moodle Robot 71b1edd8da Updated the 19 build version to 20100103 2010-01-03 00:35:00 +00:00
Moodle Robot c73ca693e9 Automatic installer.php lang files by installer_builder (20100103) 2010-01-03 00:28:11 +00:00
Moodle Robot 709fa905af Updated the 19 build version to 20100102 2010-01-02 00:34:24 +00:00
Moodle Robot 3b58064a98 Updated the 19 build version to 20100101 2010-01-01 00:34:57 +00:00
Moodle Robot c39ff02c27 Automatic installer.php lang files by installer_builder (20100101) 2010-01-01 00:28:11 +00:00
Moodle Robot 817837383b Updated the 19 build version to 20091231 2009-12-31 00:35:52 +00:00
Moodle Robot b3ec8bce9c Automatic installer.php lang files by installer_builder (20091231) 2009-12-31 00:28:10 +00:00
Eloy Lafuente 4029d09097 MDL-16658 restore - new restore:createuser cap + pre-check users before restoring 2009-12-30 17:17:09 +00:00
Helen Foster 7e766c4d51 moodle.org lang string: MDLSITE-846 thanks to Mauno 2009-12-30 14:07:31 +00:00
Helen Foster bbf0d4086f moodle.org lang strings: MDLSITE-297 thanks to MD 2009-12-30 12:36:09 +00:00
Petr Skoda 75c9459b00 MDL-21194 fixed mnet quotes issue - credit goes to Valery Fremaux 2009-12-30 08:06:15 +00:00
Moodle Robot 689458916d Updated the 19 build version to 20091230 2009-12-30 00:34:48 +00:00
Eloy Lafuente 0fa3908eb8 NOBUG: Whitespace and XHTML 2009-12-29 19:34:06 +00:00
Moodle Robot 752542c5af Updated the 19 build version to 20091229 2009-12-29 00:34:23 +00:00
Eloy Lafuente f4b233eef5 MDL-21203 delete dupe code - Credit goes to Antoine G 2009-12-28 14:32:08 +00:00
Moodle Robot 8002b70cbb Updated the 19 build version to 20091228 2009-12-28 00:35:53 +00:00
Moodle Robot 646feb47f2 Updated the 19 build version to 20091227 2009-12-27 00:34:21 +00:00
Moodle Robot 9a2f1f706c Updated the 19 build version to 20091226 2009-12-26 00:34:34 +00:00
Moodle Robot eb04558e7e Updated the 19 build version to 20091225 2009-12-25 00:34:22 +00:00
Moodle Robot a70b4067ea Automatic installer.php lang files by installer_builder (20091225) 2009-12-25 00:27:41 +00:00
Valery Fremaux e87eda39cf http://tracker.moodle.org/browse/MDL-21186 2009-12-24 23:08:30 +00:00
Andrew Davis 1b34261dc6 weblib MDL-21168 improved convert_urls_into_links 2009-12-24 04:36:14 +00:00
Moodle Robot fcf40a111e Updated the 19 build version to 20091224 2009-12-24 00:35:07 +00:00
Rossiani Wijaya 80990f1aef MDL-20949 changing the language string from 'your' to 'the', to print out the password policy requirements. 2009-12-23 02:07:08 +00:00
Moodle Robot 7b11ee0635 Updated the 19 build version to 20091223 2009-12-23 00:34:52 +00:00
Matt Oquist e48675ba98 MDL-19024 Fix a bug that stops strings from being displayed correctly in the admin section when configuring the MNET services. (Thanks, Richard Mansfield.) 2009-12-22 03:00:42 +00:00
Moodle Robot 1276ac66ff Updated the 19 build version to 20091222 2009-12-22 00:35:13 +00:00
Moodle Robot fc7e0e9d67 Updated the 19 build version to 20091221 2009-12-21 00:34:35 +00:00
Pierre Pichet ed26d187a7 correcting pass from reference problem line 84 as identified by syntax report on moodle.org 2009-12-20 13:19:01 +00:00
Moodle Robot 61b9115ad2 Updated the 19 build version to 20091220 2009-12-20 00:35:08 +00:00
Moodle Robot 8fd08116ea Updated the 19 build version to 20091219 2009-12-19 00:34:22 +00:00
Moodle Robot a91d252b32 Automatic installer.php lang files by installer_builder (20091219) 2009-12-19 00:27:44 +00:00
Eloy Lafuente 64aec4287b MDL-21045, MDL-21046 restore - gradebook categories, letters and outcomes are now
restored no matter if user info is enabled or no (as far as they are user-independent)
2009-12-18 18:47:14 +00:00
Tim Hunt f7f6e31b63 Grade item: MDL-21161 timemodified never gets set on calculated gradebook columns 2009-12-18 18:19:48 +00:00
Eloy Lafuente 4e2ba0840b Related to MDL-6489 - advanced search template was missing in backup/restore 2009-12-18 18:08:56 +00:00
Eloy Lafuente 9e845f9ee7 MDL-11507, MDL-15157 database activity - avoid some notices on restore 2009-12-18 17:51:27 +00:00
Eloy Lafuente 06cc4c9699 MDL-21160 database activity - remap scale on restore 2009-12-18 17:37:11 +00:00
Tim Hunt b9a18f1b17 grader report: MDL-21159 Link to user report does not respect $CFG->grade_profilereport setting.
Also, the report was generating invalid XHTML.
2009-12-18 17:13:42 +00:00
Dan Marsden 7cf74b7002 SCORM MDL-20122 badly formatted restore values - thanks to Michael Avelar for the fix merged from HEAD 2009-12-18 08:20:48 +00:00
Dan Marsden d2f35f4357 SCORM MDL-18857 allow items with a score of 0 to still display on outline report. merged from HEAD 2009-12-18 07:24:07 +00:00
Dan Marsden 2dae979d8e SCORM MDL-21024 missing field in restore. merged from HEAD 2009-12-18 07:14:53 +00:00
Dan Marsden 98cdb41a4a SCORM MDL-20588 workaround for IE 6 bug - turn zlib compression off if IE 6 is detected. merged from HEAD 2009-12-18 06:42:37 +00:00
Dongsheng Cai c6a032b9d3 "MDL-15502, added a filter to selec users who have never logged in, credits to Anthony Borrow" 2009-12-18 05:24:14 +00:00
Dan Marsden 990ecc4694 mnet MDL-16522 missed a check - should not show logs tab for all hosts screen merged from HEAD 2009-12-18 03:21:07 +00:00
Dan Marsden d6f826c810 mnet MDL-16522 duplication of inconsistant code - now uses a tabs.php file but still needs a further code tidy as per MDL-16286 merged from HEAD 2009-12-18 03:16:35 +00:00
Dan Marsden c883e63ebd file tabs.php was added on branch MOODLE_19_STABLE on 2009-12-18 03:16:35 +0000 2009-12-18 03:09:05 +00:00
Dongsheng Cai baf1dc0a4d "MDL-21122, fixed saving setting problem in section links block" 2009-12-18 03:01:36 +00:00
Pierre Pichet 1343e53aff correcting pass from reference problem line 24 as identified by syntax report of Fri Dec 18 08:21:03 WST 2009 2009-12-18 02:35:47 +00:00
Moodle Robot e2baf96bdf Updated the 19 build version to 20091218 2009-12-18 00:34:10 +00:00
Pierre Pichet efed05fd25 MDL-3282 , MDL-4595 error in numerical with comma . More number formats are allowed.
merged from HEAD
2009-12-17 21:50:53 +00:00
Eloy Lafuente 3ae036b04b NOBUG minor typo in phpdocs 2009-12-17 14:38:59 +00:00
Sam Hemelryk 9d557dee01 weblib MDL-6820 Reverted modification due to unforseen regressions 2009-12-17 09:22:23 +00:00
Andrew Davis 49b115075e mnet MDL-12057 fixed mnet admin page table width 2009-12-17 08:20:35 +00:00
Andrew Davis c85a042383 live log MDL-20994 made "block editing on" button work on live logs page 2009-12-17 08:03:19 +00:00
Andrew Davis 6b8e4d338c weblib MDL-20826 improved convert_urls_into_links() 2009-12-17 07:43:46 +00:00
Moodle Robot af1d07d088 Updated the 19 build version to 20091217 2009-12-17 00:34:18 +00:00
Rossiani Wijaya 019907767a MDL-20949 printing out password policy requirements on signup page. 2009-12-16 01:51:48 +00:00
Andrew Davis d8a3469cfa quiz MDL-18896 small efficiency improvement 2009-12-16 00:51:28 +00:00
Moodle Robot 3f55dc7059 Updated the 19 build version to 20091216 2009-12-16 00:34:09 +00:00
Moodle Robot d2a247b68c Updated the 19 build version to 20091215 2009-12-15 00:34:51 +00:00
Moodle Robot bd2dbab136 Automatic installer.php lang files by installer_builder (20091215) 2009-12-15 00:28:11 +00:00
Gordon Bateson 811fab85a7 for consistency, use 0x80 instead of 128 in hotpot_charcode_to_utf8() 2009-12-14 03:28:26 +00:00
Moodle Robot 6bb053347c Updated the 19 build version to 20091214 2009-12-14 00:33:35 +00:00
Moodle Robot 959792675e Updated the 19 build version to 20091213 2009-12-13 00:33:18 +00:00
Moodle Robot 23e91e0dcc Updated the 19 build version to 20091212 2009-12-12 00:33:47 +00:00
Moodle Robot f16b7bf9b0 Updated the 19 build version to 20091211 2009-12-11 00:33:31 +00:00
Moodle Robot 842d34099c Updated the 19 build version to 20091210 2009-12-10 00:34:09 +00:00
Eloy Lafuente 6bf36bc2b9 MDL-20667 grader report - fix visualization annoyance in overall/range rows 2009-12-10 00:12:42 +00:00
Rossiani Wijaya e29748a54a MDL-20044 fixed ajax functionality when using bullet points (<ul>) in topic summary. 2009-12-09 01:59:47 +00:00
Moodle Robot d694bf90a1 Updated the 19 build version to 20091209 2009-12-09 00:34:52 +00:00
Gordon Bateson d113780338 MDL-20810: add missing function hotpot_charcode_to_utf8() required when importing Hot Potatoes files containing non-ascii chars into Moodle question bank 2009-12-08 04:09:59 +00:00
Moodle Robot b2ffd65ec2 Updated the 19 build version to 20091208 2009-12-08 00:33:56 +00:00
Moodle Robot 8bbd86a2db Automatic installer.php lang files by installer_builder (20091208) 2009-12-08 00:27:25 +00:00
Eloy Lafuente 01c986b64b MDL-20961 customize notices showed when user information is not included in baclup 2009-12-07 11:36:55 +00:00
jerome mouneyrac e223319801 flash upgrader MDL-20841 fix swfobject javascript bug related to http://code.google.com/p/swfobject/issues/detail?id=332 2009-12-07 03:23:59 +00:00
Moodle Robot 53bc0353b7 Updated the 19 build version to 20091207 2009-12-07 00:33:35 +00:00
Moodle Robot d64c3bf6d3 Updated the 19 build version to 20091206 2009-12-06 00:33:16 +00:00
Eloy Lafuente becb6e1c07 MDL-21029 glossary - fix display of entries belonging to site/course global glossaries 2009-12-05 11:23:12 +00:00
Moodle Robot 43371caf2c Updated the 19 build version to 20091205 2009-12-05 00:34:06 +00:00
Moodle Robot 21b83bd0c8 Automatic installer.php lang files by installer_builder (20091205) 2009-12-05 00:27:25 +00:00
Tim Hunt 331e1a976a Typo in calculated qtype lang file. 2009-12-04 19:02:15 +00:00
David Mudrak ed55d692f3 MDL-20992 workshop supports course reset 2009-12-04 12:21:28 +00:00
Dongsheng Cai 0cd77e569f "MDL-20125, added configurable setting to section_links block, credits to Jason Hardin" 2009-12-04 06:40:44 +00:00
Dongsheng Cai 44d34e8990 "MDL-20587, chat module, show sessions with just one users, credits to Daniel Neis" 2009-12-04 03:51:20 +00:00
Dongsheng Cai 8aadf873b7 "MDL-20819, sometimes, modules return non-array which can break stats processing, added more error checking" 2009-12-04 03:04:37 +00:00
Moodle Robot cee8f4b24a Updated the 19 build version to 20091204 2009-12-04 00:33:27 +00:00
Sam Hemelryk c12167467e weblib MDL-20725 Fixed string formatting issue in nested selects 2009-12-03 08:00:00 +00:00
jerome mouneyrac 0402b9d31e flash upgrader MDL-20841 fix xhtml strict, Kudo to Tim Hunt 2009-12-03 02:59:38 +00:00
jerome mouneyrac e63d2e43b0 flash upgrader MDL-20841 update phpdoc 2009-12-03 02:37:39 +00:00
Rossiani Wijaya ec30a562d8 MDL-20725 remove double escaping characters. 2009-12-03 02:09:58 +00:00
Andrew Davis 891027acf3 componentlib MDL-20966 Added a guard to prevent a php warning during upgrade 2009-12-03 00:59:55 +00:00
Moodle Robot 7b9b800b54 Updated the 19 build version to 20091203 2009-12-03 00:33:49 +00:00
Petr Skoda d44b4a796d MDL-21026 improved entity handling 2009-12-02 21:09:12 +00:00
Sam Marshall d5f4161c2c MDL-2684: kses strips out CSS from style tags unless the first property is on 'allowed' list, this is silly 2009-12-02 17:59:12 +00:00
Andrew Davis e7062765e0 mnet MDL-21019 Removed hard coded strings 2009-12-02 09:24:48 +00:00
Moodle Robot cc692622fc Updated the 19 build version to 20091202 2009-12-02 00:34:29 +00:00
Moodle Robot daee0e4fc5 Updated the 19 build version to 20091201 2009-12-01 00:34:12 +00:00
Sam Marshall 8562968ec9 MDL-21009 Group selector must use absolute links in order to work with javascript off (last minute stupid testing fix) 2009-11-30 17:18:44 +00:00
Sam Marshall dcca8dfb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:16 +00:00
Dongsheng Cai 92fa5b0f2a "MDL-20985, fixed typo" 2009-11-30 02:16:18 +00:00
Eloy Lafuente 8a57240f6f MDL-20826 convert_urls_into_links() - add some test to reveal (side?) problems
and allow comparing of alternatives
2009-11-30 02:02:31 +00:00
Andrew Davis a757f4a2d7 unit tests MDL-19060 unified the two checks for CVS directories 2009-11-30 01:16:23 +00:00
Moodle Robot dbc8d12eb8 Updated the 19 build version to 20091130 2009-11-30 00:33:55 +00:00
Eloy Lafuente 6dd255bde8 MDL-16658 restore users pre-check. Reviewed logic with latest discussions. Continues disabled 2009-11-29 19:34:07 +00:00
Moodle Robot 2315ad0483 Updated the 19 build version to 20091129 2009-11-29 00:33:58 +00:00
Moodle Robot 0569249083 Updated the 19 build version to 20091128 2009-11-28 00:33:51 +00:00
Moodle Robot 12aa1d3f87 Automatic installer.php lang files by installer_builder (20091128) 2009-11-28 00:27:15 +00:00
Eloy Lafuente a5f0b03411 MDL-19697 mnet auth - start saving user->firstaccess 2009-11-27 14:47:43 +00:00
jerome mouneyrac ee720bd06f flash upgrader MDL-20841 Add lang support to the flash upgrader 2009-11-27 09:50:14 +00:00
Andrew Davis bb2fcfcbc3 unit tests MDL-20537 Added another unit test for shorten_text 2009-11-27 06:12:07 +00:00
Andrew Davis 9e12452925 mnet admin MDL-12057 Added an entry to standard style css to make tables on admin/mnet/index.php the same width 2009-11-27 05:57:52 +00:00
Andrew Davis dcc7e27813 cornflower theme MDL-20987 Added missing close div tag at the end of cornflower footer.html 2009-11-27 05:52:25 +00:00
Andrew Davis 1721304eea grader report MDL-20179 Fixed broken JS on grader report 2009-11-27 05:45:56 +00:00
Andrew Davis a368208636 unit test MDL-19060 prevent unit tests from scanning cvs and .git directories 2009-11-27 05:40:02 +00:00
Martin Dougiamas 5bcd30d5c3 Bumping the version post-release 2009-11-27 04:51:03 +00:00
Moodle Robot 75e5a14ada Updated the 19 build version to 20091127 2009-11-27 00:34:47 +00:00
Moodle Robot 0ace0f0bdc Automatic installer.php lang files by installer_builder (20091127) 2009-11-27 00:28:06 +00:00
David Mudrak 6b67b00992 MDL-20981 admin/lang.php escapes all variables but $a placeholders 2009-11-26 14:32:57 +00:00
Eloy Lafuente fbb35a56e9 MDL-20982 glossary - make print view to respect current theme 2009-11-26 11:30:34 +00:00
Sam Hemelryk f334afe662 admin MDL-20980 Touched up regex that determines weak password salts 2009-11-26 09:01:04 +00:00
Sam Hemelryk 9cf85078d5 login MDL-20875 Fixed bug with messaging popup when changing password. Thanks Rossi for the patch 2009-11-26 07:25:31 +00:00
Sam Hemelryk a2a5c0875e upgrade MDL-20978 Added site's URL into the message subject sent out with recent upgrades 2009-11-26 06:48:43 +00:00
Moodle Robot c8db64ec4d Automatic installer.php lang files by installer_builder (20091126) 2009-11-26 00:26:55 +00:00
Moodle Robot a0026d1ef2 Updated the 19 build version to 20091126 2009-11-25 18:24:53 +00:00
Martin Dougiamas 257135e58e Bumped to 1.9.7 2009-11-25 18:16:08 +00:00
Martin Dougiamas 8ee5b976b1 security overview MDL-20834 Added support for role aliases in courses 2009-11-25 18:01:24 +00:00
Martin Dougiamas f9e1d25dbb security overview MDL-20834 Improved strings, and 3 lists now: roles, overrides and users (SQL from skodak, thanks!) 2009-11-25 17:45:24 +00:00
Petr Skoda 676fff3fa1 MDL-20962 fixed forced new passowrd logic 2009-11-25 17:05:28 +00:00
Martin Dougiamas 6d558e7705 security report MDL-20834 Fixing roles checks 2009-11-25 15:28:18 +00:00
Petr Skoda 5ed143ccb7 MDL-20938 fixed colspans - credit goes to Martin Schuhmann and Patrick Pollet 2009-11-25 12:37:37 +00:00
Martin Dougiamas 79c4ecf30d security report MDL-20834 Fixed the strings for backup data check 2009-11-25 09:21:49 +00:00
Martin Dougiamas 47ee4d187f security report MDL-20834 Added a check for moodle/backup:userinfo to inform the admin about people who might be able to backup user data 2009-11-25 08:43:59 +00:00
Dongsheng Cai deacd770bd "MDL-8677, fixed mimetype name" 2009-11-25 06:36:19 +00:00
Moodle Robot f9c229e1fa Updated the 19 build version to 20091125 2009-11-25 00:33:51 +00:00
Eloy Lafuente 4dd49f4cac XHTML 2009-11-25 00:12:03 +00:00
Tim Hunt 288a3b29a6 Unit tests: Change the parent class to avoid a deprecated class.
This is necessary to make it work in PHP 5.3 (as well as PHP 4).
2009-11-24 21:45:28 +00:00
Dan Marsden 51e0609e4a SCORM MDL-20955 fix bad use of update_record - thanks Petr 2009-11-24 21:02:12 +00:00
Dan Marsden 54add7c3fa SCORM MDL-20955 addslashes fixes 2009-11-24 21:00:08 +00:00
Pierre Pichet 3e52ba108f MDL-20960 testing correctly response 0 as not null line 348 2009-11-24 20:29:44 +00:00
Petr Skoda c22b20d440 MDL-20958 fixed login issues when login via https required 2009-11-24 16:20:22 +00:00
Petr Skoda f133092053 MDL-20948 reverting previous commit, wrong branch! 2009-11-24 14:50:40 +00:00
Petr Skoda f8915b7b86 MDL-20948 auth plguins do not throw notices in methods if not configured yet 2009-11-24 14:49:44 +00:00
Helen Foster 1f45a91137 admin lang string: MDL-18807 small rewording 2009-11-24 13:12:03 +00:00
Tim Hunt 15b9c8e9c6 random question history MDL-20951: Two minor bugs in the fix for MDL-20776.
Thanks to Oleg Sychev for noticing these problems.
2009-11-24 11:49:23 +00:00
Eloy Lafuente 5929c001fa MDL-16658 users pre-check. Committing current *disabled* code to have it
already under CVS control and better handling
2009-11-24 09:47:05 +00:00
Martin Dougiamas 5459e76dd1 flash detection MDL-20841 Added sesskey checking to the environment script to prevent DoS to users (Thanks for the catch Petr!) 2009-11-24 09:10:48 +00:00
Martin Dougiamas 182951c6ad MDL-20841 Fixed some naughty hash comments :) 2009-11-24 08:51:01 +00:00
Martin Dougiamas b8d7ecaa48 flash detection MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in print_header is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash. Still requires wider testing, and some lang support. Credits to Jerome Mouneyrac. 2009-11-24 08:44:43 +00:00
Petr Skoda 69df27c838 MDL-19608 do not force changing of password in external accounts 2009-11-24 08:41:20 +00:00
Martin Dougiamas d033b12887 passwordsalt notice MDL-18807 Added site info to email, fixed broken link and HTML mail formatting 2009-11-24 05:31:09 +00:00
Martin Dougiamas 7b9797028e passwordsalt notice MDL-18807 Remove some debugging code that made the notice always show :) 2009-11-24 04:04:20 +00:00
Sam Hemelryk f544529f07 upgrade MDL-20933 Fixed warning if get_records_sql returned false rather than an array 2009-11-24 04:03:01 +00:00
Moodle Robot a27c35d11f Updated the 19 build version to 20091124 2009-11-24 00:33:47 +00:00
Eloy Lafuente dac27854a6 MDL-20939 backup & restore - avoid admins to be always included. Two things
were causing this: wrong get_users_by_capability() call and standard scales.
Improved scales restore to observe the 'moodle/course:managescales' cap.
2009-11-24 00:12:35 +00:00
Petr Skoda 02941fdb0d MDL-20934 'not cached' flag used in all auth plugins that do not need the password 2009-11-23 21:53:47 +00:00
Eloy Lafuente f465c19005 MDL-20941 store hashed username into user->email field for deleted users 2009-11-23 18:46:10 +00:00
Petr Skoda 26f8490b91 MDL-20937 different fix for problems with forcing passsword change for admins with external auth 2009-11-23 09:07:18 +00:00
Sam Hemelryk 17ba97e5be upgrade MDL-20937 Only force admins to change password if auth=manual or email 2009-11-23 08:10:49 +00:00
Andrew Davis 9bf18ccaad forums MDL-20578 no longer using like in queries so removed retrieval of db like keyword 2009-11-23 05:09:04 +00:00
Moodle HQ git importer 2b7cefa2f5 Fixing drift between CVS and git 2009-11-23 01:33:09 +00:00
Andrew Davis dcb7585070 grader report MDL-20914 Html tooltips now work in IE on the grader report 2009-11-23 01:33:09 +00:00
Moodle Robot ec252f75e7 Updated the 19 build version to 20091123 2009-11-23 00:34:13 +00:00
Moodle Robot 09da7e96ce Automatic installer.php lang files by installer_builder (20091123) 2009-11-23 00:27:39 +00:00
Petr Skoda 55e6d86a31 MDL-20931 fixed input validation 2009-11-22 21:02:23 +00:00
Petr Skoda f73ccb88fd MDL-20933 fixed a regression, we should not force changing of password for admins that can not actually change the password 2009-11-22 16:54:35 +00:00
Eloy Lafuente 1f5f68c810 MDL-20932 user->secret out - merged from 18_STABLE 2009-11-22 13:34:26 +00:00
Petr Skoda cf6e1ae752 MDL-20930 fixed input validation 2009-11-22 12:43:10 +00:00
Petr Skoda eaba242517 MDL-20929 fixed input validation 2009-11-22 11:09:31 +00:00
Petr Skoda 8c392d1855 MDL-20928 fixed glossary entry access control 2009-11-22 10:34:56 +00:00
Moodle Robot 9330cd063e Updated the 19 build version to 20091122 2009-11-22 00:33:27 +00:00
Petr Skoda 4b682a44bc MDL-20927 fixed module login issue 2009-11-21 23:49:44 +00:00
Petr Skoda 84971b914d MDL-20926 fixed fetching of cm 2009-11-21 23:09:28 +00:00
Petr Skoda 64da683140 MDL-20901 fixed input validation 2009-11-21 22:23:03 +00:00
Petr Skoda 92145339d6 MDL-20901 undoing previous change, not needed 2009-11-21 22:01:38 +00:00
Petr Skoda 561020d00b MDL-20901 fixed input validation 2009-11-21 21:57:03 +00:00
Petr Skoda 622ba79b53 MDL-20901 fixed input validation 2009-11-21 20:41:08 +00:00
Petr Skoda 73f67f3e9b MDL-20925 fixed input validation and course ajax now fully respects the disable course ajax option 2009-11-21 16:29:06 +00:00
Petr Skoda 9208e5ed5e MDL-20924 invalid test for not configured lams module 2009-11-21 15:58:14 +00:00
Petr Skoda ead8c49a45 MDL-20901 fixed input validation 2009-11-21 15:33:34 +00:00
Petr Skoda 7eba4674c1 MDL-20901 fixed input validation 2009-11-21 15:27:10 +00:00
Petr Skoda 57b2fa96d4 MDL-20901 fixed input validation 2009-11-21 15:16:40 +00:00
Valery Fremaux 76c9f22f9e fix last http://tracker.moodle.org/browse/MDL-20917 shorten errors. 2009-11-21 13:50:14 +00:00
Eloy Lafuente b270b641f6 MDL-9251 backup/restore *all* users - is now forbidden for users
lacking backup/restore permission at system level.
2009-11-21 11:49:46 +00:00
Eloy Lafuente 32409b67e3 MDL-20849 - improved lang string, thanks, Helen. Merged from 18_STABLE 2009-11-20 17:47:50 +00:00
Moodle Robot 2775026ffc Updated the 19 build version to 20091121 2009-11-20 17:06:31 +00:00
Moodle Robot e892678aee Automatic installer.php lang files by installer_builder (20091121) 2009-11-20 16:59:54 +00:00
Eloy Lafuente e228270611 MDL-20916 protect the whole xmldb editor with sesskey. 2009-11-20 14:26:23 +00:00
Petr Skoda bddfa51dcf MDL-20901 fixed input validation 2009-11-20 08:50:52 +00:00
Petr Skoda 0f7b1a996a MDL-20901 fixed input validation 2009-11-20 08:33:47 +00:00
Petr Skoda c8554869ea MDL-20901 fixed input validation 2009-11-20 08:25:32 +00:00
Sam Hemelryk 56063d6f63 upgrade MDL-18807 Fixed bug with html been emailed as plain text 2009-11-20 08:16:24 +00:00
Andrew Davis 84011efb0d messages MDL-17601 message/discussion.php was causing errors in the apache error log. fav icon not found. 2009-11-20 03:52:07 +00:00
Andrew Davis 3e20548f1f messages MDL-19107 html entities decoded and html tags removed from email message subject line 2009-11-20 03:29:10 +00:00
Andrew Davis c917a13b47 users online block MDL-18328 users online block always reported 1 online user to the admin if more than 50 online 2009-11-20 03:08:59 +00:00
Andrew Davis de7092fe1f datalib MDL-18470 Implemented more readable version of get_admin() 2009-11-20 02:26:40 +00:00
Andrew Davis f7e5d9235b roles MDL-20686 Provided a convenient links back to the category from the role assignment screen 2009-11-20 01:42:11 +00:00
Eloy Lafuente 826e1aa33c MDL-20849 moodle/restore:userinfo - new cababilty to allow/deny
permissions to restore any (users, messages, modulesactivity...)
user-level information.
2009-11-19 23:55:24 +00:00
David Mudrak 4a7ab3c0fc Fixed wording. Optional things can not be required.
Also, the word "extension" should be used instead of "library" as the
library can be installed on the server but it does not automatically
mean PHP can use it.
2009-11-19 23:07:35 +00:00
Petr Skoda 2b98208b2c MDL-20901 fixed input validation 2009-11-19 19:48:00 +00:00
Petr Skoda bb4cf8d719 MDL-20901 fixed input validation 2009-11-19 19:42:52 +00:00
Petr Skoda 62adf3a036 MDL-20901 fixed input validation 2009-11-19 19:26:38 +00:00
Tim Hunt 8a7b41f2a6 question editing from quiz: MDL-20709 better return URL. 2009-11-19 19:09:07 +00:00
Tim Hunt 8d1e5fdf4a question history: MDL-20776 state history was not shown for random questions
I took the opportunity to clean up the code that generates the history.
Thanks to G?bor Katona for helping to find the problem.
2009-11-19 19:03:57 +00:00
Petr Skoda 4d93b2059f MDL-20901 fixed input validationand removed annoying redirect which must not be clicked during course import 2009-11-19 18:48:52 +00:00
Petr Skoda a8adf25d11 MDL-20901 fixed input validation 2009-11-19 18:11:45 +00:00
Tim Hunt 55d5661bbc question editing: MDL-20380 Highlight the last edited question when you cancel the form too. 2009-11-19 17:59:55 +00:00
Tim Hunt 08df518104 question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category. 2009-11-19 17:46:17 +00:00
Tim Hunt 56ed03a328 manual grading: MDL-20581 Fix potential XSS problem.
Thanks to Penny for spotting this.
2009-11-19 17:30:11 +00:00
Tim Hunt 85f530cf0d graphlib - MDL-20855 fix alignemnt issue with the x-axis.
Labels with a descender (e.g. May) appeared lower than ones without (e.g. Jun).
Text is drawn baseline aligned, not bottom aligned,and so the code was computing the position wrongly.
2009-11-19 16:56:49 +00:00
Petr Skoda 6d8f205529 MDL-20901 fixed input validation 2009-11-19 16:39:52 +00:00
Petr Skoda b533531d9f MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry 2009-11-19 10:40:17 +00:00
Petr Skoda c2d4c1661a MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry 2009-11-19 10:29:06 +00:00
Petr Skoda 58693ff7a6 MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry 2009-11-19 10:10:50 +00:00
Petr Skoda 59fa78efa4 MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry 2009-11-19 09:56:52 +00:00
Petr Skoda 199be8868e MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry 2009-11-19 09:50:27 +00:00
Petr Skoda 426e269e58 MDL-20821 reverting untested buggy ereg cleanup, not acceptable for stable, sorry 2009-11-19 09:39:18 +00:00
Petr Skoda 3587b8dc5d MDL-20901 fixed input validation 2009-11-19 08:56:14 +00:00
Andrew Davis a762409317 validation MDL-20821 Fixed a mistake in validation 2009-11-19 06:14:54 +00:00
Andrew Davis 291542b8ef mnet MDL-20208 Added the string 'allhosts_no_options' 2009-11-19 04:03:44 +00:00
Dongsheng Cai dd4b038bbf "MDL-20886, fixed message popup window for guest user" 2009-11-19 03:27:53 +00:00
Petr Skoda 639f910c5f MDL-18807, MDL-20890 fixed notices 2009-11-18 22:34:31 +00:00
Petr Skoda 6367a8fa61 MDL-20900 iconv now required in 2.0 2009-11-18 22:25:26 +00:00
Eloy Lafuente f484cb3e30 MDL-20834 new cap moodle/backup:userinfo - controls who can backup
user related info. Disabled by default to teachers, oh my! :-(
2009-11-18 11:15:30 +00:00
Petr Skoda edd82b3a50 MDL-20885 PHP soap lib now recommended 2009-11-18 10:07:44 +00:00
Sam Hemelryk b1807d5b43 security MDL-18807 Changed language strings: Thanks for the new strings Helen 2009-11-18 09:39:01 +00:00
Andrew Davis 76561f1e4e all MDL-20821 Removed ereg related deprecated functions 2009-11-18 07:36:20 +00:00
Andrew Davis 4dadad0869 file readme_moodle.txt was added on branch MOODLE_19_STABLE on 2009-11-18 07:36:25 +0000 2009-11-18 06:05:12 +00:00
Andrew Davis 8a66b47903 file readme_moodle.txt was added on branch MOODLE_19_STABLE on 2009-11-18 07:36:29 +0000 2009-11-18 06:05:11 +00:00
Andrew Davis a5f92356ae file readme_moodle.txt was added on branch MOODLE_19_STABLE on 2009-11-18 07:36:27 +0000 2009-11-18 06:05:11 +00:00
Andrew Davis ef489b88fe file README_MOODLE.txt was added on branch MOODLE_19_STABLE on 2009-11-18 07:36:27 +0000 2009-11-18 06:05:10 +00:00
Eloy Lafuente 1ab9b8062f MDL-20846 creating users on restore - new strings 2009-11-18 01:22:52 +00:00
Eloy Lafuente c0c2459bed MDL-20846 creating users on restore - part2 - hack login to inform and
allow 'restored' users to reset their password.
2009-11-18 00:22:44 +00:00
Petr Skoda 279929dd13 MDL-20639 fixed mnet security trouble - credit goes to Adrian Schlegel 2009-11-17 17:29:37 +00:00
Petr Skoda 3786d95b19 MDL-18006 MDL-18807 MDL-20853 tried to explain that admin must copy old main solat to alternative salt list, otherwise all passwords with old salt are invalidated 2009-11-17 16:45:27 +00:00
Petr Skoda e9a71201b0 MDL-18006 MDL-18807 MDL-20853 warn that the default salt is definitely weak 2009-11-17 16:35:08 +00:00
Petr Skoda 30a8ac9187 MDL-18006 MDL-18807 MDL-20853 suggest some longer and better salt 2009-11-17 16:30:08 +00:00
Petr Skoda 89ba2009a9 MDL-18006 MDL-18807 MDL-20853 fixed whitespace 2009-11-17 16:20:10 +00:00
Petr Skoda 8993cd4d22 MDL-18006 MDL-18807 MDL-20853 do not force changing of admin passwords if password not stored in Moodle 2009-11-17 16:18:55 +00:00
Petr Skoda 5c66ab35a3 MDL-18006 MDL-18807 MDL-20853 adding salt info into config-dist.php 2009-11-17 15:53:35 +00:00
Eloy Lafuente c7735da110 MDL-20846 creating users on restore - part1 - mark password as 'restored'
so login will detect that for resetting password. Also some minor improvements
into user/auth detection
2009-11-17 15:22:47 +00:00
Petr Skoda 46697d1290 MDL-19608 do not force changing of passwords if users may not actually change them 2009-11-17 11:36:29 +00:00
Petr Skoda 9d4b3666bb MDL-19608 allow forced password change for everybody including admin 2009-11-17 10:17:04 +00:00
Petr Skoda 61b7eaffa7 MDL-19608 fixed potential issue when too many users selected, replaced redirect by continue 2009-11-17 10:15:33 +00:00
Sam Hemelryk 0a4b736b9c security MDL-18006 MDL-18807 MDL-20853 Several improvements to increase security
*  Installation
      o Adds a random $CFG->passwordsaltmain to config.php on install
      o Changes passwordpolicy default to on
* Upgrade
      o If passwordpolicy is off it switches it on
      o Checks if passwordsaltmain has been set and if not recommends to the user and all admins to add it, both on the upgrade output and via messaging.
      o Forces all admin users to change their password at next login.
* General
      o Extends the security overview report to check for passwordmainsalt and recommend if it not set (or weak)
2009-11-17 09:55:51 +00:00
Petr Skoda 5953ae1d30 MDL-20638 importing latest smarty 2.6.26 2009-11-17 08:45:54 +00:00
Martin Dougiamas 8bcf4b5749 backup/nopasswords MDL-20838 Backups are now never saved with user passwords unless $CFG->includeuserpasswordsinbackup is turned on in config.php (only) 2009-11-17 05:41:51 +00:00
Sam Hemelryk efb9ebe76b themes MDL-20780 the Moodle release info is no longer shown within the footer 2009-11-17 03:10:13 +00:00
Moodle Robot ccf90bf6cb Updated the 19 build version to 20091117 2009-11-17 00:33:57 +00:00
Anthony Borrow f7452149f8 MDL-19608 - adding bulk user action to force password change, credit to Iñaki Arenaza for the patch 2009-11-16 17:11:31 +00:00
Moodle Robot e9af57fc49 Updated the 19 build version to 20091116 2009-11-16 00:34:06 +00:00
Moodle Robot 26dd61268e Updated the 19 build version to 20091115 2009-11-15 00:34:55 +00:00
Moodle Robot f5b31df037 Updated the 19 build version to 20091114 2009-11-14 00:33:46 +00:00
David Mudrak 565ec4b9cb MDL-13049 workshop: grade for assessments ignores hot assessments
Hot assessments in 1.9 are those just creted (allocated) with the
timecreated in the future and the grade = -1. Because the workshop
view.php and lib.php used different ways how to calculate the grading
grade (grrr!), it led to different grades in Workshop and in the
Gradebook.
2009-11-13 22:47:07 +00:00
David Mudrak ee92868003 grade_update_mod_grades() does not index grades correctly
$grades must be indexed by user id because the function they are passed
says so. This caused problems with the workshop grades syncing. Solved
as part of MDL-13049
2009-11-13 22:09:03 +00:00
David Mudrak 53bf4729a0 MDL-13049 Grading grade must be converted to int before saving in database 2009-11-13 22:07:12 +00:00
Petr Skoda d58832a876 MDL-20836 fixed new resource preset value 2009-11-13 21:01:55 +00:00
Andrew Davis 004179e48b report backup MDL-19903 Fixed backup report table header 2009-11-13 06:16:21 +00:00
Andrew Davis 799f8e0888 my moodle MDL-19543 uses theme block min and max widths rather than hard coded values 2009-11-13 05:35:09 +00:00
Moodle Robot 9dfb4d5e50 Updated the 19 build version to 20091113 2009-11-13 00:34:18 +00:00
Eloy Lafuente 035d0f2edd MDL-20728 ims-cc import - fix importing of quiz with only 1 question 2009-11-12 23:53:50 +00:00
David Mudrak 514cda9cd7 MDL-20830 workshop requires sesskey when editing submission 2009-11-12 21:30:49 +00:00
David Mudrak e06d7b43a0 MDL-20830 workshop requires sesskey when removing attachment 2009-11-12 21:30:01 +00:00
David Mudrak 726b471179 MDL-20830 workshop requires sesskey when deleting submission 2009-11-12 21:28:36 +00:00
David Mudrak 8e3264e21e MDL-20830 workshop requires sesskey when clearing the late submission flag 2009-11-12 21:28:05 +00:00
David Mudrak a102b48b2f MDL-20830 workshop requires sesskey when amending the submission title 2009-11-12 21:27:48 +00:00
David Mudrak 8dba124a13 MDL-20830 workshop: better deadlines defaults
The workshop is saved with reasonable defaults even without touching the
date selectors.
2009-11-12 20:09:23 +00:00
David Mudrak 63f3e269ca MDL-20827 workshop: set correct wtype on newly created instances 2009-11-12 20:09:07 +00:00
David Mudrak 94e4101a68 MDL-7218 workshop: remove orphaned assessments on upgrade 2009-11-12 15:47:08 +00:00
David Mudrak 7f6c2d125d MDL-7218 workshop: delete all linked assessments on a submission removal
Credit goes to Stanislav Tsymbalov for spotting this. See the tracker
for more details.
2009-11-12 15:46:40 +00:00
Francois Marier 04a2ac065b MDL-20781 lib/excellib: add write_date() function 2009-11-12 01:58:05 +00:00
Moodle Robot 4706907460 Updated the 19 build version to 20091112 2009-11-12 00:33:21 +00:00
Moodle Robot d3e2e7e029 Updated the 19 build version to 20091111 2009-11-11 00:33:54 +00:00
Tim Hunt 115cc42f87 gradebook cron: MDL-20783 - was broken.
Committing this trivial fix, even though it is testing day. :-p
2009-11-10 09:51:32 +00:00
Moodle Robot 2df591c3d5 Updated the 19 build version to 20091110 2009-11-10 00:33:26 +00:00
Penelope Leach 38e7721a31 MDL-20596 - fixes to backup_course_silently and import_backup_file_silently 2009-11-09 13:05:37 +00:00
Gordon Bateson f50ea0419e ensure user has_capability('mod/hotpot:attempt', $module) when viewing a HotPot or submitting results 2009-11-09 01:27:21 +00:00
Moodle Robot 9218ade3ad Updated the 19 build version to 20091109 2009-11-09 00:33:07 +00:00
Moodle Robot 2d40241c54 Automatic installer.php lang files by installer_builder (20091109) 2009-11-09 00:26:40 +00:00
Petr Skoda b3640ec473 MDL-20723 workaround for zlib compressed scripts; backported from HEAD 2009-11-08 22:23:54 +00:00
Eloy Lafuente c88a1f767e NOBUG: Initial commit of Dhivehi installer lang pack. Backported from HEAD 2009-11-08 16:19:06 +00:00
Eloy Lafuente 62f8381ff4 file installer.php was added on branch MOODLE_19_STABLE on 2009-11-08 16:19:06 +0000 2009-11-08 16:16:19 +00:00
Moodle Robot 3545a15cfe Updated the 19 build version to 20091108 2009-11-08 00:32:41 +00:00
Moodle Robot 661cf3677b Updated the 19 build version to 20091107 2009-11-07 00:32:59 +00:00
Moodle Robot ed57b962ae Automatic installer.php lang files by installer_builder (20091107) 2009-11-07 00:26:23 +00:00
Moodle Robot 0ef4abab04 Updated the 19 build version to 20091106 2009-11-06 00:34:02 +00:00
Moodle Robot 7690817ffe Updated the 19 build version to 20091105 2009-11-05 00:34:00 +00:00
Inaki a025a96009 enrol/ldap: MDL-13952 Don't auto create courses if auto creation not enabled.
Merged from MOODLE_18_STABLE
2009-11-04 21:00:25 +00:00
Tim Hunt b78d7c8ab0 quiz MDL-20718 notice on review page. 2009-11-04 14:07:13 +00:00
Jenny Gray 7bfea4b502 MDL-20665 fixed error from postgres on validating duplicate category name when entering new category 2009-11-04 12:16:18 +00:00
Moodle Robot c3c76e6dc1 Updated the 19 build version to 20091104 2009-11-04 00:33:31 +00:00
Moodle Robot 2d178e2222 Automatic installer.php lang files by installer_builder (20091104) 2009-11-04 00:26:50 +00:00
Rossiani Wijaya e6e4a19712 course/view MDL-10221 delete course items with Ajax enabled 2009-11-03 02:39:02 +00:00
Moodle Robot c8b0aa2ff4 Updated the 19 build version to 20091103 2009-11-03 00:33:50 +00:00
Tim Hunt 3e3281e82d question bank: MDL-20707 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:15:19 +00:00
Tim Hunt 593257a5ae quiz manual grading: MDL-20706 prevent XSRF.
Uses new require_sesskey funciton from MDL-20702.
2009-11-02 17:08:05 +00:00
Tim Hunt 066e898965 lesson: MDL-20705 Fix XSRF issues.
Uses new require_sesskey funciton from MDL-20702.
2009-11-02 17:01:06 +00:00
Tim Hunt 9568417f5f moodlelib: MDL-20702 New require_sesskey function.
Backported from head.
2009-11-02 16:50:33 +00:00
Martin Dougiamas df87462018 forum rating ajax MDL-20119 Enable ajax to work on single-discussion forum 2009-11-02 06:29:24 +00:00
Moodle Robot 1ec7f48dbe Updated the 19 build version to 20091102 2009-11-02 00:33:03 +00:00
Moodle Robot 7f541b07b2 Updated the 19 build version to 20091101 2009-11-01 00:32:56 +00:00
Moodle Robot b3cdd9feb8 Updated the 19 build version to 20091031 2009-10-31 00:34:14 +00:00
Moodle Robot fcaf521542 Automatic installer.php lang files by installer_builder (20091031) 2009-10-31 00:26:53 +00:00
Dan Poltawski 0e9e95a9f6 blocks/html MDL-3703 Hide the title of block when none set
This is fixed sensibly in the Moodle 2.0 block api by not displaying the
block header html with empty content..
2009-10-30 23:36:26 +00:00
Dan Poltawski 4f7212a44c enrol/paypall MDL-16782 - Default cost is not used
When a course level cost is not set, the global setting is not used.
2009-10-30 22:09:23 +00:00
Dan Poltawski 650bb34fec mod/assignment: MDL-16796 Support non-core assignment type titles
Without this patch, the add actvitiy drop down displays ugly
broken lang strings.

This is ugly - hopefully in Moodle 2.0 we will eventually support fully
pluggable architecture in a clean way.
2009-10-30 21:10:04 +00:00
Eloy Lafuente 349442efda MDL-20288 add_to_log() - handle empties in a cross-db way. Merged from 18_STABLE 2009-10-30 16:45:56 +00:00
Dan Poltawski c3867d3188 admin/process_email MDL-20682 Incorrect file handled closed
Thanks to Andrew Nicols for the patch
2009-10-30 16:24:00 +00:00
Rossiani Wijaya 69f471111c course/view MDL-10142 AJAX move functionality for section content 2009-10-30 09:28:11 +00:00
Rossiani Wijaya 65db12fec4 course/view MDL-10221 delete course items with Ajax enabled 2009-10-30 08:37:36 +00:00
David Mudrak 4c26a3a865 MDL-7932 workshop 1.x allows empty generalcomment and teachercomment 2009-10-30 08:15:17 +00:00
Moodle Robot c5c1cd38a2 Updated the 19 build version to 20091030 2009-10-30 00:32:43 +00:00
Moodle Robot 1057f66755 Updated the 19 build version to 20091029 2009-10-29 00:34:15 +00:00
Andrea Bicciolo f6b50c9286 Fix for MDL-20594 2009-10-28 11:19:27 +00:00
Dan Poltawski 9ec826a37a auth/mnet - MDL-16872 Fix incorrect use of clone() on arrays
Thanks to Nigel McNie for the patch
2009-10-28 11:15:05 +00:00
Moodle Robot 656925c007 Updated the 19 build version to 20091028 2009-10-28 00:33:28 +00:00
Nicolas Connault 80aafa81c2 MDL-12972 Added icons next to each student name in the grader report, which link to the student's user grades report 2009-10-27 11:26:51 +00:00
Nicolas Connault 5e150ff30f no message 2009-10-27 11:24:55 +00:00
Moodle Robot 2289c2acde Updated the 19 build version to 20091027 2009-10-27 00:33:43 +00:00
Eloy Lafuente 9ff9dc4a68 MDL-20591 IMS-CC import: Integration committed. Next weeklies will include it. 2009-10-26 08:56:22 +00:00
Moodle Robot 4978b2536c Updated the 19 build version to 20091026 2009-10-26 04:33:40 +00:00
Martin Dougiamas 99b9115cff Buming post release 2009-10-26 04:22:20 +00:00
Moodle Robot a9dcd3fdb0 Updated the 19 build version to 20091025 2009-10-25 03:22:32 +00:00
Moodle Robot dcaea5dc4f Updated the 19 build version to 20091024 2009-10-24 03:39:20 +00:00
Sam Marshall f59ae74693 MDL-20537: fix for infrequent shorten_text bug 2009-10-23 15:10:49 +00:00
Moodle Robot 0f40532941 Updated the 19 build version to 20091023 2009-10-23 03:25:16 +00:00
stronk7 0140fcfc52 MDL-20620 ims-cc import - load resources in object, so navigation doesn't get lost 2009-10-22 20:30:52 +00:00
moodlerobot 6f64d57154 Updated the 19 build version to 20091022 2009-10-22 03:15:21 +00:00
moodlerobot 70eb37b3fb Automatic installer.php lang files by installer_builder (20091022) 2009-10-22 03:08:03 +00:00
moodler e35df1c80f lang/en MDL-20612 Reverting language string change 2009-10-21 07:51:41 +00:00
moodler 0e93a4d60f Bumping for 1.9.6 release 2009-10-21 07:48:11 +00:00
moodlerobot 07052301c3 Updated the 19 build version to 20091021 2009-10-21 03:18:55 +00:00
moodlerobot 59ae7c2a84 Automatic installer.php lang files by installer_builder (20091021) 2009-10-21 03:11:08 +00:00
whchuang 9846a7f090 MDL-20612 checking the "Show activity reports" string to "Show activity reports to students" to be more consistent and to avoid confusing for instructors.
Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/
2009-10-20 23:57:46 +00:00
moodlerobot 81d2e45981 Updated the 19 build version to 20091020 2009-10-20 00:33:23 +00:00
stronk7 56788d24dd MDL-20591 check for min libxml 2.6.30 version on ims-cc import 2009-10-19 17:19:20 +00:00
stronk7 05f337cc5f MDL-20591 ims cc import: fix two calls by reference 2009-10-19 13:41:42 +00:00
moodlerobot 6e0246e439 Updated the 19 build version to 20091019 2009-10-19 00:40:25 +00:00
moodlerobot 6385bf7185 Automatic installer.php lang files by installer_builder (20091019) 2009-10-19 00:33:30 +00:00
ashleyholman 53a810db85 MDL-20578 forum_print_overview() performance: fix unnecessary ILIKE match to make better use of log_coumodact_ix index 2009-10-19 00:13:26 +00:00
stronk7 62903322fc MDL-20591 IMS CC Import - lang file added 2009-10-18 21:39:28 +00:00
stronk7 dc63f8d03e MDL-20591 IMS CC Import: All the code (but its integration in restore) goes here. Great job, UVCMS! 2009-10-18 20:09:36 +00:00
moodlerobot 8ebc88c4d9 Updated the 19 build version to 20091018 2009-10-18 00:38:53 +00:00
moodlerobot aa8c2e48bd Updated the 19 build version to 20091017 2009-10-17 00:39:11 +00:00
mudrd8mz d626d3e470 MDL-20579 Fixed user variable 2009-10-16 11:12:34 +00:00
moodler 64c63e6cbb course/ajax MDL-20123 Hide/show buttons appropriately in AJAX mode for different formats/sections
Code written by Rossiani Wijaya, I'm just checking it in for her.
2009-10-16 09:37:05 +00:00
gbateson 621d9afe46 HotPot: refine detection of media urls in escaped javascript and <param> tags 2009-10-16 04:23:30 +00:00
moodlerobot 8bd76ea422 Updated the 19 build version to 20091016 2009-10-16 00:39:59 +00:00
moodlerobot f909dd7612 Updated the 19 build version to 20091015 2009-10-15 00:41:29 +00:00
moodler e9bc93157c forum/single MDL-18599 When a user edits a single-discussion forum, change the initial post to be owned by them 2009-10-14 07:00:00 +00:00
moodlerobot 063bc73658 Updated the 19 build version to 20091014 2009-10-14 00:39:56 +00:00
skodak 6190487787 MDL-20555 fixed quoting 2009-10-13 20:53:57 +00:00
dongsheng 158f3cb65f "MDL-15626, fixed ie error with expanding html editor" 2009-10-13 06:02:01 +00:00
moodlerobot e2f570a23a Updated the 19 build version to 20091013 2009-10-13 00:39:39 +00:00
sam_marshall 46e6e31b52 MDL-20537: Whitespace fixes for shorten_text (bugfixes to follow) 2009-10-12 13:05:04 +00:00
dongsheng 1afd70b2ac "MDL-14907, fixed UTF8 fold in iCal export, thanks Tomasz Muras" 2009-10-12 05:08:02 +00:00
moodlerobot bc6a100181 Updated the 19 build version to 20091012 2009-10-12 00:38:40 +00:00
moodlerobot c2b23ae47b Updated the 19 build version to 20091011 2009-10-11 00:39:15 +00:00
moodlerobot 6f94958749 Updated the 19 build version to 20091010 2009-10-10 00:39:13 +00:00
exe-cutor 897fa24950 shibboleth authentication: MDL-18597 Various small improvements and corrections 2009-10-09 11:07:22 +00:00
exe-cutor cd1ea5d656 shibboleth authentication settings: MDL-20524 preserves HTML entities in text fields 2009-10-09 10:48:49 +00:00
moodlerobot 06748958c5 Updated the 19 build version to 20091009 2009-10-09 00:39:47 +00:00
stronk7 2536c32b3e MDL-20352 - raising oracle 2.0 min req. to 10.2 ; backported from HEAD 2009-10-08 14:47:46 +00:00
ericmerrill bd1f93687d My Moodle/Courses: MDL-20472 get_my_courses returns 2 more courses then limit. Repairs two off by one errors in get_my_courses and get_user_courses_bycap. 2009-10-08 04:52:16 +00:00
nicolasconnault 5ec6beffd6 MDL-19567 Correctly ordering imported courses by sortorder (previously not ordered explicitly) 2009-10-08 02:05:26 +00:00
moodlerobot ed6a79d869 Updated the 19 build version to 20091008 2009-10-08 00:39:38 +00:00
ericmerrill b5cae06cd4 My Moodle: MDL-19089 Course limit for My Moodle not propperly obeyed. Fixing very minor typo in previous commit 2009-10-07 16:27:29 +00:00
ericmerrill a17fcb7b53 My Moodle: MDL-19089 Course limit for My Moodle not propperly obeyed. Fixing so that it obeys mycoursesperpage and propperly displays '...' 2009-10-07 16:24:56 +00:00
moodlerobot 39a631bbe6 Updated the 19 build version to 20091007 2009-10-07 00:39:19 +00:00
moodlerobot a383e8db65 Automatic installer.php lang files by installer_builder (20091007) 2009-10-07 00:32:45 +00:00
skodak e7e67de957 MDL-10498 one more magic quotes problem wwhen email contains ' - thanks Chris Fryer 2009-10-06 19:04:04 +00:00
tjhunt 43fd59ea14 graphlib: NOBUG previous Moodle-specific hack had a bug when y_max was very small. This would round, e.g. 10^-5 to 0 which would break the axis. 2009-10-06 17:49:49 +00:00
stronk7 bf088b3423 Some rewording of last added string. Thanks Nico! 2009-10-06 01:55:18 +00:00
stronk7 b944b6c678 MDL-12922 'moodle/restore:rolldates' capability - added missing string 2009-10-06 01:44:59 +00:00
stronk7 e535262042 Bump backup version 2009-10-06 01:31:56 +00:00
stronk7 dd48008c77 MDL-12922 'moodle/restore:rolldates' capability - Implement logic on restore 2009-10-06 01:22:14 +00:00
stronk7 4eb5e15641 MDL-12922 adding 'moodle/restore:rolldates' cap to control who can roll dates on restore
(defaults to current settings: only course creators (and admins) are able to roll)
2009-10-06 01:13:20 +00:00
moodlerobot 0e18d41b3b Updated the 19 build version to 20091006 2009-10-06 00:38:52 +00:00
skodak fbd941aa94 MDL-20406 improved param validation 2009-10-05 17:51:14 +00:00
stronk7 9c40410a22 MDL-18469 restore checksums - add error message string 2009-10-05 17:43:43 +00:00
stronk7 096cbd68a9 MDL-18469 checksum restore in-session objects - both in manual restore and
import, create checksums of the critical in-session objects (info, course_header
and restore) to be able to check in restore_execute.html that all the information
has arrived properly without any trim/error.
2009-10-05 17:21:02 +00:00
skodak e426c25127 MDL-19039 improved default frontpage role capability evealuation, needs to be manually enabled in config.php 2009-10-05 17:06:51 +00:00
stronk7 3982f34f2c NOBUG. Restoring of backups performed in different TZ/DST was causing incorrect roll to happen.
Prevent any roll of dates if differences are < 24h
2009-10-05 16:54:00 +00:00
stronk7 20b4684483 MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was
causing restore dates to be rolled based in the course where the backupfile is stored
and not in the target course.
2009-10-05 16:28:42 +00:00
stronk7 c1c0d58867 MDL-18469 restore missing session info - add a quick re-test of xml file
before any further processing by restore_execute(). More coming.
2009-10-05 10:23:47 +00:00
dongsheng a3ba7fb4a7 "MDL-20422, check courses category before moving, hideing, showing courses" 2009-10-05 07:11:07 +00:00
jerome ab1b3440f2 quizz MDL-20421 remove php notice when Enable Safe Exam Browser integration is not activated 2009-10-05 03:05:38 +00:00
moodlerobot e2f5bc4700 Updated the 19 build version to 20091005 2009-10-05 00:38:55 +00:00
tjhunt b264f0f0f4 quiz: MDL-20420 Not all quizzes use best grade (e.g. some use average). Change column title. 2009-10-04 18:49:10 +00:00
moodlerobot eef19f3eaa Updated the 19 build version to 20091004 2009-10-04 00:38:37 +00:00
tjhunt fab7a109e2 chatd: NOBUG fix unnecessary call-time pass by reference. 2009-10-03 07:58:19 +00:00
nicolasconnault 58d75e5b3b MDL-16940 Applied the patch for visibility of dropdown menus in course view for IE6 when AJAX is on. 2009-10-03 02:30:31 +00:00
nicolasconnault 81d57c26db MDL-15686 Resolved the mutually-disabling code for forcedownload and windowpopup in resource mod, file type. 2009-10-03 02:20:40 +00:00
nicolasconnault c4cf048ba7 MDL-20415 Modified the behaviour of AJAX moving of sections when in "weekly" format, so that dates don't get moved along with the sections. This reflects the final, saved state. 2009-10-03 01:35:05 +00:00
moodlerobot 94a87681a6 Updated the 19 build version to 20091003 2009-10-03 00:38:24 +00:00
wildgirl 7fb9c3d85c multichoice question help file: MDL-16791 corrected wording thanks to Ralf Hilgenstock 2009-10-02 13:27:32 +00:00
stronk7 ce261c444d MDL-18469 Minor changes to restore silenty/import before implementing checksum 2009-10-02 12:47:08 +00:00
moodler cb09ed7ecb filter/mediaplugins MDL-19231 Fixing case on YouTube 2009-10-02 08:27:21 +00:00
moodler c61ab3b6af filter/mediaplugins MDL-19231 Backported youtube filter from HEAD (defaults to being OFF) 2009-10-02 08:25:12 +00:00
nicolasconnault a4328b8f04 MDL-10221 Simulating the HTTP DELETE method by using a URL param (action), because some web servers don't allow DELETE. AJAX Course and Block deletion now works as expected. 2009-10-02 07:47:17 +00:00
dongsheng dbd0d6062c "MDL-18723, role required to display search box should be viewparticipants" 2009-10-02 06:49:47 +00:00
moodler cee781ba9e user/view MDL-18800 Sort courses consistently with everything else 2009-10-02 06:28:06 +00:00
moodler ba583fc1ec calendar html MDL-17528 Add H2 tags to make events "block" consistent here 2009-10-02 06:12:26 +00:00
moodlerobot f7503b9e66 Updated the 19 build version to 20091002 2009-10-02 00:38:46 +00:00
tjhunt f58259c790 question import/export: MDL-20299 fix regression I introduced yesterday in hotpot import/export 2009-10-01 10:12:31 +00:00
skodak bbb5b1aeaa MDL-20385 better access control checks for frontpage activities 2009-10-01 09:57:02 +00:00
nicolasconnault e9672d50de MDL-15262 Applied patch 2009-10-01 07:47:28 +00:00
moodler d4d468ad37 calendar MDL-19940 Don't require login for site calendar when forcelogin is false 2009-10-01 07:02:15 +00:00
moodler c572230139 form/recaptcha MDL-20144 Don't specify tabindex for accessibility 2009-10-01 06:52:39 +00:00
samhemelryk 64792d5d0b javascript MDL-20400 Addition of disabledif hide option, thanks Jonathan for the brilliant patch 2009-10-01 06:38:54 +00:00
samhemelryk 8c3185f763 javascript MDL-18569 Removed statement that was preventing disabledif locking within Safari 2009-10-01 06:36:25 +00:00
moodlerobot 690a7660ca Updated the 19 build version to 20091001 2009-10-01 00:39:53 +00:00
moodlerobot 3b938296a8 Automatic installer.php lang files by installer_builder (20091001) 2009-10-01 00:33:10 +00:00
tjhunt 0325c08ea7 moodlelib: MDL-19764 get_list_of_countries did not work with language editing.
Will need a completely different solution in 2.0 becuse of the new
string_manager class. I'm working on it.
2009-09-30 18:54:22 +00:00
tjhunt 68dbc90489 question import/export: MDL-20299 fatal error cause by hotpot format changes
Replaced copy and paste code from mod/hotpot/lib.php with a require_once.
2009-09-30 17:19:35 +00:00
tjhunt 9c55e9c0f7 question types: MDL-20157 export_to_xml and import_from_xml functions for question types using extra_question_fields.
Thanks to Oleg Sychev for the implementation.
2009-09-30 13:38:51 +00:00
tjhunt 61eed5acf7 quiz: MDL-19145 Safe Exam Browser integration.
This is a better alternative to 'secure' mode.

It needs to be enabled by the administrator.
2009-09-30 10:58:02 +00:00
tjhunt 5a7b40f684 file browsersecurity.html was added on branch MOODLE_19_STABLE on 2009-09-30 10:58:02 +0000 2009-09-30 10:57:58 +00:00
tjhunt d5f343427d resource MDL-20320 upgrade: Fix hard-coded mdl_ prefix and lack of error-checking 2009-09-30 10:49:47 +00:00
jerome 901dd449d6 resource MDL-20320 upgrade: set all PDF files to Show navigation: 'Yes, without frame' on previous installation 2009-09-30 09:21:13 +00:00
ashleyholman 3b94f1111a MDL-5223 fix flashvars in mediafilter to make waitForPlay work. 2009-09-30 08:38:37 +00:00
moodlerobot 959e46857d Updated the 19 build version to 20090930 2009-09-30 00:39:23 +00:00
skodak ff7eba4d78 MDL-20371 improved warning string 2009-09-29 07:16:23 +00:00
moodlerobot 94f638e915 Updated the 19 build version to 20090929 2009-09-29 00:40:22 +00:00
skodak 425f43d8f3 MDL-20371 backups should never be in site files, let's create the secure backupdata in site files automatically 2009-09-28 18:57:25 +00:00
skodak 08ca102966 MDL-20369 fixed restoring of default sort 2009-09-28 16:45:25 +00:00
skodak d76f87a94f MDL-10498 fixed password changing when username contains special chars 2009-09-28 16:16:24 +00:00
skodak 7d8cede29c MDL-20369 fixed incorrect fetching of data fields - this was causing major problem with incorrect defaultsort caused by restore bug 2009-09-28 16:07:19 +00:00
mudrd8mz 2ccfd7509d MDL-19542 Outcomes report display the name of the activity instead of the name of the outcome 2009-09-28 07:44:07 +00:00
moodlerobot 44659da943 Updated the 19 build version to 20090928 2009-09-28 00:38:43 +00:00
skodak 6ab0935e93 MDL-10498 fixed handling of username and emails with single quotes 2009-09-27 19:13:22 +00:00
skodak 582d4d91a0 MDL-11896 added hint if entry awaits approvel 2009-09-27 18:07:53 +00:00
skodak fca567dee4 MDL-19718 fixed critical race condition when deleting posts - credit goes to Ashley Holman 2009-09-27 09:46:52 +00:00
skodak 3e3ae23846 MDL-19718 fixed critical race condition when deleting posts - credit goes to Ashley Holman 2009-09-27 09:46:07 +00:00
skodak 5d850ce66e MDL-20209 fixed regression - the email has to be synced with ext auth when change confirmed 2009-09-27 09:23:08 +00:00
mudrd8mz 077f41dc19 MDL-20336 Apply course defaults when approving the course
The credit goes to Patrick Pollet for the patch.
2009-09-27 06:06:43 +00:00
moodlerobot c32a9ec8cd Updated the 19 build version to 20090927 2009-09-27 00:37:37 +00:00
skodak 9afbbd3834 MDL-19269 Deleted internal auth users - handling is buggy; credit Martin Langhoff 2009-09-26 20:17:23 +00:00
skodak 3cc5c930cb MDL-19709 fixed missing quoting in upgrade code, safer tag api 2009-09-26 19:47:07 +00:00
skodak 601cd4ebd7 MDL-20209 fixed incorrect mail sync with ext auths 2009-09-26 19:16:53 +00:00
skodak 04019ee089 MDL-20295 fixed problems with special email addresses 2009-09-26 19:13:12 +00:00
skodak d0c227d966 MDL-20295 fixed problems with special email addresses 2009-09-26 19:04:05 +00:00
skodak 4ad2527e2e MDL-20355 teachers may not see overview of all students in course because they might not have access in all their courses - please use profile instead 2009-09-26 18:49:30 +00:00
arborrow 8a8a4a843d MDL-20353 - fixing typo 2009-09-26 17:43:03 +00:00
skodak 398e230331 MDL-20353 adding missing data types of hidden form fields 2009-09-26 16:28:53 +00:00
skodak 65a2e5fe0e MDL-20353 adding missing data types of hidden form fields 2009-09-26 16:23:34 +00:00
skodak 6c00930560 MDL-20309 improved sanitization of id property 2009-09-26 11:55:57 +00:00
moodlerobot 1a7f4d16c5 Updated the 19 build version to 20090926 2009-09-26 00:38:12 +00:00
gbateson 5934fe5d94 stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites 2009-09-25 06:21:45 +00:00
moodlerobot d5e0549053 Updated the 19 build version to 20090925 2009-09-25 00:40:29 +00:00
moodler de21347f57 resource/file MDL-20327 force target attributes on frame navigation for non-JS 2009-09-24 03:48:45 +00:00
jerome 5923607efe resource MDL-20320 PDF are now displayed the same way as HTML filse by the resource module. Also renamed 'Keep navigation visible on the same page' into 'Show navigation', and added a warning about this option. 2009-09-24 02:30:17 +00:00
samhemelryk 98c7487e6f weblib MDL-20327 Added CFG->frametarget to the navigation generation code 2009-09-24 02:15:12 +00:00
moodlerobot bb3ca655f7 Updated the 19 build version to 20090924 2009-09-24 00:39:27 +00:00
moodlerobot 29c374090b Updated the 19 build version to 20090923 2009-09-23 00:40:43 +00:00
tjhunt 46055853d5 spamcleaner report. Remove erroneous global $DB from 19 codebase. 2009-09-22 17:11:02 +00:00
moodler 4cb35863d0 paypal MDL-20322 Make sure the currency is set correctly. 2009-09-22 01:51:19 +00:00
moodlerobot a55516bfa4 Updated the 19 build version to 20090922 2009-09-22 00:40:39 +00:00
moodlerobot ec27b03b55 Automatic installer.php lang files by installer_builder (20090922) 2009-09-22 00:33:48 +00:00
moodlerobot 5e1ad59a07 Updated the 19 build version to 20090921 2009-09-21 00:39:24 +00:00
moodlerobot 07740e4f85 Updated the 19 build version to 20090920 2009-09-20 00:38:47 +00:00
moodlerobot 407faffcaf Updated the 19 build version to 20090919 2009-09-19 00:40:11 +00:00
tjhunt 455d145b38 quiz reports: MDL-20316 per-question averages not shown with the quiz only allows one attempt.
Problem found thanks to OU testing. Fix thanks to Mahmoud Kassaie.
2009-09-18 13:42:19 +00:00
moodlerobot 1c43ecde9c Updated the 19 build version to 20090918 2009-09-18 00:38:32 +00:00
moodlerobot b16c535b11 Automatic installer.php lang files by installer_builder (20090918) 2009-09-18 00:31:50 +00:00
nicolasconnault 1119cfaf3f MDL-19407 Defaulting all grade items to non-extra-credit when moving to a SWM category, except if they originally come from a SWM category and were set as extra credit there. 2009-09-17 07:10:50 +00:00
moodlerobot 1d919f4c09 Updated the 19 build version to 20090917 2009-09-17 00:38:50 +00:00
danmarsden 2debdc6b36 message/lib.php MDL-20303 remove rogue semicolon in sql merged from HEAD 2009-09-16 22:29:37 +00:00
danmarsden 0bcda53a17 blackboard import MDL-20302 imported blackboard backups set all resources/files to open in a frame - which isn't moodle default behaviour and causes confusion merged from HEAD 2009-09-16 11:41:48 +00:00
danmarsden 060ed3e43e blackboard import MDL-15725 filenames from blackboard come through in hex instead of correct names. merged from HEAD 2009-09-16 11:18:56 +00:00
moodlerobot e1dea25400 Updated the 19 build version to 20090916 2009-09-16 00:38:26 +00:00
moodlerobot 451e2115fb Automatic installer.php lang files by installer_builder (20090916) 2009-09-16 00:31:23 +00:00
moodler 9118464db9 Draft language file for moodle.org front pages, for Helen to look at and clean up 2009-09-15 08:34:03 +00:00
moodlerobot 20779888d0 Updated the 19 build version to 20090915 2009-09-15 00:38:32 +00:00
moodlerobot b494a7a518 Automatic installer.php lang files by installer_builder (20090915) 2009-09-15 00:31:37 +00:00
tjhunt 26605cb7da questions: MDL-20280 oracle compatibility in question backup.
Problem and fix thanks to Sara Arjona
2009-09-14 17:48:53 +00:00
moodlerobot c0b6790784 Updated the 19 build version to 20090914 2009-09-14 00:38:37 +00:00
moodlerobot 5a68444794 Updated the 19 build version to 20090913 2009-09-13 00:38:35 +00:00
moodlerobot a058f40d19 Updated the 19 build version to 20090912 2009-09-12 00:39:21 +00:00
danmarsden c9275385f8 MNET MDL-13503 allow path to openssl.cnf to be set in config so that windows installs and packages can reliably enable networking. merged from HEAD 2009-09-11 10:06:28 +00:00
moodlerobot 0e96ba879d Updated the 19 build version to 20090911 2009-09-11 00:39:13 +00:00
moodlerobot d69c38ed33 Updated the 19 build version to 20090910 2009-09-10 00:39:10 +00:00
poltawski 10aee1921d course/logs MDL-15090 - Broken links generated for role actions in logs 2009-09-09 12:45:14 +00:00
moodlerobot a77c773d85 Updated the 19 build version to 20090909 2009-09-09 00:39:41 +00:00
rwijaya 6b966ac672 tag logs MDL-19604 Add logging for tag editing/updates 2009-09-08 09:06:15 +00:00
moodlerobot 6683493bfe Updated the 19 build version to 20090908 2009-09-08 00:39:05 +00:00
moodlerobot 407cd995c7 Updated the 19 build version to 20090907 2009-09-07 00:38:28 +00:00
moodlerobot 7cad9118a7 Updated the 19 build version to 20090906 2009-09-06 00:37:56 +00:00
moodlerobot 2c23f4d946 Updated the 19 build version to 20090905 2009-09-05 00:38:46 +00:00
pichetp 2c6ad02fe8 MDL-20189 correcting for the value of correctanswerlength on calculated export Merge
from HEAD
2009-09-04 02:10:28 +00:00
moodlerobot e1d1889bab Updated the 19 build version to 20090904 2009-09-04 00:39:16 +00:00
moodlerobot aba7ba077d Updated the 19 build version to 20090903 2009-09-03 00:39:17 +00:00
moodlerobot c3e9985a8c Updated the 19 build version to 20090902 2009-09-02 00:39:27 +00:00
gbateson edb3ed1ebb MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module 2009-09-01 01:24:17 +00:00
gbateson 10369c9c5b MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module 2009-09-01 01:04:18 +00:00
moodlerobot aeb4bd9ce5 Updated the 19 build version to 20090901 2009-09-01 00:39:27 +00:00
gbateson 42dc4cad26 MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file 2009-08-31 02:06:40 +00:00
gbateson 8fbc973901 MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:34:52 +00:00
moodlerobot 6a77e4cc89 Updated the 19 build version to 20090831 2009-08-31 00:38:41 +00:00
moodlerobot 9d597e5f0f Updated the 19 build version to 20090830 2009-08-30 00:37:59 +00:00
moodlerobot df0dcdcd82 Updated the 19 build version to 20090829 2009-08-29 00:37:49 +00:00
gbateson d236997758 HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images 2009-08-28 08:04:33 +00:00
nicolasconnault c14ee7225b MDL-20179 Replaced incompatible code with something cross-browser compatible 2009-08-28 06:56:08 +00:00
moodlerobot fc11c6512d Updated the 19 build version to 20090828 2009-08-28 00:39:06 +00:00
jerome f64afbb455 htmlarea MDL-15800 add ; at the end of line <? echo ... ; ?> 2009-08-27 03:21:33 +00:00
moodlerobot 355efd43c7 Updated the 19 build version to 20090827 2009-08-27 00:38:52 +00:00
poltawski c43b904d33 course/jumpto.php MDL-19886 Don't depend on HTTP_REFFER header
thanks to Jordan Tomkinson for the patch
2009-08-26 09:46:57 +00:00
moodlerobot 600bbd40ab Updated the 19 build version to 20090826 2009-08-26 00:38:39 +00:00
gbateson 1087d15324 add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively 2009-08-25 01:14:36 +00:00
moodlerobot f446045c73 Updated the 19 build version to 20090825 2009-08-25 00:38:40 +00:00
moodlerobot d6436ff003 Updated the 19 build version to 20090824 2009-08-24 00:38:46 +00:00
moodlerobot d1a54306ea Updated the 19 build version to 20090823 2009-08-23 00:39:34 +00:00
moodlerobot 832c5b2f31 Updated the 19 build version to 20090822 2009-08-22 00:39:22 +00:00
moodlerobot 47c2387cf2 Updated the 19 build version to 20090821 2009-08-21 00:40:12 +00:00
moodlerobot 1407c22310 Updated the 19 build version to 20090820 2009-08-20 00:39:33 +00:00
moodlerobot 9ad1d1bbd5 Updated the 19 build version to 20090819 2009-08-19 00:39:24 +00:00
dongsheng 7fe85994a6 "MDL-MDL-20113, fixed hardcoded siteid" 2009-08-18 04:29:11 +00:00
moodlerobot 0c25e4fdbf Updated the 19 build version to 20090818 2009-08-18 00:40:50 +00:00
jonathanharker 181b342dd4 MDL-20114 admin/cron.php: Fix SQL bug when emailing new passwords.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-08-17 23:53:47 +00:00
arborrow 9be4ad6dc9 MDL-11790 Added missing lang strings to MOODLE_19_STABLE 2009-08-17 16:45:36 +00:00
nicolasconnault c5621562b2 MDL-11790 Added missing lang strings to MOODLE_19_STABLE 2009-08-17 14:47:35 +00:00
skodak 34c0bd4cc7 MDL-19417 added timezone settings info; backported from HEAD 2009-08-17 08:12:43 +00:00
moodlerobot 4f6d0ff06d Updated the 19 build version to 20090817 2009-08-17 00:39:03 +00:00
moodlerobot a498087d87 Updated the 19 build version to 20090816 2009-08-16 00:37:03 +00:00
mjollnir_ 65eebc1dc1 MDL-19142 assignment/restore small fix to pass $info to subtypes relative to current assignment rather than the full array 2009-08-15 07:58:36 +00:00
moodlerobot 6a7f561589 Updated the 19 build version to 20090815 2009-08-15 00:39:00 +00:00
moodlerobot c01d42c269 Updated the 19 build version to 20090814 2009-08-14 00:39:28 +00:00
nicolasconnault 4a5eefa65e MDL-20086 Fixed reverse ordering of bulk-moved grade items 2009-08-13 23:57:23 +00:00
mjollnir_ 8b6405ce85 MDL-19142 assignment/backup&restore: support backing up and restoring third party subtypes if they need it. 2009-08-13 09:35:40 +00:00
skodak 087c82f2af MDL-19955 fixed bogus & that was preventing function call in PHP5.3 when adding blocks, already fixed in HEAD 2009-08-13 08:14:31 +00:00
moodlerobot af8857f356 Updated the 19 build version to 20090813 2009-08-13 00:38:58 +00:00
moodlerobot 9add7352b4 Updated the 19 build version to 20090812 2009-08-12 00:40:09 +00:00
mjollnir_ 894909f8bc MDL-19142 assignment/backup: reverting earlier patch while I figure out a better way to deal with course_modules during restore 2009-08-11 13:48:23 +00:00
mjollnir_ c1816feb13 MDL-19142: assignment/backup add support for third party subtypes
Now third party assignment type subplugin authors can implement backup/restore

This adds four hooks, backup_one_mod, backup_one_submission, restore_one_mod, restore_one_submission,
all of which are implemented in the assignment_base parent class and documented there.
2009-08-11 12:16:53 +00:00
skodak f7ad66498e MDL-20039 fixed incorrect string and setting names, sorry for the trouble 2009-08-11 05:27:07 +00:00
moodlerobot f0d42c3de0 Updated the 19 build version to 20090811 2009-08-11 00:38:34 +00:00
moodlerobot cf247b1cd2 Updated the 19 build version to 20090810 2009-08-10 00:39:26 +00:00
moodlerobot fbe18b35ff Updated the 19 build version to 20090809 2009-08-09 00:40:23 +00:00
moodlerobot 18a538ee7f Updated the 19 build version to 20090808 2009-08-08 00:39:16 +00:00
moodlerobot 83b7d9e66c Automatic installer.php lang files by installer_builder (20090808) 2009-08-08 00:32:22 +00:00
moodlerobot 699304bf04 Updated the 19 build version to 20090807 2009-08-07 00:40:51 +00:00
skodak b8451e289e MDL-19962 new option for forcing of regeneration of the session id during each login request 2009-08-06 13:21:44 +00:00
moodlerobot 58d1d16f52 Updated the 19 build version to 20090806 2009-08-06 00:40:51 +00:00
moodlerobot 85ec42a6da Updated the 19 build version to 20090805 2009-08-04 23:31:04 +00:00
moodlerobot 0dcb01f5b0 Updated the 19 build version to 20090804 2009-08-04 00:38:44 +00:00
moodlerobot 65fde56506 Updated the 19 build version to 20090803 2009-08-03 00:37:29 +00:00
skodak f72dda83d8 MDL-19982 fixed notice if group empty 2009-08-02 11:36:04 +00:00
moodlerobot d0beaac3e7 Updated the 19 build version to 20090802 2009-08-02 00:38:35 +00:00
moodlerobot 4720633c09 Updated the 19 build version to 20090801 2009-08-01 00:37:33 +00:00
moodlerobot 0cbf8dddf9 Updated the 19 build version to 20090731 2009-07-31 00:41:27 +00:00
moodlerobot 3983b7a590 Updated the 19 build version to 20090730 2009-07-30 00:38:42 +00:00
stronk7 21ae339623 NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) 2009-07-29 18:59:27 +00:00
moodler 4431b5bb02 theme/standard MDL-19953 increase caching of standard style sheet 2009-07-29 07:42:36 +00:00
moodler 31869bb435 blog MDLSITE-679 Some small patches to make blog RSS feeds work better.
a) You can define an array in config.php of exceptions to any rule which makes blogs not available to the outside world.  For example we use this on moodle.org with Helen's blog.   $CFG->openblogs = array(24152);

b) Author names are not atatched to every post in a 1-user feed.  Just the feed itself.

c) Links on user blogs are now more accurate and go right to the post.

d) Users are asked to log in if they aren't and guests don't have permission.
2009-07-29 07:31:47 +00:00
tjhunt 3f842963f8 More XHTML strict. 2009-07-29 06:21:50 +00:00
tjhunt 57e207d552 XHTML strict.
There is tsome truely horrible hackery going on here to ensure XHTML strict,
and rather unsurprisingly, it was broken. I think it is less broken now.
2009-07-29 05:59:01 +00:00
moodlerobot a18e55c721 Updated the 19 build version to 20090729 2009-07-29 00:39:08 +00:00
stronk7 f5553c87a3 MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! 2009-07-28 16:41:58 +00:00
moodlerobot 0046f85241 Updated the 19 build version to 20090728 2009-07-28 00:39:50 +00:00
moodlerobot 429719b771 Updated the 19 build version to 20090727 2009-07-27 00:38:14 +00:00
moodlerobot ef597bbbd0 Updated the 19 build version to 20090726 2009-07-26 00:37:46 +00:00
moodlerobot 42f012ebb3 Automatic installer.php lang files by installer_builder (20090726) 2009-07-26 00:31:15 +00:00
moodlerobot 58cd93fd1d Updated the 19 build version to 20090725 2009-07-25 00:36:56 +00:00
tjhunt d9794f1afd weblib: Grrr! remove PHP5ism 2009-07-25 00:25:34 +00:00
moodlerobot 0e59339dff Updated the 19 build version to 20090724 2009-07-24 00:38:22 +00:00
moodlerobot 04ee3d1b45 Updated the 19 build version to 20090723 2009-07-23 00:37:07 +00:00
diml 0f5ef8a9cd no change 2009-07-22 21:53:06 +00:00
diml 8b0328b440 no change : comment 2009-07-22 21:52:08 +00:00
diml b8b5df0f05 fetch as much memory we can... and get it back. 2009-07-22 21:50:10 +00:00
diml fdd8054931 use search_collect_searchable() to get searchable stuff. 2009-07-22 21:48:33 +00:00
diml fddfe2944a usefull for testing and debugging SoftLockManager... 2009-07-22 21:47:27 +00:00
diml 4da015a61e quote cleanup 2009-07-22 21:46:41 +00:00
diml b127df2bcf http://tracker.moodle.org/browse/MDL-18681 : protects search index table from negative groups ids 2009-07-22 21:46:03 +00:00
diml a07107a0a4 http://tracker.moodle.org/browse/MDL-17032 : Add NFS support by softlocking the index (bloc search global configuration option).
Required for clustering using NFS shared mounting of FS.
2009-07-22 21:41:52 +00:00
diml 2a78d7be39 code cleanup 2009-07-22 21:37:27 +00:00
diml 52b20d0b14 ignore missing documents or cms. 2009-07-22 21:36:52 +00:00
diml 74e12d5754 resolve executable path tests removing properly command line options when focussing the executable. 2009-07-22 21:34:23 +00:00
moodlerobot 1f619d3788 Updated the 19 build version to 20090722 2009-07-22 00:38:05 +00:00
moodler 2ae3f04143 filter/mediaplugins MDL-18658 Add support for MP4 files (Quicktime) 2009-07-21 05:26:30 +00:00
moodlerobot b12c56b9f7 Updated the 19 build version to 20090721 2009-07-21 00:37:39 +00:00
moodlerobot 59a47661a4 Automatic installer.php lang files by installer_builder (20090721) 2009-07-21 00:31:12 +00:00
moodlerobot c0e733fe65 Updated the 19 build version to 20090720 2009-07-20 00:38:36 +00:00
moodlerobot 16ad6fa4bb Updated the 19 build version to 20090719 2009-07-19 00:36:46 +00:00
diml 4398ce111c adding an identifying version file. Not handled by upgrade core API. 2009-07-18 23:01:41 +00:00
moodlerobot 52f87775e4 Updated the 19 build version to 20090718 2009-07-18 00:36:35 +00:00
skodak 6f37d406a9 MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD 2009-07-17 08:40:06 +00:00
moodlerobot 4945b93ba5 Updated the 19 build version to 20090717 2009-07-17 00:39:12 +00:00
skodak 361108bf87 MDL-19832 new mimeTeX binaries v1.70; backported from HEAD 2009-07-16 09:50:44 +00:00
skodak 2fde99f6f1 file readme_moodle.txt was added on branch MOODLE_19_STABLE on 2009-07-16 09:50:44 +0000 2009-07-16 09:48:18 +00:00
moodlerobot 7c66bf1a3a Updated the 19 build version to 20090716 2009-07-16 00:40:00 +00:00
tjhunt 997dbc1d6a question bank: MDL-19826 Tidy up. 2009-07-15 04:04:23 +00:00
tjhunt 6ab41ced9f question bank: MDL-19826 Error when deleting a lot of questions
We were stupidly putting the list of questionids in the URL, even though this was a post forum.
2009-07-15 03:33:27 +00:00
tjhunt cef179fb17 Backport improved moodle_url::params implementation from HEAD - lets you get the params as an array. 2009-07-15 03:30:00 +00:00
moodlerobot aac5cc99b8 Updated the 19 build version to 20090715 2009-07-15 00:38:10 +00:00
moodlerobot 2451a17e4f Updated the 19 build version to 20090714 2009-07-14 00:39:43 +00:00
moodlerobot 411db8a7aa Updated the 19 build version to 20090713 2009-07-13 00:39:23 +00:00
moodlerobot 13f3ab9e8d Automatic installer.php lang files by installer_builder (20090713) 2009-07-13 00:32:29 +00:00
moodlerobot 1c58794888 Updated the 19 build version to 20090712 2009-07-12 00:38:46 +00:00
moodlerobot 8dfe7ccdbd Updated the 19 build version to 20090711 2009-07-11 00:38:32 +00:00
moodlerobot f262d1a4a5 Updated the 19 build version to 20090710 2009-07-10 00:38:27 +00:00
moodlerobot e99bd28163 Updated the 19 build version to 20090709 2009-07-09 01:50:59 +00:00
moodlerobot 52e09d71ba Updated the 19 build version to 20090708 2009-07-08 00:37:52 +00:00
moodlerobot a36ee478a9 tags MDL-19728 Removing tags file and replacing with a tags.txt to explain where to get it 2009-07-07 03:42:35 +00:00
moodlerobot 1c616dab4c file tags.txt was added on branch MOODLE_19_STABLE on 2009-07-07 03:42:35 +0000 2009-07-07 03:37:58 +00:00
nicolasconnault b8d435b455 MDL-19727 Replaced boilerplates and removed ID tags 2009-07-07 02:16:06 +00:00
nicolasconnault fe0c1c6bde MDL-19404 Getting default values for grade_item object when creating a new grade_category. 2009-07-07 02:03:40 +00:00
nicolasconnault c2ff6d5028 MDL-19429 Validating 0 values for grademin, grademax and gradepass for the edit category form. Also checking for grademax < grademin case. 2009-07-07 01:52:41 +00:00
moodlerobot f089cc2af2 Updated the 19 build version to 20090707 2009-07-07 00:40:23 +00:00
iarenaza fc54986465 ldap auth and enrolment: MDL-19672 prevent update_user_record() from mangling distinguished names with backslashes
In addition to it, in order to be able to used a distiguished name with '\'
(and other LDAP special characters) in a LDAP filter to find the user
enrolments, we need to quote it using the LDAP filter quoting rules
2009-07-06 18:51:30 +00:00
moodlerobot 51b9ca7c4d Updated the 19 build version to 20090706 2009-07-06 00:39:25 +00:00
moodlerobot e97b405e2c Updated the 19 build version to 20090705 2009-07-05 00:39:30 +00:00
moodlerobot b71ad710d6 Automatic installer.php lang files by installer_builder (20090705) 2009-07-05 00:32:41 +00:00
moodlerobot 48b54c3496 Updated the 19 build version to 20090704 2009-07-04 00:39:55 +00:00
nicolasconnault 362b69f088 MDL-18228 Added a bit of JS to resize the left header of the fixed student column. This should help to keep the rows below aligned. 2009-07-03 06:31:49 +00:00
moodlerobot c211a14454 Updated the 19 build version to 20090703 2009-07-03 00:40:30 +00:00
moodlerobot 6fe8629801 Updated the 19 build version to 20090702 2009-07-02 00:39:16 +00:00
nicolasconnault 198a6cd63a MDL-19673 Removed the semi-transparent underlay of YUI tooltips, they don't work in IE. 2009-07-01 03:48:00 +00:00
moodlerobot 6d638bd292 Updated the 19 build version to 20090701 2009-07-01 00:40:04 +00:00
iarenaza 2ecb5ae389 CAS authentication: MDL-19671 phpCAS::getUser can return a mixed-case username, so lower-case it for comparison.
Merged from MOODLE_18_STABLE
2009-06-30 23:32:42 +00:00
wildgirl 6a1f28e57b database help file: MDL-14132 note re. using with auto-linking filter 2009-06-30 09:26:58 +00:00
moodlerobot 7e3bd15bc8 Updated the 19 build version to 20090630 2009-06-30 00:39:30 +00:00
moodlerobot 3e41567353 Updated the 19 build version to 20090629 2009-06-29 00:39:29 +00:00
moodlerobot ac556e3797 Updated the 19 build version to 20090628 2009-06-28 00:39:09 +00:00
moodlerobot c27d3c82d8 Updated the 19 build version to 20090627 2009-06-27 00:39:17 +00:00
ptrkmkl cffccd03e4 MDL-19547: Added CSS selector for .tag_cloud .s0 to styles_fonts.css 2009-06-26 18:10:48 +00:00
ptrkmkl 29903b3c3f MDL-19697 removed float from sideblock command links 2009-06-26 03:02:13 +00:00
moodlerobot 9827731219 Updated the 19 build version to 20090626 2009-06-26 00:40:48 +00:00
moodlerobot af1bf994ec Automatic installer.php lang files by installer_builder (20090626) 2009-06-26 00:34:07 +00:00
moodlerobot 453b4cc48a Updated the 19 build version to 20090625 2009-06-25 00:40:23 +00:00
moodlerobot d2b7b16b46 Updated the 19 build version to 20090624 2009-06-24 00:40:06 +00:00
nicolasconnault 26b85b5008 MDL-19596 Added browser check and refactored fixed student column check into its own method. 2009-06-24 00:20:39 +00:00
moodlerobot 8e641dd622 Updated the 19 build version to 20090623 2009-06-23 00:40:45 +00:00
nicolasconnault 815a6f0eeb MDL-19583 Showing outcomes in user report if enabled at site level 2009-06-23 00:37:22 +00:00
stronk7 f39b778d66 Commit new ur_utf8 lang installer file to HEAD. Automatically generated. Backported from HEAD 2009-06-22 17:57:29 +00:00
stronk7 97b04370db file installer.php was added on branch MOODLE_19_STABLE on 2009-06-22 17:57:29 +0000 2009-06-22 17:55:40 +00:00
stronk7 f50bd3e783 MDL-19452 Fix oracle/mssql drivers behaviour when using magic_quotes_sybase leading to wrongly escaped contents. Many thanks to Sam Moffatt! 2009-06-22 17:25:38 +00:00
sam_marshall dc47097ac8 MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title 2009-06-22 17:08:41 +00:00
stronk7 5c16582936 MDL-18391 Now dmllib tests run... and pass!! both under MSSQL and Oracle 2009-06-22 17:06:04 +00:00
stronk7 51f5316ac1 MDL-19452 add some (8) tests to check backslashes and quotes are properly handled 2009-06-22 16:49:09 +00:00
moodlerobot 42a6a49bd6 Updated the 19 build version to 20090622 2009-06-22 00:38:09 +00:00
moodlerobot e2eef31dbd Automatic installer.php lang files by installer_builder (20090622) 2009-06-22 00:31:48 +00:00
iarenaza 1ce6d0ec1f subnet address: MDL-19509 Fix code and unit tests to comply with RFC4632 (prefix notations and behaviour)
Backported some code from HEAD to do it.
2009-06-21 23:35:10 +00:00
moodlerobot f70996764e Updated the 19 build version to 20090621 2009-06-21 00:39:58 +00:00
arborrow 373ee66017 MDL-19950 - adding question format (qformat_) language plugin type 2009-06-20 23:33:38 +00:00
moodlerobot e9465902bb Updated the 19 build version to 20090620 2009-06-20 00:40:34 +00:00
moodlerobot 282bdb24b4 Automatic installer.php lang files by installer_builder (20090620) 2009-06-20 00:34:03 +00:00
moodlerobot 75faea4326 Updated the 19 build version to 20090619 2009-06-19 00:40:34 +00:00
iarenaza 656ff52256 subnet address: MDL-19509 make subnet matching work with 0.0.0.0/0
Merged from MOODLE_18_STABLE
2009-06-18 22:23:25 +00:00
moodlerobot 7d8b34d478 Updated the 19 build version to 20090618 2009-06-18 00:41:07 +00:00
moodlerobot 51cd8f8ca5 Updated the 19 build version to 20090617 2009-06-17 00:40:33 +00:00
jerome 3f34186fec administration MDL-19525 remove global $userfields usage from uploadpicture_form class 2009-06-16 09:07:57 +00:00
moodlerobot 88b8207d9e Updated the 19 build version to 20090616 2009-06-16 00:41:36 +00:00
stronk7 0990ae9330 MDL-19460 wiki - disable by default undocumented interwiki links. Can be ebabled with $CFG->wiki_allow_interwiki = true; 2009-06-15 15:09:28 +00:00
poltawski 46e6b10569 filters/multimedia MDL-19504 - Fullscreen button didn't work 2009-06-15 11:19:22 +00:00
fmarier a4e6bba980 MDL-2794 testweblib: adapt the unit tests to the output of new html2text library 2009-06-15 05:56:00 +00:00
fmarier c6d3480f5d MDL-2794: fix html2text handling of non-ASCII characters 2009-06-15 05:38:59 +00:00
moodlerobot 1952f448c5 Updated the 19 build version to 20090615 2009-06-15 00:40:14 +00:00
moodlerobot 74b57ece6c Updated the 19 build version to 20090614 2009-06-14 00:40:33 +00:00
skodak 3c36dff587 MDL-19416 fixed critical PHP 5.3 compatibility issue 2009-06-13 17:24:40 +00:00
moodlerobot 3c2c558e23 Updated the 19 build version to 20090613 2009-06-13 00:40:26 +00:00
diml 622e5c7d9c MDL-19477 - Issues on check_text access controllers 2009-06-12 16:17:57 +00:00
moodlerobot ffb76c3545 Updated the 19 build version to 20090612 2009-06-12 00:40:10 +00:00
moodlerobot 0176d8cbaa Automatic installer.php lang files by installer_builder (20090612) 2009-06-12 00:33:23 +00:00
moodlerobot 86ff0b039d Updated the 19 build version to 20090611 2009-06-11 00:40:25 +00:00
samhemelryk a7fa132804 cssclasses MDL-17525 Added next and previous classes to quiz pagination links 2009-06-10 08:35:15 +00:00
fmarier 49a9771cf5 MDL-19078 course search: also look in idnumber and shortname fields 2009-06-10 05:49:56 +00:00
moodlerobot 0fbffac83f Updated the 19 build version to 20090610 2009-06-10 00:39:28 +00:00
samhemelryk aa9c8b7f8e quizheader MDL-18896 Coding style guide change 2009-06-09 08:23:33 +00:00
samhemelryk 593aa35503 quizheader MDL-18896 Hides quiz closes and feedback if no quizzes use them
Note: Feedback will be shown if there are any possible feedbacks that may one day be used
2009-06-09 08:19:22 +00:00
samhemelryk 936369ef5f breadcrumb MDL-14133 One function missed during fix, got it this time 2009-06-09 06:29:56 +00:00
samhemelryk a9fcd45d83 resource MDL-18691 Implemented resource_get_name in one more place for dropdowns 2009-06-09 05:12:02 +00:00
jonathanharker b5ebbaa5bf MDL-12561: Regression fix: banish insecure items warning in IE7 in HTTPS sites.
blank.html now loaded with a https: URL in sites/pages using SSL.


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-06-09 04:58:38 +00:00
moodlerobot f9fad8717d Updated the 19 build version to 20090609 2009-06-09 00:39:33 +00:00
moodlerobot 56e0fe9da5 Automatic installer.php lang files by installer_builder (20090609) 2009-06-09 00:33:15 +00:00
sam_marshall 17f822bd40 MDL-19428: mform - Fixed the 'includenograde' option in modgrade type 2009-06-08 12:42:01 +00:00
fmarier b5840c4c7d MDL-19222 revert diskfree check 2009-06-08 01:16:15 +00:00
moodlerobot ea4c8536a4 Updated the 19 build version to 20090608 2009-06-08 00:40:59 +00:00
moodlerobot a9ca21c97c Updated the 19 build version to 20090607 2009-06-07 00:39:18 +00:00
moodlerobot e0645492c5 Updated the 19 build version to 20090606 2009-06-06 00:38:33 +00:00
stronk7 f1bf386c43 MDL-19403 glossary settings - add support to pixpath. Credit goes to Red Morris 2009-06-05 23:54:17 +00:00
samhemelryk f433674a58 grader_report MDL-19007 Resolved alignment issue - Thanks Neil for the patch 2009-06-05 09:34:31 +00:00
tjhunt dbbb455677 quiz editing: MDL-19199 since Moodle 1.9 DB can only store integer question max grades, we should be cleaning input with PARAM_INT! 2009-06-05 09:18:35 +00:00
tjhunt cb06574d5b question bank: MDL-18822 Highlight the last question you edited in the list
Helpful if you need to edit a lot of questions - saves you from losing your place.
Idea and patch by Oleg Sychev.
2009-06-05 08:30:35 +00:00
tjhunt a8c9711106 quiz reports: MDL-19205 Improved tooltips on individual question grades. 2009-06-05 06:54:34 +00:00
moodlerobot 601812d71e Updated the 19 build version to 20090605 2009-06-05 00:38:55 +00:00
iarenaza aab2bf6809 ntlmsso login hook: MDL-18596 We need to call httpsrequired() before using httpswwwroot 2009-06-04 22:22:37 +00:00
stronk7 a41ae1f4c7 MDL-17327 data module - improve adv. search by avoiding all the extra joins when getting max number of records 2009-06-04 09:53:20 +00:00
tjhunt 56c978bf95 grader preport: XHTML strict 2009-06-04 05:19:43 +00:00
moodlerobot 004c7f7b3f Updated the 19 build version to 20090604 2009-06-04 00:40:09 +00:00
skodak d54f175dbb MDL-18976 simplexml ext now marked as required, credit goes to Dan Poltawski; backported from HEAD 2009-06-03 21:19:05 +00:00
skodak 64a8d691e3 MDL-18293 fixing missing error string 2009-06-03 19:59:16 +00:00
skodak 6a981ddfd6 MDL-19388 removing mysql bypass from 1.8-2.0 - we require UTF8, no bypass possible any more 2009-06-03 16:59:47 +00:00
skodak dfa9ca5415 MDL-19388 removing mysql bypass from 1.8-2.0 - we require UTF8, no bypass possible any more 2009-06-03 16:56:34 +00:00
iarenaza 945b367213 Password expired change url: MDL-18719 If auth plugin doesn't provide a url, use the standard one.
Merged from MOODLE_18_STABLE
2009-06-03 14:22:19 +00:00
skodak 5e6aee4443 MDL-19364 Create new category in tree doesn't check for advanced grade_item fields, thanks Daniel Neis 2009-06-03 08:56:40 +00:00
skodak 0a9a9d16c0 MDL-19378 fixed incorrect weight in category form 2009-06-03 08:52:30 +00:00
moodlerobot 03c4d102a3 Updated the 19 build version to 20090603 2009-06-03 00:39:34 +00:00
mjollnir_ e2a1ed12de MDL-18405 formslib: split is_validated into two separate functions for more flexibility for callers to override the default behaviour. 2009-06-02 10:37:24 +00:00
dongsheng dba840d8fb "MDL-14111, revert, remove format_string from _title_html" 2009-06-02 08:17:04 +00:00
dongsheng f5dc8313df "MDL-14111, format block title by format_text" 2009-06-02 05:55:49 +00:00
tjhunt 0ecdc62ccb local lang string: MDL-13001 fix docs to reflect how it really works. 2009-06-02 04:13:11 +00:00
moodlerobot 228c683a96 Updated the 19 build version to 20090602 2009-06-02 00:38:59 +00:00
moodlerobot 23fa78eced Updated the 19 build version to 20090601 2009-06-01 00:38:50 +00:00
wildgirl 3a6c37d98e small fix: MDL-19268 thanks to Emanuel Delgado 2009-05-31 17:32:57 +00:00
moodlerobot e58b3abfeb Updated the 19 build version to 20090531 2009-05-31 00:40:13 +00:00
stronk7 82d93b8766 MDL-13204 execution time - give extra time to checker because they can run looong; backported from HEAD 2009-05-30 23:55:45 +00:00
diml 29dc93d1cd MDL-19342 - small fixes from Tatsuva Shirai + UTF-8 global straighten up 2009-05-30 22:16:28 +00:00
diml 902ec3ccc2 MDL-19342 - small fixes from Tatsuva Shirai + UTF-8 global straighten up 2009-05-30 22:13:16 +00:00
skodak 8f50e29c85 MDL-19323 added missing support for localized floats + code cleanup 2009-05-30 13:00:45 +00:00
moodlerobot 5338f3b513 Updated the 19 build version to 20090530 2009-05-30 00:38:22 +00:00
moodlerobot 65e89b9f8a Automatic installer.php lang files by installer_builder (20090530) 2009-05-30 00:31:51 +00:00
skodak 95449ba282 MDL-19323 added missing support for localized floats on category edit page + more cleanup 2009-05-29 17:30:18 +00:00
samhemelryk 0b7ccd3524 choosecoursefileorimsrepo MDL-19332 pass specified attrs to text element 2009-05-29 04:16:11 +00:00
moodlerobot 1f4465fda8 Updated the 19 build version to 20090529 2009-05-29 00:38:54 +00:00
stronk7 145fcd4eef MDL-19325 lang string - escape $ properly. Backported from HEAD. Curiosuly 1.9 was parsing it! 2009-05-28 15:24:38 +00:00
stronk7 45e317821b MDL-19229 backup regexp - some servers seem to require the /u modifier if unicode classes are used (sadly Macs don't) 2009-05-28 14:40:18 +00:00
moodlerobot 319b9fbb7b Updated the 19 build version to 20090528 2009-05-28 00:38:06 +00:00
jerome f80b5bd83d community Hub MDL-19313 fix hard coded string for registration form title 2009-05-27 03:00:05 +00:00
moodlerobot cba6700b95 Updated the 19 build version to 20090527 2009-05-27 00:37:42 +00:00
moodlerobot 2cbc7b553e Updated the 19 build version to 20090526 2009-05-26 00:39:05 +00:00
moodler fd0584f517 Bumped post release 2009-05-25 14:01:33 +00:00
poltawski 52aff1bfd3 outcomes/import MDL-19227 - stray break preventing import
thanks to Matt Oquist for the patch
2009-05-25 09:50:06 +00:00
dongsheng 42ad0d11ba "MDL-18971, fix forum unread post highlighting issue, thanks Eric straw's patch" 2009-05-25 08:11:35 +00:00
pichetp be88a9db22 MDL-19210 eliminate the generation of multiple dataitems having the same item number
merge from HEAD
2009-05-25 03:35:23 +00:00
moodlerobot 9e8e8439c7 Updated the 19 build version to 20090525 2009-05-25 00:40:50 +00:00
pichetp 3978521f56 MDL-19214 Adding category hidden element Merging from HEAD 2009-05-24 21:06:34 +00:00
gbateson 40bb96dbec fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and => 2009-05-24 10:22:41 +00:00
skodak 7ee4f7c57b MDL-19288 fixed one more incorrect use of array_shift() which breaks array keys - thanks Colin Campbell 2009-05-24 07:23:34 +00:00
moodlerobot 3d2d030f2b Updated the 19 build version to 20090524 2009-05-24 00:39:44 +00:00
stronk7 ec3f14a25d MDL-15355 restore - proper category selection when restoring from SITE + improved defaults 2009-05-23 20:52:55 +00:00
skodak 9b1424d7f8 MDL-19288 fixed limiting cached context - array_shift() was breaking array keys 2009-05-23 20:07:12 +00:00
moodlerobot 92b7afea55 Updated the 19 build version to 20090523 2009-05-23 00:38:37 +00:00
sam_marshall 9fa231c541 MDL-19274 - Blog RSS feed should include information about tags in each post 2009-05-22 15:17:22 +00:00
stronk7 c967c71d16 MDL-19246 file manager - improved security message. Thanks Helen. 2009-05-22 15:08:08 +00:00
stronk7 4ba39c2626 MDL-19246 restore - cleanup of "restoreto" options. Some more extra uses updated. 2009-05-22 10:24:45 +00:00
stronk7 4bc822b746 MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. 2009-05-22 10:21:45 +00:00
fmarier 83f9848c42 MDL-19222 lib/setup: work-around the disk_free_space call failing on very large partitions 2009-05-22 02:53:00 +00:00
fmarier cf9faae277 MDL-19266 lib/html2text: fix error in preg_replace_callback on php4 2009-05-22 02:21:34 +00:00
fmarier b60e4cc9a3 MDL-19266 lib/html2text: fix warnings in cron when using PHP4 2009-05-22 02:19:00 +00:00
fmarier 72cc2e8c11 MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php
2009-05-22 02:07:34 +00:00
moodlerobot e9e9c9e143 Updated the 19 build version to 20090522 2009-05-22 00:40:39 +00:00
sam_marshall 77464d6be4 MDL-18051: Fixed errors in evalmath when using grade expressions that begin with bracket 2009-05-21 11:54:59 +00:00
jonathanharker 369c4ab13d MDL-12561 Fix IE6 "insecure items" warning in SSL sites using htmlarea
The HTMLArea editor uses the about:blank URL for blank pages, which
IE6 erroneously considers insecure. This commit replaces about:blank
with lib/editor/htmlarea/blank.html instead.


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-05-21 02:28:33 +00:00
jonathanharker 3e16e2fd1d file blank.html was added on branch MOODLE_19_STABLE on 2009-05-21 02:28:33 +0000 2009-05-21 01:59:00 +00:00
moodlerobot 73306a9b52 Updated the 19 build version to 20090521 2009-05-21 00:40:39 +00:00
moodlerobot 75beaae841 Automatic installer.php lang files by installer_builder (20090521) 2009-05-21 00:33:39 +00:00
moodlerobot a0a125af85 Updated the 19 build version to 20090520 2009-05-20 00:39:48 +00:00
stronk7 65f3fe2b8c MDL-19163 restore - avoid some notices. 2009-05-19 18:45:16 +00:00
stronk7 9bc66d2797 MDL-19163 restore - 2 new strings to warn about restore over SITEID 2009-05-19 18:36:33 +00:00
stronk7 6f8c094cf7 MDL-19163 restore - warn if restoring over SITEID course 2009-05-19 18:34:27 +00:00
stronk7 9604cd3be1 MDL-19163 - Fixed problem when cancreatecourse users were restoring to sites with only 1 course 2009-05-19 10:31:24 +00:00
moodlerobot e7cda6bee1 Updated the 19 build version to 20090519 2009-05-19 00:39:52 +00:00
fmarier 9ac7d1f1c9 MDL-19222 add a check and error message when initialising file sessions in case there is no free space on the partition 2009-05-18 05:25:32 +00:00
peterbulmer fc78375323 MDL19219 mnet, mitigate arrkey loss in transit
When usernames are numeric, they are lost in mnet transit when used as
keys in the array result of course_enrolments(). As the username is not
sent with the enrolment details, it was not previously recoverable.
This patch adds the information to the enrolment details,
(enrol/mnet/enrol.php), and adds support for recovering the username if
it was numeric (and hence lost) (admin/mnet/enr_course_enrol.php)
2009-05-18 02:28:06 +00:00
moodlerobot 93dc135075 Updated the 19 build version to 20090518 2009-05-18 00:40:55 +00:00
moodlerobot 923c0f5342 Updated the 19 build version to 20090517 2009-05-17 00:41:27 +00:00
moodlerobot 16a5f6929a Automatic installer.php lang files by installer_builder (20090517) 2009-05-17 00:34:23 +00:00
moodlerobot 866a718532 Updated the 19 build version to 20090516 2009-05-16 00:38:56 +00:00
skodak 3f1f634826 MDL-19194 fixed regression - recursive cretion of dirs on win32 works again 2009-05-15 07:22:23 +00:00
fmarier 386f08f476 Fix typo 2009-05-15 03:36:44 +00:00
moodlerobot 9fd87f072c Updated the 19 build version to 20090515 2009-05-15 00:39:42 +00:00
moodlerobot fe5b9f808b Automatic installer.php lang files by installer_builder (20090515) 2009-05-15 00:33:22 +00:00
fmarier 876a50f509 MDL-19179 cache superfluous queries when listing categories on front page 2009-05-14 04:03:32 +00:00
moodlerobot 71c46bf1af Updated the 19 build version to 20090514 2009-05-14 00:39:19 +00:00
moodlerobot fb28188272 Automatic installer.php lang files by installer_builder (20090514) 2009-05-14 00:33:03 +00:00
moodler 2159765e74 Bumped 1.9.5 version for release 2009-05-13 06:55:11 +00:00
jerome f03f3a665a authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file 2009-05-13 05:35:37 +00:00
moodlerobot e15ed28787 Updated the 19 build version to 20090513 2009-05-13 00:36:53 +00:00
stronk7 b5fcbcf59c MDL-19163 restore - enable course selection for teachers having perms in more than 1 course 2009-05-12 14:53:45 +00:00
stronk7 de0caf4bda MDL-19161 - DB 2.0 reqs. Updated to fulfil 2.0 Roadmap 2009-05-12 09:27:57 +00:00
nicolasconnault 4985cbde0b MDL-8605 New script (web and CLI) for restoring user profile pictures that failed to move to the new folder during upgrade. 2009-05-12 07:46:08 +00:00
moodler 3c95dfea94 course/format/social MDL-18483 For social course format, print forum intro on course page 2009-05-12 05:09:28 +00:00
moodlerobot 2cfd5fd531 Updated the 19 build version to 20090512 2009-05-12 00:38:07 +00:00
fmarier 9c067299f6 MDL-19156: auth/fc: clarifying the licensing terms as per author's email 2009-05-11 23:38:44 +00:00
diml 989b0e64f1 MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_update_date 2009-05-11 19:58:58 +00:00
diml 67b98646eb addresses MDL-19154. May not fix every thing here... more tests in progress. 2009-05-11 19:52:13 +00:00
diml a9e79cb1d7 Fix MDL-19155 on glossary 2009-05-11 19:48:42 +00:00
stronk7 767904d06c MDL-16879 - check & fix mandatory mnet_host records and orphan users. Bump version to next int one. 2009-05-11 18:29:27 +00:00
stronk7 0a5bf56672 MDL-18547 mysql floats - only none/both params (length & decimals) syntax is
allowed. So, if decimals are missing, enforce 0 if length is defined.
2009-05-11 15:04:30 +00:00
nicolasconnault abf58c0272 MDL-7028 global $QTYPES is only available if lib/questionlib.php is included. 2009-05-11 06:31:58 +00:00
moodlerobot e51f717e51 Updated the 19 build version to 20090511 2009-05-11 00:37:11 +00:00
stronk7 f10af7b137 MDL-18746 get_user_courses_bycap() - avoid ambiguous (repeated) column names 2009-05-11 00:02:43 +00:00
stronk7 89c1fe8297 MDL-19084 - backup_course_silently() missing call to xxx__check_backup_mods()
causing quizzes to be incorrect (thanks Piers Harding) plus problems with users,
files and role assignments.
2009-05-10 23:16:06 +00:00
stronk7 61ac3a70dd MDL-15534 wiki special pages heading title. Apply ewiki_t() to get translated heading names 2009-05-10 15:27:34 +00:00
stronk7 eb1b491181 MDL-12618 restore events - delete some missed debug lines...oops 2009-05-10 14:38:34 +00:00
stronk7 9d73b7e3fc MDL-12618 restore events - apply cross-db sql_compare_text(). MSSQL & Oracle were broken here. 2009-05-10 14:35:19 +00:00
stronk7 972f7bb2f0 MDL-11144 - restore of mnet users. Another improvement... 2009-05-10 11:50:45 +00:00
skodak 4889610b11 MDL-19139 selectgroups formslib element improvements - 1/ does not validate if optgroup array empty 2/ add optional $showchoose parameter which adds "Choose..." as first item of list with empty value 2009-05-10 11:48:24 +00:00
stronk7 c07cb2e8bc MDL-17009 restore of mnet users - prevent any user using local host to end with mnet auth 2009-05-10 01:14:52 +00:00
moodlerobot c0e37117b2 Updated the 19 build version to 20090510 2009-05-10 00:37:23 +00:00
moodlerobot aa13521bf1 Automatic installer.php lang files by installer_builder (20090510) 2009-05-10 00:31:07 +00:00
fmarier 04da7fef54 MDL-19117 clarification to the license 2009-05-09 04:32:33 +00:00
stronk7 62082bebd0 MDL-16879 copy/paste double dollar fixed 2009-05-09 01:45:27 +00:00
stronk7 9499230085 MDL-16879 - fix mnet hosts. Tentative function. Not applied to upgrade yet. Please review. 2009-05-09 01:32:41 +00:00
moodlerobot 3556e43683 Updated the 19 build version to 20090509 2009-05-09 00:38:08 +00:00
skodak b8f2fd6a59 MDL-16957 explain why our htaccess is intentionally broken 2009-05-08 21:30:31 +00:00
skodak c5c5f5376c MDL-18311 fixed magic quotes trouble when moving courses 2009-05-08 21:05:18 +00:00
skodak b945888dca MDL-14831 adding warning - excluded grades are not compatible with sum agg; backported from HEAD 2009-05-08 20:08:53 +00:00
mjollnir_ e0eb5d21f5 fix for MDL-19110
Author: Adrian Schlegel <adrian@liip.ch>
2009-05-08 14:26:17 +00:00
nicolasconnault 2e14051ba0 MDL-19121 Not allowing negative values for droplow and keephigh: capping at 0 2009-05-08 13:29:32 +00:00
skodak adb6ccd946 MDL-19068 fixed item decimals before saving item 2009-05-08 13:17:45 +00:00
skodak 9346a8ff99 MDL-18476 fixed default guest role display hint 2009-05-08 12:22:59 +00:00
skodak fa952896a3 MDL-18704 fixed incorrect mnet logging 2009-05-08 12:15:34 +00:00
skodak c73705641f MDL-18869 fixed full name display 2009-05-08 12:07:00 +00:00
skodak bfe5f847b4 MDL-18492 it is not possible to do anything with moddata directory anymore - this is too dangerous for many people ;-) 2009-05-08 08:52:42 +00:00
moodler 10ac51efae theme/standard MDL-19082 Added a margin to standard theme on redirects page 2009-05-08 08:15:45 +00:00
skodak 623a81e19a MDL-18744 cas fix, credit goes to Thibault Le Meur 2009-05-08 07:53:11 +00:00
nicolasconnault feeb76097b MDL-18402 Put default value of 1 for grade item's aggregationcoef if parent category's aggregation is weighted mean. Put 0 for gradepass if field is empty, and 0 for grademin if left empty. This prevents SQL errors because all three fields (aggregationcoef, gradepass and grademin) are non-NULL. 2009-05-08 07:16:44 +00:00
nicolasconnault 79b4a87567 MDL-16416 Created a new help file including explanations of extra credit for both "Sum of Grades" and "Mean with extra credit" aggregation types. This is used on the "Edit categories and items" page. 2009-05-08 06:25:09 +00:00
moodlerobot 8166ff5358 Updated the 19 build version to 20090508 2009-05-08 00:37:15 +00:00
stronk7 56eece4e54 MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Credit goes to Clinton Graham. 2009-05-07 23:53:14 +00:00
gbateson 6f806335e0 when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton" 2009-05-07 23:01:37 +00:00
stronk7 80fbfbb3f6 MDL-13826 link/file resource - check maximum length 2009-05-07 20:39:46 +00:00
stronk7 3be9556391 MDL-19112 choosecoursefile group element - pass specified attrs to text element 2009-05-07 20:29:16 +00:00
skodak 8f0a36a201 MDL-19111 fixed dimming of hidden until items 2009-05-07 17:38:10 +00:00
ericmerrill 1c077f6ad0 MDL-19092 Fixed the user login view, which was incomplete and broken on some browsers 2009-05-07 12:13:10 +00:00
skodak 156726fd07 MDL-2307 improved file name cleanup during unzip 2009-05-07 10:47:57 +00:00
nicolasconnault 0d21fc03a3 MDL-10201 Wrapping label text in a span instead of div, and giving it a class so that it can be found by hide/show AJAX code 2009-05-07 09:44:07 +00:00
nicolasconnault c373242b42 MDL-14412 Applied Michael's patches to fix ram/rm support in firefox 2009-05-07 08:55:50 +00:00
skodak fedfff27f5 MDL-19101 scale selection validated on category edit form 2009-05-07 08:47:26 +00:00
skodak 79143931ce MDL-19091 removed custom scales from different courses + added BC hack 2009-05-07 08:36:11 +00:00
nicolasconnault 0074ab9cef MDL-12444 Removed aggregationview preference from category edit form 2009-05-07 07:52:10 +00:00
skodak 2a200a31d0 MDL-19090 fixed user report preferences 2009-05-07 07:37:29 +00:00
skodak 48629ec809 MDL-19088 fixed category aggregation limitations 2009-05-07 07:18:36 +00:00
dongsheng 8dd6ca3a27 "MDL-18971, fixed .unread class definition" 2009-05-07 05:39:09 +00:00
dongsheng 7fbdd28395 "MDL-3729, use forces language for htmleditor" 2009-05-07 05:30:10 +00:00
fmarier 8a50f7d16b MDL-19096 include a copy of the GPL 2009-05-07 03:03:25 +00:00
moodlerobot 617d203373 Updated the 19 build version to 20090507 2009-05-07 00:36:52 +00:00
skodak a71482a737 MDL-19029 fixed validation problems 2009-05-06 18:50:20 +00:00
skodak 14e93d3cae MDL-19029 fixed validation problem in yui titles 2009-05-06 18:35:18 +00:00
skodak 69785be47a MDL-16915 fixed warnings caused by empty arrays in forum ratings 2009-05-06 18:13:29 +00:00
stronk7 7738dd48c5 MDL-14463 search/order - make it cross-db + delete unused column from query 2009-05-06 17:24:29 +00:00
skodak e8e23ffcc3 MDL-19036 fixed multiple SQL injections 2009-05-06 16:17:50 +00:00
skodak 9a71308057 MDL-18670 adding proper permissions for mkdir() 2009-05-06 16:10:14 +00:00
skodak 2e4dfb210e MDL-18757 using new addslashes_recursive() instead of old addslashes_object() which does not tollerate arrays, nulls, etc. 2009-05-06 15:53:52 +00:00
stronk7 8d73532067 MDL-18059 database rates - secured 2009-05-06 10:16:54 +00:00
stronk7 696018df63 MDL-18058 glossary rates - secured 2009-05-06 09:15:46 +00:00
skodak c7ad7da9c0 MDL-2307, MDL-18415 - improved unzipping - now properly removing forbidden chars and symlinks 2009-05-06 08:48:51 +00:00
moodlerobot 1701805b9e Updated the 19 build version to 20090506 2009-05-06 00:38:23 +00:00
moodlerobot 916dec711b Automatic installer.php lang files by installer_builder (20090506) 2009-05-06 00:32:00 +00:00
skodak 0af2efcf54 MDL-19029 added missing CDATA 2009-05-05 11:52:03 +00:00
skodak 5bac2c2848 MDL-19029 removed bogus feedback end span 2009-05-05 11:42:04 +00:00
stronk7 a4bb739b92 MDL-18799 backup of file.php links - now using unicode modifiers if allowed in the server 2009-05-05 09:25:59 +00:00
moodlerobot 9c536d5a9c Updated the 19 build version to 20090505 2009-05-05 00:38:33 +00:00
skodak 400688352e MDL-19009 cleanup - there is no CONTEXT_GROUP and pinned block context; backported from HEAD 2009-05-04 20:24:45 +00:00
skodak 45c3dd8fce MDL-18124 course creators can not delete any courses in their category any more, only those they created at most one day ago 2009-05-04 19:56:04 +00:00
skodak e67af80ed5 MDL-19052 separate group mode improvements and fixes 2009-05-04 13:14:17 +00:00
skodak cd669edcc1 MDL-19052 fixed separate group mode access on grader report 2009-05-04 13:12:09 +00:00
skodak 4f7ee1cdcc MDL-19052 separate group mode improvements and fixes 2009-05-04 12:54:37 +00:00
nicolasconnault 9f09bc9342 MDL-12444 Removed aggregationview preference from grader report 2009-05-04 12:26:19 +00:00
stronk7 95444f7b1d MDL-18227 forum ratings - clean wrong records 2009-05-04 08:11:15 +00:00
moodlerobot c22c551225 Updated the 19 build version to 20090504 2009-05-04 00:39:41 +00:00
moodlerobot ae47f3bde9 Updated the 19 build version to 20090503 2009-05-03 00:39:52 +00:00
moodlerobot 6ea3353c7c Updated the 19 build version to 20090502 2009-05-02 00:38:55 +00:00
tjhunt cb5c33b235 adminlib: MDL-19038 lazy-load the list of users in admin_setting_users_with_capability 2009-05-01 10:21:58 +00:00
dongsheng 551d425a88 "MDL-19037, use getremoteaddr to get remote ip address, backported from 2.0" 2009-05-01 08:06:08 +00:00
moodlerobot 0d5f1abbef Updated the 19 build version to 20090501 2009-05-01 00:39:29 +00:00
skodak 35d3f6b7d9 MDL-15801 fixed incorrect use of get complete user data function 2009-04-30 20:07:25 +00:00
skodak 5fcba158ce MDL-14561 fixed https issue in IE 2009-04-30 19:56:10 +00:00
skodak b1f45df9be MDL-18523 fixed notice when no cms present yet 2009-04-30 19:04:51 +00:00
skodak 03c4782e11 MDL-19029 fixed incorrect closing of divs on grader report 2009-04-30 10:35:04 +00:00
skodak e41ba841e0 MDL-19029 xhtml strict 2009-04-30 10:15:53 +00:00
skodak 3effcb29a1 MDL-19030 even uglier hack - do not try to add id to labels of static element - they do not have it 2009-04-30 10:08:37 +00:00
skodak fffe748c4c MDL-19030 very ugly hack - do not try to add id to labels of element group - they do not have it 2009-04-30 10:01:43 +00:00
skodak 2ead96df61 MDL-19030 fixed xhtml strictness when label attached to frozen element 2009-04-30 09:48:52 +00:00
skodak 5200e67665 MDL-18951 standardised group support in grader report - forgotten string 2009-04-30 09:16:13 +00:00
skodak 10cae68206 MDL-19016 xhtml strict fix; backported from HEAD 2009-04-30 09:15:13 +00:00
skodak 7234be25bb MDL-18951 standardised group support in grader report; backported from HEAD 2009-04-30 09:01:01 +00:00
nicolasconnault 580898921f MDL-19028 Hiding hidden category from student report instead of grade items. See code diff for better explanation 2009-04-30 08:39:45 +00:00
skodak 3bd8cfe4a3 MDL-18951 standardised group support in grader report (not complete yet); backported from HEAD 2009-04-30 08:08:14 +00:00
nicolasconnault 30911d519a MDL-19027 Added <th> for controls row in edit mode with screenreader and editing on 2009-04-30 07:04:53 +00:00
moodlerobot 25fcb7a520 Updated the 19 build version to 20090430 2009-04-30 00:38:00 +00:00
skodak 6da5a0db23 MDL-13722, MDL-12909 - idnumber required in xml grade export, if not present do not show user in export preview 2009-04-29 20:57:32 +00:00
skodak dd385043a6 MDL-16687 fixed incorrect sorting - thanks Philip Cali 2009-04-29 20:35:37 +00:00
skodak 1ee253d0ef MDL-17829 category edit page cleanup; backported from HEAD 2009-04-29 15:16:04 +00:00
skodak 719e210878 MDL-18991 proper locking of grade type and min/max when sum agg selected and other code cleanup; backported from HEAD 2009-04-29 15:04:44 +00:00
skodak 82a461040d MDL-19014 multiplicator and offset are used only for activity grades - must be disabled elsewhere; backported from HEAD 2009-04-29 14:44:05 +00:00
skodak db6f2bb775 MDL-19015 removed category item editing from normal item edit form; backported from HEAD 2009-04-29 14:36:02 +00:00
skodak f53d2cf806 MDL-19008 extra credis should not be dropped when drop low or keep high specified (including unit tests); backported from HAED and full regrading which is also needed for MDL-18993 2009-04-29 13:44:17 +00:00
skodak 3cee044c01 MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type; backported from HEAD 2009-04-29 10:06:25 +00:00
nicolasconnault d13cf40879 MDL-18963 Applied Matt's patch. Thanks 2009-04-29 09:24:43 +00:00
skodak 309be30e7a MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type; backported from HEAD 2009-04-29 08:55:45 +00:00
moodlerobot b2fe689814 Updated the 19 build version to 20090429 2009-04-29 00:39:46 +00:00
skodak 6f31d67743 MDL-19001 fixed sql typo - thanks Alan Trick 2009-04-28 18:50:12 +00:00
moodlerobot 081c26d41f Updated the 19 build version to 20090428 2009-04-28 00:42:30 +00:00
skodak 0ba3cbecca MDL-17248 fixed incorrect sum when scales involved 2009-04-27 15:20:14 +00:00
skodak bd2fb930a2 MDL-18987 fixed broken item editing when only one category present 2009-04-27 14:26:42 +00:00
skodak 50d3981988 MDL-16918 fixed deleting in csv import file - thanks Luis de Vasconcelos 2009-04-27 10:21:45 +00:00
skodak d7b3edf944 MDL-18985 improved group access control in gradebook exports; backported from HEAD 2009-04-27 08:52:39 +00:00
skodak 8ccb3b2440 MDL-18984 gradebook csv import group access control implemented; backported from HEAD 2009-04-27 08:47:54 +00:00
skodak e30fdc6c94 MDL-18325 one more pgl fix - thanks Richard Mansfield 2009-04-27 06:34:04 +00:00
moodlerobot e11bdd6ac7 Updated the 19 build version to 20090427 2009-04-27 00:36:51 +00:00
stronk7 156f59304e MDL-16824 messaging - move unread messages from deleted users to message_read.
Pending to commit changes to uploaduser.php. Credit goes to Anthony Borrow. Thanks!
2009-04-26 21:12:55 +00:00
moodlerobot 851c918d23 Updated the 19 build version to 20090426 2009-04-26 00:36:43 +00:00
stronk7 d8b837f9f2 MDL-18940 meta description in main page - render multilang summary properly 2009-04-25 21:18:24 +00:00
stronk7 2764745f48 MDL-18799 backup - fixed recently introduced regexp to be PHP 4.3.x compatible. 19_STABLE only. 2009-04-25 11:52:43 +00:00
nicolasconnault 228b3a13c6 MDL-18963 Applying Matt's patch to fix the YUI tooltips in the grader report 2009-04-25 06:52:14 +00:00
moodlerobot c4e8deecbb Updated the 19 build version to 20090425 2009-04-25 00:35:59 +00:00
skodak fa297173a7 MDL-18961, MDL-12942, MDL-18960 - added better extra credit upgrade, fixed potential problem with bogus coefs value for simple mean in current installs + finally fixed long standing "no course total" bug 2009-04-24 18:07:23 +00:00
skodak f2c7967ce5 MDL-18961 fixed warning during upgrade 2009-04-24 17:58:58 +00:00
skodak 4ea98f458e MDL-12942 new extra credit option for simple mean agg 2009-04-24 16:24:10 +00:00
nicolasconnault 0b3f171430 MDL-13579 Fixed an undefined variable ($course_value) 2009-04-24 09:04:53 +00:00
nicolasconnault 9937440935 MDL-18950 Not printing "move selected to" element if no grade category exists 2009-04-24 08:12:39 +00:00
nicolasconnault e40c5d4def MDL-18949 Move selector is now disabled unless at least one grade item is selected. 2009-04-24 07:49:30 +00:00
nicolasconnault 6627e36129 MDL-18942 Fixed user selector lang string 2009-04-24 07:26:02 +00:00
skodak 1e6e88f1fb MDL-18948 fixed handling of indexes when removing options 2009-04-24 07:14:16 +00:00
moodlerobot 9b729e076c Updated the 19 build version to 20090424 2009-04-24 00:36:37 +00:00
skodak 6e7b8954e9 MDL-18942 user selection and group support in gradebook user overview report 2009-04-23 20:28:35 +00:00
skodak 3ecb39e535 MDL-18943 xhtml strict - using class instead of repeated id attribute 2009-04-23 20:20:03 +00:00
skodak e0240136f5 MDL-18941 group support in user gradebook report 2009-04-23 19:26:36 +00:00
nicolasconnault ceb41f927c MDL-18419 Hiding export and import tabs from users who lack moodle/grade:export|import caps 2009-04-23 07:20:13 +00:00
nicolasconnault 3c01f1883c MDL-9306 Converting tabs to spaces 2009-04-23 06:50:48 +00:00
moodlerobot 48e8f83bc2 Updated the 19 build version to 20090423 2009-04-23 00:38:18 +00:00
skodak 8074fe4f8c MDL-18523 Only display the 'Synchronise legacy grades' button when necessary 2009-04-22 21:29:23 +00:00
skodak b50ff44a27 MDL-18930 fixed behaviour of dropdown menu selector in gradebook - the headings are not selectable again like the rest of moodle dropdowns 2009-04-22 20:53:21 +00:00
skodak 5b24f78751 MDL-18929 fixed double colons, in fact we stopped using colons long time ago 2009-04-22 20:04:41 +00:00
skodak 542288130f MDL-18933 Cannot assign default value to variable passed by reference 2009-04-22 20:01:07 +00:00
skodak d1c3e2b83c MDL-18932 PHP5 exceptions replaced with error() 2009-04-22 19:48:18 +00:00
uid536 45b80481ef MDL-18931 removed PHP5 syntaxt function()->function() 2009-04-22 19:45:03 +00:00
skodak 1d375abe68 MDL-18927 fixed performance regression 2009-04-22 19:39:54 +00:00
skodak 69472eef28 MDL-18928 removed unnecessary feedback from core gradebook function 2009-04-22 19:29:25 +00:00
skodak c160d5fe09 MDL-18926 readding deleted sum icon 2009-04-22 19:26:28 +00:00
nicolasconnault 432d2bade1 MDL-18083 Replaced php5 constructors with php4 style 2009-04-22 10:37:50 +00:00
nicolasconnault aa665d6353 MDL-18083 Bumping version number 2009-04-22 08:52:09 +00:00
nicolasconnault 86c651cc3d MDL-18083 Minor changes related to big gradebook patch. 2009-04-22 08:40:31 +00:00
nicolasconnault 1060c2164d MDL-18083 MDL-18228 MDL-17807 MDL-18004 Implemented fixed student column in grader report, mouseover tooltips over grade cells and new browser detection code in moodlelib. Also added new navigation code. 2009-04-22 08:40:03 +00:00
nicolasconnault 27e280b27c MDL-18083 MDL-18228 MDL-17807 Implemented fixed student column in grader report, mouseover tooltips over grade cells and new browser detection code in moodlelib. 2009-04-22 08:39:27 +00:00
nicolasconnault 28435cbcb6 MDL-18083 MDL-18004 MDL-17991
Facelife for user report. Also added new navigation code.
2009-04-22 08:37:21 +00:00
nicolasconnault ade7c41b90 MDL-18083 MDL-18004 MDL-17829
Combining grade item and category forms into one. Also added new navigation code.
2009-04-22 08:36:54 +00:00
nicolasconnault 5383ba0d43 MDL-18083 MDL-14961 MDL-15680 MDL-16913 New Edit Categories and Items interface with heaps of improvements. Replaces the original page. Also added a help string for the "synchronise legacy grades" button. 2009-04-22 08:36:22 +00:00
nicolasconnault 5f9b44089e MDL-18083 MDL-18004 MDL-12631 MDL-13417
Mainly changes related to new tab navigation in the gradebook. Outcomes report is also no longer visible if outcomes are disabled in the course/site.
2009-04-22 08:35:30 +00:00
nicolasconnault f32ee22655 MDL-18083 MDL-12380 MDL-14961 MDL-15680 MDL-16913 MDL-17991 MDL-18228 MDL-17807
New or improved lang strings for gradebook
2009-04-22 08:34:03 +00:00
nicolasconnault e7d8321f40 MDL-18083 MDL-18004 MDL-12380 Implementing new tab navigation in gradebook and grades over 100% 2009-04-22 08:31:56 +00:00
nicolasconnault c4b46d9a7e MDL-18083 MDL-17991 User report facelift, with more presentation options and better layout, similar to the new edit categories and items interface. 2009-04-22 08:31:16 +00:00
nicolasconnault 1dd40dc0d7 MDL-18083 MDL-17829
Combining grade item and category forms into one
2009-04-22 08:30:07 +00:00
nicolasconnault e4bfac7587 MDL-18083 MDL-15680 MDL-16913 New Edit Categories and Items interface with heaps of improvements. Replaces the original page. 2009-04-22 08:28:35 +00:00
nicolasconnault 9612e92185 MDL-18083 MDL-12380 MDL-18228 MDL-17807
Implementing grades over 100% in the grader report, new tab navigation, fixed student column and mouseover tooltips for grade cells.
2009-04-22 08:25:10 +00:00
nicolasconnault dc60ee9a74 MDL-18083 MDL-12380 MDL-15680 MDL-16913
Combining grade item and category forms into one, implementing grades over 100%, and patches for correct aggregation.
2009-04-22 08:23:30 +00:00
nicolasconnault 3c9c3aa722 MDL-18083 MDL-12380 Implementing grades over 100% for the gradebook 2009-04-22 08:21:49 +00:00
nicolasconnault 68f82f804c MDL-18083 MDL-18004 Implementing new tab navigation in gradebook. 2009-04-22 08:20:20 +00:00
moodlerobot 90260a3a2a Updated the 19 build version to 20090422 2009-04-22 00:46:06 +00:00
stronk7 05105cbe47 MDLSITE-545 MDL-18024 - reaplying incorrectly reverted fix 2009-04-21 14:13:15 +00:00
moodlerobot 3b5ff77414 Updated the 19 build version to 20090421 2009-04-21 00:38:05 +00:00
stronk7 e4043b37d8 MDL-18893 TeX filter - fine tune "def" commands + add some more commands to blacklist (from Kopete).
Thanks to Mauno Korpelainen and Steve Mayer
2009-04-20 21:24:00 +00:00
tjhunt c8c1f2f3ac category paths: MDL-18897 call fix_course_sortorder eveywhere we insert a category to set category.path and .depth 2009-04-20 05:59:17 +00:00
moodlerobot 43cf71ebc0 Updated the 19 build version to 20090420 2009-04-20 00:34:27 +00:00
gbateson 903c830041 MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set 2009-04-19 23:53:47 +00:00
moodlerobot 581e0d7ac4 Updated the 19 build version to 20090419 2009-04-19 00:34:53 +00:00
moodlerobot b994941167 Updated the 19 build version to 20090418 2009-04-18 00:35:26 +00:00
stronk7 6483c5b005 MDL-18799 backup & restore - improve file.php handling by using neutral syntax to support any slasharguments combination 2009-04-17 23:42:01 +00:00
gbateson 66a2d3b1fc MDL-17426: removing superflous link to "Selecting a report" 2009-04-17 02:24:23 +00:00
gbateson beef81db81 MDL-18883: fix setting of absolute urls for images in subfolders of course files 2009-04-17 01:50:11 +00:00
moodlerobot 64895b6a85 Updated the 19 build version to 20090417 2009-04-17 00:36:57 +00:00
skodak 36560de1bf MDL-18875 no PHP5 syntax in 1.9.x yet 2009-04-16 06:27:37 +00:00
tjhunt d1a83777f9 quiz editing: MDL-18871 logic was backwards for deciding whether to show the 'This quiz is not graded, so you cannot set overall feedback that differs by grade' warning introduced in MDL-18583. 2009-04-16 03:12:20 +00:00
moodlerobot 342f26f5a7 Updated the 19 build version to 20090416 2009-04-16 00:36:25 +00:00
moodlerobot 96d5e696d6 Automatic installer.php lang files by installer_builder (20090416) 2009-04-16 00:29:51 +00:00
dongsheng 9ff8c54b52 "MDL-18540, add 512 mo options to extramemeorylimit" 2009-04-15 03:52:18 +00:00
danmarsden 5828d143d4 MDL-18818 - don't define var if already defined - happens when these functions are called more than once at a time. merged from HEAD 2009-04-15 02:18:04 +00:00
moodlerobot b486ed5604 Updated the 19 build version to 20090415 2009-04-15 00:38:49 +00:00
moodlerobot c669f4025d Automatic installer.php lang files by installer_builder (20090415) 2009-04-15 00:31:55 +00:00
moodlerobot 2802a8eb01 Updated the 19 build version to 20090414 2009-04-14 00:45:26 +00:00
moodlerobot abe7973a9a Updated the 19 build version to 20090413 2009-04-13 00:44:04 +00:00
moodlerobot 704926310d Updated the 19 build version to 20090412 2009-04-12 01:05:30 +00:00
moodlerobot d756a3ef79 Updated the 19 build version to 20090411 2009-04-11 00:35:33 +00:00
moodlerobot fc431a5a19 Automatic installer.php lang files by installer_builder (20090411) 2009-04-11 00:28:22 +00:00
moodlerobot 89af1a706a Updated the 19 build version to 20090410 2009-04-10 00:35:03 +00:00
nicolasconnault 4d07f1c87e MDL-17273 Added a back button to the error message and fixed missing handling of "custom" scope 2009-04-09 12:26:11 +00:00
skodak dec816756a MDL-18820 add module_is_moddata_trusted() callback to file.php (improved anti XSS protection for contrib modules); HEAD already has this feature - fixed silly typo 2009-04-09 11:19:50 +00:00
skodak 676e4d4569 MDL-18820 add module_is_moddata_trusted() callback to file.php (improved anti XSS protection for contrib modules); HEAD already has this feature 2009-04-09 09:30:31 +00:00
skodak eb24292dee MDL-18338 option for hiding of groups in user profile; backported from HEAD 2009-04-09 08:30:10 +00:00
skodak 66f303360d MDL-13843 user profile in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level) 2009-04-09 08:23:32 +00:00
skodak 9ed386b6cf MDL-13843 treat default course grouping as current grouping at course level (groupmode is used the same way at course level) 2009-04-09 08:16:47 +00:00
skodak a51fb7e9ba MDL-13843 user participation in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level); backported from HEAD 2009-04-09 07:59:11 +00:00
moodlerobot c194163564 Updated the 19 build version to 20090409 2009-04-09 00:35:09 +00:00
moodlerobot 6524c910da Automatic installer.php lang files by installer_builder (20090409) 2009-04-09 00:28:49 +00:00
moodlerobot 4c92d180ac Updated the 19 build version to 20090408 2009-04-08 00:35:12 +00:00
moodlerobot 8a945601b3 Automatic installer.php lang files by installer_builder (20090408) 2009-04-08 00:28:39 +00:00
arborrow 5bb0cd916d MDL-16798 - add continue buttons to role assignment page to avoid "deadend" 2009-04-07 23:48:00 +00:00
skodak 31a8cf8e83 MDL-13224 fixed coding style; backported from HEAD 2009-04-07 07:46:25 +00:00
moodlerobot 7e3fdfdb0e Updated the 19 build version to 20090407 2009-04-07 00:36:32 +00:00
sam_marshall 786eed65f9 MDL-18768: Limited size of context and modinfo caches to avoid memory problems with code that loops through many courses, also changed forum role_assign to use recordset for all-courses loops 2009-04-06 09:49:40 +00:00
peterbulmer 6d305e4f73 MDL-15942 - missing patch 2009-04-06 06:37:43 +00:00
peterbulmer 55ea2fb983 MDL-18414 change sql query syntax
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-04-06 06:21:27 +00:00
peterbulmer 79b35f3866 MDL-18413 limit length of coursedata strings before trying to store them in the db
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-04-06 06:19:47 +00:00
arborrow fd13e4f162 typo - reponse instead of response 2009-04-06 03:44:13 +00:00
tjhunt f5187943c0 fomslib: MDL-18735 disabledif not working in IE if depended on element was a <select>.
This was a regression from MDL-18522. Sorry.
2009-04-06 02:56:25 +00:00
tjhunt 579c4bc033 shortanswer qtype: Add the problem case from http://moodle.org/mod/forum/discuss.php?d=120557 to the unit tests. 2009-04-06 02:03:05 +00:00
moodlerobot 7727d7a558 Updated the 19 build version to 20090406 2009-04-06 00:36:01 +00:00
skodak 03acab4231 MDL-18384 better symlink support, do not recurse symlinks when deleting - patch by Matt Oquist, thanks 2009-04-05 20:55:55 +00:00
skodak 814783b478 MDL-18771 fixed db quoting 2009-04-05 20:26:21 +00:00
skodak bb6c8de31f MDL-18772 fixed aut oupdating of grademax for SUM aggregation type; backported from HEAD 2009-04-05 20:17:38 +00:00
skodak 265859b120 MDL-18778 more robust reset form defaults; backported from HEAD 2009-04-05 19:33:02 +00:00
skodak d370403233 MDL-18785 configurable FRONTPAGECOURSELIMIT ; backported from HEAD 2009-04-05 19:21:12 +00:00
arborrow e04abdba8b typo - missinf instead of missing 2009-04-05 05:16:08 +00:00
moodlerobot fd9e47f7c9 Updated the 19 build version to 20090405 2009-04-05 00:35:11 +00:00
moodlerobot 645574ae9c Updated the 19 build version to 20090404 2009-04-04 00:32:29 +00:00
sam_marshall e04544af60 MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-03 13:11:43 +00:00
nicolasconnault b540ebdc82 MDL-17272 1. Hiding the outcomes menu from admin tree 2009-04-03 08:04:52 +00:00
moodlerobot 28f148f63c Updated the 19 build version to 20090403 2009-04-03 00:35:30 +00:00
moodlerobot 2767262c21 Automatic installer.php lang files by installer_builder (20090403) 2009-04-03 00:29:02 +00:00
fmarier b8b118b322 html2text: MDL-17542 switch to a GPL-compatible html2text library 2009-04-02 23:00:12 +00:00
sam_marshall 04e43cfc7e MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-02 16:32:37 +00:00
nicolasconnault 71bf0e07aa MDL-17273 Preventing import of corrupted csv files 2009-04-02 12:37:59 +00:00
nicolasconnault 67f381e4d3 MDL-17273 Preventing import of corrupted csv files 2009-04-02 12:35:06 +00:00
dongsheng e9c5d87a17 "MDL-13224, language string for mymoodle options" 2009-04-02 03:31:30 +00:00
dongsheng f868465f02 "MDL-13224, convert type of courses limit, everything coming from database is string" 2009-04-02 02:49:10 +00:00
moodlerobot b546e97106 Updated the 19 build version to 20090402 2009-04-02 00:34:21 +00:00
moodlerobot 2e2a9ec02c Automatic installer.php lang files by installer_builder (20090402) 2009-04-02 00:28:03 +00:00
skodak 88b119010d MDL-18769 PHP5ism not allowed in 1.9 2009-04-01 15:48:57 +00:00
dongsheng e7b98680d7 "MDL-13224, select how many courses can be shown in mymoodle page, backported from 2.0" 2009-04-01 07:39:42 +00:00
moodlerobot aa96913f3c Updated the 19 build version to 20090401 2009-04-01 00:34:25 +00:00
diml df859bc818 MDL-18474 - fix include link better... before tagging MERGED. 2009-03-31 23:17:09 +00:00
skodak b950f12601 MDL-18552 different TeX trouble fix; backported from HEAD 2009-03-31 10:23:53 +00:00
tjhunt 2f4ec8a0a7 MDL-15484 Avoid JavaScript errors after a popup has been blocked.
Also clean up coding style of some nearby functions.
2009-03-31 03:24:15 +00:00
moodlerobot 3682b74272 Updated the 19 build version to 20090331 2009-03-31 00:37:15 +00:00
skodak 5a966b8089 MDL-18540 undoing regression in last commit, sorrry - thanks Eloy 2009-03-30 17:34:56 +00:00
skodak 898be4fbdb MDL-18540 fixing "extra" memory strings; backported from HEAD 2009-03-30 17:10:00 +00:00
dongsheng f60ff51cac "MDL-18540, change the uses of option" 2009-03-30 10:04:57 +00:00
dongsheng 83e55afa36 "MDL-18540, change option name to extramemorylimit" 2009-03-30 09:36:52 +00:00
dongsheng 4113a8d05d "MDL-18540, use admin_setting_configselect to set option" 2009-03-30 09:17:05 +00:00
tjhunt d547bb0bd0 qtypes: MDL-18711 Allow qtype plugins to have custom CSS and JavaScript on the editing page. 2009-03-30 09:15:37 +00:00
gbateson cd0de43baf when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase 2009-03-30 07:02:23 +00:00
dongsheng 3fca7144ca "MDL-18540, fixed default value of memorylimit" 2009-03-30 04:42:26 +00:00
moodlerobot 22de2a9020 Updated the 19 build version to 20090330 2009-03-30 00:41:39 +00:00
moodlerobot bc4fb0c278 Updated the 19 build version to 20090329 2009-03-29 00:37:17 +00:00
moodlerobot dff2a97ab1 Updated the 19 build version to 20090328 2009-03-27 23:34:47 +00:00
moodlerobot f2234e611d Automatic installer.php lang files by installer_builder (20090328) 2009-03-27 23:28:31 +00:00
fmarier 19a9e4f2fa mod/resource: MDL-18691 allow custom resource types to specify their name in their own lang directory
Before this change, the full name of the resource type had to be stored in the "resource" namespace (for example in /mod/resource/lang/en_utf8/resource.php).

Now it can be put in the "resource_foo" namespace:

e.g. in /mod/resource/type/foo/lang/en_utf8/resource_foo.php:

<?php
  $string['resourcetypefoo'] = 'Link to a Foo Bar document';
?>
2009-03-27 03:20:13 +00:00
danmarsden abe16888de SCORM MDL-18626 - fix SCORM navigation breadcrumbs merged from HEAD 2009-03-27 01:48:14 +00:00
moodlerobot 2788e588fe Updated the 19 build version to 20090327 2009-03-26 23:35:54 +00:00
stronk7 7ed8fad35b MDL-18552 TeX filter - add string 2009-03-26 21:32:34 +00:00
danmarsden 067b054260 Choice MDL-18600 fix sort to be sorted by surname,firstname - thanks to Mihai Sucan for the fix merged from HEAD 2009-03-26 21:24:07 +00:00
skodak 52c28ff98a MDL-18313 - fixed admin count on security overview report - finally! 2009-03-26 20:59:31 +00:00
danmarsden d9c0d727d7 AICC MDL-18702 Completion Logic incorrect - thanks to Martin Holden for the fix! merged from HEAD 2009-03-26 20:23:43 +00:00
skodak 31c8f5ebaa MDL-18676 auth plugins should run before enrol because it may create new users - proposed by Jason Hardin; backported from HEAD 2009-03-26 19:56:25 +00:00
stronk7 35a8b3cfac MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug 2009-03-26 19:06:29 +00:00
dongsheng 88906bf330 "MDL-17966, fixed installation blocker" 2009-03-26 13:17:56 +00:00
tjhunt 823ebe16cc local lang: MDL-13001 perf improvement: only searches extra folders if $module == 'local'
Will merge to HEAD later, as part of MDL-18669
2009-03-26 09:00:15 +00:00
dongsheng 1a5a1c0e6c "ADMINLIB/MDL-17966, overwrite write_setting to update settings instead execute sql execute in get_settings, this will not hurt performance" 2009-03-26 08:50:50 +00:00
tjhunt 6042285796 questions: unit tests for default_questiontype::compare_responses. 2009-03-26 08:42:18 +00:00
dongsheng ea718748b8 "ADMINLIB/MDL-17966, update after writing settings" 2009-03-26 02:32:45 +00:00
dongsheng fec5c0cf5f "ADMINLIB/MDL-17966, update after writing settings" 2009-03-26 02:24:00 +00:00
dongsheng 28d02ef39e "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile" 2009-03-26 01:43:08 +00:00
dongsheng 307b92632b "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile" 2009-03-26 01:36:16 +00:00
moodlerobot dfabc486c9 Updated the 19 build version to 20090326 2009-03-25 23:34:38 +00:00
diml c2b308cfc0 MDL-18672 and MDL-18679 fixed. DIRECTORY_SEPARATOR / PATH_SEPARATOR mismatch 2009-03-25 21:27:37 +00:00
diml 191e741060 MDL-18672 and MDL-18679 fixed. DIRECTORY_SEPARATOR / PATH_SEPARATOR mismatch 2009-03-25 21:21:21 +00:00
poltawski fdb5bf270e Fix 'progile' typo MDL-18312 2009-03-25 09:45:43 +00:00
poltawski 826cedfd54 Fix 'drow-down' typo MDL-18320 2009-03-25 09:42:25 +00:00
poltawski e46fe67177 lib/moodlelib.php MDL-18406 - use more robust require path
thanks to Daniel Neis
2009-03-25 09:37:57 +00:00
poltawski d27ab8aa93 documentation/workshop MDL-2605 - bad helpfile link 2009-03-25 09:30:56 +00:00
poltawski df2415e85f lib/email_to_user MDL-10384 Recipeint names broken
When emailcharset is not utf8 the charset conversion was breaking
recipient/replyto names

thanks to Tatsuya Shirai
2009-03-25 09:16:33 +00:00
tjhunt 5df04607be accesslib: MDL-18604 you should never be allowed to switch to a role with moodle/site:doanything.
Further logic correction.
2009-03-25 02:37:27 +00:00
dongsheng da9429c8e6 "DATA/MDL-18136, change to moodle coding style" 2009-03-25 01:46:58 +00:00
tjhunt 9658298c2e accesslib: MDL-18604 you should never be allowed to switch to a role with moodle/site:doanything.
The SQL in get_assignable_roles_for_switchrole was wrong.
2009-03-25 01:41:05 +00:00
moodlerobot 45f782d7c7 Updated the 19 build version to 20090325 2009-03-24 23:33:46 +00:00
skodak 9709ffccc9 MDL-17966 reverting previous commit, solution proposed in tracker 2009-03-24 11:00:25 +00:00
thepurpleblob e5dbb5ea88 MDL-18542
Finally committing one line patch for bug. Sigh :-)
2009-03-24 10:38:59 +00:00
thepurpleblob 0326d0e6f7 MDL-18542:
Replacing another (intermediate) fix.
2009-03-24 10:33:54 +00:00
moodlerobot e56c4c0027 Updated the 19 build version to 20090324 2009-03-23 23:34:28 +00:00
diml 5d4d1af5d7 Addresses MDL-18474 (global search should use of PATH_SEPARATOR) 2009-03-23 21:55:39 +00:00
diml f891b69aec Addresses MDL-18638 (Search code does not follow coding guidelines) and MDL-18474 (global search should use of PATH_SEPARATOR) 2009-03-23 21:54:42 +00:00
thepurpleblob 0f899b0cc3 Whoops... missed Tim's edit. 2009-03-23 21:46:38 +00:00
thepurpleblob 0471947593 Reverting changes in MDL-18542 2009-03-23 21:34:31 +00:00
thepurpleblob 0791d2fbb5 Reverting changes in MDL-18542 (some more to do in fields, but this should
un-break it). Checkbox error still extant.
2009-03-23 21:22:52 +00:00
mudrd8mz 654e003982 MDL-18644 Add a note about the bug found and upstream bug link. Backported from HEAD 2009-03-23 10:56:42 +00:00
mudrd8mz f847d9f546 MDL-18644 Both if and else end with return therefore another return afterwards is
obsolete. Also, "return true" at top of the function renders all the
following code useless
2009-03-23 09:47:45 +00:00
mudrd8mz 68a3d81779 MDL-18644 Variables used without $-prefix 2009-03-23 09:47:30 +00:00
mudrd8mz bd294d2986 MDL-18644 Function name must be enclosed in quotes 2009-03-23 09:46:18 +00:00
mudrd8mz e24a45df3f MDL-18644 Invalid assignment instead of comparation
Should be checked and reported upstream, too
2009-03-23 09:45:57 +00:00
mudrd8mz 6f49985bb8 MDL-18644 Both if and else end with return therefore another return afterwards is
obsolete
2009-03-23 09:45:42 +00:00
mudrd8mz 5a1655832f MDL-18644 Variable used without $-prefix 2009-03-23 09:44:52 +00:00
nicolasconnault 26c2f68336 MDL-18402 Reverting aggregationcoef default 2009-03-23 08:33:53 +00:00
dongsheng 1fcf706f09 "DATA/MDL-14818, fix checkbox options cannot dispaly properly in search form" 2009-03-23 05:38:02 +00:00
tjhunt 8871d7f463 quiz: MDL-18635 log every single hit to mod/quiz/attempts.php
I don't know why the quiz only logged every 10 minutes. No other part of Moodle worked like that. However, it has always been like that and I did not have a good reason to change it until now.

What was a problem becuase it made it harder to catch people doing a primitive DOS attack against the server by hitting Reload repeatedly.
2009-03-23 01:59:18 +00:00
moodlerobot 912481e00d Updated the 19 build version to 20090323 2009-03-22 23:42:19 +00:00
moodlerobot bbaec83b08 Automatic installer.php lang files by installer_builder (20090323) 2009-03-22 23:34:11 +00:00
poltawski acb1e9fc07 Messages block: Incorrect link to user profile
The block incorrectly links to site profile in the current pageid.
This doens't make sense in a number of different scenarios, but
most notably if the user who messaged isn't enrolled in the current
course. Instead link to the profile at site context like the messaging
popup does.

Fixes: MDL-18279 MDL-6890 MDL-5887
2009-03-22 22:39:40 +00:00
moodlerobot 57a049c4b5 Updated the 19 build version to 20090322 2009-03-21 23:38:36 +00:00
moodlerobot 533f83552c Updated the 19 build version to 20090321 2009-03-20 23:40:58 +00:00
poltawski 2867af6a5b mod/forum - invalid html in q&a forum MDL-18305
thanks to Neil Streeter for the patch
2009-03-20 13:38:27 +00:00
stronk7 cc18654ce9 MDL-15748 get_user_access_sitewide() - reduce looking for perms in any context below category level.
Dramatic speed-up in sites with zillions of contexts and overrides. Credit goes to Samuli Karevaara.
2009-03-20 12:01:38 +00:00
thepurpleblob 5e7932a38f MDL-18542:
Aaargh... yet another one missed. Hopefully that's it.
2009-03-20 11:35:03 +00:00
moodlerobot 19902c841f Updated the 19 build version to 20090320 2009-03-19 23:35:10 +00:00
moodlerobot edeb99025b Automatic installer.php lang files by installer_builder (20090320) 2009-03-19 23:28:38 +00:00
thepurpleblob d831f2bd37 MDL-18542:
Missed the format field for textarea.
2009-03-19 21:15:57 +00:00
thepurpleblob e04eb3c786 MDL-18542:
Correctly deals with field types that have multiple parts (e.g. data and lat/long)
Thanks to Eloy for spotting this.
2009-03-19 20:39:45 +00:00
stronk7 1316b059c9 MDL-18594 restore check - skip maintenance.html file on restore of sie files. Credit goes to Juan Segarra. 2009-03-19 14:43:25 +00:00
poltawski 776e168943 email_to_user: MDL-16328 - prevent empty receeipent address
Be a bit defensive as it seems to be possible for this to happen
with LDAP auth
2009-03-19 10:33:49 +00:00
moodlerobot 97e5e34231 Updated the 19 build version to 20090319 2009-03-18 23:35:43 +00:00
danmarsden 2538f34611 MDL-18564 choice - fix grammar - thanks to Ray Lawrence for the report merged from HEAD 2009-03-18 23:05:09 +00:00
sam_marshall a6b72a94d7 MDL-18582: Made config.php consistently require_once 2009-03-18 14:19:21 +00:00
sam_marshall 5a84b468c7 MDL-18582: Made config.php consistently require_once 2009-03-18 14:08:32 +00:00
exe-cutor f21a6c674c MDL-18597 Various code improvements, new logout return url config option and better instructions regarding Shibboleth logout 2009-03-18 13:26:31 +00:00
exe-cutor c7904acb92 MDL-18597: Added language strings for auth_shib_logout_return_url 2009-03-18 13:18:10 +00:00
thepurpleblob 4a093d5096 MDL-18579:
Provide nicer message if 'Stop on error' is selected and errors are found.
2009-03-18 11:14:17 +00:00
tjhunt 2b808f03b8 quiz settings: MDL-18583 When a quiz has no grade, make it clear that you can only enter one lot of overall feedback.
When the maximum grade for the quiz is 0, we disable all the overall feedback form controls except for the first, and display an explanitory message.
2009-03-18 07:34:04 +00:00
tjhunt 5636aa5494 formslib: MDL-15827 disabledif option to repeat_elements did not work if you depend on another repeated element.
Patch thanks to Matthieu Nué.
2009-03-18 07:08:25 +00:00
tjhunt a756e41f9f question bank: MDL-18531 Sorry, capability name typo. 2009-03-18 05:34:03 +00:00
tjhunt 73fc1a1820 quiz outline report: MDL-18285 Show regrade date, not last attempt date.
I also took the opportunity to clean up the code a bit.
2009-03-18 05:16:42 +00:00
tjhunt 0c34967646 question bank: MDL-18531 actually, moodle/question:use would be a better capabilty to check than moodle/question:add. 2009-03-18 05:01:54 +00:00
tjhunt e299d01687 formslib disabledif: MDL-18522 make it work if either end of a disabledif relationship is a set of radio buttons.
Backport from HEAD to 1.9 stable.
2009-03-18 04:46:52 +00:00
tjhunt 2113a65fdd question bank: MDL-18531 if someone can add questions in the quiz context, but no the course context, choose a more sensible default category in the question bank. 2009-03-18 04:45:47 +00:00
moodlerobot f0fbafe9d9 Updated the 19 build version to 20090318 2009-03-17 23:38:44 +00:00
moodlerobot 5ea5f1052c Automatic installer.php lang files by installer_builder (20090318) 2009-03-17 23:31:00 +00:00
mark-nielsen 589358b7f3 shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No 2009-03-17 16:24:47 +00:00
tjhunt f40fb532d8 database mod: XHTML strict! 2009-03-17 04:28:52 +00:00
tjhunt 7fc3fa77d7 database mod: XHTML strict! 2009-03-17 04:22:55 +00:00
moodlerobot 70d00ab90b Updated the 19 build version to 20090317 2009-03-16 23:35:31 +00:00
stronk7 22973ebf85 MDL-18576 timezones - info updated to tzdata2009c 2009-03-16 17:53:55 +00:00
thepurpleblob 0479b1aa14 MDL-18567:
Check for (boolean) false coming back from database instead of real data
2009-03-16 16:35:44 +00:00
thepurpleblob 20538060c3 MDL-18542
Can now uncheck checkboxes and have them stored correctly.
2009-03-16 15:35:48 +00:00
thepurpleblob 80fe7b9ef7 MDL-18555:
Adding better handling for unsupported question types.
2009-03-16 14:19:46 +00:00
thepurpleblob 7d8f12b630 MDL-18390:
Now looks up the questiontype name correctly.
2009-03-16 13:43:19 +00:00
tjhunt d3c7da5741 qtypes: MDL-18559 questions showing penalty information when they shouldn't.
We had a !== when it should have been !=, and our constants were defined as strings not ints. This problem has been there since forever, but no one had noticed before. Thanks to Alan Trick for finally spotting it!
2009-03-16 01:52:24 +00:00
gbateson a1e836ace4 force Moodle gradebook grades to be recalculated when HotPot grade method is changed: http://moodle.org/mod/forum/discuss.php?d=117691 2009-03-16 01:46:54 +00:00
Francois Marier 10ec29097f Fix CVS-git drift 2009-03-15 23:33:21 +00:00
moodlerobot ee8d4be64f Updated the 19 build version to 20090316 2009-03-15 23:33:21 +00:00
skodak 772230543b MDL-18265 fixed regression in menu field - discovered and patched by Vlas Voloshin, thanks! 2009-03-15 13:43:28 +00:00
moodlerobot f6de7336d1 Updated the 19 build version to 20090315 2009-03-14 23:37:46 +00:00
moodlerobot aa6ab4e614 Automatic installer.php lang files by installer_builder (20090315) 2009-03-14 23:31:24 +00:00
diml 6e1f85a7a8 Changing PATH_SEPARATOR - Fixing MDL-18474 2009-03-14 10:25:57 +00:00
moodlerobot f9d9e0e512 Updated the 19 build version to 20090314 2009-03-13 23:33:47 +00:00
moodlerobot 9740b1b449 Updated the 19 build version to 20090313 2009-03-12 23:34:27 +00:00
stronk7 312fc573c7 MDL-18482 restore skipping non selected activities. 2009-03-12 23:14:11 +00:00
stronk7 e3cc7cfd7c MDL-18543 restore of role assignments / overrides - skip non-restored contexts. 2009-03-12 22:20:44 +00:00
stronk7 b890fdaed4 MDL-18541 replace script - now also replaces within well known html blocks. 2009-03-12 19:02:08 +00:00
stronk7 acfc17d452 Delete one non-critical-but-unnecessary trailing semicolon 2009-03-12 18:09:26 +00:00
exe-cutor 37934e4996 Shibboleth authentication: Fixed bug MDL-18538 that overwrites alternateloginurl when Shibboleth authentication settings are saved 2009-03-12 15:06:07 +00:00
thepurpleblob 7b1476eb6d MDL-18535:
Adding checks for field name mismatches and "proper" error messages.
2009-03-12 14:38:09 +00:00
moodlerobot c1d77cb923 Updated the 19 build version to 20090312 2009-03-11 23:34:44 +00:00
danmarsden 6e5eaf55b9 MDL-18519 SCORM remove rubbish from locallib.php 2009-03-11 20:25:04 +00:00
thepurpleblob 4e334e2d89 MDL-18390 - now correctly looks up name of questiontype from language pack 2009-03-11 13:15:32 +00:00
stronk7 3ab60a5351 MDL-18518 user firstaccess - forgot to commit lang string. 2009-03-11 10:35:57 +00:00
stronk7 6b31e49438 MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow! 2009-03-11 10:34:56 +00:00
dongsheng ec6270acb8 "DATA/MDL-18024, use rid instead page to comment a record" 2009-03-11 05:31:02 +00:00
danmarsden 73c0691713 MDL-18412 typo - remove bad code that hid the real issue 2009-03-11 04:48:59 +00:00
dongsheng 08888c21c6 "DATA/MDL-18136, fix pagination in data mod" 2009-03-11 04:19:57 +00:00
dongsheng 2c0838a960 "ADMINLIB/MDL-17966, display changes saved in admin page" 2009-03-11 02:40:56 +00:00
dongsheng 03d0e079c7 "CHAT/MDL-14949, remove mod/chat:talk capability and check chat and readlog capabilities respectively" 2009-03-11 02:21:45 +00:00
danmarsden aab2a31c11 MDL-18460 - SCORM Report - remove duplicated header - thanks Vlas Voloshin for the report. - merged from HEAD 2009-03-11 01:18:41 +00:00
moodlerobot 3216e3bcdf Updated the 19 build version to 20090311 2009-03-10 23:33:56 +00:00
moodlerobot 40ffadedca Automatic installer.php lang files by installer_builder (20090311) 2009-03-10 23:27:42 +00:00
nicolasconnault 30f703a490 MDL-14961 Added a help button for the synchronise legacy grades button 2009-03-10 14:00:19 +00:00
moodlerobot c52af6208e Updated the 19 build version to 20090310 2009-03-09 23:34:39 +00:00
stronk7 e85de04d7b MDL-18468 Adding admin experimental option to enable split on restore. Thanks for string cleanup, Helen. 2009-03-09 23:30:55 +00:00
stronk7 cb512feef5 MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option
to enable split of moodle.xml files into upto 19 smaller files for quicker restore.
2009-03-09 23:28:39 +00:00
moodlerobot e603181eeb Automatic installer.php lang files by installer_builder (20090310) 2009-03-09 23:28:20 +00:00
mjollnir_ b3c8c097aa MDL-18462 theme: consistency in css for incorrect questions 2009-03-09 09:23:09 +00:00
poltawski f8338c21b5 forum/subscribe to all forums broken - MDL-15317
Was calling has_capability on $cm rather than a context..
thanks to Garret Gengler for the fix.
2009-03-08 23:49:59 +00:00
moodlerobot dc56fc912e Updated the 19 build version to 20090309 2009-03-08 23:39:39 +00:00
moodlerobot 93c0ab4628 Updated the 19 build version to 20090308 2009-03-07 23:37:32 +00:00
skodak 734e6125ed MDL-18265 fixed regressions by hardfreeze security workaround - defaults were overriding locked values - backported from HEAD 2009-03-07 21:01:39 +00:00
moodlerobot 689eeabb2f Updated the 19 build version to 20090307 2009-03-06 23:33:02 +00:00
mark-nielsen b31b9c0d8d lesson grading: MDL-17101 The lesson module was sending the incorrect raw grade values. Correcting the values by calculating the actual raw grade before sending to gradebook. 2009-03-06 18:44:54 +00:00
moodlerobot baec5bf1b5 Updated the 19 build version to 20090306 2009-03-05 23:39:01 +00:00
moodlerobot 675c797a5c Automatic installer.php lang files by installer_builder (20090306) 2009-03-05 23:32:43 +00:00
moodlerobot cec35fd605 Updated the 19 build version to 20090305 2009-03-04 23:37:56 +00:00
moodlerobot b0178a9339 Automatic installer.php lang files by installer_builder (20090305) 2009-03-04 23:31:39 +00:00
stronk7 73078aefd5 MDL-18440 email_to_user() - avoid some notices 2009-03-04 14:59:45 +00:00
skodak c5129f59e6 MDL-16852 fixed left join trouble 2009-03-04 13:34:20 +00:00
sam_marshall b3e0a94764 MDL-15913: Smartpix fails if themes or images have upper-case names 2009-03-04 11:55:19 +00:00
thepurpleblob a34725b3eb MDL-18390
Corrected handling of unsupported question types and added new language file
to remove hard coded strings.
2009-03-04 10:25:23 +00:00
danmarsden 102ab4b93d MDL-15276 add check for RESTORE_SILENTLY merged from HEAD 2009-03-04 02:45:10 +00:00
moodlerobot 0b8efe1434 Updated the 19 build version to 20090304 2009-03-03 23:35:41 +00:00
moodlerobot 1c3090aabc Automatic installer.php lang files by installer_builder (20090304) 2009-03-03 23:29:25 +00:00
dongsheng 135de95512 "FORUM/MDL-15968, respect mod/forum:viewqandawithoutposting in forum_search_posts" 2009-03-03 06:46:28 +00:00
tjhunt 86bfbf6d5a Aiken question import: MDL-18423 Greater robustness when parsing. 2009-03-03 05:12:06 +00:00
tjhunt 4bfcbb6065 qtype base: remove debug code. 2009-03-03 04:37:46 +00:00
dongsheng 3ebec13e90 "FORUM/MDL-14860, declare subtext varible before use it" 2009-03-03 01:03:10 +00:00
stronk7 4130b29319 MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. 2009-03-02 23:40:26 +00:00
moodlerobot 7c581c26d6 Updated the 19 build version to 20090303 2009-03-02 23:33:56 +00:00
piers 753d8d6b8f MDL-18412 - fixed incorrect config var name. thanks Anthony. backport 1.9. 2009-03-02 23:21:26 +00:00
mudrd8mz cac526294c MDL-17492 Reset flag did not work in PostgreSQL
Postgres does not seem to support table alias in UPDATE statement.
Therefore the SQL like
 UPDATE mdl_tag tg SET tg.flag = 0, tg.timemodified = 1236027984 WHERE tg.id IN (4)
ends with an ERROR: column "tg" of relation "mdl_tag" does not exist
The fix is quite easy - just do not use table alias as it makes no sense
here anyway.
Besides this, the commit also fixes:
* do not try to access the array key [0] in case of empty array (no tags
  exist yet)
* do not require_capability() at the function level - it is already
  checked at the caller script level
2009-03-02 21:36:50 +00:00
stronk7 9d86cefba4 MDL-18420 reserved words - adding 2 new PG reserved words. 2009-03-02 19:08:26 +00:00
stronk7 9161104df4 MDL-18420 reserved words - pointing to new URL 2009-03-02 18:53:16 +00:00
stronk7 a1f37c56c7 MDL-18420 reserved words - adding MySQL 5.1 and 6.0 new reserved words 2009-03-02 18:46:38 +00:00
mudrd8mz 4ff615ba18 MDL-14743 offer a link to the English help file 2009-03-02 14:06:22 +00:00
moodlerobot 0b01e09a84 Updated the 19 build version to 20090302 2009-03-01 23:34:29 +00:00
moodlerobot 2546b11627 Updated the 19 build version to 20090301 2009-02-28 23:38:24 +00:00
gbateson 3856061526 MDL-18409 add "Remove grade item" to mod_form.php form and standardize grade items for HotPots: (i) remove orphan grade items, (ii) remove grade items for HotPots with a zero grade, (iii) synchronize grade item name and HotPot name (iv) add missing grade items 2009-02-28 04:03:58 +00:00
gbateson 97268bfcd1 MDL-18409 new help file for "Remove grade item" form element 2009-02-28 04:00:56 +00:00
gbateson 61b8ee4cc8 MDL-18409: new message required for "Remove grade item" form element 2009-02-28 03:59:28 +00:00
moodlerobot dc30763a29 Updated the 19 build version to 20090228 2009-02-27 23:33:36 +00:00
nicolasconnault 13cd3572ef MDL-18402 Setting aggregationcoef to 1 if left empty 2009-02-27 13:05:58 +00:00
sam_marshall 61ed6f0fef MDL-18401: Glossary page bar should highlight current page 2009-02-27 12:58:00 +00:00
moodlerobot e366e28485 Updated the 19 build version to 20090227 2009-02-26 23:33:20 +00:00
piers 6323f16bce MDL-18148 - AICC compliance fixes from Martin Holden. 2009-02-26 15:52:56 +00:00
dongsheng 0728db718f "LANG/MDL-17620, add language string" 2009-02-26 02:31:42 +00:00
moodlerobot 7ac3cc9a32 Updated the 19 build version to 20090226 2009-02-25 23:35:20 +00:00
moodlerobot cf8a84bf7e Automatic installer.php lang files by installer_builder (20090226) 2009-02-25 23:29:07 +00:00
piers 33edb1d079 MDL-18212 - switch to addslashes_js - thanks Tim. Backport 1.9. 2009-02-25 23:06:35 +00:00
nicolasconnault 6aec578ba1 MDL-18321 Changed default permissions for overview report 2009-02-25 06:57:59 +00:00
dongsheng f8c0dc7619 "FORUM/MDL-14860, hide unsubscribe link if users are not allowed to unsubscribe from this forum" 2009-02-25 05:26:28 +00:00
moodlerobot 22aa2fdc7c Updated the 19 build version to 20090225 2009-02-24 23:33:54 +00:00
moodlerobot 070fd51ff0 Automatic installer.php lang files by installer_builder (20090225) 2009-02-24 23:27:38 +00:00
moodlerobot 574b31e05a Updated the 19 build version to 20090224 2009-02-23 23:33:33 +00:00
mjollnir_ 6a00dfa325 MDL-18351: activity block: detect when there's no course (eg admin page) and return 2009-02-23 14:47:44 +00:00
stronk7 4d5f3910e9 Annotating some more customizations performed in PHPMailer() 2009-02-23 09:07:54 +00:00
skodak a2e4bb85a6 MDL-18348 CVE-2007-3215 2009-02-23 07:45:30 +00:00
dongsheng 056a946997 "DATA MOD/MDL-18079, respect mod/data:comment capability when adding comments" 2009-02-23 07:24:04 +00:00
moodlerobot 7b97dc4cbb Updated the 19 build version to 20090223 2009-02-22 23:33:33 +00:00
moodlerobot 6d45d2bb7c Updated the 19 build version to 20090222 2009-02-21 23:33:10 +00:00
moodlerobot 362b789ca0 Updated the 19 build version to 20090221 2009-02-20 23:33:22 +00:00
moodlerobot e2e7da4724 Automatic installer.php lang files by installer_builder (20090221) 2009-02-20 23:27:04 +00:00
skodak 82e0a8a59f MDL-18325 Grade Import Outcomes SQL Issues - thanks Tim Lock 2009-02-20 07:22:26 +00:00
moodlerobot f73d700f79 Updated the 19 build version to 20090220 2009-02-19 23:33:39 +00:00
moodlerobot c64f343eaa Automatic installer.php lang files by installer_builder (20090220) 2009-02-19 23:27:21 +00:00
sam_marshall 458cc5c807 MDL-18322: Fix debug warning on course view page when forum has grouping set 2009-02-19 17:41:48 +00:00
skodak f964ff9281 MDL-18039 fixed footer docs link; backported from HEAD 2009-02-19 07:33:36 +00:00
skodak 67c0bc01eb MDL-18274 fixed lang string, thanks Helen; backported from HEAD 2009-02-19 07:21:42 +00:00
tjhunt 51d6e3d5b9 Add missing Id tags to all files under question, to help the unmerged files script. 2009-02-19 01:09:33 +00:00
moodlerobot 8dea1ae18c Updated the 19 build version to 20090219 2009-02-18 23:33:46 +00:00
moodlerobot 55b51fafa7 Automatic installer.php lang files by installer_builder (20090219) 2009-02-18 23:27:40 +00:00
skodak e0240b2abd MDL-18041 improved hints - thanks helen 2009-02-18 20:32:13 +00:00
pichetp fbffc13306 MDL-18034 MDL-18035 fixing typo merged from HEAD 2009-02-18 18:04:12 +00:00
stronk7 2a2124087f MDL-18302 filterlib - fixed rebuild of nested ignoretags 2009-02-18 11:02:11 +00:00
dongsheng 1c86f1b0ac "RESOURCE/MDL-17696, remove extra div" 2009-02-18 08:09:51 +00:00
tjhunt e18c7dde34 question editing: MDL-18035 Nice refactoring from Oleg Sychev that saves 50+ lines of code between the various editing forms. 2009-02-18 06:52:02 +00:00
moodlerobot c672c0ed6c Updated the 19 build version to 20090218 2009-02-17 23:33:51 +00:00
moodlerobot fb205e7b0b Automatic installer.php lang files by installer_builder (20090218) 2009-02-17 23:27:34 +00:00
skodak a92a26b3b6 MDL-18223 removed repeated format_text() - should be applied only once; backported from HEAD 2009-02-17 23:01:43 +00:00
skodak 7ece8b4084 MDL-18223 XHTML strrrict - backported 2009-02-17 22:57:08 +00:00
skodak dca4f867b6 MDL-18223 fixed admin string sorting 2009-02-17 22:49:32 +00:00
skodak eaea1cefde MDL-18223 fixed theoretical XSS 2009-02-17 22:45:22 +00:00
skodak d7267110ca MDL-18223 removed 2.0 code from spamcleaner + fixed report name in admin tree 2009-02-17 22:41:26 +00:00
skodak 2f64c88416 MDL-11313 improved strings in for simplified user switching 2009-02-17 22:24:22 +00:00
nicolasconnault 5af402822b MDL-18238 Reverting 2009-02-17 07:51:01 +00:00
nicolasconnault 82b904822e MDL-18247 Reverting the new navigation code, not ready yet. 2009-02-17 07:33:37 +00:00
tjhunt 4b2839e2a5 formslib: MDL-17403 add accept-charset="UTF-8" to all formslib forms. Backported from HEAD. 2009-02-17 07:24:58 +00:00
nicolasconnault 0ce91e17f7 MDL-18247 Implemented a constant for line length 2009-02-17 07:24:42 +00:00
tjhunt 42f60c49fb quiz attempts: MDL-18283 add accept-charset="utf-8" to avoid encoding problems. 2009-02-17 07:21:51 +00:00
tjhunt 56cef87b61 random question: MDL-18174 Fix notice when adding a random question to a quiz. 2009-02-17 06:14:48 +00:00
tjhunt c52849d56c tex filter: MDL-18230 ensure we always generate valid XHTML. 2009-02-17 05:24:35 +00:00
moodler afb7e5382c report/spamcleaner MDL-18223 Renaming main script from spamcleaner.php to index.php 2009-02-17 03:27:56 +00:00
moodlerobot a50c3fb9ad Updated the 19 build version to 20090217 2009-02-16 23:33:07 +00:00
stronk7 5515ae9a0a Erasing trailer semicolon breaking on Oracle. 2009-02-16 18:03:12 +00:00
stronk7 e0d027939e MDL-18243 data module filter - make it cross-db by using sql_compare_text() 2009-02-16 17:57:19 +00:00
wildgirl 3354933a9f welcometocoursetext lang string: MDL-18260 small rewording 2009-02-16 17:12:53 +00:00
poltawski c88022ade7 performance/mymoodle MDL-18241 - Assigments were very expensive
Reworked to take queries out of loops and let it scale. Unfortunately
I don't think we can get the get_users_by_capability() call out of the
loop on assignments.

Real query numbers before/after:
Teacher: 13,129 / 314
Student: 127 / 72
Admin: 718 / 133
2009-02-16 13:09:01 +00:00
dongsheng 5a6d196559 "SPAM/MDL-18223, if the user is deleted, ignore its blog posts" 2009-02-16 11:00:49 +00:00
stronk7 8d0787e3b1 MDL-18222 restore - fixed restoring of course->summary links. Was being handled too early. Moved to final decoding links process. 2009-02-16 10:26:25 +00:00
dongsheng 3cbb43304a "SPAM/MDL-18223, move language string to report_spamcleaner.php" 2009-02-16 09:37:47 +00:00
dongsheng 52b6e169b8 "SPAM/MDL-18223, spam cleaner for MOODLE 1.9" 2009-02-16 09:28:21 +00:00
dongsheng 460da32af8 "FILTER/MDL-17703, reverse changes to work within p tag" 2009-02-16 07:08:17 +00:00
tjhunt 7ca1f7a0fc quiz overview report: MDL-18256 Fix the more flagrant performance problems. 2009-02-16 04:17:54 +00:00
tjhunt 1726d852ae weblib: finish documenting print_user_picture. 2009-02-16 04:15:59 +00:00
dongsheng 2dc83e6145 "FILTER/MDL-18230, remove hardcoded style for TeX formulas image" 2009-02-16 03:08:47 +00:00
tjhunt bb2067c851 database: MDL-18269 query logging behaviour changed in Moodle 1.9 due to internal ADODB changes. 2009-02-16 03:00:07 +00:00
moodlerobot d5b43ea6a2 Updated the 19 build version to 20090216 2009-02-15 23:33:15 +00:00
stronk7 4c7971bb08 MDL-18244 sql_length() - apply new function to resource names filter 2009-02-15 23:20:36 +00:00
stronk7 047158d694 MDL-18244 sql_length() - new cross-db function to calculate the length in chars of any expression 2009-02-15 23:04:43 +00:00
skodak f2af2ec841 MDL-18209 fixe short php tag - thanks Jeffrey Silverman 2009-02-15 19:23:24 +00:00
skodak f01be9f366 MDL-18253 hopefully fixed weird float precision that breaks upgrade and gradebook; backported from HEAD 2009-02-15 19:03:18 +00:00
skodak a5886c1a26 MDL-18258 fixed legacy type and improved risky default course role hints; backported from HEAD 2009-02-15 18:46:07 +00:00
skodak 6ed6493820 MDL-18039 xhtml strict fixes 2009-02-15 17:40:59 +00:00
iarenaza 6a31fe27bb Cache LDAP connections: MDL-18130 Properly handle open LDAP connections.
Both CAS and LDAP auth plugins open new connections to the LDAP server
to get the user account details. While this is the desired behaviour
for regular logins (we probably don't have an already open connection
to the LDAP server), this is a ressource hog when we are doing user
synchronization, as the closed connections remain in the TCP_WAIT
state for a while before the server can reuse them. If we are syncing
a lot of users, we can make the server run out of available TCP
ressources.

So we cache the connection the first time we establish it and return
the same connection handle everytime, unless we've closed all the
'open' connections, or the auth object is destroyed.

In addition to that, there were a few missing calls to ldap_close().
2009-02-15 14:53:58 +00:00
skodak 8cc2a7e47a MDL-18041 improved admin risk info; backported from HEAD 2009-02-15 11:31:18 +00:00
skodak 473474f370 MDL-18155 mentioned possiblity to lock email field 2009-02-15 10:05:07 +00:00
skodak ecde99b07d MDL-18155 no warning if allowed email domains set 2009-02-15 09:55:19 +00:00
skodak 26f86416a0 MDL-18078 adding docs links from detailed security overview report 2009-02-15 09:45:00 +00:00
moodlerobot 9eb6cba683 Updated the 19 build version to 20090215 2009-02-14 23:32:10 +00:00
iarenaza b65da94dd7 NTLM SSO: MDL-13760 Speed up ntlm sign on with conditional redirect for msie
Provides an option, configurable by admin, to make the ntlm test happen
only if MSIE is not used. This speeds things up for IE.
2009-02-14 16:17:51 +00:00
iarenaza f8102d906e NTLM SSO: MDL-14584 Fix for several outstanding NTLM SSO issues.
These include:

MDL-14078: redirect() doubles the specified timeout when we haven't printed
           the page header and uses javascript to execute the redirect. This
           is interacting badly with some versions of IE and FF (at least
           3.0.x Windows version) that fireup javascript timers even if
           we already left the page where we set those up. Just print
           the page header (we are printing other content anyway) to
           make redirect respect our timeouts.

MDL-14071: All the relevant details are in the description of the bug :)

MDL-14297: This is probably the same as MDL-14078
2009-02-14 16:14:22 +00:00
nicolasconnault 1db15f42c6 MDL-18247 2009-02-14 13:59:46 +00:00
stronk7 5494b1a058 MDL-9796 install - delete dataroot's env info (shouldn't exist) to force check against released one ; merged from 18_STABLE 2009-02-14 11:05:30 +00:00
moodlerobot 6790b9a824 Updated the 19 build version to 20090214 2009-02-13 23:33:04 +00:00
stronk7 bfe073b05d MDL-9796 upgrade & env - delete dataroot's environmetal info to force check against released one ; merged from 18_STABLE 2009-02-13 15:46:35 +00:00
nicolasconnault 5c211a86f1 MDL-18238 Applied capability check to gradebook report settings pages 2009-02-13 13:09:57 +00:00
stronk7 52a7473e9a MDL-12846 course defaults - don't apply coursedefaults->category anymore. Backported from HEAD 2009-02-13 10:01:15 +00:00
stronk7 28364d4103 MDL-12846 MDL-17074 course defaults - backport deletion of default category 2009-02-13 09:58:21 +00:00
tjhunt a2b4f68e91 question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174
These are all to do with the combination of the $form->category, and $form->categorymoveto fields on the question editing forms since Moodle 1.9. These are now resolved to a single ->category value in question.php, which simplifies the logic for the individual question types.

MDL-15774 and MDL-12719 errors editing Cloze question
MDL-17105 problems with qustion saving logic.
MDL-18174 'Select from subcategories' option not preserved when editing a random question.
2009-02-13 06:11:58 +00:00
moodlerobot f91d11fc6f Updated the 19 build version to 20090213 2009-02-12 23:33:14 +00:00
moodlerobot 4a040da19a Automatic installer.php lang files by installer_builder (20090213) 2009-02-12 23:27:06 +00:00
jerome 0c24a4523d Switch Roles MDL-11313 add a new config option to allow user to switch roles that they can't assign 2009-02-12 02:29:34 +00:00
moodlerobot ae5c3732d1 Updated the 19 build version to 20090212 2009-02-12 00:34:40 +00:00
stronk7 3ee21ffa01 MDL-17074 course settings - new defaults to be applied on interactive course creation 2009-02-11 18:00:05 +00:00
stronk7 d2aa927a0a MDL-17074 - backport ability of admin settings to use the config_plugins table 2009-02-11 17:51:34 +00:00
mjollnir_ 50537ba778 local settings in admin tree: include, rather than include once since it gets unset and regenerated. 2009-02-11 12:13:15 +00:00
stronk7 eada690a18 MDL-17365 forum ajax rating - revert menu color back after error 2009-02-11 09:59:41 +00:00
moodlerobot 33f4c4c10b Updated the 19 build version to 20090211 2009-02-11 00:14:25 +00:00
tjhunt 45b0c62de6 datasetdependant qtype: fix whitespace. 2009-02-10 05:40:13 +00:00
tjhunt d25db1b795 weblib: XHTML strict. 2009-02-10 03:27:48 +00:00
moodlerobot 95c1a1e51d Updated the 19 build version to 20090210 2009-02-09 23:42:35 +00:00
danmarsden adfd6053f1 MDL-17198 - show better confirmation of choice selection. missed lang file 2009-02-09 09:53:51 +00:00
danmarsden 22962abbf0 MDL-17198 - show better confirmation of choice selection. merged from HEAD 2009-02-09 09:52:59 +00:00
danmarsden 94e044dd6f MDL-18092 - better checking for empty vars when no users are in course. wrong place for empty check! 2009-02-09 09:31:54 +00:00
danmarsden e9103c0a0e MDL-18092 - better checking for empty vars when no users are in course. merged from HEAD 2009-02-09 09:26:47 +00:00
moodlerobot 098a5acddd Updated the 19 build version to 20090209 2009-02-08 23:35:08 +00:00
moodlerobot 76d9c74e68 Automatic installer.php lang files by installer_builder (20090209) 2009-02-08 23:29:12 +00:00
skodak 51bddf22fd MDL-9796 fixed error array when environment file broken 2009-02-08 21:30:06 +00:00
moodlerobot b290c986f6 Updated the 19 build version to 20090208 2009-02-07 23:38:43 +00:00
skodak 85557feb30 MDL-18138 added option to supply username as GET param - based on patch by Robert Allerstorfer 2009-02-07 22:54:04 +00:00
skodak bb8b3cffe6 MDL-18137 all cookies now secure if configured to be; backported from HEAD 2009-02-07 22:48:11 +00:00
skodak 4b3fd72079 MDL-18150 fixed typo- thanks Chris Potter 2009-02-07 22:31:38 +00:00
skodak c972b89def MDL-18151 fixed problem in legacy filter code - thanks Mark Nielsen 2009-02-07 22:24:26 +00:00
skodak 7d3d94eee5 MDL-14924 fixed typo - thanks bouley Hélène 2009-02-07 11:14:57 +00:00
stronk7 791733eaab MDL-18165 filterlib - Use one exclusive separator, instead of "." (dot) to avoid saved tags to match with phrases being processed 2009-02-07 00:58:16 +00:00
moodlerobot 69658560bf Updated the 19 build version to 20090207 2009-02-06 23:37:53 +00:00
exe-cutor 08b51e7f13 authentication: MDL-18116 Added Shibboleth logout handler URL, remove hard-coded strings to lang file, updated README
- Added a new setting logout_handler to the Shibboleth authentication settings
- Removed hard-coded strings in the configuration settings and replaced them with proper print_string expressions
- Added a logoutpage_hook function that (optinally) sends a user who clicks on the logout button to the Shibboleth logout handler after Moodle logout
- Updated README
2009-02-06 08:19:58 +00:00
jerome ab478fe0bc mp3 flash player MDL-7549 MP3 flash player now plays the end of the mp3 file 2009-02-06 07:18:57 +00:00
stronk7 94f7464280 MDL-18066 import_backup_file_silently() - delete dangerous code 2009-02-06 01:55:01 +00:00
jerome 277ae48e25 mnet MDL-10935 fix unicode character when the remote site send the course name for updating enrolment 2009-02-06 00:36:41 +00:00
moodlerobot fe27f84099 Updated the 19 build version to 20090206 2009-02-05 23:39:00 +00:00
stronk7 876a3baa42 MDL-10583 course format - some more uses of the get_section_name() added 2009-02-05 13:41:18 +00:00
stronk7 1465d3d426 MDL-10583 course format - discovered the get_section_name() that performs the fallback harcoded in previous commit. 2009-02-05 13:28:46 +00:00
stronk7 bc5368842f MDL-10583 course format - allow course formats to specify their section name 2009-02-05 13:12:03 +00:00
jerome 4dc25063e8 link resource MDL-16272 fix anchor into the url (not urlescaped anymore) 2009-02-05 02:25:40 +00:00
moodlerobot 436e9574a5 Updated the 19 build version to 20090205 2009-02-05 00:35:54 +00:00
piers fd50629bd0 MDL-17832 - consistent adding and removing of slashes for track data. backport 1.9. 2009-02-04 18:59:53 +00:00
piers 59fc418b73 MDL-18023 - add type check to check against default to avoid 0 error. backport 1.9. 2009-02-04 18:40:09 +00:00
stronk7 9ac773b15c MDL-8848 restore section summaries - now restored if target course have them empty 2009-02-04 17:19:52 +00:00
stronk7 d6546599dd MDL-18129 blog_print_entry() - avoid double format_text() 2009-02-04 16:39:27 +00:00
tjhunt 552ae7276f themes / pix: MDL-10441 better up, down, left and right icons without a white fringe.
Since these are not anti-aliased on a white background, they look better against a wider range of background colours. Since all the lines are at 90 or 45 degrees, jagged edges are not a problem.

Thanks to Dag Klimas for these.
2009-02-04 09:24:51 +00:00
tjhunt e8d902964d themes / participants: MDL-17526 add class name to search form on the participants page. 2009-02-04 09:15:06 +00:00
tjhunt a0dd83702f themes / pix: MDL-18052 dmg.gif icon should not contain excessive colour profile information.
This reduces the files size from 3.7k to 200b.
2009-02-04 08:42:36 +00:00
tjhunt 4b53c0f87d weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.
Thanks to Daniel Neis for the patch.

I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars.
2009-02-04 08:21:06 +00:00
tjhunt 87c2747ee5 weblib: MDL-14901 Fix misleading comment on print_navigation 2009-02-04 07:34:52 +00:00
tjhunt eaffb7ef7c admin reports: MDL-18134 Third-party admin reports not listed with the correct name.
Regression caused by MDL-17372.
2009-02-04 02:15:27 +00:00
moodlerobot a92bc4ed2d Updated the 19 build version to 20090204 2009-02-03 23:43:16 +00:00
moodlerobot 6b57802eca Automatic installer.php lang files by installer_builder (20090204) 2009-02-03 23:41:29 +00:00
tjhunt 8788cc6fe6 theme / navbar: MDL-14133 every link in the nav bar was getting class="first"! 2009-02-03 09:32:47 +00:00
tjhunt 91792878a0 theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true causes a php notice 2009-02-03 07:47:11 +00:00
moodlerobot 2d3799bfc8 Updated the 19 build version to 20090203 2009-02-02 23:44:17 +00:00
piers fc85b7977f MDL-17498 - fix grading output for submissions. 2009-02-02 22:09:29 +00:00
stronk7 397ad6af5b MDL-18100 tex filted debug - fix missing quote. Credit goes to Paulo Matos. 2009-02-02 21:08:11 +00:00
poltawski 3aeca96386 mnet/ email links rewritten MDL-18118 2009-02-02 17:44:59 +00:00
skodak 256c570e0a MDL-18040 fixed adminrisk query too - now much faster; backported from HEAD 2009-02-02 13:15:43 +00:00
Francois Marier cc90879d52 Fix CVS-git drift (old .sql files) 2009-02-01 23:44:30 +00:00
moodlerobot 822f1fe81c Updated the 19 build version to 20090202 2009-02-01 23:44:30 +00:00
moodlerobot a063109a4a Automatic installer.php lang files by installer_builder (20090202) 2009-02-01 23:42:45 +00:00
skodak 4ba3104b23 MDL-10275 backporting gd environment test 2009-02-01 16:22:32 +00:00
moodlerobot 32f25d39b7 Updated the 19 build version to 20090201 2009-01-31 23:47:40 +00:00
moodlerobot 8ae0e59cbb Automatic installer.php lang files by installer_builder (20090201) 2009-01-31 23:45:42 +00:00
skodak 49f3723381 MDL-17808 more lastname support when resetting passwords 2009-01-31 21:37:10 +00:00
moodlerobot f5838b1e56 Updated the 19 build version to 20090131 2009-01-30 23:48:27 +00:00
moodlerobot 0b0b1022f9 Automatic installer.php lang files by installer_builder (20090131) 2009-01-30 23:46:40 +00:00
stronk7 0d217d2820 MDL-18066 import_backup_file_silently - reverting last commit. 2009-01-30 13:17:55 +00:00
mudrd8mz 669db62519 MDL-17940 Display the count of ratings together with the aggregated grade for the post 2009-01-30 11:30:21 +00:00
stronk7 65cb682f22 MDL-18076 course participation report - fix actions dropdown not working. Credit goes to Paul Holden. 2009-01-30 10:12:44 +00:00
stronk7 5648e66cb2 MDL-18066 - import_backup_file_silently - better handling of missing $USER. Credit goes to Gabriel Mazetto. 2009-01-30 09:56:16 +00:00
jerome 613d0f81c4 calendar MDL-14693 fix month link when calendar is displayed on a text page resource 2009-01-30 06:22:16 +00:00
moodlerobot 72f0f08f9d Updated the 19 build version to 20090130 2009-01-29 23:44:04 +00:00
danmarsden e00a6b577f MDL-18086 backport fix for incorrect ODS export 2009-01-29 21:24:27 +00:00
jamiesensei 4d5025a776 MDL-18085 "custom user profile fields : in a list box field if one of the admin chosen values has an apostrophe in it it breaks the query to update / save the value" 2009-01-29 13:43:50 +00:00
mudrd8mz 82e1b609d2 MDL-13449 Fix the problem with displaying aggregation type "Count of ratings" 2009-01-29 12:32:48 +00:00
moodlerobot 81126259ae Updated the 19 build version to 20090129 2009-01-28 23:46:13 +00:00
stronk7 1e98ff2a8d Bump 2009-01-28 23:44:23 +00:00
stronk7 827f863046 MDL-18073 environment - enforce PHP 5.2.8 req for Moodle 2.0 ; merged from 18_STABLE 2009-01-28 23:42:40 +00:00
skodak b3b4937eb6 MDL-18040 rewritten XSS query, I hope this will be much faster; backported from HEAD 2009-01-28 22:51:28 +00:00
piers 5893fbd8e1 MDL-16184 - patch to correct the calculation of first, and last access to a SCORM attempt. backport to 1.9. + missing php tag in debug. 2009-01-28 18:16:18 +00:00
piers e6dcae98fa MDL-17821 - fix incorrect data validation regexs for 2004. thanks Peter Chamberlin. backport to 1.9. 2009-01-28 18:14:57 +00:00
mudrd8mz 3f4820fadf MDL-13449 Reverting the previous commit, sorry - not working yet 2009-01-28 16:08:03 +00:00
mudrd8mz 78700ccdca MDL-13449 If the count exceeds the forum scale, then set the score to the max grade 2009-01-28 15:51:32 +00:00
sam_marshall be10e474f3 MDL-381: Added 'Move' button to reduce accidentally moving forum posts. 2009-01-28 13:11:22 +00:00
sam_marshall b1ddca5c74 MDL-17974: Calendar 'new entry' accessibility improvement 2009-01-28 12:10:23 +00:00
moodler e666ae15f6 Bumping to post 1.9.4 2009-01-28 07:37:27 +00:00
moodler e7ff269394 Bumping to Moodle 1.9.4 for release! 2009-01-28 06:20:53 +00:00
moodler 8c3666955a report/security MDL-18039 Just some trivial text fixes 2009-01-28 06:10:38 +00:00
moodlerobot a166672c09 Updated the 19 build version to 20090128 2009-01-27 23:54:27 +00:00
stronk7 cc84c1aba0 MDL-17365 forum rate - fix error message. Merged from 18_STABLE 2009-01-27 18:08:29 +00:00
stronk7 62c7a8c799 MDL-17365 forum rate - add 'invalidrate' string. 2009-01-27 17:51:52 +00:00
stronk7 0b174abec7 MDL-17365 forum rate - validate rating against scale values. 2009-01-27 17:40:02 +00:00
skodak ba58c9f08e MDL-18057 fixed XSS test 2009-01-27 17:38:40 +00:00
skodak dd75d8696e MDL-18040 adding warning that the security report processing may take a long time; backported from HEAD 2009-01-27 16:22:32 +00:00
skodak aaa9b674c9 MDL-18055 adding timeout protection to security report 2009-01-27 15:06:04 +00:00
skodak 2d1541b597 MDL-18015 improved lang strings - thanks Andrea! 2009-01-27 09:58:02 +00:00
tjhunt b226b10a60 multianswer help file: Many XHTML strict issues. 2009-01-27 07:32:20 +00:00
tjhunt 6e115e57be forum rating: MDL-18044 notice sometimes when a forum is rated, also XHTML strict problems and fix incorrect help text. 2009-01-27 06:35:44 +00:00
gbateson 8d81298c4a MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset) 2009-01-27 05:33:57 +00:00
tjhunt cc8549eaae quiz view: MDL-18038 Open close dates displayed to teachers incorrectly. 2009-01-27 04:44:00 +00:00
moodlerobot a68a6dcc62 Updated the 19 build version to 20090127 2009-01-26 23:55:26 +00:00
moodlerobot ed103b539a Automatic installer.php lang files by installer_builder (20090127) 2009-01-26 23:53:30 +00:00
pichetp 3c6ed6e2ca MDL-17995 replacing is_null() by empty(). Merged from HEAD 2009-01-26 01:27:16 +00:00
pichetp eb64eefaab MDL-17995 replacing != '' by !empty(). Merged from HEAD 2009-01-26 01:26:03 +00:00
moodlerobot 284aefc537 Updated the 19 build version to 20090126 2009-01-25 23:54:28 +00:00
pichetp bb215b150f MDL-17995 replacing $wrapped !='' by !is_null($wrapped) Merge from HEAD 2009-01-25 14:52:56 +00:00
moodlerobot 2f1fc9d9f2 Updated the 19 build version to 20090125 2009-01-24 23:55:56 +00:00
stronk7 042be7ddd6 MDL-17835 backup & restore - encode/decode content links from/to course formats info.
Credit goes to Mark Nielsen. Thanks!
2009-01-24 00:20:51 +00:00
moodlerobot 6b502ee98f Updated the 19 build version to 20090124 2009-01-23 23:55:05 +00:00
moodlerobot 35aacbe41e Automatic installer.php lang files by installer_builder (20090124) 2009-01-23 23:53:29 +00:00
stronk7 63370ab86b MDL-17886 backup & restore - Add some defaults to import_backup_file_silently()
Credit goes to Mark Nielsen. Thanks!
- CVS: ----------------------------------------------------------------------
2009-01-23 23:28:40 +00:00
stronk7 aacdd2a2aa MDL-17998 forum ajax rating - avoid 'null' printout + improved search by class (IE7, you know) 2009-01-23 16:30:13 +00:00
tjhunt ee71dd5d5b matching qtype: MDL-17981 extra distractors feature was not working on MS SQL server, since MDL-14420 was fixed. 2009-01-23 02:19:36 +00:00
tjhunt 9637977c56 admin: xhtml strict problems. 2009-01-23 02:10:11 +00:00
moodlerobot 38abaa812b Updated the 19 build version to 20090123 2009-01-22 23:56:12 +00:00
moodlerobot 50a391f3ff Updated the 19 build version to 20090122 2009-01-21 23:56:39 +00:00
moodlerobot 2f0595b2ba Automatic installer.php lang files by installer_builder (20090122) 2009-01-21 23:55:05 +00:00
wildgirl 0d2d8435eb scorm lang string: MDL-16651 added scorm:deleteresponses 2009-01-21 16:21:37 +00:00
skodak 84d866f59a MDL-17463 bumped version report number numbers again - I found 3 sites that did not have the caps installed after upgrade - weird 2009-01-21 15:42:54 +00:00
mudrd8mz 3b8a200da9 MDL-17982 Security overview report backported to 1.9 uses 2.0 API
Fixes:
- admin/roles/manage.php instead of new admin/roles/define.php
- results returned by old get_recordset_sql() must be iterated using rs_fetch_next_record() instead of new foreach()
2009-01-21 10:57:53 +00:00
moodlerobot 3a281e4282 Updated the 19 build version to 20090121 2009-01-20 23:54:29 +00:00
wildgirl 8ad8632027 forum lang string: MDL-17364 small rewording 2009-01-20 10:43:54 +00:00
moodler adfe07e897 forum/css MDL-16749 added a div named "posting" around the posting 2009-01-20 07:54:14 +00:00
tjhunt c83e62ae8b upgrade reload icon MDL-17924 unobfuscate Martin's reload icon. 2009-01-20 06:56:44 +00:00
moodler 92179c5667 calendar ical MDL-17964 Better hostname derived from wwwroot 2009-01-20 06:21:03 +00:00
moodler b26a82e9a9 maintenance mode MDL-15700 Just some little tidyups of the maintenance mode page 2009-01-20 05:57:08 +00:00
tjhunt 1ed574d378 quiz backup: MDL-17970 MSSQL text / varchar compare issue.
Commiting this fix so it gets into 1.9.4. I've tested and it does not break sensible databases, and probably fixes the problem on MSSQL.
2009-01-20 04:24:01 +00:00
tjhunt 1ae3f411b5 backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:05 +00:00
moodler 6592bac242 calendar/export MDL-17964 explicitly define a non-random UID for each event 2009-01-20 03:07:27 +00:00
moodlerobot d750ce8fa2 Updated the 19 build version to 20090120 2009-01-19 23:54:34 +00:00
moodlerobot 94b7fd6607 Automatic installer.php lang files by installer_builder (20090120) 2009-01-19 23:52:33 +00:00
sam_marshall 576ba278bc MDL-17965: Prevent forum move to forum you can't start discussions in 2009-01-19 14:18:24 +00:00
dongsheng 8a76863c7e "FILTER/MDL-17703, use classname instead of inline style" 2009-01-19 01:55:50 +00:00
dongsheng 000bfd6e5b "FORUM/MDL-17709, replace p with div in forum summary" 2009-01-19 01:36:18 +00:00
moodlerobot ec432881c3 Updated the 19 build version to 20090119 2009-01-18 23:52:25 +00:00
moodlerobot 17400c041b Automatic installer.php lang files by installer_builder (20090119) 2009-01-18 23:50:38 +00:00
moodlerobot 59911a0388 Updated the 19 build version to 20090118 2009-01-18 00:02:48 +00:00
stronk7 3c13c816f3 MDL-17364 forum ajax rating - needed strings ; backported from HEAD 2009-01-17 19:37:07 +00:00
stronk7 c57931ce32 MDL-17364 forum ajax rating working ; backporting from HEAD 2009-01-17 19:30:08 +00:00
stronk7 e33c29d4b2 file rate_ajax.php was added on branch MOODLE_19_STABLE on 2009-01-17 19:30:08 +0000 2009-01-17 19:14:38 +00:00
stronk7 0aa5484366 file rate_ajax.js was added on branch MOODLE_19_STABLE on 2009-01-17 19:30:08 +0000 2009-01-17 19:14:38 +00:00
stronk7 0f9654453d Adding small loading gif for AJAX processing. 2009-01-17 18:25:03 +00:00
stronk7 86b6811e97 MDL-17331 choose_from_menu() - backport listbox, multiple and class params 2009-01-17 18:09:38 +00:00
moodlerobot 13d2dda5de Updated the 19 build version to 20090117 2009-01-17 00:06:46 +00:00
moodlerobot 0f208a88f0 Automatic installer.php lang files by installer_builder (20090117) 2009-01-17 00:04:41 +00:00
nicolasconnault bb038bc7c8 MDL-17883 Added title attribute to grade item link 2009-01-16 14:56:59 +00:00
nicolasconnault c98fa2cd88 MDL-13778 Added new display types to course settings 2009-01-16 10:20:02 +00:00
dongsheng 6de4bdb976 "GLOSSARY/MDL-17707, remove extra div" 2009-01-16 08:59:39 +00:00
dongsheng 9f62d5bd19 "MDL-17710, remove extra div" 2009-01-16 08:52:09 +00:00
tjhunt 6f48c01a43 adminlib: MDL-6160 mess up my lovely code just to keep PHP4 happy.
Thanks to Ashley Holman for noticing my mistake.
2009-01-16 08:34:21 +00:00
dongsheng 50850f2545 "WIKI/MDL-17704, wrap wiki summary by div" 2009-01-16 05:37:56 +00:00
dongsheng d8c5e6c18f "QUIZ/MDL-17710, wrap quiz summary by div" 2009-01-16 05:31:55 +00:00
dongsheng 94d9f6d84f "FILTER/MDL-17703, wrap object tag by div" 2009-01-16 05:20:19 +00:00
dongsheng 5f3e7b35d4 "GLOSSARY/MDL-17708, use css selector instead of inline style" 2009-01-16 04:55:38 +00:00
dongsheng f6d70ceca1 "FORUM/MDL-17709, use css selector instead of inline style" 2009-01-16 04:52:01 +00:00
tjhunt 190dddfc0b quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.
Thanks to Ann Adamcik for noticing this. It was a regression from MDL-6085.
2009-01-16 04:47:35 +00:00
dongsheng 9d06855887 "MDL-17707, replace p with div in module summary" 2009-01-16 04:46:31 +00:00
tjhunt b755cfd75c moodlelib: MDL-17761 More consistent error handling in get_string. 2009-01-16 04:18:32 +00:00
moodlerobot 3c2df10618 Updated the 19 build version to 20090116 2009-01-16 03:39:36 +00:00
moodler 187e8dc3a4 admin update reload MDL-17924 Changed reload form to an icon (merged from head) 2009-01-16 02:37:29 +00:00
moodler d3f811b3c4 file reload.gif was added on branch MOODLE_19_STABLE on 2009-01-16 02:37:29 +0000 2009-01-16 02:29:34 +00:00
whchuang 241cf74e0a Fixed a trivial typo in the quiz "item analysis table" help file - it was spelled as "stadard" which should be "standard" 2009-01-15 21:25:51 +00:00
skodak d78bca84e8 MDL-17222 backported security report into 1.9.x 2009-01-15 20:16:12 +00:00
skodak 9c73f43e69 file lib.php was added on branch MOODLE_19_STABLE on 2009-01-15 20:16:12 +0000 2009-01-15 18:30:26 +00:00
skodak 93c9712e34 file index.php was added on branch MOODLE_19_STABLE on 2009-01-15 20:16:12 +0000 2009-01-15 18:30:26 +00:00
tjhunt bf28249d82 questiontypes: MDL-17800 Add extra_question_fields() support to backup/restore functions.
* Implement this in the base class, and
* use this in the shortanswer type as a proof of concept.

This makes writing new question type subclasses a bit easier. Thanks to Oleg Sychev for this code.
2009-01-15 07:29:00 +00:00
tjhunt 4328416b29 question engine: MDL-17651 this context is not used anywhere, so remove it.
(There was a bug in the get_context_instance call.)
2009-01-15 05:15:31 +00:00
moodlerobot 959a292ddf Updated the 19 build version to 20090115 2009-01-15 03:07:47 +00:00
wildgirl a6dcdb14c9 help files: MDL-14319 small XHTML fixes, as reported by Chris Bandy 2009-01-14 20:15:55 +00:00
stronk7 e79859512f MDL-17837 apply some limits to the dropdown of users in first instance. 2009-01-14 17:47:00 +00:00
stronk7 22fc88f88b MDL-17837 opt limit resultsets returned by some get_xxxx_users() function. 2009-01-14 17:44:46 +00:00
thepurpleblob ac6e14ff79 MDL-17048:
Added additional check for non-visible fields in signup page.
2009-01-14 10:06:06 +00:00
tjhunt c8a507097c quiz: MDL-14926 New capability mod/quiz:reviewmyattempts, separate from mod/quiz:attempt. 2009-01-14 07:03:09 +00:00
dongsheng dfa8aab5d8 "MDL-6926, force language in forum module" 2009-01-14 04:55:10 +00:00
dongsheng 7bbe53f402 "MDL-17747, add max category depth setting" 2009-01-14 04:47:21 +00:00
tjhunt 8e88626ff3 admin settings: MDL-17877 Remember to pass u.id to get_users_by_capability. 2009-01-14 04:45:10 +00:00
tjhunt 68099376a3 accesslib: Nice debug developer warning if you call get_users_with_capability without including u.id in the list of fields. 2009-01-14 04:44:08 +00:00
dongsheng b5d665d551 "MDL-14949, reverse changes to permission which can cause problems" 2009-01-14 04:35:23 +00:00
moodlerobot 526a055559 Updated the 19 build version to 20090114 2009-01-13 23:58:22 +00:00
thepurpleblob a3d160fdec MDL-17048
Corrected misuse of formslib - works now.
2009-01-13 13:15:23 +00:00
wildgirl f442462c07 embedding files in a frame: MDL-10021 small rewording of help file 2009-01-13 10:21:39 +00:00
skodak b02e348184 MDL-17868 detection of incorrect hadnling of floats in version numbers - this should prevent dataloss in case it does not work as expected 2009-01-13 09:02:01 +00:00
tjhunt c1321f6c40 edit profile: MDL-15607 Edit profile form breaks if the list of countries in the language pack is broken.
After this patch it still breaks, unavoidably, but at least there is now an error message.
2009-01-13 06:03:36 +00:00
moodlerobot 58ce50f528 Updated the 19 build version to 20090113 2009-01-13 00:01:24 +00:00
dongsheng 8ab1c8dfeb "MDL-12077, add course delete hook for course format" 2009-01-12 06:22:38 +00:00
tjhunt 2b406390d8 Fix typo. 2009-01-12 06:03:10 +00:00
peterbulmer 489b503378 MDL-10498: Apostrophe / Quote in username or email breaks profile update
Author: Aaron Barnes <aaronb@catalyst.net.nz>
2009-01-12 02:05:12 +00:00
moodlerobot ee5537a5a9 Updated the 19 build version to 20090112 2009-01-11 23:55:14 +00:00
moodlerobot 7481a23090 Updated the 19 build version to 20090111 2009-01-11 00:07:50 +00:00
skodak 79536558fa MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:48:06 +00:00
moodlerobot 85a0fcf2a2 Updated the 19 build version to 20090110 2009-01-09 23:55:45 +00:00
moodlerobot 7d8264c188 Automatic installer.php lang files by installer_builder (20090110) 2009-01-09 23:54:09 +00:00
tjhunt 1cb675b598 restorelib: fix incorrect indenting. 2009-01-09 06:35:34 +00:00
tjhunt c6c9b4faca accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:52 +00:00
tjhunt 2a538623e4 accesslib: MDL-17626 admin/modules.php should call delete_context when a module is uninstalled. 2009-01-09 05:34:54 +00:00
tjhunt 83b238f9b8 accesslib: MDL-17626 delete_course_module should call delete_context. 2009-01-09 05:32:16 +00:00
tjhunt 6548bc4898 accesslib: MDL-17626 role_names not cleaned up when a context is deleted. 2009-01-09 05:25:59 +00:00
tjhunt a23612213a shortanswer qtype: MDL-17706 use extra_question_fields mechanism to save on code. Changes thanks to Oleg Sychev. 2009-01-09 05:10:40 +00:00
jerome a75573c738 admin MDL-17155 cURL functions called in adminlib.php: add checking for disable_functions php configuration option 2009-01-09 02:05:45 +00:00
jerome 8ec33be76c online user block MDL-15325 optimize the display of the message icon/link (instantiation out of a loop) 2009-01-09 00:54:05 +00:00
moodlerobot 037f56034f Updated the 19 build version to 20090109 2009-01-08 23:57:11 +00:00
moodlerobot 57a8ff3a73 Automatic installer.php lang files by installer_builder (20090109) 2009-01-08 23:55:07 +00:00
stronk7 e12b3b10ca MDL-17826 restore - proper TEXT comparison. Was breaking MSSQL and Oracle. 2009-01-08 18:28:46 +00:00
nicolasconnault e2e0711a49 MDL-17825 Converting float grades to string when counting values using the Mode of Grades aggregation 2009-01-08 16:01:43 +00:00
nicolasconnault 54862201c5 MDL-13778 Improved code in grades admin settings page 2009-01-08 08:52:37 +00:00
nicolasconnault 69cce5950b MDL-13778 Added 6 "composite" grade display types for the grader report 2009-01-08 08:19:41 +00:00
jerome 624567f853 online user block MDL-15325 Online Users Block didn't perform capability check when displaying messaging icon 2009-01-08 07:37:17 +00:00
tjhunt fe6a9871bf course requests: MDL-6160 clean up admin option for choosing who is notified. 2009-01-08 07:05:31 +00:00
jerome 8656394dac resource: MDL-10021 change the wording "Yes, frame tag" "Yes, object tag" to "Yes, with frame" "Yes, without frame" 2009-01-08 02:59:54 +00:00
jerome be2f1abc87 resource: MDL-10021 upload file resource: change "keep navigation visible" into a select box. Choice are now No - Yes, Frame tag - Yes, Object tag 2009-01-08 02:19:44 +00:00
jerome 295c7cad90 database: MDL-16999 move the warning message from the environment check page to a normal upgrade page 2009-01-08 01:01:04 +00:00
moodlerobot 6eb25b3e8c Updated the 19 build version to 20090108 2009-01-08 00:05:04 +00:00
skodak 93eceb28d2 MDL-17799 proper log url sanitisation - big thanks to Full Name hacker ;-) backported from HEAD 2009-01-07 23:01:30 +00:00
skodak 5a33217812 MDL-17797 fixed cap definition - thanks Andrea Bicciolo 2009-01-07 19:55:25 +00:00
skodak 2f62d8b459 MDL-17811 fixed typos, thanks James Riggs 2009-01-07 19:51:18 +00:00
skodak 9802accd59 MDL-17808 Use users lastname in password change confirmation mails, thanks Andreas Grupp; backported from HEAD 2009-01-07 19:03:59 +00:00
thepurpleblob af993edd90 MDL-17048
Suppress display of empty custom profile field categories
2009-01-07 13:50:43 +00:00
moodlerobot 86ced6c244 Updated the 19 build version to 20090107 2009-01-06 23:56:02 +00:00
skodak 05f6536c54 MDL-17789 prevent potential XSS problems through PHP_SELF; backported from HEAD 2009-01-06 13:09:13 +00:00
diml d8b7674ec5 Fixes MDL17792 cron break effect 2009-01-06 10:26:31 +00:00
dongsheng 507c75ff7c "MDL-17747, Add Max category depth as a configuratble setting to the site settings, credit goes to Jason Hardin" 2009-01-06 06:52:19 +00:00
moodlerobot 77c64292d5 Updated the 19 build version to 20090106 2009-01-05 23:55:26 +00:00
moodlerobot 9dc01d93fe Automatic installer.php lang files by installer_builder (20090106) 2009-01-05 23:53:22 +00:00
thepurpleblob db784f7936 MDL-17779
Add simple check that question at least has questiontext before allowing it.
2009-01-05 15:20:11 +00:00
tjhunt acfbbeb1d3 XHTML Strict! 2009-01-05 02:18:49 +00:00
moodlerobot 5400aac79f Updated the 19 build version to 20090105 2009-01-04 23:54:26 +00:00
moodlerobot f67faa62d6 Updated the 19 build version to 20090104 2009-01-03 23:57:15 +00:00
moodlerobot e83a493a43 Updated the 19 build version to 20090103 2009-01-03 00:00:14 +00:00
moodlerobot 2b42953f9a Automatic installer.php lang files by installer_builder (20090103) 2009-01-02 23:58:20 +00:00
skodak ef005cf1fe MDL-17772 fixed guest access 2009-01-02 20:54:59 +00:00
stronk7 ef2286f2d8 MDL-17321 restore roll dates - prevent wrong rolls to 0 happening to teachers 2009-01-02 16:53:30 +00:00
arborrow 5c8cb3a6a4 removing files for new_forum_replies mistakenly added to 19STABLE intended for CONTRIB 2009-01-02 02:02:29 +00:00
arborrow 251e356eb1 CONTRIB-612 - adding new forum replies block submitted and maintained by Niall Barr 2009-01-02 01:42:44 +00:00
moodlerobot 6cde557687 Updated the 19 build version to 20090102 2009-01-01 23:57:34 +00:00
moodlerobot c512f546b0 Automatic installer.php lang files by installer_builder (20090102) 2009-01-01 23:55:04 +00:00
skodak aeb1c7c456 MDL-17226 reverted incorrect fix 2009-01-01 23:53:47 +00:00
mudrd8mz a606b17d90 A typo fixed 2009-01-01 23:43:10 +00:00
skodak 33698217a3 MDL-16262 recovery of broken single simple discussions after old reset; backported from HEAD 2009-01-01 22:54:06 +00:00
skodak 7685016d20 MDL-16262 fixed resetting of single simple discussions; backported from HEAD 2009-01-01 22:43:20 +00:00
skodak c37304a964 MDL-15172 lowered timeoout and adding warning that users must not click continue in middle of course import - this is a silly workaround, unfortunately I did not find better solution; backported from HEAD 2009-01-01 16:06:37 +00:00
skodak 95968dff75 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:29:37 +00:00
moodlerobot ff3ce1ed42 Updated the 19 build version to 20090101 2008-12-31 23:55:14 +00:00
skodak 5f9e154544 MDL-17203 ooops, forgot to bump up main version number 2008-12-31 16:10:17 +00:00
skodak a963e6c8e4 MDL-17203 longer default salt 2008-12-31 15:56:49 +00:00
skodak 25da571df9 MDL-17203 prevent disclosing of sensitive information; backported from HEAD 2008-12-31 15:54:09 +00:00
skodak 3222c0c272 MDL-17203 hash salt added to calendar export; backported from HEAD 2008-12-31 15:51:27 +00:00
skodak 33942f16e2 MDL-17203 new option for disabling of calendar export; backported from HEAD 2008-12-31 14:11:34 +00:00
moodlerobot 6b13469879 Updated the 19 build version to 20081231 2008-12-30 23:59:41 +00:00
skodak 7e8ab13d8f MDL-17556 fixed whitespace; backported from HEAD 2008-12-30 16:34:14 +00:00
moodlerobot f9377c0a7e Updated the 19 build version to 20081230 2008-12-29 23:56:41 +00:00
skodak 7f491dc474 MDL-17682 added default value for city field; backported from HEAD 2008-12-29 21:47:27 +00:00
skodak c3e7bda77c MDL-17724 fixed group/grouping renaming now allows case change; backported from HEAD 2008-12-29 21:32:36 +00:00
skodak ea0bc86d6e MDL-17637 fixed adobe XSS protection; backported from HEAD 2008-12-29 21:18:32 +00:00
skodak ffb5a93032 MDL-17677 fixed string locations - patch by Vlas Voloshin 2008-12-29 20:19:59 +00:00
skodak e2cf6b91da MDL-17727 do not allow access to feeds from hidden courses or activitites - security improvement, in 2.0 this will be rewritten 2008-12-29 20:06:54 +00:00
skodak d100f76f6e MDL-17746 fixed debugdisplay typo in cron - patch by Tomasz Muras; backported from HEAD 2008-12-29 19:58:05 +00:00
moodlerobot 060f414899 Updated the 19 build version to 20081229 2008-12-28 23:57:07 +00:00
moodlerobot 8b68630612 Updated the 19 build version to 20081228 2008-12-27 23:56:11 +00:00
diml 323a266cf5 fixes reference id for label record in search index 2008-12-27 11:56:23 +00:00
diml 85203af7a3 completing access policy with course state examination 2008-12-27 11:42:54 +00:00
diml 0f2f33611f fixing constant CONTEXT_COURSE name 2008-12-27 11:42:25 +00:00
moodlerobot c201ac514b Updated the 19 build version to 20081227 2008-12-26 23:57:49 +00:00
moodlerobot 3080aa14e1 Automatic installer.php lang files by installer_builder (20081227) 2008-12-26 23:55:47 +00:00
arborrow 0502b5122c MDL-17741 - typo $tableparam; merged from MOODLE_18_STABLE 2008-12-26 23:19:47 +00:00
arborrow ae9f99119a MDL-17741 - typo $tableparam 2008-12-26 20:47:25 +00:00
iarenaza b11a0766ed auth/ldap: MDL-9405 sync_users() can create duplicated users
Merged from MOODLE_18_STABLE

If we are using auth_ldap_sync_users.php to synchronize our users, and we
have a database which is case-sensitive when doing comparisons (Postgres and
Oracle at least), and any of our users has the vale of the username attribute
in mixed-case (like 'John Smith'), we get duplicated users.

This is because we don't make sure the username attribute value is 'lowercased'
after we retrive it from the LDAP server and before we insert it into the
database.
2008-12-26 16:00:12 +00:00
moodlerobot 0b3a3435a1 Updated the 19 build version to 20081226 2008-12-25 23:54:21 +00:00
moodlerobot 65eda6e60e Updated the 19 build version to 20081225 2008-12-24 23:55:41 +00:00
ikawhero 351c28559b MDL-17228 Allow admins to view hidden custom profile fields.
Thanks to Alan Barrett for the fix.
2008-12-24 04:16:21 +00:00
moodlerobot edd41a94eb Updated the 19 build version to 20081224 2008-12-23 23:55:26 +00:00
moodlerobot 937a8769de Automatic installer.php lang files by installer_builder (20081224) 2008-12-23 23:53:57 +00:00
moodlerobot a490bb4f0d Updated the 19 build version to 20081223 2008-12-22 23:53:48 +00:00
danmarsden 2252803d20 Accessibility: MDL-17705: Thanks Tim merged from HEAD 2008-12-22 07:04:37 +00:00
tjhunt 3a580fd193 admin tree: MDL-13104 - fix another external page so there are not problems when you click the blocks editing on/off button. 2008-12-22 03:16:51 +00:00
moodlerobot 1c1646cb4b Updated the 19 build version to 20081222 2008-12-21 23:52:17 +00:00
danmarsden 1caa37ac3e XHTML Striiict:MDL-17705 2008-12-21 22:27:40 +00:00
moodlerobot 14c870de0d Automatic installer.php lang files by installer_builder (20081222) 2008-12-21 16:58:04 +00:00
stronk7 3afd68857d Adding kk_utf8 to installer langs. Backported from HEAD. 2008-12-21 16:05:42 +00:00
stronk7 2f0a40ab47 file installer.php was added on branch MOODLE_19_STABLE on 2008-12-21 16:05:42 +0000 2008-12-21 16:02:16 +00:00
gbateson 615852be16 MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls 2008-12-21 01:48:21 +00:00
moodlerobot fa6eac40ee Updated the 19 build version to 20081221 2008-12-20 23:57:25 +00:00
moodlerobot 21aabcbc9f Updated the 19 build version to 20081220 2008-12-19 23:53:54 +00:00
mjollnir_ f3d3aa6881 MDL-17694: very small stickyblocks improvements 2008-12-19 09:49:10 +00:00
mjollnir_ c165e7462e MDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields to return. These are used by messaging/emailing. 2008-12-19 08:56:01 +00:00
mjollnir_ fd5244dc46 MDL-17692: count_role_users now accepts an int or an array of ints for roleid - this is now consistent with get_role_users. 2008-12-19 08:45:09 +00:00
moodler d8709908a0 user tabs MDL-17472 Fixed a regression where the $secondrow variable of forum posts was being wiped out (See also MDLSITE-594) 2008-12-19 01:44:48 +00:00
moodlerobot 2d10a5ef93 Updated the 19 build version to 20081219 2008-12-18 23:54:50 +00:00
moodler 968788be74 Cleaning up the main version file. 2008-12-18 06:44:51 +00:00
stronk7 f56cacd0d8 MDL-17009 restore of mnet users - order some recently added strings and add 1 more 2008-12-18 00:22:11 +00:00
stronk7 54cae7edcf MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. 2008-12-18 00:18:44 +00:00
moodlerobot 07f8fab029 Updated the 19 build version to 20081218 2008-12-17 23:56:19 +00:00
moodlerobot ee89fdf92c Automatic installer.php lang files by installer_builder (20081218) 2008-12-17 23:54:09 +00:00
stronk7 8e99ea4081 MDL-17009 restore of mnet users - New lang strings. 2008-12-17 23:37:48 +00:00
stronk7 2a3f443ac1 MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. 2008-12-17 23:33:42 +00:00
diml b56ccc3192 Big global search update for 1.9. Will resolve major bug points in Global Search component section. 2008-12-17 20:52:07 +00:00
diml 323a68467c Big global search update for 1.9. Will resolve major bug points in Global Search component section. 2008-12-17 20:51:19 +00:00
skodak 68c5857cb9 MDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead of $cm->id 2008-12-17 18:09:11 +00:00
sam_marshall 7acc360f7c MDL-17556: Improve performance of get_fast_modinfo when courses have many activities 2008-12-17 12:40:09 +00:00
moodlerobot 80a6e5fb67 Updated the 19 build version to 20081217 2008-12-17 00:36:42 +00:00
stronk7 b18ecac385 MDL-17647 accesslib - cleaning some candoanything in comments 2008-12-17 00:29:52 +00:00
dongsheng 9111f5dacf "MDL-14949, add a new capability chat:talk" 2008-12-16 04:54:26 +00:00
moodlerobot d09916f929 Updated the 19 build version to 20081216 2008-12-15 23:53:33 +00:00
moodlerobot 41fd49847c Automatic installer.php lang files by installer_builder (20081216) 2008-12-15 23:51:55 +00:00
stronk7 60bcf0156d MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting 2008-12-15 21:28:02 +00:00
tjhunt 9be7cc58e4 accesslib: MDL-17648 fix stupid typo. Sorry. 2008-12-15 08:12:53 +00:00
tjhunt 6913746fb1 accesslib: MDL-17647, MDL-17648 and MDL-17649 Bug fix, improvement and unit test.
MDL-17647 was referring to moodle/site:candoanything insstead of moodle/site:doanything

MDL-17648 Let get_users_by_capability take an array of capabilities, like has_any_capability

MDL-17649 get_users_by_capability must have unit tests (HEAD only).

The unit tests were briefly working (apart from the system context, which I had to set up by hand in the test contexts table). Then I made the mistake of trying to upgrade the test tables, and it all went horribly wrong (MDL-17644).
2008-12-15 06:22:40 +00:00
tjhunt bd88ac6161 forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error. 2008-12-15 06:09:07 +00:00
tjhunt 797a1f7e0b Flatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.
I don't know exactly how this works, but it looks like a good fix to me, so committing.
2008-12-15 02:53:50 +00:00
moodlerobot 1c8e955e4b Updated the 19 build version to 20081215 2008-12-14 23:53:01 +00:00
moodlerobot 60ced88eb2 Automatic installer.php lang files by installer_builder (20081215) 2008-12-14 23:51:36 +00:00
jonathanharker 2b11b765dd MDL-17548 MNET: Fix email links for sites with path component in wwwroot
Where Moodle sites have a path in their wwwroot, the MNET function that
forced remote users to go via their identity provider (to make sure they
were logged in) previously directed the user back to a URL like
contentprovider.com/moodle/moodle/mod/forum/view.php?f=7 where there
should only be one /moodle in the middle of the URL.

Slightly tweaked from HEAD to support PHP4
2008-12-14 23:40:21 +00:00
jonathanharker 62cf1ae8c1 MDL-16875 New Moodle setting - sessioncookiedomain
Added new sessioncookiedomain setting to session handling section.

 * allows you to change the domain that the Moodle cookies are available
   from. This is useful for Moodle customisations (i.e. Squirrelmail SSO
   or enrolment plugins) that need to share Moodle session information
   with a web application on another subdomain.

 * Will NOT work if the moodle host does not have a domain - i.e. just a
   hostname, e.g. 'localhost' or 'myhostname'. Needs a FQDN

 * Currently the setting is set to PARAM_TEXT length 50 since PARAM_HOST
   does not allow a leading dot e.g.  '.mydomain.com'

 * TODO: do we make up a new PARAM_COOKIEDOMAIN which is the same as
   PARAM_HOST but allows leading dots? Using PARAM_HOST and prepending a
   dot may not always be desirable.
2008-12-14 23:30:58 +00:00
jonathanharker 501592d7be MDL-17549 auth/radius: add CHAP and MSCHAP auth support, detect PHP reqs
* Added support for CHAP and MSCHAP authentication schemes
   contributed by Stanislav Tsymbalov http://www.tsymbalov.net/
   original code at http://sourceforge.net/projects/moodleradius/

 * Tweak the detection of PHP RADIUS extension and Pear code

 * Update the warning notices to use more Moodly CSS classes

 * Add PEAR Auth_RADIUS and Crypt_CHAP packages to lib/pear
2008-12-14 23:18:53 +00:00
moodlerobot a658b7fe9c Updated the 19 build version to 20081214 2008-12-13 23:52:18 +00:00
mudrd8mz f9ed2393be MDL-16430 replaces hardcoded format to the one specified in the
langconfig.php
2008-12-13 02:19:41 +00:00
moodlerobot 7f8cd6639a Updated the 19 build version to 20081213 2008-12-12 23:53:42 +00:00
moodlerobot 689dfa7a7c Automatic installer.php lang files by installer_builder (20081213) 2008-12-12 23:52:23 +00:00
danmarsden f0e02543da include filelib.php:MDL-17622: 2008-12-12 19:39:32 +00:00
tjhunt 159865b202 multichoice qtype upgrade: MDL-17619 referring to constant from questionlib.php, which was not being included. 2008-12-12 13:12:59 +00:00
skodak 7fae1f7b6c MDL-17589 fixed handling of missing caps in admin tree 2008-12-12 10:45:48 +00:00
tjhunt c9f0c6e754 questions manual grading: MDL-15147 refine the logic for distinguishing '' and 0, so you can grade an essay 0 without making a comment, but also, grade some, but not all student's work in the manual grading report. 2008-12-12 09:00:03 +00:00
tjhunt b4502ae40f quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI, 2008-12-12 07:24:41 +00:00
tjhunt aa77a3d3de match qtype: MDL-17326 backup and restore problems
* The shuffleanswers options was not backed up or restored.

* Responses were not properly recoded on restore.
2008-12-12 06:45:01 +00:00
tjhunt c414f9e5ad course categories: fix typo introduced when fixing MDL-10801 2008-12-12 06:18:56 +00:00
tjhunt 2eaf6c0e95 matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered
This was caused becuse the solution to MDL-9005 was not quite right.
2008-12-12 04:39:30 +00:00
tjhunt 26207ab4c2 numerical and shortanswer question types: problems with compare_responses and test_response.
MDL-15315 The previous fix for this issue with wildcard answers in the item analysis report caused the following two regressions. This patch fixes it properly.

MDL-17247 This is basiclly pointing out the weridness in the previous fix and gave some useful clues as to a proper solution. Thanks Oleg.

MDL-17610 This was a report of a problem with each attempt builds on last, with a shortanswer question, where the sutdent's response contains a '.

Also, lots of unit tests to try to ensure the new code is right.
2008-12-12 03:48:32 +00:00
tjhunt 23179e6a47 questionlib: clarify a comment. 2008-12-12 02:50:29 +00:00
moodlerobot 7fc859e6e4 Updated the 19 build version to 20081212 2008-12-11 23:53:23 +00:00
moodlerobot 29b951b6dd Automatic installer.php lang files by installer_builder (20081212) 2008-12-11 23:51:53 +00:00
danmarsden 080eed3f12 fix typo, improve text a bit:MDL-17612 2008-12-11 21:35:56 +00:00
stronk7 70cf5492bc MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS 2008-12-11 16:37:37 +00:00
tjhunt 9af88f530b course search: MDL-10801 Search terms were not being highlighted consistently in the results. 2008-12-11 10:47:57 +00:00
tjhunt 954a3a0b9c weblib: MDL-17606 Make the highlight function better, with unit tests. 2008-12-11 10:34:07 +00:00
tjhunt cf0031eef4 admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.
That was becuase not enough information was being passed in for the blocks editing controls to construct the right URL to reload the page.

It is also now possible for admin external pages to add some UI next to the turn blocks editing on/off button. For example, when you are editing the list of course catgories, the turn editing off button is now in the right place.
2008-12-11 09:21:52 +00:00
tjhunt bae97d133b forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.
This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.
2008-12-11 07:02:09 +00:00
tjhunt 4f4fa095e9 question bank: MDL-14376 Errors deleting a course containing Cloze questions.
(For some reason, this only seemed to cause problems on MySQL.)
2008-12-11 05:31:41 +00:00
dongsheng 576fe29a1c "MDL-16954, get rid of remote_addr notice on cli, set ip = 0.0.0.0 in mdl_log table when accessed from cli" 2008-12-11 05:17:02 +00:00
tjhunt 50a8526252 multianswer qtype help: Fix HTML errors. 2008-12-11 05:14:39 +00:00
tjhunt 5be081f0d9 matching qtype: MDL-14420 Could not use '0' as a question stem. Oops, more tests need to be corrected. 2008-12-11 05:01:43 +00:00
tjhunt 112b018900 matching qtype: MDL-14420 Could not use '0' as a question stem. Bloody PHP! 2008-12-11 04:57:45 +00:00
tjhunt 2c87248acc matching qtype: whitespace cleanup. 2008-12-11 04:55:48 +00:00
dongsheng e6551f36d0 "MDL-17469, fix assignment date when restore course" 2008-12-11 04:37:11 +00:00
tjhunt 88575207d3 numerical qtype: MDL-15159 Error moving a numerical question type with no units from one category to another. 2008-12-11 04:33:48 +00:00
moodlerobot 4058e8bacc Updated the 19 build version to 20081211 2008-12-10 23:54:14 +00:00
thepurpleblob dc37ac0b2f MDL-11090
Added absent trim - Thanks Tim :-)
2008-12-10 09:37:37 +00:00
dongsheng f3355b7b06 "MDL-17570, cleanup inline css" 2008-12-10 07:09:48 +00:00
tjhunt 110b003f86 quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. 2008-12-10 07:06:18 +00:00
dongsheng 1c870741af "MDL-17570, cleanup inline css settings" 2008-12-10 06:30:23 +00:00
tjhunt 51134a7b79 quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. 2008-12-10 06:22:04 +00:00
dongsheng 7921d02f15 "MDL-17570, clean up align property in div" 2008-12-10 06:07:39 +00:00
dongsheng f9c1a62f86 "MDL-17570, cleanup align property in div" 2008-12-10 06:05:24 +00:00
tjhunt 4fb4ff22a6 Simple whitespace cleanup. 2008-12-10 05:32:58 +00:00
tjhunt 5d922e47f7 course request: MDL-17575 and MDL-6160 further improvements:
1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
2008-12-10 02:57:51 +00:00
tjhunt bc7bc8e1d6 performance: MDL-17577 only include lib/questionlib.php from the few parts of mod/quiz/lib.php that actually need it. 2008-12-10 02:11:24 +00:00
tjhunt 7b7863fa69 truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons. 2008-12-10 00:54:33 +00:00
moodlerobot 4a8ded6144 Updated the 19 build version to 20081210 2008-12-09 23:53:54 +00:00
piers 7eea186ea0 MDL-17572 - remove php short tags. backport to 1.9. 2008-12-09 22:03:01 +00:00
danmarsden 1067cd48e9 fix php short tags:MDL-17566: Thanks Stephen Bourget 2008-12-09 20:38:28 +00:00
skodak 5903377c7a MDL-17479 category search: replaced old update capability 2008-12-09 20:29:15 +00:00
skodak ef232b4294 MDL-17502 oops, I have overlooked Tim already fixed this - sorry 2008-12-09 16:34:37 +00:00
skodak 16d3155e4e MDL-17502 accesslib: added warning if incorrect parameters supplied to has_all_capabilities() and fixed parameters in course lib code; backported from HEAD 2008-12-09 16:26:16 +00:00
tjhunt 248be37230 course categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this code yesterday! 2008-12-09 09:27:17 +00:00
tjhunt 20cd50e2e7 course settings: MDL-17501 fix potential problem for people upgrading 1.6 -> 1.9.4.
I am amazed that Petr spotted this. Great catch.
2008-12-09 04:49:06 +00:00
moodlerobot aaae02a573 Updated the 19 build version to 20081209 2008-12-08 23:53:30 +00:00
skodak 2fa8ad59f9 MDL-17559 user edit: fixed undefined email property warnings 2008-12-08 20:15:39 +00:00
exe-cutor b926e3dde5 Added Upgrade instructions for Shibboleth 2.x
Corrected some typos for logout section
2008-12-08 10:46:13 +00:00
exe-cutor 8f12ddef8e Added fix for Shibboleth 2.x 2008-12-08 10:45:47 +00:00
tjhunt 02d92a5513 course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.
* Note: this would never lead to problems with default role definions.
* Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed.
* New helper function require_all_capabilities, a bit like require_any_capability.
2008-12-08 07:28:04 +00:00
tjhunt da4676a27e course settings: MDL-17501 check for moodle/course:visibility in the course settings form.
1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.
2008-12-08 02:30:56 +00:00
tjhunt 56d2fd74d9 Fix typo in error message. 2008-12-08 01:18:44 +00:00
skodak 52b6dd1533 MDL-17368 removing unused html area spell checker - we have our own implementation 2008-12-08 00:11:14 +00:00
moodlerobot 3656fb017a Updated the 19 build version to 20081208 2008-12-07 23:53:27 +00:00
moodlerobot c1832e69da Automatic installer.php lang files by installer_builder (20081208) 2008-12-07 23:51:58 +00:00
skodak c396e2239c MDL-17519 - restore: preventing group member duplicates 2008-12-07 22:24:06 +00:00
danmarsden 99c13aae72 force scorm update:MDL-17034: force update of SCORM when scorm_simple_play is used. merged from HEAD 2008-12-07 22:18:29 +00:00
piers 374b0f29cd MDL-17115 - SCORM onload API checking. Hunt for the API. backport 1.9. 2008-12-07 22:15:24 +00:00
danmarsden 0857948493 skip content structure page:MDL-11908: skip content structure page with multiple scos - if a teacher has set to skip, it should skip! - even with multiple scos. merged from HEAD 2008-12-07 22:09:46 +00:00
skodak d3363def5a MDL-17537 course request: shortname field shortened because db can store max 15 chars 2008-12-07 21:54:35 +00:00
skodak 2bc4631d41 MDL-17547 added missing param type 2008-12-07 21:30:48 +00:00
stronk7 86a01e810f MDL-17545 activity names filter: Improve handling when name contains htmlentities() chars. 2008-12-07 18:55:18 +00:00
stronk7 d84dacba45 MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. 2008-12-07 17:32:44 +00:00
moodlerobot 89f67f45aa Updated the 19 build version to 20081207 2008-12-06 23:52:59 +00:00
skodak 1d7651e19f MDL-15785 new options for enforcing of enrolment key commplexity and requirements; backported from HEAD 2008-12-06 21:21:55 +00:00
skodak 540875d055 MDL-17372 fixed regression in 3rd party admin reports 2008-12-06 20:41:42 +00:00
skodak 0043e716bc MDL-11265 added shorter log retention periods and a warning that it might have some side effects; backported from HEAD 2008-12-06 17:45:30 +00:00
moodlerobot 4c83ff8612 Updated the 19 build version to 20081206 2008-12-05 23:53:04 +00:00
moodlerobot 4c47d171d1 Automatic installer.php lang files by installer_builder (20081206) 2008-12-05 23:51:36 +00:00
mchurch 13c223cb2f MDL-17539 - Added a 'courseid' condition to the 'LEFT JOIN' of 'lastaccess' to limit the records returned to the correctly requested course. 2008-12-05 21:35:47 +00:00
tjhunt 7f2e6a23a9 course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:57:06 +00:00
tjhunt 32b1759f9d quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings. 2008-12-05 04:20:32 +00:00
dongsheng e753201ea8 HTMLAREA/MDL-17448
fix flaw in logic, yui event module shouldn't be loaded in IE. Credit go to Kris Thornley, thanks.
2008-12-05 00:57:21 +00:00
moodlerobot 5cc23984d6 Updated the 19 build version to 20081205 2008-12-04 23:53:10 +00:00
moodlerobot a853baa1ef Automatic installer.php lang files by installer_builder (20081205) 2008-12-04 23:51:41 +00:00
pichetp 72a0975fd2 MDL-17524 Merging from HEAD
Deleting a calculated question delete datasetdefinitions shared by other question
2008-12-04 16:32:16 +00:00
exe-cutor 9333948786 Added Shibboleth front and back channel logout support 2008-12-04 16:27:00 +00:00
tjhunt 79518165b9 course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
2008-12-04 08:49:47 +00:00
dongsheng 39dc0663e2 "htmlarea/MDL-17448, fix enlarging htmlarea, thanks chris fryer" 2008-12-04 08:22:20 +00:00
dongsheng b1b3aede9c ASSIGNMENT, RESTORE/MDL-17469 2008-12-04 08:04:09 +00:00
piers 383570242d MDL-17310 - Fixup an issue with relative directory paths. Thanks Jonathan. backport 1.9. 2008-12-04 03:26:24 +00:00
moodlerobot be0420e2ee Updated the 19 build version to 20081204 2008-12-03 18:37:55 +00:00
moodlerobot 44805fee30 Automatic installer.php lang files by installer_builder (20081204) 2008-12-03 18:30:36 +00:00
ericmerrill bde30ae513 weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it. 2008-12-03 16:48:08 +00:00
samulik 2e9cb9d29a course import: MDL-17497 PHP was running out of memory if a category had a lot of courses. Now get_courses only fetches course id and fullname. 2008-12-03 16:31:01 +00:00
piers b645325d98 MDL-17498 - fix postgres compatibility on recent activity block integration, correct recent activity links to trigger actual assignments. Lots of whitespace fixing. 2008-12-03 05:59:11 +00:00
pichetp fcb5bc8193 MDL-17264 merging the last version from HEAD a second time... 2008-12-02 05:19:11 +00:00
tjhunt 270b6e3444 help file: MDL-17490 multianswer help file was in the wrong place. 2008-12-02 03:26:42 +00:00
skodak d41415da8a MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks 2008-12-01 22:37:12 +00:00
skodak 98d9032ce1 MDL-17486 added option to make my courses list in user profile hidden; backported from HEAD 2008-12-01 22:06:55 +00:00
skodak 741426a8f6 MDL-11261 hiddenuserfields/lastaccess now fully respected on participants page; backported from HEAD 2008-12-01 20:46:13 +00:00
skodak 67a8105001 MDL-11261 setting hidden user lastaccess now works on outline report; backported from HEAD 2008-12-01 20:02:27 +00:00
skodak b2908c36a7 MDL-17485 roles: fixed use and definition of moodle/user:viewuseractivitiesreport; backported from HEAD 2008-12-01 19:20:16 +00:00
tjhunt 059ec02aaa Fix notice. 2008-12-01 07:19:40 +00:00
tjhunt c353917324 Remove unnecessary extra $Id$ tag. It messes up the unmerged files list, and makes merging extra difficult. 2008-12-01 07:09:44 +00:00
tjhunt 426c2ba5b2 restore: MDL-17480 Potentially expensive function user_can_create_courses called repeatedly from restore UI. 2008-12-01 06:55:31 +00:00
danmarsden a546aa2eec don't use copy() for http based copies: MDL-16123: use download_file_content for external SCORM packages instead of copy() 2008-12-01 05:27:59 +00:00
skodak a1990f18ef MDL-11259 stats report: do not show links to logs if not having required capability; backported from HEAD 2008-11-30 21:34:29 +00:00
skodak 8d2ef9efe8 MDL-17472 notes: backported disabling of notes and general refactoring from HEAD 2008-11-30 19:25:48 +00:00
skodak f499321716 MDL-11984 blocks: new capability block/online_users:viewlist which may be used to restrict viewing of list of online users, if cap not allowed only number of users dispalyed, I hope this will be also faster because only one query used now (insetad of two); for BC reasons enabled by default in all legacy roles; backported from HEAD 2008-11-30 15:43:28 +00:00
skodak 8f2f9d3d08 file access.php was added on branch MOODLE_19_STABLE on 2008-11-30 15:43:28 +0000 2008-11-30 15:42:48 +00:00
skodak 89ee56ed69 MDL-17372 moving the categories out of the if cap block - cap report needs to add page there; backported from HEAD 2008-11-30 14:20:32 +00:00
skodak 7ea8ea7f0a MDL-17464 profile reports are now respecting course report caps; backported from HEAD 2008-11-30 12:05:03 +00:00
piers d45250b531 MDL-16651 - add in delete attempt capability - thanks Dan/Tim. backport 1.9. 2008-11-29 17:56:43 +00:00
skodak cecd63c9f2 MDL-17372 new course reports string - role definition improvement 2008-11-29 16:28:21 +00:00
skodak 1a16c4486c MDL-17465 - separate live log capability adn admin tree link; backported from HEAD 2008-11-29 16:23:45 +00:00
skodak 0d2aa4a617 MDL-17465 - separate live log capability adn admin tree link; backported from HEAD 2008-11-29 16:16:21 +00:00
skodak 19a4956b35 file indexlive.php was added on branch MOODLE_19_STABLE on 2008-11-29 16:16:22 +0000 2008-11-29 16:15:40 +00:00
skodak f93c5dcf23 MDL-17463 - renamed outline to activity report 2008-11-29 15:08:46 +00:00
skodak 22a987837c MDL-17463 - reparate capabilities for course and admin reports; backported from HEAD 2008-11-29 14:30:55 +00:00
skodak c6bfc43c7c file version.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:58 +0000 2008-11-29 14:22:15 +00:00
skodak f23d1d4057 file access.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:31:00 +0000 2008-11-29 14:22:15 +00:00
skodak 8c25e10349 file version.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:57 +0000 2008-11-29 14:22:14 +00:00
skodak 475a460b6e file report_courseoverview.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:58 +0000 2008-11-29 14:22:12 +00:00
skodak 9f1bf377ac file coursereport_stats.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:59 +0000 2008-11-29 14:22:12 +00:00
skodak ec3bd695f3 file coursereport_participation.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:58 +0000 2008-11-29 14:22:12 +00:00
skodak 26d7e0294c file coursereport_outline.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:59 +0000 2008-11-29 14:22:12 +00:00
skodak 37be511e7c file coursereport_log.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:58 +0000 2008-11-29 14:22:12 +00:00
skodak da9dcf8ef7 file version.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:31:00 +0000 2008-11-29 14:22:11 +00:00
skodak ee65d12cfe file access.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:31:01 +0000 2008-11-29 14:22:11 +00:00
skodak b989fe2b0f file access.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:59 +0000 2008-11-29 14:22:11 +00:00
skodak a429bdab98 file version.php was added on branch MOODLE_19_STABLE on 2008-11-29 14:30:55 +0000 2008-11-29 14:22:10 +00:00
skodak 7b6f15a8c4 MDL-17372 admin reports: Added full plugin support for admin reports - fixed sorting regression, plugins now loaded as last category; backported from HEAD 2008-11-28 08:12:51 +00:00
danmarsden e8b6d6f62c MDL-17115 - no point in waiting for SCORM API to load when we know JS is disabled. merged from HEAD 2008-11-28 06:49:49 +00:00
tjhunt ae7b2e3829 random essay questions: MDL-8648 Allow essay questions to be selected by random question.
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.

The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.

I also changed the random question code so that I could remove some global variables.
2008-11-28 06:07:24 +00:00
tjhunt 52e24fe922 file qtype_random.php was added on branch MOODLE_19_STABLE on 2008-11-28 06:07:24 +0000 2008-11-28 06:07:12 +00:00
ikawhero 0c51eaa6f0 MDL-17434 Full URLs for enrol/unenrol links 2008-11-28 06:03:16 +00:00
tjhunt 5c4bcc266e questionlib: fix typo. 2008-11-28 02:41:06 +00:00
moodlerobot 57dfa1557b Updated the 19 build version to 20081128 2008-11-28 01:57:46 +00:00
skodak 12748c8425 MDL-17372 course reports: Added full plugin support for course reports - backported from HEAD 2008-11-27 20:31:02 +00:00
tjhunt 901c4aae9f question bank: MDL-14434 Cannot edit the only question category in a context. 2008-11-27 11:50:20 +00:00
tjhunt 761e1f5cb5 listlib: MDL-17422 Paging in listlib was badly screwed 2008-11-27 10:53:40 +00:00
tjhunt 874be4b0f0 question bank: MDL-17078 Error after deleting a question category. 2008-11-27 07:30:11 +00:00
tjhunt 4ec232ec6a health centre: MDL-16935 Question categories should belong to a valid context solution has SQL that does not work in MySQL 2008-11-27 05:57:04 +00:00
tjhunt 3cacf33b58 fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices
A new install has NOT NULL DEFAULT 0.
2008-11-27 05:07:47 +00:00
tjhunt 35c7aaa325 quiz item analysis report: MDL-13427 <br> tags in the headers of some columns. 2008-11-27 04:48:11 +00:00
moodlerobot 331fb695a9 Updated the 19 build version to 20081127 2008-11-27 02:03:18 +00:00
skodak 2d89f2de76 MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring - backported from HEAD 2008-11-26 20:58:03 +00:00
skodak 2910d40ad0 file version.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:04 +0000 2008-11-26 19:27:41 +00:00
skodak e998027091 file settings.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:07 +0000 2008-11-26 19:27:41 +00:00
skodak 065a86dbf7 file settings.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:03 +0000 2008-11-26 19:27:41 +00:00
skodak 8a893ed82f file report_unittest.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:06 +0000 2008-11-26 19:27:41 +00:00
skodak 3b85388c00 file index.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:04 +0000 2008-11-26 19:27:41 +00:00
skodak a5eebeaea3 file access.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:07 +0000 2008-11-26 19:27:41 +00:00
skodak 087d36b6e5 file report.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:05 +0000 2008-11-26 19:27:40 +00:00
skodak 8e66f84d9f file settings.php was added on branch MOODLE_19_STABLE on 2008-11-26 20:58:06 +0000 2008-11-26 19:27:39 +00:00
thepurpleblob ebce25e7b9 MDL-17125
Fix as suggested by Jonathan Kemp.
2008-11-26 15:13:51 +00:00
thepurpleblob 0afa12be00 MDL-11090
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)
2008-11-26 14:30:22 +00:00
thepurpleblob 1272fbf749 MDL-17411
defaultquestion() now reflects the one in the question bank code, thus supressing
lots of notices
2008-11-26 13:08:32 +00:00
thepurpleblob 498e0d12d8 MDL-14155
$a in string no longer required. Changed the text slightly to make it make some sense.
2008-11-26 11:49:11 +00:00
moodlerobot 08cbafdeac Updated the 19 build version to 20081126 2008-11-26 02:03:24 +00:00
moodlerobot 7b9d66434b Automatic installer.php lang files by installer_builder (20081126) 2008-11-26 01:56:28 +00:00
jerome 5649654bd5 database: MDL-16999 update 'Required Entries' warning message 2008-11-25 02:43:53 +00:00
moodlerobot 71a93cd00e Updated the 19 build version to 20081125 2008-11-25 02:00:15 +00:00
pichetp a208bffde9 MDL-17264 Merged from HEAD
Adding control of usecase for the shortanswer type using SHORTANSWER_C or
 SAC or MWC,
2008-11-24 16:46:31 +00:00
dongsheng cc89382bdc FILTER/MDL-17360
media plugin is truncating width and height to 3 digits, patched by Vlas Voloshin.
2008-11-24 01:59:12 +00:00
moodlerobot 04bf1303c2 Updated the 19 build version to 20081124 2008-11-24 01:58:48 +00:00
moodler 542cd89f8d Emoticons MDLSITE-564 Patch to avoid [[brackets]] around alt text 2008-11-24 01:02:33 +00:00
jerome 490414af8d database: MDL-16999 move the flag from config table to config_plugins table 2008-11-24 00:51:58 +00:00
piers 4df7f4237e MDL-17310 - take the opportunity to change the scorm defaults to a highest grade orientation. backport to 1.9. 2008-11-23 21:41:40 +00:00
moodlerobot dad879ae99 Updated the 19 build version to 20081123 2008-11-23 01:53:00 +00:00
moodlerobot f0a8545516 Automatic installer.php lang files by installer_builder (20081123) 2008-11-23 01:46:38 +00:00
moodlerobot 67aea44be9 Updated the 19 build version to 20081122 2008-11-22 02:05:49 +00:00
moodlerobot ae3c9c36d4 Automatic installer.php lang files by installer_builder (20081122) 2008-11-22 01:59:18 +00:00
mudrd8mz daed839963 MDL-17357 Removed duplicate string definition 2008-11-21 23:04:06 +00:00
mudrd8mz 9280eac530 MDL-17356 Use Unix style end of lines 2008-11-21 22:46:31 +00:00
jerome f597bba458 database: MDL-16999 fix "Required Entries" and "Required Entries before viewing" settings. Display a warning message during upgrade process if the fields were set previously. 2008-11-21 07:01:00 +00:00
moodlerobot 54d2128109 Updated the 19 build version to 20081121 2008-11-21 02:12:19 +00:00
moodlerobot eeae9616be Automatic installer.php lang files by installer_builder (20081121) 2008-11-21 02:05:15 +00:00
nicolasconnault 10b1faa27f MDL-17218 Copied the image where the css expects it to be. 2008-11-20 14:36:10 +00:00
moodlerobot 5cbd2c991b Updated the 19 build version to 20081120 2008-11-20 02:01:40 +00:00
skodak 5866dee70a MDL-17236 html block: proper cleanup of html; backported from HEAD 2008-11-19 16:47:13 +00:00
skodak c1ed31c01f MDL-17310 scorm: Install asks for scorm &auth questions on install rather than just front page settings - whitespace 2008-11-19 15:11:25 +00:00
skodak f92fbb037d MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too; backported from HEAD 2008-11-19 09:46:38 +00:00
moodlerobot 934f6bd973 Updated the 19 build version to 20081119 2008-11-19 02:10:25 +00:00
moodlerobot 9be463a33b Automatic installer.php lang files by installer_builder (20081119) 2008-11-19 02:03:28 +00:00
stronk7 836bd9aad4 MDL-15534 Wiki 1.0: Allow to display "Site map for" using i18n Moodle strings 2008-11-19 01:25:49 +00:00
skodak 63e73da77b MDL-17143 $CFG->profilesforenrolledusersonly does not belong into advanced user edit form - it was removing description if user had only create user cap 2008-11-18 21:43:34 +00:00
moodlerobot f3b83353e7 Updated the 19 build version to 20081118 2008-11-18 01:54:30 +00:00
moodlerobot f1855ba03b Automatic installer.php lang files by installer_builder (20081118) 2008-11-18 01:48:29 +00:00
stronk7 5979de1b0e MDL-15425 Coding style: Change some logical operator uses. Thanks Robert! 2008-11-18 00:08:39 +00:00
stronk7 d8f015100a MDL-17200 deprecated & front page: Fix deprecated get_course_users() and get_course_students() to work properly against front page. 2008-11-17 22:52:29 +00:00
moodlerobot b3bca79c74 Updated the 19 build version to 20081117 2008-11-17 02:08:40 +00:00
moodlerobot 465bd9f5be Automatic installer.php lang files by installer_builder (20081117) 2008-11-17 02:02:03 +00:00
stronk7 d3a94cbbe4 Mini-bump version 2008-11-16 23:38:27 +00:00
stronk7 de67f68127 MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). 2008-11-16 23:20:47 +00:00
stronk7 0329e38af7 MDL-17227 forum: seekey-ize forum prune (split) 2008-11-16 22:45:05 +00:00
moodlerobot b5c9d33a7f Updated the 19 build version to 20081116 2008-11-16 01:51:53 +00:00
iarenaza d430e7feb5 file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
2008-11-15 12:22:32 +00:00
moodlerobot dd50f0d6da Updated the 19 build version to 20081115 2008-11-15 01:55:48 +00:00
moodlerobot 296da1a31b Automatic installer.php lang files by installer_builder (20081115) 2008-11-15 01:48:06 +00:00
stronk7 ef0d6a6a8f MDL-17227 forum: add sesskey to post/discussion deletion 2008-11-14 08:50:45 +00:00
moodlerobot 24050cd891 Updated the 19 build version to 20081114 2008-11-14 02:01:41 +00:00
moodlerobot c303dca672 Automatic installer.php lang files by installer_builder (20081114) 2008-11-14 01:54:57 +00:00
piers 9e7f70ddab MDL-16810 - Allow site configuration of scorm settings. Thanks Jason Hardin. Backport 1.9. 2008-11-14 00:14:49 +00:00
piers b40bf0bf58 MDL-16949 - fix wrong addition of times in SCORM API, thanks Xabi Martin. backport 1.9. 2008-11-14 00:06:22 +00:00
nicolasconnault a60ed2afc6 MDL-17226 Hiding the group show/hide settings and toggle for grader report 2008-11-13 15:43:19 +00:00
wildgirl cb03609eed lesson lang string: MDL-17209 typo fix 2008-11-13 14:59:43 +00:00
wildgirl 926da7c331 xmldb lang string: MDL-17209 typo fix 2008-11-13 14:58:09 +00:00
wildgirl 01edd51f1a qtype_datasetdependent lang string: MDL-17209 typo fix 2008-11-13 14:56:28 +00:00
wildgirl 0a3eb4efac wiki lang string: MDL-17209 typo fix 2008-11-13 14:54:17 +00:00
wildgirl 74ed9155a1 install lang string: MDL-17209 typo fix 2008-11-13 14:52:06 +00:00
wildgirl e6e54c85e9 auth lang string: MDL-17209 typo fix 2008-11-13 14:50:05 +00:00
wildgirl 79875473a4 mnet lang string: MDL-17209 typo fix 2008-11-13 14:47:57 +00:00
wildgirl fca0b1c6dd qtype_truefalse lang string: MDL-16942 typo fix 2008-11-13 14:24:01 +00:00
wildgirl f29dd7aac0 profilesforenrolledusersonly setting: MDL-17143 lang string rewording 2008-11-13 11:22:15 +00:00
tjhunt ac9c42de1f course settings: MDL-16327 when creating a course, the role renames were not saved. 2008-11-13 08:21:47 +00:00
moodlerobot eddf18d9f2 Updated the 19 build version to 20081113 2008-11-13 01:57:26 +00:00
moodlerobot fa44bc2fb8 Automatic installer.php lang files by installer_builder (20081113) 2008-11-13 01:51:23 +00:00
sam_marshall 2232f4fbd9 MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:02:23 +00:00
pichetp 6995ba729a MDL-14763 remove automatic numbering of multichoice vertical or horizontal display 2008-11-12 07:05:21 +00:00
danmarsden 49d62e0d49 scorm: MDL-16185 display warning when zlib_compression on - causes errors with certain browsers. merged from HEAD 2008-11-12 06:37:35 +00:00
moodlerobot bc6d265d16 Updated the 19 build version to 20081112 2008-11-12 02:12:13 +00:00
stronk7 aeaff0b308 MDL-17143 Bump version to force new profilesforenrolledusersonly setting 2008-11-11 19:09:10 +00:00
stronk7 b0a9e1c532 MDL-17143 Some improvements suggested by Petr applied. 2008-11-11 19:00:48 +00:00
mjollnir_ 802af00aea Merged from HEAD: MDL-17207 filter/tex reverting removal of $pathname in
http://cvs.moodle.org/moodle/filter/tex/texed.php?r1=1.8&r2=1.7

This fixes a security problem only triggered with register_globals ON and magic_quotes_gpc OFF which is a very uncommon case

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	filter/tex/texed.php
CVS: ----------------------------------------------------------------------
2008-11-11 18:35:42 +00:00
stronk7 f77f4743e2 MDL-17143 deleting one line that shouldn't be in core. Sorry. 2008-11-11 18:34:50 +00:00
stronk7 e9a53fb1ba MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting 2008-11-11 18:31:07 +00:00
jerome 4847ef9b3a activities search: MDL-13987 remove AS from SQL 2008-11-11 07:55:30 +00:00
tjhunt 5e304e4900 role assign: MDL-13325 when assigning roles inside front page activites, list all users as potential users. 2008-11-11 07:23:36 +00:00
moodlerobot a98b19c219 Updated the 19 build version to 20081111 2008-11-11 02:07:48 +00:00
moodlerobot 4d5b31c269 Automatic installer.php lang files by installer_builder (20081111) 2008-11-11 02:01:21 +00:00
pichetp 2e9f0b00e4 MDL-14763 new lang strings and MDL-17134 merged from HEAD 2008-11-10 19:54:41 +00:00
pichetp 1bda18dfb0 MDL-14763 new help file merged from HEAD 2008-11-10 19:44:27 +00:00
stronk7 58cbd74d66 MDL-17122 lang files: Reverting last manual commit. Installer lang files must be
generated automatically (by inclusion of strings in stringnames.txt)
2008-11-10 09:24:54 +00:00
tjhunt 5e1fd88ecb random questions: MDL-17185 regression from MDL-17160 random questions were no longer randomising.
Backporting Jamie's fix to 1.9, and making a minor improvement along the way.
2008-11-10 07:56:43 +00:00
jerome 5b64744053 Installation: MDL-17122 add comment and link to the Moodle Docs in the postgresql installation database page 2008-11-10 04:57:20 +00:00
dongsheng 85f1f34c85 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses" 2008-11-10 02:57:00 +00:00
tjhunt 5c4db861ab quiz reports overview: MDL-17168 Cancelling 'are you sure you want to delete this attempt' still deletes it.
Report and fix thanks to Federico Botti. This was already fixed in 2.0, and was not a problem in 1.8. Therefore no need to merge.
2008-11-10 02:43:35 +00:00
moodlerobot 1964efc04b Updated the 19 build version to 20081110 2008-11-10 01:56:03 +00:00
pichetp bcc1885779 Merge from HEAD MDL-17104 and MDL-17105 unused old questions are deleted more
correclty and take in account that the actual questiontype/save_question()
create a new question  when categorytomove is not set..
2008-11-09 23:44:36 +00:00
stronk7 5037cf7014 MDL-17171 Glossary: Correct breadcrumb when exporting glossary. 2008-11-09 22:55:39 +00:00
piers 2bb6c9fbe4 MDL-17178 - fix grade update so that it happens both when the lesson status, and the score changes. Backport to 1.9. Fix bad debug statement in code (sorry). 2008-11-09 22:39:20 +00:00
piers 172e3b12a2 MDL-17178 - fix grade update so that it happens both when the lesson status, and the score changes. Backport to 1.9. 2008-11-09 22:33:12 +00:00
moodlerobot ec5978ac13 Updated the 19 build version to 20081109 2008-11-09 01:56:46 +00:00
moodlerobot 4c4faf547f Updated the 19 build version to 20081108 2008-11-08 01:55:08 +00:00
ikawhero 418a1ffb39 MDL-17151: Missing code to check for uniqueness of values 2008-11-07 05:51:54 +00:00
tjhunt e87035545b random questions: MDL-17160 Adding random questions, maximum option.
When counting how many options to put in the add NN random questions dropdown, we should only count questions of types that are usable by random.
2008-11-07 05:50:08 +00:00
jerome 11a786d55e MDL-13987: fix navigation links for Activities Administration page: check that the course list is not empty 2008-11-07 05:40:04 +00:00
jerome cac15c9ff3 MDL-13987: fix bottom navigation links for Activities Administration page 2008-11-07 05:34:09 +00:00
moodler 69017ad364 auth/cas MDL-17121 Upgraded to latest version which is LGPL 2008-11-07 01:59:35 +00:00
ikawhero 34c01a4a02 MDL-17151: Fixed typo. 2008-11-07 01:58:16 +00:00
moodlerobot 20a594645a Updated the 19 build version to 20081107 2008-11-07 01:54:55 +00:00
jerome 0baeccfd24 MDL-13987: fix navigation links for Activities Administration page 2008-11-07 01:52:50 +00:00
tjhunt 557caae4eb quiz results block: MDL-17137 block_quiz_results: manager links to group/overview are wrong.
Eloy told me exactly what to change. I don't know why he did not commit the fix himself!
2008-11-06 06:14:12 +00:00
moodlerobot 2d2955bc70 Updated the 19 build version to 20081106 2008-11-06 02:20:11 +00:00
danmarsden 710e078327 MDL-17140 should check if $data->id isn't empty before sending to get_record merged from HEAD 2008-11-06 01:05:59 +00:00
skodak 7a80df2bbc MDL-17110 snoopy: added import info; backported from HEAD 2008-11-05 09:14:09 +00:00
skodak 577d9d6de6 file moodle_readme.txt was added on branch MOODLE_19_STABLE on 2008-11-05 09:14:09 +0000 2008-11-05 09:13:38 +00:00
danmarsden b92ef5be76 MDL-17071 fix misleading text - it's removing enrolments not assignments - merged from HEAD 2008-11-05 07:14:08 +00:00
danmarsden 26aa7a8db9 MDL-17128 SCORM backuplib generates invalid XML - causes backup to fail. thanks to Mark Nielsen for patch. merged from HEAD 2008-11-05 06:53:02 +00:00
moodlerobot 1866371731 Updated the 19 build version to 20081105 2008-11-05 02:20:24 +00:00
stronk7 1905721bee MDLSITE-548 - langconfig: Adding thousands separator. 2008-11-04 16:39:08 +00:00
stronk7 8dc2432c92 MDLSITE-548 - langconfig: Adding thousands separator. Backported from HEAD. 2008-11-04 16:27:57 +00:00
wildgirl 436294e18c MDL-13702 example replaced with simpler one 2008-11-04 12:25:58 +00:00
jerome cc99016319 MDL-10021: display iframe when the resource is on another domain 2008-11-04 05:09:42 +00:00
jerome 39889df28a MDL-10021: fix xhtml/javascript 2008-11-04 02:25:43 +00:00
moodlerobot ed7ba2f8bd Updated the 19 build version to 20081104 2008-11-04 02:07:28 +00:00
moodlerobot 19202892a7 Automatic installer.php lang files by installer_builder (20081104) 2008-11-04 01:59:54 +00:00
jerome 6ebb04cff6 MDL-10021: use build_navigation() instead a string into print_header() 2008-11-04 01:52:33 +00:00
skodak b97a5d97bd MDL-17110 snoopy: imported new version 1.2.4; backported from HEAD 2008-11-03 07:56:36 +00:00
dongsheng b7c8bfd263 "MDL-16954, use rebert\'s patch to clean notice/warning in cron job via php cli" 2008-11-03 05:21:45 +00:00
moodlerobot f0f28e3a4e Updated the 19 build version to 20081103 2008-11-03 01:50:27 +00:00
moodlerobot 78eac44451 Updated the 19 build version to 20081102 2008-11-02 01:47:06 +00:00
skodak 57bdd314e4 MDL-17027: protect user profile images if $CFG->forcelogin enabled 2008-11-01 22:28:54 +00:00
skodak 9f29866371 MDL-17065 user: profile iamges of deleted users are not accessible anymore 2008-11-01 19:35:46 +00:00
mudrd8mz f00e699477 MDL-17094 Automatic language update can be disabled via $CFG->skiplangupgrade settings. 2008-11-01 19:30:56 +00:00
skodak b29f0b5d59 MDL-11789 fixed regressions preventing file caching when default used 2008-11-01 19:27:36 +00:00
skodak c372f7bac5 CONTRIB-849 phpPgAdmin integration hook 2008-11-01 17:52:21 +00:00
moodlerobot 7aa5da8b2e Updated the 19 build version to 20081101 2008-11-01 01:45:06 +00:00
stronk7 2fe9a6d323 MDL-14952 - roles: 'moodle/legacy:guest' was preventing admins to post
new discussions in fron page if $CFG->defaultfrontpageroleid = guest.
2008-11-01 00:28:40 +00:00
piers fc89ab2433 MDL-7068 - SCORM 2004 compliance - fix mod/scorm to handle core data elements correctly - now passes test DMI. backport 1.9. 2008-10-31 22:59:17 +00:00
stronk7 fac8b5db4f MDL-14998 - roles: add mod/forum:viewdiscussion protection to forum_get_discussions() 2008-10-31 21:48:21 +00:00
mudrd8mz 97928e7e50 MDL-17094 Allow translators to disable automatic language update during Moodle upgrade.
One needs just add $CFG->skiplangupgrade = true; to their config.php and keep their language pack up-to-date manually. This is intended for lang pack maintainers with CVS access only.
2008-10-31 21:01:03 +00:00
stronk7 0dca43644d MDL-14998 - roles: User needs to have mod/forum:viewdiscussion to be able to see news block. 2008-10-31 19:04:03 +00:00
jerome a4e5cc84e0 MDL-10021: change frame into object tag when display a Link Resource with navigation bar 2008-10-31 05:55:56 +00:00
moodlerobot f8b220ec70 Updated the 19 build version to 20081031 2008-10-31 02:08:29 +00:00
danmarsden 5123fa76c8 MDL-17050 excorising $_POST - thanks to mikec for patch - also check groupmode before bothering to get groupstuff to save some trees. merged from HEAD 2008-10-31 00:56:05 +00:00
gbateson 0105dfc1f3 MDL-16300: use cache to minimize use of get_users_by_capability() 2008-10-30 07:27:00 +00:00
gbateson 75f484f534 use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings) 2008-10-30 06:23:41 +00:00
moodlerobot c9c457c268 Updated the 19 build version to 20081030 2008-10-30 01:53:03 +00:00
peterbulmer 8fca983968 MDL-15942 catch one more mnet update needing secure commit
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:42:17 +00:00
peterbulmer 1a445dc3fc MDL-17038 bugfixes
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:40:21 +00:00
peterbulmer 00959494a6 MDL-17038 - truncate overlength varchar fields before attempting to insert
Signed-off-by: Peter Bulmer <peter.bulmer@catalyst.net.nz>


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:39:45 +00:00
peterbulmer d5942d6a6f MDL-17038 formatting correction
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:39:09 +00:00
peterbulmer 5b407159d5 MDL-17038 Change to use sensible variable names
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:38:39 +00:00
peterbulmer e3c3610af1 MDL-17038 - refine query to limit size of returned data.
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:21:15 +00:00
piers 10610a60bc MDL-17052 - remove use of $_POST. backport to 1.9. 2008-10-29 16:15:03 +00:00
moodlerobot f0abdc5c72 Updated the 19 build version to 20081029 2008-10-29 01:50:47 +00:00
moodlerobot 13069faafe Updated the 19 build version to 20081028 2008-10-28 01:53:08 +00:00
tjhunt 3f51bef08c qtype multichoice: MDL-17029 - followup - revert my overzealous copying and pasting. Thanks to Myles Carrick for noticing my mistake. 2008-10-27 23:36:04 +00:00
tjhunt f42636806d qtype multichoice: MDL-17029 answernumbering option was not being backed up or restored. 2008-10-27 04:23:08 +00:00
tjhunt 4043d93219 qtype match: MDL-16450 Change validation so it is possible to create matching questions with two stems and three answers.
Thanks to Oleg Sychev for implementing this.
2008-10-27 02:33:28 +00:00
moodlerobot 700ba226f7 Updated the 19 build version to 20081027 2008-10-27 01:46:06 +00:00
moodlerobot 1db7d40fc9 Automatic installer.php lang files by installer_builder (20081027) 2008-10-27 01:39:27 +00:00
moodlerobot 156a376c41 Updated the 19 build version to 20081026 2008-10-26 01:41:26 +00:00
moodlerobot 0ada42290c Updated the 19 build version to 20081025 2008-10-25 01:51:42 +00:00
robertall 4e96b320ec [MDL-15425] Search Filters are too persistant 2008-10-24 19:47:47 +00:00
skodak 6e91016520 MDL-16785 bogus grades inserted when formulas used - credit Michael Spall and Ann Adamcik 2008-10-24 17:47:56 +00:00
sam_marshall 20c30ac5e4 MDL-16756: Groups bugfixes and multiple select support for deletion 2008-10-24 13:34:12 +00:00
sam_marshall a240818cf3 file delete.php was added on branch MOODLE_19_STABLE on 2008-10-24 13:34:13 +0000 2008-10-24 13:31:49 +00:00
tjhunt ead49b0e44 moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32. 2008-10-24 02:54:16 +00:00
moodlerobot c457a17af4 Updated the 19 build version to 20081024 2008-10-24 01:56:23 +00:00
moodlerobot ba0f099ade Updated the 19 build version to 20081023 2008-10-23 02:04:36 +00:00
nicolasconnault b75bb79414 MDL-16962 New formslib element for dropdowns with a link to another page. Applied to outcome item and outcome edit pages. 2008-10-22 09:19:30 +00:00
nicolasconnault 2bc741e66a MDL-16962 New formslib element for dropdowns with a link to another page. Applied to outcome item and outcome edit pages. 2008-10-22 09:09:31 +00:00
fmarier 112de10a61 backuplib: MDL-16945 remove the uid alias since it's a reserved field on Oracle 2008-10-22 03:04:12 +00:00
fmarier d9b3406111 moodlelib/welcome message: MDL-16947 use the userid that was passed in for the profile URL 2008-10-22 02:33:11 +00:00
moodlerobot 21de218e57 Updated the 19 build version to 20081022 2008-10-22 01:56:54 +00:00
jerome 98cc1b062d MDL-16929: fix bulk user download function. (the shortname column title is now profile_field_"shortname") 2008-10-22 01:32:22 +00:00
stronk7 06306ddd94 Bumped to 1.9.3+ (before weekly build) 2008-10-21 23:06:55 +00:00
tjhunt 73de6ccc13 qtype description: MDL-16863 Put back edit icon next to descriptions for teachers. 2008-10-21 06:33:58 +00:00
tjhunt ec3d11dd00 quiz reports: MDL-16948 SQL does not work in Oracle - you are not allowed to refer to output column names in GROUP BY. Fix thanks to Francois Marier. 2008-10-21 05:45:28 +00:00
moodlerobot d7d10cd3d4 Updated the 19 build version to 20081021 2008-10-21 01:51:31 +00:00
arborrow af20b75c55 MDL-16939 - adding check type exists to avoid PHP notice in build_navigation function 2008-10-20 17:47:52 +00:00
nicolasconnault 1f02086d55 MDL-16892 Fixed bug in accesslib role_fix_names method 2008-10-20 13:43:12 +00:00
moodlerobot 44c64196fb Updated the 19 build version to 20081020 2008-10-20 01:54:27 +00:00
moodlerobot e1009af391 Updated the 19 build version to 20081019 2008-10-19 01:46:12 +00:00
moodlerobot 4a36974d3b Automatic installer.php lang files by installer_builder (20081019) 2008-10-19 01:40:08 +00:00
moodlerobot 523a5947a3 Updated the 19 build version to 20081018 2008-10-18 01:47:45 +00:00
arborrow bddc038848 fixed trivial typo in comment 2008-10-18 00:10:00 +00:00
stronk7 f81e0a1d06 Adding correct Office 2007 mime types. MDL-15987 2008-10-17 18:03:21 +00:00
nicolasconnault af4c52b849 MDL-13702 Added language help file 2008-10-17 14:55:10 +00:00
nicolasconnault 85db26a355 MDL-16917 small semantic change 2008-10-17 14:33:37 +00:00
nicolasconnault 9e9b288017 MDL-13259 Redirecting to creation of new scale when none exists. 2008-10-17 14:32:44 +00:00
nicolasconnault d3ee291624 MDL-16917 Fixed 2008-10-17 14:01:07 +00:00
moodlerobot abb176bfc0 Updated the 19 build version to 20081017 2008-10-17 01:54:43 +00:00
skodak f4d2786bb0 MDL-16903 mod/forum: undefined course context when forum subscription not allowed 2008-10-16 20:45:28 +00:00
nicolasconnault dfa5b89d74 MDL-16898 Extending include_path 2008-10-16 11:16:42 +00:00
moodlerobot dd4e8cbc7a Updated the 19 build version to 20081016 2008-10-16 02:02:13 +00:00
1738 changed files with 91699 additions and 51081 deletions
+27
View File
@@ -0,0 +1,27 @@
# This file specifies intentionally untracked files that all Moodle git
# repositories should ignore. It is recommended not to modify this file in your
# local clone. Instead, use .git/info/exclude and add new records there as
# needed.
#
# Example: if you deploy a contributed plugin mod/foobar into your site, put
# the following line into .git/info/exclude file in your Moodle clone:
# /mod/foobar/
#
# See gitignore(5) man page for more details
#
/config.php
/lib/editor/tinymce/extra/tools/temp/
*~
*.swp
/tags
/TAGS
/cscope.*
/.patches/
/.idea/
/nbproject/
CVS
.DS_Store
/.settings/
/.project
/.buildpath
/.cache
+339
View File
@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+1 -1
View File
@@ -24,7 +24,7 @@ a few minutes:
For more information, see the INSTALL DOCUMENTATION:
http://docs.moodle.org/en/Installing_Moodle
http://docs.moodle.org/19/en/Installing_Moodle
A local copy can also be found in
+55 -49
View File
@@ -40,7 +40,7 @@
}
if (!empty($CFG->showcrondebugging)) {
$CFG->debug = DEBUG_DEVELOPER;
$CFG->displaydebug = true;
$CFG->debugdisplay = true;
}
/// extra safety
@@ -223,6 +223,9 @@
grade_cron();
mtrace('done.');
mtrace('Starting processing the event queue...');
events_cron();
mtrace('done.');
/// Run all core cron jobs, but not every time since they aren't too important.
/// These don't have a timer to reduce load, so we'll use a random number
@@ -238,14 +241,17 @@
if ($CFG->longtimenosee) { // value in days
$cuttime = $timenow - ($CFG->longtimenosee * 3600 * 24);
$rs = get_recordset_sql ("SELECT id, userid, courseid
FROM {$CFG->prefix}user_lastaccess
WHERE courseid != ".SITEID."
AND timeaccess < $cuttime ");
$rs = get_recordset_sql ("SELECT la.id, la.userid, la.courseid
FROM {$CFG->prefix}user_lastaccess la
JOIN {$CFG->prefix}course c
ON c.id = la.courseid
WHERE la.courseid != ".SITEID."
AND la.timeaccess < $cuttime
AND c.metacourse = 0 ");
while ($assign = rs_fetch_next_record($rs)) {
if ($context = get_context_instance(CONTEXT_COURSE, $assign->courseid)) {
if (role_unassign(0, $assign->userid, 0, $context->id)) {
mtrace("Deleted assignment for user $assign->userid from course $assign->courseid");
mtrace("removing user $assign->userid from course $assign->courseid as they have not accessed the course for over $CFG->longtimenosee days");
}
}
}
@@ -345,25 +351,24 @@
mtrace('checking for create_password');
if (count_records('user_preferences', 'name', 'create_password', 'value', '1')) {
mtrace('creating passwords for new users');
$newusers = get_records_sql("SELECT u.id as id, u.email, u.firstname,
u.lastname, u.username,
p.id as prefid
FROM {$CFG->prefix}user u
JOIN {$CFG->prefix}user_preferences p ON u.id=p.userid
WHERE p.name='create_password' AND p.value=1 AND u.email !='' ");
foreach ($newusers as $newuserid => $newuser) {
$newuser->emailstop = 0; // send email regardless
// email user
if (setnew_password_and_mail($newuser)) {
// remove user pref
delete_records('user_preferences', 'id', $newuser->prefid);
} else {
trigger_error("Could not create and mail new user password!");
$newuserssql = "SELECT u.id as id, u.email, u.firstname, u.lastname, u.username, p.id as prefid
FROM {$CFG->prefix}user u
JOIN {$CFG->prefix}user_preferences p ON u.id=p.userid
WHERE p.name='create_password' AND p.value='1' AND u.email !='' ";
if ($newusers = get_records_sql($newuserssql)) {
foreach ($newusers as $newuserid => $newuser) {
$newuser->emailstop = 0; // send email regardless
// email user
if (setnew_password_and_mail($newuser)) {
// remove user pref
delete_records('user_preferences', 'id', $newuser->prefid);
} else {
trigger_error("Could not create and mail new user password!");
}
}
}
}
if (!empty($CFG->usetags)) {
require_once($CFG->dirroot.'/tag/lib.php');
tag_cron();
@@ -425,6 +430,23 @@
}
}
/// Run the auth cron, if any
/// before enrolments because it might add users that will be needed in enrol plugins
$auths = get_enabled_auth_plugins();
mtrace("Running auth crons if required...");
foreach ($auths as $auth) {
$authplugin = get_auth_plugin($auth);
if (method_exists($authplugin, 'cron')) {
mtrace("Running cron for auth/$auth...");
$authplugin->cron();
if (!empty($authplugin->log)) {
mtrace($authplugin->log);
}
}
unset($authplugin);
}
/// Run the enrolment cron, if any
if (!($plugins = explode(',', $CFG->enrol_plugins_enabled))) {
$plugins = array($CFG->enrol);
@@ -441,22 +463,6 @@
unset($enrol);
}
/// Run the auth cron, if any
$auths = get_enabled_auth_plugins();
mtrace("Running auth crons if required...");
foreach ($auths as $auth) {
$authplugin = get_auth_plugin($auth);
if (method_exists($authplugin, 'cron')) {
mtrace("Running cron for auth/$auth...");
$authplugin->cron();
if (!empty($authplugin->log)) {
mtrace($authplugin->log);
}
}
unset($authplugin);
}
if (!empty($CFG->enablestats) and empty($CFG->disablestatsprocessing)) {
require_once($CFG->dirroot.'/lib/statslib.php');
// check we're not before our runtime
@@ -480,44 +486,44 @@
// run gradebook import/export/report cron
if ($gradeimports = get_list_of_plugins('grade/import')) {
foreach ($gradeimports as $gradeimport) {
foreach ($gradeimports as $gradeimport) {
if (file_exists($CFG->dirroot.'/grade/import/'.$gradeimport.'/lib.php')) {
require_once($CFG->dirroot.'/grade/import/'.$gradeimport.'/lib.php');
$cron_function = 'grade_import_'.$gradeimport.'_cron';
$cron_function = 'grade_import_'.$gradeimport.'_cron';
if (function_exists($cron_function)) {
mtrace("Processing gradebook import function $cron_function ...", '');
$cron_function;
$cron_function();
}
}
}
}
}
if ($gradeexports = get_list_of_plugins('grade/export')) {
foreach ($gradeexports as $gradeexport) {
foreach ($gradeexports as $gradeexport) {
if (file_exists($CFG->dirroot.'/grade/export/'.$gradeexport.'/lib.php')) {
require_once($CFG->dirroot.'/grade/export/'.$gradeexport.'/lib.php');
$cron_function = 'grade_export_'.$gradeexport.'_cron';
$cron_function = 'grade_export_'.$gradeexport.'_cron';
if (function_exists($cron_function)) {
mtrace("Processing gradebook export function $cron_function ...", '');
$cron_function;
$cron_function();
}
}
}
}
if ($gradereports = get_list_of_plugins('grade/report')) {
foreach ($gradereports as $gradereport) {
foreach ($gradereports as $gradereport) {
if (file_exists($CFG->dirroot.'/grade/report/'.$gradereport.'/lib.php')) {
require_once($CFG->dirroot.'/grade/report/'.$gradereport.'/lib.php');
$cron_function = 'grade_report_'.$gradereport.'_cron';
$cron_function = 'grade_report_'.$gradereport.'_cron';
if (function_exists($cron_function)) {
mtrace("Processing gradebook report function $cron_function ...", '');
$cron_function;
$cron_function();
}
}
}
}
// run any customized cronjobs, if any
// looking for functions in lib/local/cron.php
if (file_exists($CFG->dirroot.'/local/cron.php')) {
+405 -14
View File
@@ -80,7 +80,6 @@
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
<BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
</VENDOR>
<VENDOR name="postgres" version="7.4" />
<VENDOR name="mssql" version="9.0" />
@@ -140,7 +139,6 @@
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
<BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
</VENDOR>
<VENDOR name="postgres" version="8.0" />
<VENDOR name="mssql" version="9.0" />
@@ -187,6 +185,8 @@
<ON_CHECK message="ctyperecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<CUSTOM_CHECKS>
<CUSTOM_CHECK file="question/upgrade.php" function="question_check_no_rqp_questions" level="optional">
@@ -200,7 +200,7 @@
<ON_OK message="questioncwqpfsok" />
</FEEDBACK>
</CUSTOM_CHECK>
<CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_register_globals" level="optional">
<CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_register_globals" level="required">
<FEEDBACK>
<ON_CHECK message="globalswarning" />
</FEEDBACK>
@@ -214,25 +214,24 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="4.1.16">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
<BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
</VENDOR>
<VENDOR name="postgres" version="8.0" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
<VENDOR name="mssql_n" version="9.0" />
<VENDOR name="oracle" version="9.0" />
<VENDOR name="oracle" version="10.2" />
<VENDOR name="sqlite" version="2.0" />
</DATABASE>
<PHP version="5.2.4" level="required">
<PHP version="5.2.8" level="required">
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="optional">
<PHP_EXTENSION name="iconv" level="required">
<FEEDBACK>
<ON_CHECK message="iconvrecommended" />
<ON_CHECK message="iconvrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="mbstring" level="optional">
@@ -260,6 +259,11 @@
<ON_CHECK message="xmlrpcrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="soap" level="optional">
<FEEDBACK>
<ON_CHECK message="soaprecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="ctype" level="required">
<FEEDBACK>
<ON_ERROR message="ctyperequired" />
@@ -270,13 +274,400 @@
<ON_ERROR message="ziprequired" />
</FEEDBACK>
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<CUSTOM_CHECKS>
<CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_register_globals" level="optional">
<PHP_EXTENSION name="gd" level="optional">
<FEEDBACK>
<ON_CHECK message="globalswarning" />
<ON_CHECK message="gdrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="simplexml" level="required">
<FEEDBACK>
<ON_CHECK message="simplexmlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="spl" level="required">
<FEEDBACK>
<ON_CHECK message="splrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="dom" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="xml" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="intl" level="optional">
<FEEDBACK>
<ON_CHECK message="intlrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="json" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<PHP_SETTINGS>
<PHP_SETTING name="memory_limit" value="40M" level="required">
<FEEDBACK>
<ON_ERROR message="settingmemorylimit" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="safe_mode" value="0" level="optional">
<FEEDBACK>
<ON_CHECK message="settingsafemode" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="file_uploads" value="1" level="optional">
<FEEDBACK>
<ON_CHECK message="settingfileuploads" />
</FEEDBACK>
</PHP_SETTING>
</PHP_SETTINGS>
<CUSTOM_CHECKS>
<CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_php533" level="optional">
<FEEDBACK>
<ON_CHECK message="php533warning" />
</FEEDBACK>
</CUSTOM_CHECK>
</CUSTOM_CHECKS>
</MOODLE>
<MOODLE version="2.1" requires="1.9">
<UNICODE level="required">
<FEEDBACK>
<ON_ERROR message="unicoderequired" />
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
<VENDOR name="mssql_n" version="9.0" />
<VENDOR name="oracle" version="10.2" />
<VENDOR name="sqlite" version="2.0" />
</DATABASE>
<PHP version="5.3.2" level="required">
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="required">
<FEEDBACK>
<ON_CHECK message="iconvrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="mbstring" level="optional">
<FEEDBACK>
<ON_CHECK message="mbstringrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="curl" level="required">
<FEEDBACK>
<ON_CHECK message="curlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="openssl" level="optional">
<FEEDBACK>
<ON_CHECK message="opensslrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="tokenizer" level="optional">
<FEEDBACK>
<ON_CHECK message="tokenizerrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="xmlrpc" level="optional">
<FEEDBACK>
<ON_CHECK message="xmlrpcrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="soap" level="optional">
<FEEDBACK>
<ON_CHECK message="soaprecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="ctype" level="required">
<FEEDBACK>
<ON_ERROR message="ctyperequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="zip" level="required">
<FEEDBACK>
<ON_ERROR message="ziprequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="gd" level="optional">
<FEEDBACK>
<ON_CHECK message="gdrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="simplexml" level="required">
<FEEDBACK>
<ON_CHECK message="simplexmlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="spl" level="required">
<FEEDBACK>
<ON_CHECK message="splrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="dom" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="xml" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="intl" level="optional">
<FEEDBACK>
<ON_CHECK message="intlrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="json" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<PHP_SETTINGS>
<PHP_SETTING name="memory_limit" value="40M" level="required">
<FEEDBACK>
<ON_ERROR message="settingmemorylimit" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="safe_mode" value="0" level="optional">
<FEEDBACK>
<ON_CHECK message="settingsafemode" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="file_uploads" value="1" level="optional">
<FEEDBACK>
<ON_CHECK message="settingfileuploads" />
</FEEDBACK>
</PHP_SETTING>
</PHP_SETTINGS>
</MOODLE>
<MOODLE version="2.2" requires="1.9">
<UNICODE level="required">
<FEEDBACK>
<ON_ERROR message="unicoderequired" />
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
<VENDOR name="mssql_n" version="9.0" />
<VENDOR name="oracle" version="10.2" />
<VENDOR name="sqlite" version="2.0" />
</DATABASE>
<PHP version="5.3.2" level="required">
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="required">
<FEEDBACK>
<ON_CHECK message="iconvrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="mbstring" level="optional">
<FEEDBACK>
<ON_CHECK message="mbstringrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="curl" level="required">
<FEEDBACK>
<ON_CHECK message="curlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="openssl" level="optional">
<FEEDBACK>
<ON_CHECK message="opensslrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="tokenizer" level="optional">
<FEEDBACK>
<ON_CHECK message="tokenizerrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="xmlrpc" level="optional">
<FEEDBACK>
<ON_CHECK message="xmlrpcrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="soap" level="optional">
<FEEDBACK>
<ON_CHECK message="soaprecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="ctype" level="required">
<FEEDBACK>
<ON_ERROR message="ctyperequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="zip" level="required">
<FEEDBACK>
<ON_ERROR message="ziprequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="gd" level="optional">
<FEEDBACK>
<ON_CHECK message="gdrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="simplexml" level="required">
<FEEDBACK>
<ON_CHECK message="simplexmlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="spl" level="required">
<FEEDBACK>
<ON_CHECK message="splrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="dom" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="xml" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="intl" level="optional">
<FEEDBACK>
<ON_CHECK message="intlrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="json" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<PHP_SETTINGS>
<PHP_SETTING name="memory_limit" value="40M" level="required">
<FEEDBACK>
<ON_ERROR message="settingmemorylimit" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="safe_mode" value="0" level="optional">
<FEEDBACK>
<ON_CHECK message="settingsafemode" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="file_uploads" value="1" level="optional">
<FEEDBACK>
<ON_CHECK message="settingfileuploads" />
</FEEDBACK>
</PHP_SETTING>
</PHP_SETTINGS>
</MOODLE>
<MOODLE version="2.3" requires="2.2">
<UNICODE level="required">
<FEEDBACK>
<ON_ERROR message="unicoderequired" />
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
<VENDOR name="mssql_n" version="9.0" />
<VENDOR name="oracle" version="10.2" />
<VENDOR name="sqlite" version="2.0" />
</DATABASE>
<PHP version="5.3.2" level="required">
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="required">
<FEEDBACK>
<ON_CHECK message="iconvrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="mbstring" level="optional">
<FEEDBACK>
<ON_CHECK message="mbstringrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="curl" level="required">
<FEEDBACK>
<ON_CHECK message="curlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="openssl" level="optional">
<FEEDBACK>
<ON_CHECK message="opensslrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="tokenizer" level="optional">
<FEEDBACK>
<ON_CHECK message="tokenizerrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="xmlrpc" level="optional">
<FEEDBACK>
<ON_CHECK message="xmlrpcrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="soap" level="optional">
<FEEDBACK>
<ON_CHECK message="soaprecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="ctype" level="required">
<FEEDBACK>
<ON_ERROR message="ctyperequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="zip" level="required">
<FEEDBACK>
<ON_ERROR message="ziprequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="gd" level="optional">
<FEEDBACK>
<ON_CHECK message="gdrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="simplexml" level="required">
<FEEDBACK>
<ON_CHECK message="simplexmlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="spl" level="required">
<FEEDBACK>
<ON_CHECK message="splrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="dom" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="xml" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="intl" level="optional">
<FEEDBACK>
<ON_CHECK message="intlrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="json" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<PHP_SETTINGS>
<PHP_SETTING name="memory_limit" value="40M" level="required">
<FEEDBACK>
<ON_ERROR message="settingmemorylimit" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="safe_mode" value="0" level="optional">
<FEEDBACK>
<ON_CHECK message="settingsafemode" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="file_uploads" value="1" level="optional">
<FEEDBACK>
<ON_CHECK message="settingfileuploads" />
</FEEDBACK>
</PHP_SETTING>
</PHP_SETTINGS>
</MOODLE>
</COMPATIBILITY_MATRIX>
+275
View File
@@ -0,0 +1,275 @@
<?php
require_once('../config.php');
/**
* SCRIPT CONFIGURATION
*/
$starttimer = time()+microtime();
$settings = array();
$settings['verbose'] = false;
$settings['username'] = null;
$settings['password'] = null;
$settings['eolchar'] = '<br />'; // Character used to break lines
// Argument arrays: 0=>short name, 1=>long name
$arguments = array(
array('short'=>'u', 'long'=>'username', 'help' => 'Your moodle username', 'type'=>'STRING', 'default' => ''),
array('short'=>'pw', 'long'=>'password', 'help' => 'Your moodle password', 'type'=>'STRING', 'default' => ''),
array('short'=>'v', 'long' => 'verbose', 'help' => 'Display extra information about the process')
);
// Building the USAGE output of the command line version
if (isset($argv) && isset($argc)) {
$help = "Moodle User Pix Fix. Restores user profile images that were not properly moved during 1.8.2 upgrade to newer versions.\n\n"
. "Usage: {$argv[0]}; [OPTION] ...\n"
. "Options:\n"
. " -h, -?, -help, --help This output\n";
foreach ($arguments as $arg_array) {
$equal = '';
if (!empty($arg_array['type'])) {
$equal = "={$arg_array['type']}";
}
$padding1 = 5 - strlen($arg_array['short']);
$padding2 = 30 - (strlen($arg_array['long']) + strlen($equal));
$paddingstr1 = '';
for ($i = 0; $i < $padding1; $i++) {
$paddingstr1 .= ' ';
}
$paddingstr2 = '';
for ($i = 0; $i < $padding2; $i++) {
$paddingstr2 .= ' ';
}
$help .= " -{$arg_array['short']},$paddingstr1--{$arg_array['long']}$equal$paddingstr2{$arg_array['help']}\n";
}
$help .= "\nEmail nicolasconnault@gmail.com for any suggestions or bug reports.\n";
if ($argc == 1 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) {
echo $help;
die();
} else {
$settings['eolchar'] = "\n";
$argv = arguments($argv);
$argscount = 0;
foreach ($arguments as $arg_array) {
$value = null;
if (in_array($arg_array['short'], array_keys($argv))) {
$value = $argv[$arg_array['short']];
unset($argv[$arg_array['short']]);
} elseif (in_array($arg_array['long'], array_keys($argv))) {
$value = $argv[$arg_array['long']];
unset($argv[$arg_array['long']]);
}
if (!is_null($value)) {
$settings[$arg_array['long']] = $value;
$argscount++;
}
}
// If some params are left in argv, it means they are not supported
if ($argscount == 0 || count($argv) > 0) {
echo $help;
die();
}
}
}
/**
* SCRIPT SETUP
*/
require_once($CFG->libdir . '/formslib.php');
require_once($CFG->dirroot .'/course/lib.php');
verbose("Loading libraries...");
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
/**
* WEB INTERFACE FORM
*/
class pixfix_form extends moodleform {
function definition() {
global $arguments;
$mform =& $this->_form;
foreach ($arguments as $arg_array) {
$type = 'advcheckbox';
$label = ucfirst(str_replace('-', ' ', $arg_array['long']));
if (!empty($arg_array['type'])) {
$type = 'text';
}
if ($arg_array['long'] == 'password' || $arg_array['long'] == 'username') {
continue;
}
$mform->addElement($type, $arg_array['long'], $label);
if (isset($arg_array['default'])) {
$mform->setDefault($arg_array['long'], $arg_array['default']);
}
}
$this->add_action_buttons(false, 'Restore Images');
}
function definition_after_data() {
}
}
$run_script = true;
$web_interface = false;
// If eolchar is still <br />, load the web interface
if ($settings['eolchar'] == '<br />') {
print_header("User Pix-Fix");
print_heading("User Pix-Fix");
$mform = new pixfix_form();
if ($data = $mform->get_data(false)) {
foreach ($arguments as $arg_array) {
if (!empty($data->{$arg_array['long']})) {
$settings[$arg_array['long']] = $data->{$arg_array['long']};
}
}
} else {
$run_script = false;
}
if (!has_capability('moodle/site:doanything', $systemcontext)) {
// If not logged in, give link to login page for current site
notify("You must be logged in as administrator before using this script.");
require_login();
} else {
$mform->display();
}
$web_interface = true;
}
if ($run_script) {
// User authentication
if (!$web_interface) {
if (empty($settings['username'])) {
echo "You must enter a valid username for a moodle administrator account on this site.{$settings['eolchar']}";
die();
} elseif (empty($settings['password'])) {
echo "You must enter a valid password for a moodle administrator account on this site.{$settings['eolchar']}";
die();
} else {
if (!$user = authenticate_user_login($settings['username'], $settings['password'])) {
echo "Invalid username or password!{$settings['eolchar']}";
die();
}
$USER = complete_user_login($user);
if (!has_capability('moodle/site:doanything', $systemcontext)) {
echo "You do not have administration privileges on this Moodle site. These are required for running the restore script.{$settings['eolchar']}";
die();
}
}
}
// Script code here
// Look for old moodledata/users directory
$oldusersdir = $CFG->dataroot . '/users';
if (!file_exists($oldusersdir)) {
notify('The old directory for user profile images ('.$oldusersdir.') does not exist. Pictures cannot be restored!');
} else {
// Find user profile images that are not yet in the new directory
$folders = get_directory_list($oldusersdir, '', false, true, false);
$restored_count = 0;
foreach ($folders as $userid) {
$olddir = $oldusersdir . '/' . $userid;
$files = get_directory_list($olddir);
if (empty($files)) {
continue;
}
// Create new user directory
if (!$newdir = make_user_directory($userid)) {
// some weird directory - do not stop the upgrade, just ignore it
continue;
}
// Move contents of old directory to new one
if (file_exists($olddir) && file_exists($newdir)) {
$restored = false;
foreach ($files as $file) {
if (!file_exists($newdir . '/' . $file)) {
copy($olddir . '/' . $file, $newdir . '/' . $file);
verbose("Moved $olddir/$file into $newdir/$file");
$restored = true;
}
}
if ($restored) {
$restored_count++;
}
} else {
notify("Could not move the contents of $olddir into $newdir!");
$result = false;
break;
}
}
if ($settings['eolchar'] == '<br />') {
print_box_start('generalbox centerpara');
}
if ($restored_count > 0) {
echo "Successfully restored profile images for $restored_count users!" . $settings['eolchar'];
} else {
echo "Did not find any user profile images in need of restoring." . $settings['eolchar'];
}
if ($settings['eolchar'] == '<br />') {
print_box_end();
}
}
}
if ($settings['eolchar'] == '<br />') {
print_footer();
}
/**
* Converts the standard $argv into an associative array taking var=val arguments into account
* @param array $argv
* @return array $_ARG
*/
function arguments($argv) {
$_ARG = array();
foreach ($argv as $arg) {
if (ereg('--?([^=]+)=(.*)',$arg,$reg)) {
$_ARG[$reg[1]] = $reg[2];
} elseif(ereg('-([a-zA-Z0-9]+)',$arg,$reg)) {
$_ARG[$reg[1]] = 'true';
}
}
return $_ARG;
}
/**
* If verbose is switched on, prints a string terminated by the global eolchar string.
* @param string $string The string to STDOUT
*/
function verbose($string) {
global $settings;
if ($settings['verbose'] && !$settings['quiet']) {
echo $string . $settings['eolchar'];
}
}
?>
+9 -5
View File
@@ -363,7 +363,11 @@ class problem_000008 extends problem_base {
}
$oldmemlimit = get_real_size($oldmemlimit);
//now lets change the memory limit to something unique below 128M==134217728
@ini_set('memory_limit', 134217720);
if (empty($CFG->extramemorylimit)) {
raise_memory_limit('128M');
} else {
raise_memory_limit($CFG->extramemorylimit);
}
$testmemlimit = get_real_size(@ini_get('memory_limit'));
//verify the change had any effect at all
if ($oldmemlimit == $testmemlimit) {
@@ -374,7 +378,7 @@ class problem_000008 extends problem_base {
return false;
}
}
@ini_set('memory_limit', $oldmemlimit);
reduce_memory_limit($oldmemlimit);
return false;
}
function severity() {
@@ -660,10 +664,10 @@ class problem_000015 extends problem_base {
function solution() {
global $CFG;
return '<p>You can delete the empty categories by executing the following SQL:</p><pre>
DELETE FROM ' . $CFG->prefix . 'question_categories qc
DELETE FROM ' . $CFG->prefix . 'question_categories
WHERE
NOT EXISTS (SELECT * FROM ' . $CFG->prefix . 'question q WHERE q.category = qc.id)
AND NOT EXISTS (SELECT * FROM ' . $CFG->prefix . 'context con WHERE qc.contextid = con.id)
NOT EXISTS (SELECT * FROM ' . $CFG->prefix . 'question q WHERE q.category = ' . $CFG->prefix . 'question_categories.id)
AND NOT EXISTS (SELECT * FROM ' . $CFG->prefix . 'context con WHERE contextid = con.id)
</pre><p>Any remaining categories that contain questions will require more thought. ' .
'People in the <a href="http://moodle.org/mod/forum/view.php?f=121">Quiz forum</a> may be able to help.</p>';
}
+37 -20
View File
@@ -47,7 +47,7 @@
/// Check some PHP server settings
$documentationlink = '<a href="http://docs.moodle.org/en/Installation">Installation docs</a>';
$documentationlink = '<a href="http://docs.moodle.org/19/en/Installation">Installation docs</a>';
if (ini_get_bool('session.auto_start')) {
error("The PHP server variable 'session.auto_start' should be Off - $documentationlink");
@@ -61,6 +61,10 @@
error("The PHP server variable 'file_uploads' is not turned On - $documentationlink");
}
if (is_float_problem()) {
print_error('phpfloatproblem', 'admin', '', $documentationlink);
}
if (empty($CFG->prefix) && $CFG->dbfamily != 'mysql') { //Enforce prefixes for everybody but mysql
error('$CFG->prefix can\'t be empty for your target DB (' . $CFG->dbtype . ')');
}
@@ -139,7 +143,7 @@
print_box(text_to_html(get_string('gpl')), 'copyrightnotice');
echo "<br />";
notice_yesno(get_string('doyouagree'), "index.php?agreelicense=1",
"http://docs.moodle.org/en/License");
"http://docs.moodle.org/dev/License");
print_footer('none');
exit;
}
@@ -148,7 +152,7 @@
$navigation = build_navigation(array(array('name'=>$strcurrentrelease, 'link'=>null, 'type'=>'misc')));
print_header($strcurrentrelease, $strcurrentrelease, $navigation, "", "", false, "&nbsp;", "&nbsp;");
print_heading("Moodle $release");
print_box(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'), 'generalbox boxaligncenter boxwidthwide');
print_box(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/19/en/Release_Notes'), 'generalbox boxaligncenter boxwidthwide');
echo '<form action="index.php"><div>';
echo '<input type="hidden" name="agreelicense" value="1" />';
echo '<input type="hidden" name="confirmrelease" value="1" />';
@@ -282,21 +286,26 @@
$navigation = build_navigation(array(array('name'=>$strcurrentrelease, 'link'=>null, 'type'=>'misc')));
print_header($strcurrentrelease, $strcurrentrelease, $navigation, "", "", false, "&nbsp;", "&nbsp;");
print_heading("Moodle $release");
print_box(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'));
print_box(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/19/en/Release_Notes'));
require_once($CFG->libdir.'/environmentlib.php');
print_heading(get_string('environment', 'admin'));
remove_dir($CFG->dataroot . '/environment'); /// Always delete downloaded env. info to force use of the released one. MDL-9796
if (!check_moodle_environment($release, $environment_results, true)) {
print_box_start('generalbox', 'notice'); // MDL-8330
print_string('langpackwillbeupdated', 'admin');
print_box_end();
if (empty($CFG->skiplangupgrade)) {
print_box_start('generalbox', 'notice'); // MDL-8330
print_string('langpackwillbeupdated', 'admin');
print_box_end();
}
notice_yesno(get_string('environmenterrorupgrade', 'admin'),
'index.php?confirmupgrade=1&confirmrelease=1', 'index.php');
'index.php?confirmupgrade=1&amp;confirmrelease=1', 'index.php');
} else {
notify(get_string('environmentok', 'admin'), 'notifysuccess');
print_box_start('generalbox', 'notice'); // MDL-8330
print_string('langpackwillbeupdated', 'admin');
print_box_end();
if (empty($CFG->skiplangupgrade)) {
print_box_start('generalbox', 'notice'); // MDL-8330
print_string('langpackwillbeupdated', 'admin');
print_box_end();
}
echo '<form action="index.php"><div>';
echo '<input type="hidden" name="confirmupgrade" value="1" />';
echo '<input type="hidden" name="confirmrelease" value="1" />';
@@ -319,7 +328,7 @@
print_plugin_tables();
echo "<br />";
echo '<div class="continuebutton">';
print_single_button('index.php', array('confirmupgrade' => 1, 'confirmrelease' => 1), get_string('reload'), 'get');
echo '<a href="index.php?confirmupgrade=1&amp;confirmrelease=1" title="'.get_string('reload').'" ><img src="'.$CFG->pixpath.'/i/reload.gif" alt="" /> '.get_string('reload').'</a>';
echo '</div><br />';
echo '<form action="index.php"><div>';
echo '<input type="hidden" name="confirmupgrade" value="1" />';
@@ -344,7 +353,9 @@
upgrade_log_start();
/// Upgrade current language pack if we can
upgrade_language_pack();
if (empty($CFG->skiplangupgrade)) {
upgrade_language_pack();
}
print_heading($strdatabasechecking);
$db->debug=true;
@@ -467,6 +478,9 @@
/// Check all message output plugins and upgrade if necessary
upgrade_plugins('message','message/output',"$CFG->wwwroot/$CFG->admin/index.php");
/// Check all course report plugins and upgrade if necessary
upgrade_plugins('coursereport', 'course/report', "$CFG->wwwroot/$CFG->admin/index.php");
/// Check all admin report plugins and upgrade if necessary
upgrade_plugins('report', $CFG->admin.'/report', "$CFG->wwwroot/$CFG->admin/index.php");
@@ -540,10 +554,8 @@
set_config('adminblocks_initialised', 1);
}
/// Define the unique site ID code if it isn't already
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}
/// Define the unique site ID code if it isn't already set. This getter does that as a side-effect.
get_site_identifier();
/// Check if the guest user exists. If not, create one.
if (! record_exists("user", "username", "guest")) {
@@ -623,6 +635,11 @@
}
if (empty($CFG->passwordsaltmain)) {
$path = $CFG->docroot.'/'.str_replace('_utf8', '', current_language()).'/report/security/report_security_check_passwordsaltmain';
print_box(get_string('upgrade197notice', 'admin')."\n".get_string('upgrade197salt', 'admin', $path));
}
if (defined('WARN_DISPLAY_ERRORS_ENABLED')) {
print_box(get_string('displayerrorswarning', 'admin'), 'generalbox adminwarning');
}
@@ -670,10 +687,10 @@
//////////////////////////////////////////////////////////////////////////////////////////////////
//// IT IS ILLEGAL AND A VIOLATION OF THE GPL TO HIDE, REMOVE OR MODIFY THIS COPYRIGHT NOTICE ///
$copyrighttext = '<a href="http://moodle.org/">Moodle</a> '.
'<a href="http://docs.moodle.org/en/Release" title="'.$CFG->version.'">'.$CFG->release.'</a><br />'.
'<a href="http://docs.moodle.org/dev/Releases" title="'.$CFG->version.'">'.$CFG->release.'</a><br />'.
'Copyright &copy; 1999 onwards, Martin Dougiamas<br />'.
'and <a href="http://docs.moodle.org/en/Credits">many other contributors</a>.<br />'.
'<a href="http://docs.moodle.org/en/License">GNU Public License</a>';
'and <a href="http://docs.moodle.org/dev/Credits">many other contributors</a>.<br />'.
'<a href="http://docs.moodle.org/dev/License">GNU Public License</a>';
print_box($copyrighttext, 'copyright');
//////////////////////////////////////////////////////////////////////////////////////////////////
+8 -4
View File
@@ -822,7 +822,7 @@
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
echo '<input type="hidden" name="currentfile" value="'.$currentfile.'" />';
echo '<input type="hidden" name="mode" value="helpfiles" />';
echo "<div align=\"center\">\n";
echo "<div class='mdl-align'>\n";
echo "<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"filedata\">";
if (file_exists("$saveto/$currentfile")) {
echo htmlspecialchars(file_get_contents("$saveto/$currentfile"));
@@ -830,7 +830,7 @@
echo ($filetemplate);
}
echo "</textarea>\n</div>\n";
echo '<div align="center"><input type="submit" value="'.get_string('savechanges').'" /></div>';
echo '<div class="mdl-align"><input type="submit" value="'.get_string('savechanges').'" /></div>';
echo '</form>';
$preview_url = lang_help_preview_url($currentfile, !$uselocal);
if ($preview_url) {
@@ -842,7 +842,7 @@
if (is_readable("$altdir/$currentfile")) {
// show the content of the same help file in alternative location
echo '<fieldset><legend>'.$straltdirtitle.'</legend>';
echo "<div align=\"center\">\n";
echo "<div class='mdl-align'>\n";
echo "<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"\">";
if (file_exists("$altdir/$currentfile")) {
echo htmlspecialchars(file_get_contents("$altdir/$currentfile"));
@@ -869,7 +869,7 @@
echo '<fieldset><legend>'.$strlangmasterenglish;
helpbutton('langpackages', $strlangmasterenglish);
echo '</legend>';
echo "<div align=\"center\">\n<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"\">";
echo "<div class='mdl-align'>\n<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"\">";
echo htmlspecialchars(file_get_contents($ensrc));
echo "</textarea>\n</div>\n";
$preview_url = lang_help_preview_url($currentfile, true, 'en_utf8'); // do not display en_utf8_local
@@ -1013,6 +1013,10 @@ function lang_fix_value_before_save($value='') {
if (ini_get_bool('magic_quotes_sybase')) { // Unescape escaped sybase quotes
$value = str_replace("''", "'", $value);
}
// escape all embedded variables
$value = str_replace('$', '\$', $value); // Add slashes for $
// unescape placeholders: only $a and $a->something are allowed. All other $variables are left escaped
$value = preg_replace('/\\\\\$a($|[^_a-zA-Z0-9\-]|\->[a-zA-Z0-9_]+)/', '$a\\1', $value);
$value = str_replace("'", "\\'", $value); // Add slashes for '
$value = str_replace('"', "\\\"", $value); // Add slashes for "
$value = str_replace("%","%%",$value); // Escape % characters
+2 -2
View File
@@ -112,7 +112,7 @@
for ($a=0; $a < count($pathparts)-1 ; $a++) {
$checkpath .= "/".$pathparts[$a];
if(!file_exists($checkpath)){
if(!mkdir($checkpath)){
if(!mkdir($checkpath, $CFG->directorypermissions)){
echo ("Cannot create directory: $checkpath");
}
}
@@ -186,7 +186,7 @@ $langdir/$currentfile")."</font></p>";
if ($preview_url) {
link_to_popup_window($preview_url, 'popup', get_string('preview'));
}
echo '<div align="center"><input type="submit" value="'.get_string('savechanges').': lang/'.$currentlang.'/'.$currentfile.'" /></div>';
echo '<div class="mdl-align"><input type="submit" value="'.get_string('savechanges').': lang/'.$currentlang.'/'.$currentfile.'" /></div>';
echo '</form>';
}
+12 -5
View File
@@ -11,6 +11,13 @@
admin_externalpage_setup('langimport');
if (!empty($CFG->skiplangupgrade)) {
admin_externalpage_print_header();
print_box(get_string('langimportdisabled', 'admin'));
print_footer();
die;
}
$mode = optional_param('mode', 0, PARAM_INT); //phase
$pack = optional_param('pack', array(), PARAM_FILE); //pack to install
$displaylang = $pack;
@@ -43,8 +50,8 @@
if (confirm_sesskey() and !empty($pack)) {
set_time_limit(0);
@mkdir ($CFG->dataroot.'/temp/'); //make it in case it's a fresh install, it might not be there
@mkdir ($CFG->dataroot.'/lang/');
@mkdir ($CFG->dataroot.'/temp/', $CFG->directorypermissions); //make it in case it's a fresh install, it might not be there
@mkdir ($CFG->dataroot.'/lang/', $CFG->directorypermissions);
if (is_array($pack)) {
$packs = $pack;
@@ -160,8 +167,8 @@
}
}
@mkdir ($CFG->dataroot.'/temp/');
@mkdir ($CFG->dataroot.'/lang/');
@mkdir ($CFG->dataroot.'/temp/', $CFG->directorypermissions);
@mkdir ($CFG->dataroot.'/lang/', $CFG->directorypermissions);
foreach ($packs as $pack){ //for each of the remaining in the list, we
if ($pack == 'en_utf8') { // no update for en_utf8
continue;
@@ -241,7 +248,7 @@
if ($parent == 'en_utf8') {
continue;
}
if (strpos($parent, '[[') !== false) {
if (empty($parent) || strpos($parent, '[[') !== false) {
continue; // no parent
}
if (!isset($installedlangs[$parent])) {
+13 -4
View File
@@ -33,29 +33,36 @@
admin_externalpage_print_header();
print_heading(get_string('sitemaintenancemode', 'admin'));
print_box_start();
/// Print the appropriate form
if (file_exists($filename)) { // We are in maintenance mode
echo '<div style="margin-left:auto;margin-right:auto">';
echo '<div class="buttons">';
echo '<p>'.get_string('sitemaintenanceon', 'admin').'</p>';
echo '<form action="maintenance.php" method="post">';
echo '<div>';
echo '<input type="hidden" name="action" value="disable" />';
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<p><input type="submit" value="'.get_string('disable').'" /></p>';
echo '</div>';
echo '</form>';
echo '</div>';
} else { // We are not in maintenance mode
$usehtmleditor = can_use_html_editor();
echo '<div style="text-align:center;margin-left:auto;margin-right:auto">';
echo '<div class="buttons">';
echo '<form action="maintenance.php" method="post">';
echo '<div>';
echo '<input type="hidden" name="action" value="enable" />';
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<p><input type="submit" value="'.get_string('enable').'" /></p>';
echo '<p>'.get_string('optionalmaintenancemessage', 'admin').':</p>';
echo '<table><tr><td>';
echo '<div class="editor" style="width:600px;">'; // contains the editor
print_textarea($usehtmleditor, 20, 50, 600, 400, "text");
echo '</td></tr></table>';
echo '</div>';
echo '</div>';
echo '</form>';
echo '</div>';
@@ -65,5 +72,7 @@
}
}
print_box_end();
admin_externalpage_print_footer();
?>
+1 -1
View File
@@ -178,7 +178,7 @@ if (!$acl) {
}
$deletecolumn = "<a href=\"?id={$aclrecord->id}&amp;action=delete&amp;sesskey={$USER->sesskey}\">"
. get_string('delete') . "</a>";
$table->data[] = array ($aclrecord->username, $aclrecord->mnet_host_id, $accesscolumn, $deletecolumn);
$table->data[] = array (s($aclrecord->username), $aclrecord->mnet_host_id, $accesscolumn, $deletecolumn);
}
}
+2 -2
View File
@@ -64,7 +64,7 @@ function mnet_get_functions($type, $parentname) {
foreach($rpcrecords as $rpc) {
if (!array_key_exists($rpc->function_name, $methodServiceArray)) {
$rpc->enabled = 0;
update_record('mnet_rpc', $rpc);
update_record('mnet_rpc', addslashes_recursive($rpc));
}
}
}
@@ -85,7 +85,7 @@ function mnet_get_functions($type, $parentname) {
} else {
array_unshift($profile, $details['returns']);
}
$dataobject->profile = serialize($profile);
$dataobject->profile = addslashes(serialize($profile));
$dataobject->help = addslashes($details['description']);
} else {
$dataobject->profile = serialize(array(array('type' => 'void', 'description' => 'No return value')));
+2
View File
@@ -31,6 +31,8 @@
redirect('index.php', get_string('postrequired','mnet') ,7);
}
require_sesskey();
if ('verify' == $step) {
$mnet_peer = new mnet_peer();
$mnet_peer->set_id($hostid);
+15 -3
View File
@@ -85,9 +85,21 @@
$mnet_request->set_method('enrol/mnet/enrol.php/course_enrolments');
$mnet_request->add_param($course->remoteid, 'int');
$mnet_request->send($mnet_peer);
$all_enrolled_users = $mnet_request->response;
$raw_all_enrolled_users = $mnet_request->response;
unset($mnet_request);
$all_enrolled_users = array();
if (!empty($raw_all_enrolled_users)) {
// Try to repair keying of remote users array, numeric usernames get lost in the fracas
foreach ($raw_all_enrolled_users as $username => $userdetails) {
if (empty($userdetails['username']) || !is_numeric($username)) {
//Not able to repair, or no need to repair
$all_enrolled_users[$username] = $userdetails;
} else {
$all_enrolled_users[$userdetails['username']] = $userdetails;
}
}
}
$select = '';
$all_enrolled_usernames = '';
@@ -118,7 +130,7 @@
a.courseid
FROM
{$CFG->prefix}user u
LEFT JOIN
JOIN
{$CFG->prefix}mnet_enrol_assignments a
ON
a.userid = u.id AND a.courseid={$courseid}
+2 -16
View File
@@ -1,23 +1,9 @@
<?php
$logurl = $CFG->wwwroot.
'/course/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
'%2F1&amp;user='.'0'.
'&amp;date=0'.
'&amp;modid=&amp;modaction=0&amp;logformat=showashtml';
admin_externalpage_print_header();
if (isset($mnet_peer->id) && $mnet_peer->id > 0) {
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&amp;hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
if ($mnet_peer->application->name == 'moodle') {
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
}
} else {
$tabs[] = new tabobject('mnetdetails', '#', $strmnetedithost, $strmnetedithost, false);
}
print_tabs(array($tabs), 'mnetdetails');
$currenttab = 'mnetdetails';
require_once($CFG->dirroot .'/admin/mnet/tabs.php');
print_simple_box_start("center", "");
?>
+3 -5
View File
@@ -1,10 +1,8 @@
<?php
admin_externalpage_print_header();
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&amp;hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
print_tabs(array($tabs), 'mnetdetails');
$currenttab = 'mnetdetails';
require_once($CFG->dirroot .'/admin/mnet/tabs.php');
print_simple_box_start("center", "");
?>
@@ -14,7 +12,7 @@ print_simple_box_start("center", "");
<td valign="top"><?php echo $mnet_peer->name; ?></td>
</tr>
<tr>
<td align="right" valign="top" colspan="2"><?php print_string('allhosts_no_options'); ?>:</td>
<td align="right" valign="top" colspan="2"><?php print_string('allhosts_no_options','mnet'); ?></td>
</tr>
</table>
<?php
+5 -14
View File
@@ -1,19 +1,9 @@
<?php
admin_externalpage_print_header();
$logurl = $CFG->wwwroot.
'/course/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
'%2F1&amp;user='.'0'.
'&amp;date=0'.
'&amp;modid=&amp;modaction=0&amp;logformat=showashtml';
$currenttab = 'mnetservices';
require_once($CFG->dirroot .'/admin/mnet/tabs.php');
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&amp;hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
if ($mnet_peer->id != $CFG->mnet_all_hosts_id && $mnet_peer->application->name == 'moodle') {
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
}
print_tabs(array($tabs), 'mnetservices');
print_simple_box_start("center", "");
?>
@@ -27,11 +17,12 @@ print_simple_box_start("center", "");
<?php
foreach($myservices as $name => $versions) {
$version = current($versions);
$langmodule = ($version['parent_type'] == 'mod' ? '' : ($version['parent_type'] . '_')) . $version['parent'];
?>
<tr>
<td align="left" valign="top" colspan="2">
<h3><?php echo get_string($name.'_name', $version['parent_type'].'_'.$version['parent'] , $mnet_peer->name); ?></h3>
<?php echo get_string($name.'_description', $version['parent_type'].'_'.$version['parent'], $mnet_peer->name); ?>
<h3><?php echo get_string($name.'_name', $langmodule , $mnet_peer->name); ?></h3>
<?php echo get_string($name.'_description', $langmodule, $mnet_peer->name); ?>
<?php
$breakstring = '';
foreach($versions as $version){
+11 -7
View File
@@ -24,6 +24,10 @@
// force Go ahead with something we've been warned is strange
$step = optional_param('step', NULL, PARAM_ALPHA);
$hostid = optional_param('hostid', NULL, PARAM_INT);
$publishes = optional_param('publish', null, PARAM_BOOL); // optional_param cleans arrays too
$subscribes = optional_param('subscribe', null, PARAM_BOOL); // optional_param cleans arrays too
$exists = optional_param('exists', null, PARAM_BOOL); // optional_param cleans arrays too
$nocertstring = '';
$nocertmatch = '';
$badcert = '';
@@ -43,21 +47,21 @@
if (($form = data_submitted()) && confirm_sesskey()) {
$mnet_peer->set_id($hostid);
$treevals = array();
foreach($_POST['exists'] as $key => $value) {
$host2service = get_record('mnet_host2service', 'hostid', $_POST['hostid'], 'serviceid', $key);
$publish = (isset($_POST['publish'][$key]) && $_POST['publish'][$key] == 'on')? 1 : 0;
$subscribe = (isset($_POST['subscribe'][$key]) && $_POST['subscribe'][$key] == 'on')? 1 : 0;
foreach($exists as $key => $value) {
$host2service = get_record('mnet_host2service', 'hostid', $hostid, 'serviceid', $key);
$publish = array_key_exists($key, $publishes) ? $publishes[$key] : 0;
$subscribe = array_key_exists($key, $subscribes) ? $subscribes[$key] : 0;
if ($publish != 1 && $subscribe != 1) {
if (false == $host2service) {
// We don't have or need a record - do nothing!
} else {
// We don't need the record - delete it
delete_records('mnet_host2service', 'hostid', $_POST['hostid'], 'serviceid', $key);
delete_records('mnet_host2service', 'hostid', $hostid, 'serviceid', $key);
}
} elseif (false == $host2service && ($publish == 1 || $subscribe == 1)) {
$host2service = new stdClass();
$host2service->hostid = $_POST['hostid'];
$host2service->hostid = $hostid;
$host2service->serviceid = $key;
$host2service->publish = $publish;
@@ -81,7 +85,7 @@
$id_list .= ', '.$CFG->mnet_all_hosts_id;
}
$concat = sql_concat('COALESCE(h2s.id,0) ', ' \'-\' ', ' svc.id');
$concat = sql_concat('COALESCE(h2s.id,0) ', ' \'-\' ', ' svc.id', '\'-\'', 'r.parent_type', '\'-\'', 'r.parent');
$query = "
SELECT DISTINCT
+2 -13
View File
@@ -3,19 +3,8 @@ admin_externalpage_print_header();
print_heading(get_string('themes'));
$original_theme = fullclone($THEME);
$logurl = $CFG->wwwroot.
'/course/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
'%2F1&amp;user='.'0'.
'&amp;date=0'.
'&amp;modid=&amp;modaction=0&amp;logformat=showashtml';
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&amp;hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
if ($mnet_peer->id != $CFG->mnet_all_hosts_id) {
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
}
print_tabs(array($tabs), 'mnetthemes');
$currenttab = 'mnetthemes';
require_once($CFG->dirroot .'/admin/mnet/tabs.php');
$themes = get_list_of_plugins("theme");
$sesskey = !empty($USER->id) ? $USER->sesskey : '';
+1
View File
@@ -55,6 +55,7 @@ if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
<div>
<input type="hidden" name="hostid" value="<?php echo $host->id; ?>" />
<input type="hidden" name="step" value="verify" />
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
<input type="submit" name="submit" value="<?php print_string('delete'); ?>"/>
</div>
</form>
+31
View File
@@ -0,0 +1,31 @@
<?php
/**
* Handles tabs for the mnet pages.
* We assume that $currenttab is defined
*
*/
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); // It must be included from a Moodle page
}
$strmnetservices = get_string('mnetservices', 'mnet');
$strmnetlog = get_string('mnetlog', 'mnet');
$strmnetedithost = get_string('reviewhostdetails', 'mnet');
$strmnetthemes = get_string('mnetthemes', 'mnet');
$logurl = $CFG->wwwroot.
'/course/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
'%2F1&amp;user='.'0'.
'&amp;date=0'.
'&amp;modid=&amp;modaction=0&amp;logformat=showashtml';
$tabs = array();
if (isset($mnet_peer->id) && $mnet_peer->id > 0) {
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&amp;hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&amp;hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
if ($mnet_peer->application->name == 'moodle' && $mnet_peer->id != $CFG->mnet_all_hosts_id) {
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
}
} else {
$tabs[] = new tabobject('mnetdetails', '#', $strmnetedithost, $strmnetedithost, false);
}
print_tabs(array($tabs), $currenttab);
+7
View File
@@ -123,6 +123,13 @@
if (!delete_records("course_modules", "module", $module->id)) {
notify("Error occurred while deleting all $strmodulename records in course_modules table");
}
if ($coursemods) {
foreach ($coursemods as $coursemod) {
if (!delete_context(CONTEXT_MODULE, $coursemod->id)) {
notify("Could not delete the context for $strmodulename with id = $coursemod->id");
}
}
}
// Then delete all the logs
if (!delete_records("log", "module", $module->name)) {
+39 -6
View File
@@ -20,8 +20,11 @@ page_map_class(PAGE_ADMIN, 'page_admin');
class page_admin extends page_base {
var $section;
var $section = '';
var $visiblepathtosection;
var $extraurlparams = array();
var $extrabutton = '';
var $url = '';
// hack alert!
// this function works around the inability to store the section name
@@ -62,6 +65,9 @@ class page_admin extends page_base {
function url_get_path() {
global $CFG;
if (!empty($this->url)) {
return $this->url;
}
$adminroot =& admin_get_root(false, false); //settings not required - only pages
@@ -73,8 +79,29 @@ class page_admin extends page_base {
}
}
/**
* Use this to pass extra HTML that is added after the turn blocks editing on/off button.
*
* @param string $extrabutton HTML code.
*/
function set_extra_button($extrabutton) {
$this->extrabutton = $extrabutton;
}
/**
* Use this to pass extra URL parameters that, for example, the blocks editing controls need to reload the current page accurately.
*
* @param array $extraurlparams paramname => value array.
*/
function set_extra_url_params($extraurlparams, $actualurl = '') {
$this->extraurlparams = $extraurlparams;
if (!empty($actualurl)) {
$this->url = $actualurl;
}
}
function url_get_parameters() { // only handles parameters relevant to the admin pagetype
return array('section' => (isset($this->section) ? $this->section : ''));
return array_merge($this->extraurlparams, array('section' => $this->section));
}
function blocks_get_positions() {
@@ -107,13 +134,19 @@ class page_admin extends page_base {
// The search page currently doesn't handle block editing
if ($this->section != 'search' and $this->user_allowed_editing()) {
$buttons = '<div><form '.$CFG->frametarget.' method="get" action="' . $this->url_get_path() . '">'.
'<div><input type="hidden" name="adminedit" value="'.($this->user_is_editing()?'off':'on').'" />'.
'<input type="hidden" name="section" value="'.$this->section.'" />'.
'<input type="submit" value="'.get_string($this->user_is_editing()?'blockseditoff':'blocksediton').'" /></div></form></div>';
$options = $this->url_get_parameters();
if ($this->user_is_editing()) {
$caption = get_string('blockseditoff');
$options['adminedit'] = 'off';
} else {
$caption = get_string('blocksediton');
$options['adminedit'] = 'on';
}
$buttons = print_single_button($this->url_get_path(), $options, $caption, 'get', '', true);
} else {
$buttons = '&nbsp;';
}
$buttons .= $this->extrabutton;
$navlinks = array();
foreach ($this->visiblepathtosection as $element) {
+1 -1
View File
@@ -72,7 +72,7 @@ while(!feof($fd)) {
$function($modargs,$body);
fclose($handle);
fclose($fd);
+2 -8
View File
@@ -23,13 +23,7 @@
$admin->country = $CFG->country;
}
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}
/// Print headings
$stradministration = get_string("administration");
$strregistration = get_string("registration");
$strregistrationinfo = get_string("registrationinfo");
@@ -48,13 +42,13 @@
echo "<form id=\"mform1\" class=\"mform\" action=\"http://moodle.org/register/\" method=\"post\">\n";
echo '<fieldset id="registration">';
echo '<legend>Registration Information</legend>';
echo '<legend>'.get_string("registrationinfotitle").'</legend>';
echo "<!-- The following hidden variables are to help prevent fake entries being sent. -->\n";
echo "<!-- Together they form a key. If any of these change between updates then the entry -->\n";
echo "<!-- is flagged as a new entry and will be manually checked by the list maintainer -->\n";
echo "<input type=\"hidden\" name=\"url\" value=\"$CFG->wwwroot\" />\n";
echo "<input type=\"hidden\" name=\"secret\" value=\"$CFG->siteidentifier\" />\n";
echo "<input type=\"hidden\" name=\"secret\" value=\"" . get_site_identifier() . "\" />\n";
echo "<input type=\"hidden\" name=\"host\" value=\"".$_SERVER["HTTP_HOST"]."\" />\n";
echo "<input type=\"hidden\" name=\"lang\" value=\"".current_language()."\" />\n";
+20 -1
View File
@@ -5,6 +5,11 @@ require_once('../config.php');
require_once($CFG->dirroot.'/course/lib.php');
require_once($CFG->libdir.'/adminlib.php');
// workaround for problems with compression
if (ini_get('zlib.output_compression')) {
@ini_set('zlib.output_compression', 'Off');
}
admin_externalpage_setup('replace');
$search = optional_param('search', '', PARAM_RAW);
@@ -19,7 +24,7 @@ print_heading('Search and replace text throughout the whole database');
if (!data_submitted() or !$search or !$replace or !confirm_sesskey()) { /// Print a form
print_simple_box_start('center');
echo '<div align="center">';
echo '<div class="mdl-align">';
echo '<form action="replace.php" method="post">';
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
echo 'Search whole database for: <input type="text" name="search" /><br />';
@@ -40,6 +45,20 @@ if (!db_replace($search, $replace)) {
print_simple_box_end();
/// Try to replace some well-known serialised contents (html blocks)
notify('Replacing in html blocks...');
$sql = "SELECT bi.*
FROM {$CFG->prefix}block_instance bi
JOIN {$CFG->prefix}block b ON b.id = bi.blockid
WHERE b.name = 'html'";
if ($instances = get_records_sql($sql)) {
foreach ($instances as $instance) {
$blockobject = block_instance('html', $instance);
$blockobject->config->text = str_replace($search, $replace, $blockobject->config->text);
$blockobject->instance_config_commit($blockobject->pinned);
}
}
/// Rebuild course cache which might be incorrect now
notify('Rebuilding course cache...');
rebuild_course_cache();
+4 -7
View File
@@ -5,13 +5,10 @@
require_once($CFG->libdir.'/adminlib.php');
require_once($CFG->dirroot.'/backup/lib.php');
admin_externalpage_setup('reportbackups');
admin_externalpage_print_header();
$courseid = optional_param('courseid', 0, PARAM_INT);
require_capability('moodle/site:backup', get_context_instance(CONTEXT_SYSTEM));
admin_externalpage_setup('reportbackups');
admin_externalpage_print_header();
/// Scheduled backups are disabled by the server admin
if (!empty($CFG->disablescheduledbackups)) {
@@ -41,7 +38,7 @@
$strcourse = get_string("course");
$strtimetaken = get_string("timetaken","quiz");
$strstatus = get_string("status");
$strnext = get_string("next");
$strnext = get_string("backupnext");
/// Decide when to show last execution logs or detailed logs
/// Lastlog view
@@ -96,7 +93,7 @@
print_simple_box_start('center');
/// First, me get all the distinct backups for that course in backup_log
$executions = get_records_sql("SELECT DISTINCT laststarttime,laststarttime
$executions = get_records_sql("SELECT DISTINCT laststarttime
FROM {$CFG->prefix}backup_log
WHERE courseid = '$courseid'
ORDER BY laststarttime DESC");
+3
View File
@@ -0,0 +1,3 @@
<?php // $Id$
$ADMIN->add('reports', new admin_externalpage('reportbackups', get_string('backups', 'admin'), "$CFG->wwwroot/$CFG->admin/report/backups/index.php",'moodle/site:backup'));
?>
+42
View File
@@ -0,0 +1,42 @@
<?php // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$report_courseoverview_capabilities = array(
'report/courseoverview:view' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'admin' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:viewreports',
)
);
?>
+9 -8
View File
@@ -4,18 +4,19 @@
require_once($CFG->dirroot.'/lib/statslib.php');
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('reportcourseoverview');
admin_externalpage_print_header();
$report = optional_param('report', STATS_REPORT_ACTIVE_COURSES, PARAM_INT);
$time = optional_param('time', 0, PARAM_INT);
$numcourses = optional_param('numcourses', 20, PARAM_INT);
require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM)); // needed?
admin_externalpage_setup('reportcourseoverview');
admin_externalpage_print_header();
if (empty($CFG->enablestats)) {
redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
} else {
error("Stats is not enabled.");
}
}
$course = get_site();
@@ -74,12 +75,12 @@
.$param->extras
." ORDER BY ".$param->orderby;
}
error_log($sql);
$courses = get_records_sql($sql, 0, $numcourses);
if (empty($courses)) {
notify(get_string('statsnodata'));echo '</td></tr></table>';echo '<p>after notify</p>';
notify(get_string('statsnodata'));
echo '</td></tr></table>';
} else {
if (empty($CFG->gdversion)) {
+2 -2
View File
@@ -10,7 +10,7 @@
require_login();
require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM));
require_capability('report/courseoverview:view', get_context_instance(CONTEXT_SYSTEM));
stats_check_uptodate();
@@ -29,7 +29,7 @@
$courses = get_records_sql($sql, 0, $numcourses);
if (empty($courses)) {
print_error('statsnodata', "", $CFG->wwwroot.'/'.$CFG->admin.'/report/course/index.php');
print_error('statsnodata', "", $CFG->wwwroot.'/'.$CFG->admin.'/report/courseoverview/index.php');
}
+3
View File
@@ -0,0 +1,3 @@
<?php // $Id$
$ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('courseoverview', 'admin'), "$CFG->wwwroot/$CFG->admin/report/courseoverview/index.php",'report/courseoverview:view'));
?>
+29
View File
@@ -0,0 +1,29 @@
<?PHP // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$plugin->version = 2007101503;
$plugin->requires = 2007101532;
?>
-31
View File
@@ -1,31 +0,0 @@
<?php // $Id$
require_once('../../../config.php');
require_once($CFG->dirroot.'/course/lib.php');
require_once($CFG->dirroot.'/course/report/log/lib.php');
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('reportlog');
admin_externalpage_print_header();
$course = get_site();
print_heading(get_string('chooselogs') .':');
print_mnet_log_selector_form($CFG->mnet_localhost_id, $course);
echo '<br />';
print_heading(get_string('chooselivelogs') .':');
$heading = link_to_popup_window('/course/report/log/live.php?id='. $course->id,
'livelog', get_string('livelogs'),
500, 800, '', 'none', true);
print_heading($heading, 'center', 3);
admin_externalpage_print_footer();
?>
+5
View File
@@ -0,0 +1,5 @@
<?php // $Id$
// just a link to course report
$ADMIN->add('reports', new admin_externalpage('reportlog', get_string('log', 'admin'), "$CFG->wwwroot/course/report/log/index.php?id=".SITEID, 'coursereport/log:view'));
$ADMIN->add('reports', new admin_externalpage('reportloglive', get_string('loglive', 'coursereport_log'), "$CFG->wwwroot/course/report/log/indexlive.php?id=".SITEID, 'coursereport/log:viewlive'));
?>
+1 -1
View File
@@ -5,8 +5,8 @@
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('reportquestion');
admin_externalpage_print_header();
print_heading(get_string('adminreport', 'question'));
$probstr = '';
+3
View File
@@ -0,0 +1,3 @@
<?php // $Id$
$ADMIN->add('reports', new admin_externalpage('reportquestion', get_string('question', 'admin'), "$CFG->wwwroot/$CFG->admin/report/question/index.php", 'moodle/site:config'));
?>
+36
View File
@@ -0,0 +1,36 @@
<?php // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$report_security_capabilities = array(
'report/security:view' => array(
'riskbitmask' => RISK_CONFIG,
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'admin' => CAP_ALLOW
),
)
);
+127
View File
@@ -0,0 +1,127 @@
<?php //$Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.org //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
require_once('../../../config.php');
require_once($CFG->dirroot.'/'.$CFG->admin.'/report/security/lib.php');
require_once($CFG->libdir.'/adminlib.php');
require_login();
$issue = optional_param('issue', '', PARAM_FILE); // show detailed info about one issue only
$issues = report_security_get_issue_list();
// test if issue valid string
if (array_search($issue, $issues, true) === false) {
$issue = '';
}
// we may need a bit more memory and this may take a long time to process
@raise_memory_limit('128M');
@set_time_limit(0);
// Print the header.
admin_externalpage_setup('reportsecurity');
admin_externalpage_print_header();
print_heading(get_string('reportsecurity', 'report_security'));
echo '<div id="timewarning">'.get_string('timewarning', 'report_security').'</div>';
while(@ob_end_flush());
@flush();
$strok = '<span class="statusok">'.get_string('statusok', 'report_security').'</span>';
$strinfo = '<span class="statusinfo">'.get_string('statusinfo', 'report_security').'</span>';
$strwarning = '<span class="statuswarning">'.get_string('statuswarning', 'report_security').'</span>';
$strserious = '<span class="statusserious">'.get_string('statusserious', 'report_security').'</span>';
$strcritical = '<span class="statuscritical">'.get_string('statuscritical', 'report_security').'</span>';
$strissue = get_string('issue', 'report_security');
$strstatus = get_string('status', 'report_security');
$strdesc = get_string('description', 'report_security');
$strconfig = get_string('configuration', 'report_security');
$statusarr = array(REPORT_SECURITY_OK => $strok,
REPORT_SECURITY_INFO => $strinfo,
REPORT_SECURITY_WARNING => $strwarning,
REPORT_SECURITY_SERIOUS => $strserious,
REPORT_SECURITY_CRITICAL => $strcritical);
$url = "$CFG->wwwroot/$CFG->admin/report/security/index.php";
if ($issue and ($result = $issue(true))) {
report_security_hide_timearning();
$table = new object();
$table->head = array($strissue, $strstatus, $strdesc, $strconfig);
$table->size = array('30%', '10%', '50%', '10%' );
$table->align = array('left', 'left', 'left', 'left');
$table->width = '90%';
$table->data = array();
// print detail of one issue only
$row = array();
$row[0] = report_security_doc_link($issue, $result->name);
$row[1] = $statusarr[$result->status];
$row[2] = $result->info;
$row[3] = is_null($result->link) ? '&nbsp;' : $result->link;
$CFG->pagepath = "report/security/$issue"; // help link in footer
$table->data[] = $row;
print_table($table);
print_box($result->details, 'generalbox boxwidthnormal boxaligncenter'); // TODO: add proper css
print_continue($url);
} else {
report_security_hide_timearning();
$table = new object();
$table->head = array($strissue, $strstatus, $strdesc);
$table->size = array('30%', '10%', '60%' );
$table->align = array('left', 'left', 'left');
$table->width = '90%';
$table->data = array();
foreach ($issues as $issue) {
$result = $issue(false);
if (!$result) {
// ignore this test
continue;
}
$row = array();
$row[0] = "<a href='$url?issue=$result->issue'>$result->name</a>";
$row[1] = $statusarr[$result->status];
$row[2] = $result->info;
$table->data[] = $row;
}
print_table($table);
}
print_footer();
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
<?php //$Id$
$ADMIN->add('reports', new admin_externalpage('reportsecurity', get_string('reportsecurity', 'report_security'), "$CFG->wwwroot/$CFG->admin/report/security/index.php",'report/security:view'));
+29
View File
@@ -0,0 +1,29 @@
<?PHP // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$plugin->version = 2007101500;
$plugin->requires = 2007101533;
?>
+373
View File
@@ -0,0 +1,373 @@
<?php
/**
* Spam Cleaner
*
* Helps an admin to clean up spam in Moodle
*
* @version $Id$
* @authors Dongsheng Cai, Martin Dougiamas, Amr Hourani
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
// Configuration
// List of known spammy keywords, please add more here
$autokeywords = array(
"<img",
"fuck",
"casino",
"porn",
"xxx",
"cialis",
"viagra",
"poker",
"warcraft"
);
/////////////////////////////////////////////////////////////////////////////////
require_once('../../../config.php');
require_once($CFG->libdir.'/adminlib.php');
require_js(array('yui_dom-event', 'yui_connection', 'yui_json'));
$keyword = optional_param('keyword', '', PARAM_RAW);
$autodetect = optional_param('autodetect', '', PARAM_RAW);
$del = optional_param('del', '', PARAM_RAW);
$delall = optional_param('delall', '', PARAM_RAW);
$ignore = optional_param('ignore', '', PARAM_RAW);
$reset = optional_param('reset', '', PARAM_RAW);
$id = optional_param('id', '', PARAM_INT);
require_login();
admin_externalpage_setup('reportspamcleaner');
// Implement some AJAX calls
// Delete one user
if (!empty($del) && confirm_sesskey() && ($id != $USER->id)) {
if (isset($SESSION->users_result[$id])) {
$user = $SESSION->users_result[$id];
if (delete_user($user)) {
unset($SESSION->users_result[$id]);
echo json_encode(true);
} else {
echo json_encode(false);
}
} else {
echo json_encode(false);
}
exit;
}
// Delete lots of users
if (!empty($delall) && confirm_sesskey()) {
if (!empty($SESSION->users_result)) {
foreach ($SESSION->users_result as $userid => $user) {
if ($userid != $USER->id) {
if (delete_user($user)) {
unset($SESSION->users_result[$userid]);
}
}
}
}
echo json_encode(true);
exit;
}
if (!empty($ignore)) {
unset($SESSION->users_result[$id]);
echo json_encode(true);
exit;
}
admin_externalpage_print_header();
// Print headers and things
print_spamcleaner_javascript();
print_box(get_string('spamcleanerintro', 'report_spamcleaner'));
print_box_start(); // The forms section at the top
?>
<div class="mdl-align">
<form method="post" action="index.php">
<div>
<input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
<input type="hidden" name="sesskey" value="<?php echo sesskey();?>" />
<input type="submit" value="<?php echo get_string('spamsearch', 'report_spamcleaner')?>" />
</div>
</form>
<p><?php echo get_string('spameg', 'report_spamcleaner');?></p>
<hr />
<form method="post" action="index.php">
<div>
<input type="submit" name="autodetect" value="<?php echo get_string('spamauto', 'report_spamcleaner');?>" />
</div>
</form>
</div>
<?php
print_box_end();
echo '<div id="result" class="mdl-align">';
// Print list of resulting profiles
if (!empty($keyword)) { // Use the keyword(s) supplied by the user
$keywords = explode(',', $keyword);
foreach ($keywords as $key => $keyword) {
$keywords[$key] = trim($keyword);
}
search_spammers($keywords);
} else if (!empty($autodetect)) { // Use the inbuilt keyword list to detect users
search_spammers($autokeywords);
}
echo '</div>';
/////////////////////////////////////////////////////////////////////////////////
/// Functions
function search_spammers($keywords) {
global $CFG, $USER;
if (!is_array($keywords)) {
$keywords = array($keywords); // Make it into an array
}
$like = sql_ilike();
$keywordfull = array();
foreach ($keywords as $keyword) {
$keyword = addslashes($keyword); // Just to be safe
$keywordfull[] = " description $like '%$keyword%' ";
$keywordfull2[] = " p.summary $like '%$keyword%' ";
}
$conditions = '( '.implode(' OR ', $keywordfull).' )';
$conditions2 = '( '.implode(' OR ', $keywordfull2).' )';
$sql = "SELECT * FROM {$CFG->prefix}user WHERE deleted = 0 AND id <> {$USER->id} AND $conditions"; // Exclude oneself
$sql2= "SELECT u.*, p.summary FROM {$CFG->prefix}user AS u, {$CFG->prefix}post AS p WHERE $conditions2 AND u.deleted = 0 AND u.id=p.userid AND u.id <> {$USER->id}";
$spamusers_desc = get_recordset_sql($sql);
$spamusers_blog = get_recordset_sql($sql2);
$keywordlist = implode(', ', $keywords);
print_box(get_string('spamresult', 'report_spamcleaner').s($keywordlist)).' ...';
print_user_list(array($spamusers_desc, $spamusers_blog), $keywords);
}
function print_user_list($users_rs, $keywords) {
global $CFG, $SESSION;
// reset session everytime this function is called
$SESSION->users_result = array();
$count = 0;
foreach ($users_rs as $rs) {
while ($user = rs_fetch_next_record($rs)) {
if (!$count) {
echo '<table border="1" width="100%" id="data-grid"><tr><th>&nbsp;</th><th>'.get_string('user','admin').'</th><th>'.get_string('spamdesc', 'report_spamcleaner').'</th><th>'.get_string('spamoperation', 'report_spamcleaner').'</th></tr>';
}
$count++;
filter_user($user, $keywords, $count);
}
}
if (!$count) {
echo get_string('spamcannotfinduser', 'report_spamcleaner');
} else {
echo '</table>';
echo '<div class="mld-align">
<button id="removeall_btn">'.get_string('spamdeleteall', 'report_spamcleaner').'</button>
</div>';
}
}
function filter_user($user, $keywords, $count) {
global $CFG;
$image_search = false;
if (in_array('<img', $keywords)) {
$image_search = true;
}
if (isset($user->summary)) {
$user->description = '<h3>'.get_string('spamfromblog', 'report_spamcleaner').'</h3>'.$user->summary;
unset($user->summary);
}
if (preg_match('#<img.*src=[\"\']('.$CFG->pixpath.')#', $user->description, $matches)
&& $image_search) {
$result = false;
foreach ($keywords as $keyword) {
if (preg_match('#'.$keyword.'#', $user->description)
&& ($keyword != '<img')) {
$result = true;
}
}
if ($result) {
echo print_user_entry($user, $keywords, $count);
} else {
unset($user);
}
} else {
echo print_user_entry($user, $keywords, $count);
}
}
function print_user_entry($user, $keywords, $count) {
global $SESSION, $CFG;
$smalluserobject = new object; // All we need to delete them later
$smalluserobject->id = $user->id;
$smalluserobject->email = $user->email;
$smalluserobject->auth = $user->auth;
$smalluserobject->firstname = $user->firstname;
$smalluserobject->lastname = $user->lastname;
if (empty($SESSION->users_result[$user->id])) {
$SESSION->users_result[$user->id] = $smalluserobject;
$html = '<tr valign="top" id="row-'.$user->id.'" class="result-row">';
$html .= '<td width="10">'.$count.'</td>';
$html .= '<td width="30%" align="left"><a href="'.$CFG->wwwroot."/user/view.php?course=1&amp;id=".$user->id.'" title="'.s($user->username).'">'.fullname($user).'</a>';
$html .= "<ul>";
$profile_set = array('city'=>true, 'country'=>true, 'email'=>true);
foreach ($profile_set as $key=>$value) {
if (isset($user->$key)){
$html .= '<li>'.$user->$key.'</li>';
}
}
$html .= "</ul>";
$html .= '</td>';
foreach ($keywords as $keyword) {
$user->description = highlight($keyword, $user->description);
}
$html .= '<td align="left">'.format_text($user->description, FORMAT_MOODLE).'</td>';
$html .= '<td width="100px" align="center">';
$html .= '<button onclick="del_user(this,'.$user->id.')">'.get_string('deleteuser', 'admin').'</button><br />';
$html .= '<button onclick="ignore_user(this,'.$user->id.')">'.get_string('ignore', 'admin').'</button>';
$html .= '</td>';
$html .= '</tr>';
return $html;
} else {
return null;
}
}
function print_spamcleaner_javascript() {
$sesskey = sesskey();
?>
<script type="text/javascript">
//<![CDATA[
var row = null;
var delall_cb = {
success: function(o){
try {
var resp = YAHOO.lang.JSON.parse(o.responseText);
} catch(e) {
alert('<?php echo get_string('spaminvalidresult', 'report_spamcleaner');?>');
return;
}
if(resp == true){
window.location.href=window.location.href;
}
}
}
function init() {
YAHOO.util.Event.addListener("removeall_btn", "click", function(){
var yes = confirm('<?php echo get_string('spamdeleteallconfirm', 'report_spamcleaner');?>');
if(yes){
var cObj = YAHOO.util.Connect.asyncRequest('POST', '<?php echo me();?>?delall=yes&sesskey=<?php echo $sesskey;?>', delall_cb);
}
});
}
var del_cb = {
success: function(o) {
try {
var resp = YAHOO.lang.JSON.parse(o.responseText);
} catch(e) {
alert('<?php echo get_string('spaminvalidresult', 'report_spamcleaner');?>');
return;
}
if(row) {
if(resp == true){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
} else {
alert('<?php echo get_string('spamcannotdelete', 'report_spamcleaner');?>');
}
}
}
}
var ignore_cb = {
success: function(o){
try {
var resp = YAHOO.lang.JSON.parse(o.responseText);
} catch(e) {
alert('<?php echo get_string('spaminvalidresult', 'report_spamcleaner');?>');
return;
}
if(row) {
if(resp == true){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
}
}
}
}
function del_user(obj, id) {
var yes = confirm('<?php echo get_string('spamdeleteconfirm', 'report_spamcleaner');?>');
if(yes){
row = obj;
var cObj = YAHOO.util.Connect.asyncRequest('POST', '<?php echo me();?>?del=yes&sesskey=<?php echo $sesskey;?>&id='+id, del_cb);
}
}
function ignore_user(obj, id) {
row = obj;
var cObj = YAHOO.util.Connect.asyncRequest('POST', '<?php echo me();?>?ignore=yes&sesskey=<?php echo $sesskey;?>&id='+id, ignore_cb);
}
YAHOO.util.Event.onDOMReady(init);
//]]>
</script>
<?php
}
admin_externalpage_print_footer();
?>
+5
View File
@@ -0,0 +1,5 @@
<?php
// spam cleaner
$ADMIN->add('reports', new admin_externalpage('reportspamcleaner', get_string('spamcleaner','report_spamcleaner'), "$CFG->wwwroot/$CFG->admin/report/spamcleaner/index.php", 'moodle/site:config'));
-75
View File
@@ -1,75 +0,0 @@
<?php // $Id$
require_once('../../../config.php');
require_once($CFG->dirroot.'/lib/statslib.php');
require_once($CFG->dirroot.'/course/report/stats/lib.php');
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('reportstats');
admin_externalpage_print_header();
$courseid = optional_param('course', SITEID, PARAM_INT);
$report = optional_param('report', 0, PARAM_INT);
$time = optional_param('time', 0, PARAM_INT);
$mode = optional_param('mode', STATS_MODE_GENERAL, PARAM_INT);
$userid = optional_param('userid', 0, PARAM_INT);
$roleid = 0;
if ($report > 50) {
$roleid = substr($report,1);
$report = 5;
}
if ($report == STATS_REPORT_USER_LOGINS) {
$courseid = SITEID; //override
}
if ($mode == STATS_MODE_RANKED) {
redirect($CFG->wwwroot.'/'.$CFG->admin.'/report/stats/index.php?time='.$time, '', 3);
}
if (!$course = get_record("course","id",$courseid)) {
error("That's an invalid course id");
}
if (!empty($userid)) {
if (!$user = get_record('user','id',$userid)) {
error("That's an invalid user id");
}
}
require_login();
if (empty($CFG->enablestats)) {
redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
}
require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM));
add_to_log($course->id, "course", "report stats", "report/stats/index.php?course=$course->id", $course->id);
stats_check_uptodate($course->id);
// $strreports = get_string("reports");
// $strstats = get_string('stats');
//
// $menu = report_stats_mode_menu($course, $mode, $time); // add 4th $url parameter if uncommented!
//
//
// $crumb = "<a href=\"{$CFG->wwwroot}/admin\">".get_string('administration')."</a> ->
// <a href=\"{$CFG->wwwroot}/admin/report.php\">$strreports</a> ->
// $strstats";
// print_header("$course->shortname: $strstats", "$course->fullname",
// $crumb, '', '', true, '&nbsp;', $menu);
require_once($CFG->dirroot.'/course/report/stats/report.php');
admin_externalpage_print_footer();
?>
+4
View File
@@ -0,0 +1,4 @@
<?php // $Id$
// just a link to course report
$ADMIN->add('reports', new admin_externalpage('reportstats', get_string('stats', 'admin'), "$CFG->wwwroot/course/report/stats/index.php", 'coursereport/stats:view'));
?>
+40
View File
@@ -0,0 +1,40 @@
<?php // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$report_unittest_capabilities = array(
'report/unittest:view' => array(
'riskbitmask' => RISK_DATALOSS,
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'admin' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:config',
)
);
?>
@@ -66,22 +66,39 @@ class ExHtmlReporter extends HtmlReporter {
function paintFail($message) {
// Explicitly call grandparent, not parent::paintFail.
SimpleScorer::paintFail($message);
$this->_paintPassFail('fail', $message);
$this->_paintPassFail('fail', $message, debug_backtrace());
}
/**
* Called when an error (uncaught exception or PHP error) needs to be output.
*/
function paintError($message) {
// Explicitly call grandparent, not parent::paintFail.
// Explicitly call grandparent, not parent::paintError.
SimpleScorer::paintError($message);
$this->_paintPassFail('exception', $message);
}
/**
* Private method. Used by printPass/Fail/Error.
* Called when a caught exception needs to be output.
*/
function _paintPassFail($passorfail, $message) {
function paintException($exception) {
// Explicitly call grandparent, not parent::paintException.
SimpleScorer::paintException($exception);
$message = 'Unexpected exception of type [' . get_class($exception) .
'] with message ['. $exception->getMessage() .
'] in ['. $exception->getFile() .
' line ' . $exception->getLine() . ']';
$stacktrace = null;
if (method_exists($exception, 'getTrace')) {
$stacktrace = $exception->getTrace();
}
$this->_paintPassFail('exception', $message, $stacktrace);
}
/**
* Private method. Used by printPass/Fail/Error/Exception.
*/
function _paintPassFail($passorfail, $message, $stacktrace = null) {
global $FULLME, $CFG;
print_simple_box_start('', '100%', '', 5, $passorfail . ' generalbox');
@@ -100,6 +117,25 @@ class ExHtmlReporter extends HtmlReporter {
echo "<a href=\"{$url}path=$folder$file\" title=\"$this->strrunonlyfile\">$file</a>";
echo $this->strseparator, implode($this->strseparator, $breadcrumb);
echo $this->strseparator, '<br />', $this->_htmlEntities($message), "\n\n";
if ($stacktrace) {
$dotsadded = false;
$interestinglines = 0;
$filteredstacktrace = array();
foreach ($stacktrace as $frame) {
if (empty($frame['file']) || (strpos($frame['file'], 'simpletestlib') === false
&& strpos($frame['file'], 'report/unittest') === false)) {
$filteredstacktrace[] = $frame;
$interestinglines += 1;
$dotsadded = false;
} else if (!$dotsadded) {
$filteredstacktrace[] = array('line' => '...', 'file' => '...');
$dotsadded = true;
}
}
if ($interestinglines > 1 || $passorfail == 'exception') {
echo '<div class="notifytiny">' . format_backtrace($filteredstacktrace) . "</div>\n\n";
}
}
print_simple_box_end();
flush();
}
@@ -193,4 +229,45 @@ class ExHtmlReporter extends HtmlReporter {
return get_string($identifier, 'simpletest', $a);
}
}
/**
* Formats a backtrace ready for output.
*
* @param array $callers backtrace array, as returned by debug_backtrace().
* @param boolean $plaintext if false, generates HTML, if true generates plain text.
* @return string formatted backtrace, ready for output.
*/
function format_backtrace($callers, $plaintext = false) {
// do not use $CFG->dirroot because it might not be available in destructors
$dirroot = dirname(dirname(__FILE__));
if (empty($callers)) {
return '';
}
$from = $plaintext ? '' : '<ul style="text-align: left">';
foreach ($callers as $caller) {
if (!isset($caller['line'])) {
$caller['line'] = '?'; // probably call_user_func()
}
if (!isset($caller['file'])) {
$caller['file'] = 'unknownfile'; // probably call_user_func()
}
$from .= $plaintext ? '* ' : '<li>';
$from .= 'line ' . $caller['line'] . ' of ' . str_replace($dirroot, '', $caller['file']);
if (isset($caller['function'])) {
$from .= ': call to ';
if (isset($caller['class'])) {
$from .= $caller['class'] . $caller['type'];
}
$from .= $caller['function'] . '()';
} else if (isset($caller['exception'])) {
$from .= ': '.$caller['exception'].' thrown';
}
$from .= $plaintext ? "\n" : '</li>';
}
$from .= $plaintext ? '' : '</ul>';
return $from;
}
?>
@@ -22,13 +22,13 @@ require_once($CFG->libdir . '/simpletestlib/test_case.php');
* them into a group test.
* @package SimpleTestEx
*/
class AutoGroupTest extends GroupTest {
class AutoGroupTest extends TestSuite {
var $thorough;
var $showsearch;
function AutoGroupTest($showsearch, $thorough, $test_name = null) {
$this->GroupTest($test_name);
$this->TestSuite($test_name);
$this->showsearch = $showsearch;
$this->thorough = $thorough;
}
@@ -56,7 +56,7 @@ class AutoGroupTest extends GroupTest {
}
$file_path = $path . '/' . $file;
if (is_dir($file_path)) {
if ($file != 'CVS' && !in_array($file_path, $this->ignorefolders)) {
if ($file != 'CVS' && $file != '.git' && !in_array($file_path, $this->ignorefolders)) {
$this->_recurseFolders($file_path);
}
} elseif (preg_match('/simpletest(\/|\\\\)test.*\.php$/', $file_path) ||
@@ -16,14 +16,6 @@ require_once($CFG->libdir.'/simpletestlib.php');
require_once('ex_simple_test.php');
require_once('ex_reporter.php');
require_login();
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
/* The UNITTEST constant can be checked elsewhere if you need to know
* when your code is being run as part of a unit test. */
define('UNITTEST', true);
$langfile = 'simpletest';
// CGI arguments
$path = optional_param('path', null, PARAM_PATH);
$showpasses = optional_param('showpasses', false, PARAM_BOOL);
@@ -31,10 +23,17 @@ $showsearch = optional_param('showsearch', false, PARAM_BOOL);
$thorough = optional_param('thorough', false, PARAM_BOOL);
// Print the header.
admin_externalpage_setup('reportsimpletest');
$strtitle = get_string('unittests', $langfile);
admin_externalpage_setup('reportunittest', '', array('showpasses' => $showpasses,
'showsearch' => $showsearch, 'thorough' => $thorough));
admin_externalpage_print_header();
/* The UNITTEST constant can be checked elsewhere if you need to know
* when your code is being run as part of a unit test. */
define('UNITTEST', true);
$langfile = 'simpletest';
$strtitle = get_string('unittests', $langfile);
if (!is_null($path)) {
// Create the group of tests.
$test =& new AutoGroupTest($showsearch, $thorough);
+3
View File
@@ -0,0 +1,3 @@
<?php //$Id$
$ADMIN->add('reports', new admin_externalpage('reportunittest', get_string('simpletest', 'admin'), "$CFG->wwwroot/$CFG->admin/report/unittest/index.php", 'report/unittest:view'));
?>
+29
View File
@@ -0,0 +1,29 @@
<?PHP // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
$plugin->version = 2007101501;
$plugin->requires = 2007101532;
?>
+4 -4
View File
@@ -10,8 +10,7 @@
require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('defineroles');
admin_externalpage_setup('defineroles', '', array(), $CFG->wwwroot . '/' . $CFG->admin . '/roles/allowassign.php');
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
require_capability('moodle/role:manage', $sitecontext);
@@ -22,10 +21,10 @@
$roles = get_all_roles();
if ($grant = data_submitted()) {
if ($grant = data_submitted() and confirm_sesskey()) {
foreach ($grant as $grole => $val) {
if ($grole == 'dummy') {
if ($grole == 'dummy' or !strpos($grole, '_')) {
continue;
}
@@ -82,6 +81,7 @@
print_table($table);
echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/>';
echo '<input type="hidden" name="dummy" value="1" />'; // this is needed otherwise we do not know a form has been submitted
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '</div></form>';
admin_externalpage_print_footer();
+4 -4
View File
@@ -8,8 +8,7 @@
require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('defineroles');
admin_externalpage_setup('defineroles', '', array(), $CFG->wwwroot . '/' . $CFG->admin . '/roles/allowoverride.php');
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
require_capability('moodle/role:manage', $sitecontext);
@@ -20,10 +19,10 @@
$roles = get_all_roles();
if ($grant = data_submitted()) {
if ($grant = data_submitted() and confirm_sesskey()) {
foreach ($grant as $grole => $val) {
if ($grole == 'dummy') {
if ($grole == 'dummy' or !strpos($grole, '_')) {
continue;
}
@@ -80,6 +79,7 @@
print_table($table);
echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/>';
echo '<input type="hidden" name="dummy" value="1" />'; // this is needed otherwise we do not know a form has been submitted
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '</div></form>';
admin_externalpage_print_footer();
+22 -11
View File
@@ -72,7 +72,7 @@
$straction = get_string('assignroles', 'role');
$strroletoassign = get_string('roletoassign', 'role');
$strsearch = get_string('search');
$strshowall = get_string('showall');
$strshowall = get_string('showallusers');
$strparticipants = get_string('participants');
$strsearchresults = get_string('searchresults');
@@ -144,11 +144,11 @@
$currenttab = 'assign';
include_once($CFG->dirroot.'/user/tabs.php');
} else if ($context->contextlevel == CONTEXT_SYSTEM) {
admin_externalpage_setup('assignroles');
admin_externalpage_print_header();
admin_externalpage_setup('assignroles', '', array('contextid' => $contextid, 'roleid' => $roleid));
admin_externalpage_print_header('');
} else if ($context->contextlevel==CONTEXT_COURSE and $context->instanceid == SITEID) {
admin_externalpage_setup('frontpageroles');
admin_externalpage_print_header();
admin_externalpage_setup('frontpageroles', '', array('contextid' => $contextid, 'roleid' => $roleid));
admin_externalpage_print_header('');
$currenttab = 'assign';
include_once('tabs.php');
} else {
@@ -290,7 +290,7 @@
$selectsql = "";
}
if ($context->contextlevel > CONTEXT_COURSE) { // mod or block (or group?)
if ($context->contextlevel > CONTEXT_COURSE && !is_inside_frontpage($context)) { // mod or block (or group?)
/************************************************************************
* *
@@ -325,7 +325,7 @@
if ($validroleids) {
$roleids = '('.implode(',', $validroleids).')';
$select = " SELECT u.id, u.firstname, u.lastname, u.email";
$select = " SELECT DISTINCT u.id, u.firstname, u.lastname, u.email";
$countselect = "SELECT COUNT(u.id)";
$from = " FROM {$CFG->prefix}user u
INNER JOIN {$CFG->prefix}role_assignments ra ON ra.userid = u.id
@@ -395,6 +395,12 @@
notify($msg);
print_simple_box_end();
}
//Back to Assign Roles button
echo "<br/>";
echo "<div class='continuebutton'>";
print_single_button('assign.php', array('contextid' => $contextid), get_string('assignrolesin', 'role', print_context_name($context)));
echo "</div>";
} else { // Print overview table
@@ -429,7 +435,8 @@
$rolehodlernames[$roleid] = '';
}
}
// Print overview table
$table->tablealign = 'center';
$table->cellpadding = 5;
@@ -452,10 +459,14 @@
}
$table->data[] = $row;
}
print_table($table);
//Continue to Course Button
echo "<br/>";
echo "<div class='continuebutton'>";
print_single_button($CFG->wwwroot.'/course/view.php', array('id' => $courseid), get_string('continuetocourse'));
echo "</div>";
}
print_footer($course);
?>
+3 -3
View File
@@ -24,7 +24,7 @@
<?php if ($action == 'view') { ?>
<tr valign="top">
<td align="right"><?php print_string('name') ?>:</td>
<td><?php p($role->name); ?></td>
<td><?php p(format_string($role->name)); ?></td>
</tr>
<tr valign="top">
<td align="right"><?php print_string('shortname') ?>:</td>
@@ -32,11 +32,11 @@
</tr>
<tr valign="top">
<td align="right"><?php print_string('description') ?>:</td>
<td><?php p($role->description); $usehtmleditor = false; ?></td>
<td><?php p(format_text($role->description, FORMAT_HTML)); $usehtmleditor = false; ?></td>
</tr>
<tr valign="top">
<td align="right"><?php print_string('legacytype', 'role') ?>:</td>
<td><?php
<td><?php
$usehtmleditor = false;
if (empty($role->legacytype)) {
print_string('none');
+3 -3
View File
@@ -4,8 +4,6 @@
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('defineroles');
$roleid = optional_param('roleid', 0, PARAM_INT); // if set, we are editing a role
$name = optional_param('name', '', PARAM_MULTILANG); // new role name
$shortname = optional_param('shortname', '', PARAM_RAW); // new role shortname, special cleaning before storage
@@ -14,6 +12,8 @@
$confirm = optional_param('confirm', 0, PARAM_BOOL);
$cancel = optional_param('cancel', 0, PARAM_BOOL);
admin_externalpage_setup('defineroles', '', array('roleid' => $roleid));
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
require_capability('moodle/role:manage', $sitecontext);
@@ -414,7 +414,7 @@
/// print UI now
admin_externalpage_print_header();
admin_externalpage_print_header('');
$currenttab = 'manage';
include_once('managetabs.php');
+1 -1
View File
@@ -171,7 +171,7 @@
include_once($CFG->dirroot.'/user/tabs.php');
} else if ($context->contextlevel==CONTEXT_COURSE and $context->instanceid == SITEID) {
require_once($CFG->libdir.'/adminlib.php');
admin_externalpage_setup('frontpageroles');
admin_externalpage_setup('frontpageroles', '', array('contextid' => $contextid, 'roleid' => $roleid), $CFG->wwwroot . '/' . $CFG->admin . '/roles/override.php');
admin_externalpage_print_header();
$currenttab = 'override';
include_once('tabs.php');
+4 -4
View File
@@ -35,6 +35,9 @@ if ($currenttab != 'update') {
$navlinks[] = array('name' => $category->name,
'link' => "$CFG->wwwroot/course/category.php?id=$category->id",
'type' => 'misc');
$navlinks[] = array('name' => get_string("roles"),
'link' => null,
'type' => 'misc');
$navigation = build_navigation($navlinks);
print_header("$SITE->shortname: $category->name", "$SITE->fullname: $strcourses", $navigation, "", "", true);
@@ -48,16 +51,13 @@ if ($currenttab != 'update') {
require_login($course);
$navlinks[] = array('name' => get_string('roles'),
'link' => "$CFG->wwwroot/admin/roles/assign.php?contextid=$context->id",
'link' => "$CFG->wwwroot/$CFG->admin/roles/assign.php?contextid=$context->id",
'type' => 'misc');
$navigation = build_navigation($navlinks);
print_header($streditcoursesettings, $course->fullname, $navigation);
}
break;
case CONTEXT_GROUP:
break;
case CONTEXT_MODULE:
// get module type?
if (!$cm = get_record('course_modules','id',$context->instanceid)) {
+3
View File
@@ -44,6 +44,8 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_special_calendar_weekend());
$temp->add(new admin_setting_configtext('calendar_lookahead',get_string('configlookahead','admin'),get_string('helpupcominglookahead', 'admin'),21,PARAM_INT));
$temp->add(new admin_setting_configtext('calendar_maxevents',get_string('configmaxevents','admin'),get_string('helpupcomingmaxevents', 'admin'),10,PARAM_INT));
$temp->add(new admin_setting_configcheckbox('enablecalendarexport', get_string('enablecalendarexport', 'admin'), get_string('configenablecalendarexport','admin'), 1));
$temp->add(new admin_setting_configtext('calendar_exportsalt', get_string('calendarexportsalt','admin'), get_string('configcalendarexportsalt', 'admin'), random_string(60)));
$ADMIN->add('appearance', $temp);
// "htmleditor" settingpage
@@ -75,6 +77,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp = new admin_settingpage('mymoodle', get_string('mymoodle', 'admin'));
$temp->add(new admin_setting_configcheckbox('mymoodleredirect', get_string('mymoodleredirect', 'admin'), get_string('configmymoodleredirect', 'admin'), 0));
$temp->add(new admin_setting_configtext('mycoursesperpage', get_string('mycoursesperpage', 'admin'), get_string('configmycoursesperpage', 'admin'), 21, PARAM_INT));
$ADMIN->add('appearance', $temp);
// new CFG variable for coursemanager (what roles to display)
+49 -3
View File
@@ -4,19 +4,64 @@
if ($hassiteconfig
or has_capability('moodle/site:backup', $systemcontext)
or has_capability('moodle/category:update', $systemcontext)) { // speedup for non-admins, add all caps used on this page
or has_capability('moodle/category:manage', $systemcontext)
or has_capability('moodle/course:create', $systemcontext)
or has_capability('moodle/site:approvecourse', $systemcontext)) { // speedup for non-admins, add all caps used on this page
$ADMIN->add('courses', new admin_externalpage('coursemgmt', get_string('coursemgmt', 'admin'), $CFG->wwwroot . '/course/index.php?categoryedit=on','moodle/category:update'));
$ADMIN->add('courses', new admin_externalpage('coursemgmt', get_string('coursemgmt', 'admin'), $CFG->wwwroot . '/course/index.php?categoryedit=on',
array('moodle/category:manage', 'moodle/course:create')));
$ADMIN->add('courses', new admin_enrolment_page());
/// Course Default Settings Page
/// NOTE: these settings must be applied after all other settings because they depend on them
/// NOTE: these are a subset of the complete defaults available in 2.0
///general course settings
$temp = new admin_settingpage('coursesettings', get_string('coursesettings'));
$courseformats = get_list_of_plugins('course/format');
$formcourseformats = array();
foreach ($courseformats as $courseformat) {
$formcourseformats["$courseformat"] = get_string("format$courseformat","format_$courseformat");
if ($formcourseformats["$courseformat"]=="[[format$courseformat]]") {
$formcourseformats["$courseformat"] = get_string("format$courseformat");
}
}
$temp->add(new admin_setting_configselect('moodlecourse/format', get_string('format'), get_string('coursehelpformat'), 'weeks',$formcourseformats));
for ($i=1; $i<=52; $i++) {
$sectionmenu[$i] = "$i";
}
$temp->add(new admin_setting_configselect('moodlecourse/numsections', get_string('numberweeks'), get_string('coursehelpnumberweeks'), 10, $sectionmenu));
$choices = array();
$choices['0'] = get_string('hiddensectionscollapsed');
$choices['1'] = get_string('hiddensectionsinvisible');
$temp->add(new admin_setting_configselect('moodlecourse/hiddensections', get_string('hiddensections'), get_string('coursehelphiddensections'), 0,$choices));
$options = range(0, 10);
$temp->add(new admin_setting_configselect('moodlecourse/newsitems', get_string('newsitemsnumber'), get_string('coursehelpnewsitemsnumber'), 5,$options));
$temp->add(new admin_setting_configselect('moodlecourse/showgrades', get_string('showgrades'), get_string('coursehelpshowgrades'), 1,array(0 => get_string('no'), 1 => get_string('yes'))));
$temp->add(new admin_setting_configselect('moodlecourse/showreports', get_string('showreports'), '', 0,array(0 => get_string('no'), 1 => get_string('yes'))));
if (isset($CFG->maxbytes)) {
$choices = get_max_upload_sizes($CFG->maxbytes);
} else {
$choices = get_max_upload_sizes();
}
$temp->add(new admin_setting_configselect('moodlecourse/maxbytes', get_string('maximumupload'), get_string('coursehelpmaximumupload'), key($choices), $choices));
$temp->add(new admin_setting_configselect('moodlecourse/metacourse', get_string('metacourse'), get_string('coursehelpmetacourse'), 0,array(0 => get_string('no'), 1 => get_string('yes'))));
$ADMIN->add('courses', $temp);
// "courserequests" settingpage
$temp = new admin_settingpage('courserequest', get_string('courserequest'));
$temp->add(new admin_setting_configcheckbox('enablecourserequests', get_string('enablecourserequests', 'admin'), get_string('configenablecourserequests', 'admin'), 0));
$temp->add(new admin_settings_coursecat_select('defaultrequestcategory', get_string('defaultrequestcategory', 'admin'), get_string('configdefaultrequestcategory', 'admin'), 1));
$temp->add(new admin_setting_users_with_capability('courserequestnotify', get_string('courserequestnotify', 'admin'), get_string('configcourserequestnotify2', 'admin'), array(), 'moodle/site:approvecourse'));
$ADMIN->add('courses', $temp);
// Pending course requests.
if (!empty($CFG->enablecourserequests)) {
$ADMIN->add('courses', new admin_externalpage('coursespending', get_string('pendingrequests'),
$CFG->wwwroot . '/course/pending.php', array('moodle/site:approvecourse')));
}
// "backups" settingpage
if (!empty($CFG->backup_version)) {
$bi = array();
@@ -29,6 +74,7 @@ if ($hassiteconfig
$bi[] = new admin_setting_configcheckbox('backup_sche_userfiles', get_string('userfiles'), get_string('backupuserfileshelp'), 0);
$bi[] = new admin_setting_configcheckbox('backup_sche_coursefiles', get_string('coursefiles'), get_string('backupcoursefileshelp'), 0);
$bi[] = new admin_setting_configcheckbox('backup_sche_sitefiles', get_string('sitefiles'), get_string('backupsitefileshelp'), 0);
$bi[] = new admin_setting_configcheckbox('backup_sche_gradebook_history', get_string('gradebookhistories', 'grades'), get_string('backupgradebookhistoryhelp'), 0);
$bi[] = new admin_setting_configcheckbox('backup_sche_messages', get_string('messages', 'message'), get_string('backupmessageshelp','message'), 0);
$bi[] = new admin_setting_configcheckbox('backup_sche_blogs', get_string('blogs', 'blog'), get_string('backupblogshelp','blog'), 0);
$bi[] = new admin_setting_configselect('backup_sche_keep', get_string('keep'),
+8
View File
@@ -26,6 +26,14 @@ if (get_site()) { //do not use during installation
$temp->add(new admin_setting_special_frontpagedesc());
$temp->add(new admin_setting_courselist_frontpage(false)); // non-loggedin version of the setting (that's what the parameter is for :) )
$temp->add(new admin_setting_courselist_frontpage(true)); // loggedin version of the setting
$options = array();
$options[] = get_string('unlimited');
for ($i=1; $i<100; $i++) {
$options[$i] = $i;
}
$temp->add(new admin_setting_configselect('maxcategorydepth', get_string('configsitemaxcategorydepth','admin'), get_string('configsitemaxcategorydepthhelp','admin'), 0, $options));
$temp->add(new admin_setting_sitesetcheckbox('numsections', get_string('sitesection'), get_string('sitesectionhelp','admin'), 1));
$temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnumber'), '', 3,
array('0' => '0',
+33 -11
View File
@@ -5,11 +5,23 @@
if (has_capability('moodle/grade:manage', $systemcontext)
or has_capability('moodle/grade:manageletters', $systemcontext)) { // speedup for non-admins, add all caps used on this page
require_once $CFG->libdir.'/grade/constants.php';
$display_types = array(GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'),
GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'),
GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'),
GRADE_DISPLAY_TYPE_REAL_PERCENTAGE => get_string('realpercentage', 'grades'),
GRADE_DISPLAY_TYPE_REAL_LETTER => get_string('realletter', 'grades'),
GRADE_DISPLAY_TYPE_LETTER_REAL => get_string('letterreal', 'grades'),
GRADE_DISPLAY_TYPE_LETTER_PERCENTAGE => get_string('letterpercentage', 'grades'),
GRADE_DISPLAY_TYPE_PERCENTAGE_LETTER => get_string('percentageletter', 'grades'),
GRADE_DISPLAY_TYPE_PERCENTAGE_REAL => get_string('percentagereal', 'grades')
);
asort($display_types);
// General settings
$temp = new admin_settingpage('gradessettings', get_string('generalsettings', 'grades'), 'moodle/grade:manage');
if ($ADMIN->fulltree) {
require_once $CFG->libdir.'/grade/constants.php';
// new CFG variable for gradebook (what roles to display)
$temp->add(new admin_setting_special_gradebookroles());
@@ -32,10 +44,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
$temp->add(new admin_setting_configcheckbox('gradepublishing', get_string('gradepublishing', 'grades'), get_string('configgradepublishing', 'grades'), 0));
$temp->add(new admin_setting_configselect('grade_export_displaytype', get_string('gradeexportdisplaytype', 'grades'),
get_string('configgradeexportdisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL,
array(GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'),
GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'),
GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'))));
get_string('configgradeexportdisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL, $display_types));
$temp->add(new admin_setting_configselect('grade_export_decimalpoints', get_string('gradeexportdecimalpoints', 'grades'),
get_string('configexportdecimalpoints', 'grades'), 2,
@@ -45,8 +54,14 @@ if (has_capability('moodle/grade:manage', $systemcontext)
'3' => '3',
'4' => '4',
'5' => '5')));
$temp->add(new admin_setting_configselect('grade_navmethod', get_string('navmethod', 'grades'), null, 0,
array(GRADE_NAVMETHOD_DROPDOWN => get_string('dropdown', 'grades'),
GRADE_NAVMETHOD_TABS => get_string('tabs', 'grades'),
GRADE_NAVMETHOD_COMBO => get_string('combo', 'grades'))));
$temp->add(new admin_setting_special_gradeexport());
$temp->add(new admin_setting_special_gradelimiting());
}
$ADMIN->add('grades', $temp);
@@ -67,9 +82,17 @@ if (has_capability('moodle/grade:manage', $systemcontext)
GRADE_AGGREGATE_MAX =>get_string('aggregatemax', 'grades'),
GRADE_AGGREGATE_MODE =>get_string('aggregatemode', 'grades'),
GRADE_AGGREGATE_SUM =>get_string('aggregatesum', 'grades'));
$defaultvisible = array(GRADE_AGGREGATE_MEAN, GRADE_AGGREGATE_WEIGHTED_MEAN, GRADE_AGGREGATE_WEIGHTED_MEAN2,
GRADE_AGGREGATE_EXTRACREDIT_MEAN, GRADE_AGGREGATE_MEDIAN, GRADE_AGGREGATE_MIN,
GRADE_AGGREGATE_MAX, GRADE_AGGREGATE_MODE, GRADE_AGGREGATE_SUM);
$defaults = array('value'=>GRADE_AGGREGATE_WEIGHTED_MEAN2, 'forced'=>false, 'adv'=>false);
$temp->add(new admin_setting_gradecat_combo('grade_aggregation', get_string('aggregation', 'grades'), get_string('aggregationhelp', 'grades'), $defaults, $options));
$temp->add(new admin_setting_configmultiselect('grade_aggregations_visible', get_string('aggregationsvisible', 'grades'),
get_string('aggregationsvisiblehelp', 'grades'), $defaultvisible, $options));
$options = array(0 => get_string('no'), 1 => get_string('yes'));
$defaults = array('value'=>1, 'forced'=>false, 'adv'=>true);
@@ -101,10 +124,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
$temp = new admin_settingpage('gradeitemsettings', get_string('gradeitemsettings', 'grades'), 'moodle/grade:manage');
if ($ADMIN->fulltree) {
$temp->add(new admin_setting_configselect('grade_displaytype', get_string('gradedisplaytype', 'grades'),
get_string('configgradedisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL,
array(GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'),
GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'),
GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'))));
get_string('configgradedisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL, $display_types));
$temp->add(new admin_setting_configselect('grade_decimalpoints', get_string('decimalpoints', 'grades'),
get_string('configdecimalpoints', 'grades'), 2,
@@ -142,8 +162,10 @@ if (has_capability('moodle/grade:manage', $systemcontext)
$scales = new admin_externalpage('scales', get_string('scales'), $CFG->wwwroot.'/grade/edit/scale/index.php', 'moodle/grade:manage');
$ADMIN->add('grades', $scales);
$outcomes = new admin_externalpage('outcomes', get_string('outcomes', 'grades'), $CFG->wwwroot.'/grade/edit/outcome/index.php', 'moodle/grade:manage');
$ADMIN->add('grades', $outcomes);
if (!empty($CFG->enableoutcomes)) {
$outcomes = new admin_externalpage('outcomes', get_string('outcomes', 'grades'), $CFG->wwwroot.'/grade/edit/outcome/index.php', 'moodle/grade:manage');
$ADMIN->add('grades', $outcomes);
}
$letters = new admin_externalpage('letters', get_string('letters', 'grades'), $CFG->wwwroot.'/grade/edit/letter/edit.php', 'moodle/grade:manageletters');
$ADMIN->add('grades', $letters);
+6
View File
@@ -12,6 +12,12 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$item->set_updatedcallback('reset_text_filters_cache');
$temp->add($item);
$temp->add(new admin_setting_configcheckbox('enablegroupings', get_string('enablegroupings', 'admin'), get_string('configenablegroupings', 'admin'), 0));
$rqsetting = new admin_setting_configcheckbox('selectmanual', get_string('selectmanualquestions', 'qtype_random'), get_string('configselectmanualquestions', 'qtype_random'), 0);
$rqsetting->plugin = 'qtype_random';
$temp->add($rqsetting);
$temp->add(new admin_setting_configcheckbox('experimentalsplitrestore', get_string('experimentalsplitrestore', 'admin'), get_string('configexperimentalsplitrestore', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('enableimsccimport', get_string('enable_cc_import', 'imscc'), get_string('enable_cc_import_description', 'imscc'), 0));
$temp->add(new admin_setting_configcheckbox('enablesafebrowserintegration', get_string('enablesafebrowserintegration', 'admin'), get_string('configenablesafebrowserintegration', 'admin'), 0));
$ADMIN->add('misc', $temp);
+21 -2
View File
@@ -138,9 +138,28 @@ if ($hassiteconfig) {
$ADMIN->add('filtersettings', $settings);
} else if (file_exists("$CFG->dirroot/$filterfull/filterconfig.html")) {
$ADMIN->add('filtersettings', new admin_externalpage('filtersetting'.str_replace('/', '', $filterfull), $strfiltername, "$CFG->wwwroot/$CFG->admin/filter.php?filter=$filterfull", !in_array($filterfull, $activefilters)));
$ADMIN->add('filtersettings', new admin_externalpage('filtersetting'.str_replace('/', '', $filterfull), $strfiltername, "$CFG->wwwroot/$CFG->admin/filter.php?filter=$filterfull", 'moodle/site:config', !in_array($filterfull, $activefilters)));
}
}
}
}
?>
/// Now add reports
foreach (get_list_of_plugins($CFG->admin.'/report') as $plugin) {
$settings_path = "$CFG->dirroot/$CFG->admin/report/$plugin/settings.php";
if (file_exists($settings_path)) {
include($settings_path);
continue;
}
$index_path = "$CFG->dirroot/$CFG->admin/report/$plugin/index.php";
if (!file_exists($index_path)) {
continue;
}
// old style 3rd party plugin without settings.php
$www_path = "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php";
$reportname = get_string($plugin, 'report_' . $plugin);
$ADMIN->add('reports', new admin_externalpage('report'.$plugin, $reportname, $www_path, 'moodle/site:viewreports'));
}
+13 -5
View File
@@ -8,6 +8,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheckbox('protectusernames', get_string('protectusernames', 'admin'), get_string('configprotectusernames', 'admin'), 1));
$temp->add(new admin_setting_configcheckbox('forcelogin', get_string('forcelogin', 'admin'), get_string('configforcelogin', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('forceloginforprofiles', get_string('forceloginforprofiles', 'admin'), get_string('configforceloginforprofiles', 'admin'), 1));
$temp->add(new admin_setting_configcheckbox('forceloginforprofileimage', get_string('forceloginforprofileimage', 'admin'), get_string('forceloginforprofileimage_help', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('opentogoogle', get_string('opentogoogle', 'admin'), get_string('configopentogoogle', 'admin'), 0));
$max_upload_choices = get_max_upload_sizes();
@@ -26,7 +27,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
2700 => get_string('numminutes', '', 45),
3600 => get_string('numminutes', '', 60))));
$temp->add(new admin_setting_configselect('fullnamedisplay', get_string('fullnamedisplay', 'admin'), get_string('configfullnamedisplay', 'admin'),
'firstname lastname', array('language' => get_string('language'),
'language', array('language' => get_string('language'),
'firstname lastname' => get_string('firstname').' + '.get_string('lastname'),
'lastname firstname' => get_string('lastname').' + '.get_string('firstname'),
'firstname' => get_string('firstname'))));
@@ -40,10 +41,13 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
0 => get_string('disableblogs','blog'))));
$temp->add(new admin_setting_configcheckbox('usetags', get_string('usetags','admin'),get_string('configusetags', 'admin'),'1'));
$temp->add(new admin_setting_configcheckbox('keeptagnamecase', get_string('keeptagnamecase','admin'),get_string('configkeeptagnamecase', 'admin'),'1'));
$temp->add(new admin_setting_configcheckbox('profilesforenrolledusersonly', get_string('profilesforenrolledusersonly','admin'),get_string('configprofilesforenrolledusersonly', 'admin'),'1'));
$temp->add(new admin_setting_configcheckbox('cronclionly', get_string('cronclionly', 'admin'), get_string('configcronclionly', 'admin'), 0));
$temp->add(new admin_setting_configpasswordunmask('cronremotepassword', get_string('cronremotepassword', 'admin'), get_string('configcronremotepassword', 'admin'), ''));
$temp->add(new admin_setting_configcheckbox('passwordpolicy', get_string('passwordpolicy', 'admin'), get_string('configpasswordpolicy', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('passwordpolicy', get_string('passwordpolicy', 'admin'), get_string('configpasswordpolicy', 'admin'), 1));
$temp->add(new admin_setting_configtext('minpasswordlength', get_string('minpasswordlength', 'admin'), get_string('configminpasswordlength', 'admin'), 8, PARAM_INT));
$temp->add(new admin_setting_configtext('minpassworddigits', get_string('minpassworddigits', 'admin'), get_string('configminpassworddigits', 'admin'), 1, PARAM_INT));
$temp->add(new admin_setting_configtext('minpasswordlower', get_string('minpasswordlower', 'admin'), get_string('configminpasswordlower', 'admin'), 1, PARAM_INT));
@@ -51,6 +55,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configtext('minpasswordnonalphanum', get_string('minpasswordnonalphanum', 'admin'), get_string('configminpasswordnonalphanum', 'admin'), 1, PARAM_INT));
$temp->add(new admin_setting_configcheckbox('disableuserimages', get_string('disableuserimages', 'admin'), get_string('configdisableuserimages', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('emailchangeconfirmation', get_string('emailchangeconfirmation', 'admin'), get_string('configemailchangeconfirmation', 'admin'), 1));
$temp->add(new admin_setting_configcheckbox('enablenotes', get_string('enablenotes', 'notes'), get_string('configenablenotes', 'notes'), 1));
$ADMIN->add('security', $temp);
@@ -61,14 +66,17 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheckbox('loginhttps', get_string('loginhttps', 'admin'), get_string('configloginhttps', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('cookiesecure', get_string('cookiesecure', 'admin'), get_string('configcookiesecure', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('cookiehttponly', get_string('cookiehttponly', 'admin'), get_string('configcookiehttponly', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('regenloginsession', get_string('regenloginsession', 'admin'), get_string('configregenloginsession', 'admin'), 1));
$temp->add(new admin_setting_configtext('excludeoldflashclients', get_string('excludeoldflashclients', 'admin'), get_string('configexcludeoldflashclients', 'admin'), '10.0.12', PARAM_TEXT));
$temp->add(new admin_setting_configcheckbox('loginpasswordautocomplete', get_string('loginpasswordautocomplete', 'admin'), get_string('loginpasswordautocomplete_help', 'admin'), 0));
$ADMIN->add('security', $temp);
// "modulesecurity" settingpage
$temp = new admin_settingpage('modulesecurity', get_string('modulesecurity', 'admin'));
$temp->add(new admin_setting_configselect('restrictmodulesfor', get_string('restrictmodulesfor', 'admin'), get_string('configrestrictmodulesfor', 'admin'), 'none', array('none' => 'No courses',
'all' => 'All courses',
'requested' => 'Requested courses')));
$temp->add(new admin_setting_configselect('restrictmodulesfor', get_string('restrictmodulesfor', 'admin'), get_string('configrestrictmodulesfor', 'admin'), 'none', array('none' => get_string('nocourses'),
'all' => get_string('fulllistofcourses'),
'requested' => get_string('requestedcourses'))));
$temp->add(new admin_setting_configcheckbox('restrictbydefault', get_string('restrictbydefault', 'admin'), get_string('configrestrictbydefault', 'admin'), 0));
if (!$options = get_records("modules")) {
$options = array();
+23 -3
View File
@@ -89,6 +89,7 @@ $temp->add(new admin_setting_configselect('sessiontimeout', get_string('sessiont
300 => get_string('numminutes', '', 5))));
$temp->add(new admin_setting_configtext('sessioncookie', get_string('sessioncookie', 'admin'), get_string('configsessioncookie', 'admin'), '', PARAM_ALPHANUM));
$temp->add(new admin_setting_configtext('sessioncookiepath', get_string('sessioncookiepath', 'admin'), get_string('configsessioncookiepath', 'admin'), '/', PARAM_LOCALURL));
$temp->add(new admin_setting_configtext('sessioncookiedomain', get_string('sessioncookiedomain', 'admin'), get_string('configsessioncookiedomain', 'admin'), '', PARAM_TEXT, 50));
$ADMIN->add('server', $temp, 50);
@@ -211,7 +212,10 @@ $temp->add(new admin_setting_configselect('loglifetime', get_string('loglifetime
120 => get_string('numdays', '', 120),
90 => get_string('numdays', '', 90),
60 => get_string('numdays', '', 60),
35 => get_string('numdays', '', 35))));
35 => get_string('numdays', '', 35),
10 => get_string('numdays', '', 10),
5 => get_string('numdays', '', 5),
2 => get_string('numdays', '', 2))));
$temp->add(new admin_setting_configcheckbox('disablegradehistory', get_string('disablegradehistory', 'grades'),
@@ -238,6 +242,16 @@ $ADMIN->add('server', new admin_externalpage('phpinfo', get_string('phpinfo'), "
// "performance" settingpage
$temp = new admin_settingpage('performance', get_string('performance', 'admin'));
$temp->add(new admin_setting_configselect('extramemorylimit', get_string('extramemorylimit', 'admin'),
get_string('configextramemorylimit', 'admin'), '128M',
// if this option is set to 0, default 128M will be used
array( '64M' => '64M',
'128M' => '128M',
'256M' => '256M',
'512M' => '512M',
'1024M' => '1024M'
)));
$temp->add(new admin_setting_special_selectsetup('cachetype', get_string('cachetype', 'admin'),
get_string('configcachetype', 'admin'), '',
array( '' => get_string('none'),
@@ -261,8 +275,14 @@ $temp->add(new admin_setting_configselect('memcachedpconn', get_string('memcache
'1' => get_string('yes'))));
$ADMIN->add('server', $temp);
if (file_exists("$CFG->dirroot/$CFG->admin/mysql/frame.php")) {
$ADMIN->add('server', new admin_externalpage('database', get_string('managedatabase'), "$CFG->wwwroot/$CFG->admin/mysql/frame.php"));
if ($CFG->dbfamily === 'mysql') {
if (file_exists("$CFG->dirroot/$CFG->admin/mysql/frame.php")) {
$ADMIN->add('server', new admin_externalpage('database', get_string('managedatabase'), "$CFG->wwwroot/$CFG->admin/mysql/frame.php"));
}
} else if ($CFG->dbfamily === 'postgres') {
if (file_exists("$CFG->dirroot/$CFG->admin/pgsql/frame.php")) {
$ADMIN->add('server', new admin_externalpage('database', get_string('managedatabase'), "$CFG->wwwroot/$CFG->admin/pgsql/frame.php"));
}
}
} // end of speedup
-22
View File
@@ -23,35 +23,13 @@ $ADMIN->add('root', new admin_category('courses', get_string('courses','admin'))
$ADMIN->add('root', new admin_category('grades', get_string('grades')));
$ADMIN->add('root', new admin_category('location', get_string('location','admin')));
$ADMIN->add('root', new admin_category('language', get_string('language')));
$ADMIN->add('root', new admin_category('modules', get_string('plugins', 'admin')));
$ADMIN->add('root', new admin_category('security', get_string('security','admin')));
$ADMIN->add('root', new admin_category('appearance', get_string('appearance','admin')));
$ADMIN->add('root', new admin_category('frontpage', get_string('frontpage','admin')));
$ADMIN->add('root', new admin_category('server', get_string('server','admin')));
$ADMIN->add('root', new admin_category('mnet', get_string('net','mnet')));
$ADMIN->add('root', new admin_category('reports', get_string('reports')));
foreach (get_list_of_plugins($CFG->admin.'/report') as $plugin) {
/// This snippet is temporary until simpletest can be fixed to use xmldb. See MDL-7377 XXX TODO
if ($plugin == 'simpletest' && $CFG->dbfamily != 'mysql' && $CFG->dbfamily != 'postgres') {
continue;
}
/// End of removable snippet
$reportname = get_string($plugin, 'report_' . $plugin);
if ($reportname[1] == '[') {
$reportname = get_string($plugin, 'admin');
}
// ugly hack for special access control in reports
switch($plugin) {
case 'backups': $cap = 'moodle/site:backup'; break;
case 'simpletest': $cap = 'moodle/site:config'; break;
default: $cap = 'moodle/site:viewreports';
}
$ADMIN->add('reports', new admin_externalpage('report'.$plugin, $reportname, "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php",$cap));
}
$ADMIN->add('root', new admin_category('misc', get_string('miscellaneous')));
// hidden unsupported category
+19 -12
View File
@@ -2,6 +2,10 @@
// This file defines settingpages and externalpages under the "users" category
$ADMIN->add('users', new admin_category('authsettings', get_string('authentication','admin')));
$ADMIN->add('users', new admin_category('accounts', get_string('accounts', 'admin')));
$ADMIN->add('users', new admin_category('roles', get_string('permissions', 'role')));
if ($hassiteconfig
or has_capability('moodle/site:uploadusers', $systemcontext)
or has_capability('moodle/user:create', $systemcontext)
@@ -11,8 +15,6 @@ if ($hassiteconfig
or has_capability('moodle/role:assign', $systemcontext)) { // speedup for non-admins, add all caps used on this page
$ADMIN->add('users', new admin_category('authsettings', get_string('authentication','admin')));
$temp = new admin_settingpage('manageauths', get_string('authsettings', 'admin'));
$temp->add(new admin_setting_manageauths());
$temp->add(new admin_setting_heading('manageauthscommonheading', get_string('commonsettings', 'admin'), ''));
@@ -23,7 +25,7 @@ if ($hassiteconfig
get_string('alternatelogin', 'auth', htmlspecialchars($CFG->wwwroot.'/login/index.php')), ''));
$temp->add(new admin_setting_configtext('forgottenpasswordurl', get_string('forgottenpasswordurl', 'auth'),
get_string('forgottenpassword', 'auth'), ''));
$temp->add(new admin_setting_configtextarea('auth_instructions', get_string('instructions', 'auth'),
$temp->add(new admin_setting_confightmltextarea('auth_instructions', get_string('instructions', 'auth'),
get_string('authinstructions', 'auth'), ''));
$temp->add(new admin_setting_configtext('allowemailaddresses', get_string('allowemailaddresses', 'admin'), get_string('configallowemailaddresses', 'admin'), '', PARAM_NOTAGS));
$temp->add(new admin_setting_configtext('denyemailaddresses', get_string('denyemailaddresses', 'admin'), get_string('configdenyemailaddresses', 'admin'), '', PARAM_NOTAGS));
@@ -39,10 +41,7 @@ if ($hassiteconfig
$authbyname = array();
foreach ($auths as $auth) {
$strauthname = get_string("auth_{$auth}title", "auth");
if ($strauthname == "[[auth_{$auth}title]]") {
$strauthname = get_string("auth_{$auth}title", "auth_{$auth}");
}
$strauthname = auth_get_plugin_title($auth);
$authbyname[$strauthname] = $auth;
}
ksort($authbyname);
@@ -70,7 +69,6 @@ if ($hassiteconfig
$securewwwroot = str_replace('http:','https:',$CFG->wwwroot);
}
// stuff under the "accounts" subcategory
$ADMIN->add('users', new admin_category('accounts', get_string('accounts', 'admin')));
$ADMIN->add('accounts', new admin_externalpage('editusers', get_string('userlist','admin'), "$CFG->wwwroot/$CFG->admin/user.php", array('moodle/user:update', 'moodle/user:delete')));
$ADMIN->add('accounts', new admin_externalpage('userbulk', get_string('userbulk','admin'), "$CFG->wwwroot/$CFG->admin/user/user_bulk.php", array('moodle/user:update', 'moodle/user:delete')));
$ADMIN->add('accounts', new admin_externalpage('addnewuser', get_string('addnewuser'), "$securewwwroot/user/editadvanced.php?id=-1", 'moodle/user:create'));
@@ -80,7 +78,6 @@ if ($hassiteconfig
// stuff under the "roles" subcategory
$ADMIN->add('users', new admin_category('roles', get_string('permissions', 'role')));
$ADMIN->add('roles', new admin_externalpage('defineroles', get_string('defineroles', 'role'), "$CFG->wwwroot/$CFG->admin/roles/manage.php", 'moodle/role:manage'));
$ADMIN->add('roles', new admin_externalpage('assignroles', get_string('assignglobalroles', 'role'), "$CFG->wwwroot/$CFG->admin/roles/assign.php?contextid=".$systemcontext->id, 'moodle/role:assign'));
@@ -113,7 +110,12 @@ if ($hassiteconfig
}
if (!$guestroles = get_roles_with_capability('moodle/legacy:guest', CAP_ALLOW)) {
$guestroles = array();
$defaultguestid = null;
} else {
$defaultguestid = reset($guestroles);
$defaultguestid = $defaultguestid->id;
}
// we must not use assignable roles here:
// 1/ unsetting roles as assignable for admin might bork the settings!
// 2/ default user role should not be assignable anyway
@@ -130,9 +132,9 @@ if ($hassiteconfig
}
$temp->add(new admin_setting_configselect('notloggedinroleid', get_string('notloggedinroleid', 'admin'),
get_string('confignotloggedinroleid', 'admin'), $guestrole->id, $allroles ));
get_string('confignotloggedinroleid', 'admin'), $defaultguestid, $allroles ));
$temp->add(new admin_setting_configselect('guestroleid', get_string('guestroleid', 'admin'),
get_string('configguestroleid', 'admin'), $guestrole->id, $allroles));
get_string('configguestroleid', 'admin'), $defaultguestid, $allroles));
$temp->add(new admin_setting_configselect('defaultuserroleid', get_string('defaultuserroleid', 'admin'),
get_string('configdefaultuserroleid', 'admin'), $userrole->id, $nonguestroles)); // guest role here breaks a lot of stuff
}
@@ -164,9 +166,14 @@ if ($hassiteconfig
'yahooid' => get_string('yahooid'),
'aimid' => get_string('aimid'),
'msnid' => get_string('msnid'),
'lastaccess' => get_string('lastaccess'))));
'firstaccess' => get_string('firstaccess'),
'lastaccess' => get_string('lastaccess'),
'mycourses' => get_string('mycourses'),
'groups' => get_string('groups'))));
}
$temp->add(new admin_setting_configcheckbox('allowuserswitchrolestheycantassign', get_string('allowuserswitchrolestheycantassign', 'admin'), get_string('configallowuserswitchrolestheycantassign', 'admin'), 0));
$ADMIN->add('roles', $temp);
} // end of speedup
+5 -11
View File
@@ -61,7 +61,7 @@ $overwritepicture = optional_param('overwritepicture', 0, PARAM_BOOL);
admin_externalpage_print_header();
print_heading_with_help($struploadpictures, 'uploadpictures');
$mform = new admin_uploadpicture_form();
$mform = new admin_uploadpicture_form(null, $userfields);
if ($formdata = $mform->get_data()) {
if (!array_key_exists($userfield, $userfields)) {
notify(get_string('uploadpicture_baduserfield','admin'));
@@ -191,25 +191,19 @@ function process_directory ($dir, $userfield, $overwrite, &$results) {
*/
function process_file ($file, $userfield, $overwrite) {
// Add additional checks on the filenames, as they are user
// controlled and we don't want to open any security holes.
// controlled and we don't want to open any security holes.
$path_parts = pathinfo(cleardoubleslashes($file));
$basename = $path_parts['basename'];
$extension = $path_parts['extension'];
if ($basename != clean_param($basename, PARAM_CLEANFILE)) {
// The original picture file name has invalid characters
notify(get_string('uploadpicture_invalidfilename', 'admin',
clean_param($basename, PARAM_CLEANHTML)));
return PIX_FILE_ERROR;
}
// The picture file name (without extension) must match the
// userfield attribute.
$uservalue = substr($basename, 0,
strlen($basename) -
strlen($extension) - 1);
// userfield names are safe, so don't quote them.
if (!($user = get_record('user', $userfield, addslashes($uservalue)))) {
// userfield names are safe, so don't quote them.
if (!($user = get_record('user', $userfield, addslashes($uservalue),'deleted',0))) {
$a = new Object();
$a->userfield = clean_param($userfield, PARAM_CLEANHTML);
$a->uservalue = clean_param($uservalue, PARAM_CLEANHTML);
+29 -25
View File
@@ -1,29 +1,33 @@
<?php // $Id$
require_once $CFG->libdir.'/formslib.php';
class admin_uploadpicture_form extends moodleform {
function definition (){
global $CFG, $USER;
global $userfields;
$mform =& $this->_form;
$this->set_upload_manager(new upload_manager('userpicturesfile', false, false, null, false, 0, true, true, false));
$mform->addElement('header', 'settingsheader', get_string('upload'));
$mform->addElement('file', 'userpicturesfile', get_string('file'), 'size="40"');
$mform->addRule('userpicturesfile', null, 'required');
$choices = $userfields;
$mform->addElement('select', 'userfield', get_string('uploadpicture_userfield', 'admin'), $choices);
$mform->setType('userfield', PARAM_INT);
$choices = array( 0 => get_string('no'), 1 => get_string('yes') );
$mform->addElement('select', 'overwritepicture', get_string('uploadpicture_overwrite', 'admin'), $choices);
$mform->setType('overwritepicture', PARAM_INT);
$this->add_action_buttons(false, get_string('uploadpictures', 'admin'));
}
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
require_once $CFG->libdir.'/formslib.php';
class admin_uploadpicture_form extends moodleform {
function definition (){
global $CFG, $USER;
$mform =& $this->_form;
$this->set_upload_manager(new upload_manager('userpicturesfile', false, false, null, false, 0, true, true, false));
$mform->addElement('header', 'settingsheader', get_string('upload'));
$mform->addElement('file', 'userpicturesfile', get_string('file'), 'size="40"');
$mform->addRule('userpicturesfile', null, 'required');
$choices =& $this->_customdata;
$mform->addElement('select', 'userfield', get_string('uploadpicture_userfield', 'admin'), $choices);
$mform->setType('userfield', PARAM_INT);
$choices = array( 0 => get_string('no'), 1 => get_string('yes') );
$mform->addElement('select', 'overwritepicture', get_string('uploadpicture_overwrite', 'admin'), $choices);
$mform->setType('overwritepicture', PARAM_INT);
$this->add_action_buttons(false, get_string('uploadpictures', 'admin'));
}
}
?>
+10 -8
View File
@@ -149,8 +149,7 @@ if ($formdata = $mform->is_cancelled()) {
$renames = 0;
$renameerrors = 0;
$usersskipped = 0;
$forcechangepassword = 0;
$weakpasswords = 0;
// caches
$ccache = array(); // course cache - do not fetch all courses here, we will not probably use them all anyway!
@@ -173,7 +172,7 @@ if ($formdata = $mform->is_cancelled()) {
}
unset($allowedroles);
// clear bilk selection
// clear bulk selection
if ($bulk) {
$SESSION->bulk_users = array();
}
@@ -192,6 +191,8 @@ if ($formdata = $mform->is_cancelled()) {
$upt->track('line', $linenum);
$forcechangepassword = false;
$user = new object();
// by default, use the local mnet id (this may be changed in the file)
$user->mnethostid = $CFG->mnet_localhost_id;
@@ -204,7 +205,8 @@ if ($formdata = $mform->is_cancelled()) {
if ($value !== '') {
$user->password = hash_internal_user_password($value);
if (!empty($CFG->passwordpolicy) and !check_password_policy($value, $errmsg)) {
$forcechangepassword++;
$forcechangepassword = true;
$weakpasswords++;
}
}
} else {
@@ -556,7 +558,7 @@ if ($formdata = $mform->is_cancelled()) {
continue;
}
// save custom profile fields data
profile_save_data($user);
profile_save_data(addslashes_recursive($user));
// make sure user context exists
get_context_instance(CONTEXT_USER, $user->id);
@@ -663,7 +665,7 @@ if ($formdata = $mform->is_cancelled()) {
$newgroupdata = new object();
$newgroupdata->name = $addgroup;
$newgroupdata->courseid = $ccache[$shortname]->id;
if ($ccache[$shortname]->groups[$addgroup]->id = groups_create_group($newgroupdata)){
if ($ccache[$shortname]->groups[$addgroup]->id = groups_create_group(addslashes_recursive($newgroupdata))){
$ccache[$shortname]->groups[$addgroup]->name = $newgroupdata->name;
} else {
$upt->track('enrolments', get_string('unknowngroup', 'error', $addgroup), 'error');
@@ -707,7 +709,7 @@ if ($formdata = $mform->is_cancelled()) {
if ($usersskipped) {
echo get_string('usersskipped', 'admin').': '.$usersskipped.'<br />';
}
echo get_string('usersweakpassword', 'admin').': '.$forcechangepassword.'<br />';
echo get_string('usersweakpassword', 'admin').': '.$weakpasswords.'<br />';
echo get_string('errors', 'admin').': '.$userserrors.'</p>';
print_box_end();
@@ -961,7 +963,7 @@ function uu_allowed_auths() {
$plugins = get_enabled_auth_plugins();
$choices = array();
foreach ($plugins as $plugin) {
$choices[$plugin] = get_string('auth_'.$plugin.'title', 'auth');
$choices[$plugin] = auth_get_plugin_title ($plugin);
}
return $choices;
+5
View File
@@ -1,4 +1,9 @@
<?php // $Id$
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
require_once $CFG->libdir.'/formslib.php';
class admin_uploaduser_form1 extends moodleform {
+1
View File
@@ -24,6 +24,7 @@ if ($data = $action_form->get_data(false)) {
case 3: redirect($CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk_delete.php');
case 4: redirect($CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk_display.php');
case 5: redirect($CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk_download.php');
case 6: redirect($CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk_forcepasswordchange.php');
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ if ($format) {
if ($extrafields = get_records_select('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name;
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
}
}
@@ -0,0 +1,70 @@
<?php //$Id$
/**
* script for bulk user force password change
*/
require_once('../../config.php');
require_once('lib.php');
require_once($CFG->libdir.'/adminlib.php');
$confirm = optional_param('confirm', 0, PARAM_BOOL);
require_login();
admin_externalpage_setup('userbulk');
require_capability('moodle/user:update', get_context_instance(CONTEXT_SYSTEM));
$return = $CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk.php';
if (empty($SESSION->bulk_users)) {
redirect($return);
}
admin_externalpage_print_header();
if ($confirm and confirm_sesskey()) {
// only force password change if user may actually change the password
$authsavailable = get_list_of_plugins('auth');
$changeable = array();
foreach($authsavailable as $authname) {
if (!$auth = get_auth_plugin($authname)) {
continue;
}
if (@$auth->is_internal() and @$auth->can_change_password()) { // plugins may not be configured yet, not nice :-(
$changeable[$authname] = true;
}
}
$parts = array_chunk($SESSION->bulk_users, 300);
foreach ($parts as $users) {
$in = implode(',', $users);
if ($rs = get_recordset_select('user', "id IN ($in)")) {
while ($user = rs_fetch_next_record($rs)) {
if (!empty($changeable[$user->auth])) {
set_user_preference('auth_forcepasswordchange', 1, $user->id);
unset($SESSION->bulk_users[$user->id]);
} else {
notify(get_string('forcepasswordchangenot', '', fullname($user, true)));
}
}
rs_close($rs);
}
}
notify(get_string('changessaved'), 'notifysuccess');
print_continue($return);
} else {
$in = implode(',', $SESSION->bulk_users);
$userlist = get_records_select_menu('user', "id IN ($in)", 'fullname', 'id,'.sql_fullname().' AS fullname', 0, MAX_BULK_USERS);
$usernames = implode(', ', $userlist);
if (count($SESSION->bulk_users) > MAX_BULK_USERS) {
$usernames .= ', ...';
}
$optionsyes = array();
$optionsyes['confirm'] = 1;
$optionsyes['sesskey'] = sesskey();
print_heading(get_string('confirmation', 'admin'));
notice_yesno(get_string('forcepasswordchangecheckfull', '', $usernames), 'user_bulk_forcepasswordchange.php', 'user_bulk.php', $optionsyes, NULL, 'post', 'get');
}
admin_externalpage_print_footer();
?>
+3
View File
@@ -24,6 +24,9 @@ class user_bulk_action_form extends moodleform {
if (has_capability('moodle/user:update', $syscontext)) {
$actions[5] = get_string('download', 'admin');
}
if (has_capability('moodle/user:update', $syscontext)) {
$actions[6] = get_string('forcepasswordchange');
}
$objs = array();
$objs[] =& $mform->createElement('select', 'action', null, $actions);
+1 -1
View File
@@ -9,7 +9,7 @@ class user_message_form extends moodleform {
$mform->addElement('header', 'general', get_string('message', 'message'));
$mform->addElement('textarea', 'messagebody', get_string('messagebody'), array('rows'=>15, 'cols'=>60));
$mform->addElement('htmleditor', 'messagebody', get_string('messagebody'), array('rows'=>15, 'cols'=>60));
$mform->addRule('messagebody', '', 'required', null, 'client');
$mform->setHelpButton('messagebody', array('writing', 'reading', 'questions', 'richtext'), false, 'editorhelpbutton');
$mform->addElement('format', 'format', get_string('format'));
+2 -2
View File
@@ -2,7 +2,7 @@ XMLDB - Base classes and edition interface.
Complete Documentation:
http://docs.moodle.org/en/XMLDB_Defining_one_XML_structure
http://docs.moodle.org/19/en/XMLDB_Defining_one_XML_structure
Ciao, Eloy Lafuente (stronk7)
@@ -70,7 +70,7 @@ Once the XMLDB format was approved, we'll be able to build all the
for each RDBMS flavour.
Once the interface was finished (2-3 days from now) related documentation
will be sent to http://docs.moodle.org/en/XML_database_schema in order
will be sent to http://docs.moodle.org/19/en/XML_database_schema in order
to comment/modify/approve the final XML format.
All the code is, obviously GPL, with its copyrights and so on...
+10 -2
View File
@@ -47,6 +47,8 @@ class XMLDBAction {
var $postaction; //Action to execute at the end of the invoke script
var $sesskey_protected; // Actions must be protected by sesskey mechanishm
/**
* Constructor
*/
@@ -72,6 +74,7 @@ class XMLDBAction {
$this->output = NULL;
$this->errormsg = NULL;
$this->subaction = NULL;
$this->sesskey_protected = true;
}
/**
@@ -130,13 +133,18 @@ class XMLDBAction {
}
/**
* main invoke method, it simply sets the postaction attribute
* if possible
* main invoke method, it sets the postaction attribute
* if possible and checks sesskey_protected if needed
*/
function invoke() {
global $SESSION;
/// Sesskey protection
if ($this->sesskey_protected) {
require_sesskey();
}
/// If we are used any dir, save it in the lastused session object
/// Some actions can use it to perform positioning
if ($lastused = optional_param ('dir', NULL, PARAM_PATH)) {
@@ -111,7 +111,7 @@ class check_bigints extends XMLDBAction {
}
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=check_bigints&amp;confirmed=yes" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=check_bigints&amp;sesskey=' . sesskey() . '&amp;confirmed=yes" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -208,6 +208,10 @@ class check_bigints extends XMLDBAction {
$o.=' </ul>';
}
$o.=' </li>';
/// Give the script some more time (resetting to current if exists)
if ($currenttl = @ini_get('max_execution_time')) {
@ini_set('max_execution_time',$currenttl);
}
}
$o.=' </ul>';
}
@@ -94,7 +94,7 @@ class check_indexes extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmcheckindexes'] . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=check_indexes&amp;confirmed=yes" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=check_indexes&amp;sesskey=' . sesskey() . '&amp;confirmed=yes" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -213,6 +213,10 @@ class check_indexes extends XMLDBAction {
$o.=' </ul>';
}
$o.=' </li>';
/// Give the script some more time (resetting to current if exists)
if ($currenttl = @ini_get('max_execution_time')) {
@ini_set('max_execution_time',$currenttl);
}
}
$o.=' </ul>';
}
@@ -77,7 +77,7 @@ class delete_field extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletefield'] . '<br /><br />' . $fieldparam . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_field&amp;confirmed=yes&amp;postaction=edit_table&amp;field=' . $fieldparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_field&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_table&amp;field=' . $fieldparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -77,7 +77,7 @@ class delete_index extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeleteindex'] . '<br /><br />' . $indexparam . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_index&amp;confirmed=yes&amp;postaction=edit_table&amp;index=' . $indexparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_index&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_table&amp;index=' . $indexparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -77,7 +77,7 @@ class delete_key extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletekey'] . '<br /><br />' . $keyparam . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_key&amp;confirmed=yes&amp;postaction=edit_table&amp;key=' . $keyparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_key&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_table&amp;key=' . $keyparam . '&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -77,7 +77,7 @@ class delete_sentence extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletesentence'] . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_sentence&amp;confirmed=yes&amp;postaction=edit_statement&amp;sentence=' . $sentenceparam . '&amp;statement=' . urlencode($statementparam) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_sentence&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_statement&amp;sentence=' . $sentenceparam . '&amp;statement=' . urlencode($statementparam) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -76,7 +76,7 @@ class delete_statement extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletestatement'] . '<br /><br />' . $statementparam . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_statement&amp;confirmed=yes&amp;postaction=edit_xml_file&amp;statement=' . $statementparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_statement&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_xml_file&amp;statement=' . $statementparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -76,7 +76,7 @@ class delete_table extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletetable'] . '<br /><br />' . $tableparam . '</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_table&amp;confirmed=yes&amp;postaction=edit_xml_file&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_table&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;postaction=edit_xml_file&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -75,7 +75,7 @@ class delete_xml_file extends XMLDBAction {
$o.= ' <p class="centerpara">' . $this->str['confirmdeletexmlfile'] . '<br /><br />' . $dirpath . '/install.php</p>';
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
$o.= ' <div class="singlebutton">';
$o.= ' <form action="index.php?action=delete_xml_file&amp;confirmed=yes&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;postaction=main_view#lastused" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <form action="index.php?action=delete_xml_file&amp;sesskey=' . sesskey() . '&amp;confirmed=yes&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;postaction=main_view#lastused" method="post"><fieldset class="invisiblefieldset">';
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
$o.= ' </td><td>';
$o.= ' <div class="singlebutton">';
@@ -35,6 +35,7 @@ class edit_field extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -84,7 +85,7 @@ class edit_field extends XMLDBAction {
/// Fetch request data
$tableparam = required_param('table', PARAM_CLEAN);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$fieldparam = required_param('field', PARAM_CLEAN);
@@ -103,6 +104,7 @@ class edit_field extends XMLDBAction {
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="table" value="' . $tableparam .'" />';
$o.= ' <input type="hidden" name ="field" value="' . $fieldparam .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_field_save" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
@@ -35,6 +35,7 @@ class edit_index extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -84,7 +85,7 @@ class edit_index extends XMLDBAction {
/// Fetch request data
$tableparam = required_param('table', PARAM_CLEAN);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$indexparam = required_param('index', PARAM_CLEAN);
@@ -103,6 +104,7 @@ class edit_index extends XMLDBAction {
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="table" value="' . $tableparam .'" />';
$o.= ' <input type="hidden" name ="index" value="' . $indexparam .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_index_save" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
@@ -35,6 +35,7 @@ class edit_key extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -84,7 +85,7 @@ class edit_key extends XMLDBAction {
/// Fetch request data
$tableparam = required_param('table', PARAM_CLEAN);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$keyparam = required_param('key', PARAM_CLEAN);
@@ -103,6 +104,7 @@ class edit_key extends XMLDBAction {
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="table" value="' . $tableparam .'" />';
$o.= ' <input type="hidden" name ="key" value="' . $keyparam .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_key_save" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
@@ -35,6 +35,7 @@ class edit_sentence extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -119,6 +120,7 @@ class edit_sentence extends XMLDBAction {
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="statement" value="' . $statementparam .'" />';
$o.= ' <input type="hidden" name ="sentence" value="' . $sentenceparam .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_sentence_save" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_statement" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
@@ -35,6 +35,7 @@ class edit_statement extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -106,6 +107,7 @@ class edit_statement extends XMLDBAction {
$o.= '<div>';
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="statement" value="' . $statementparam .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_statement_save" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_statement" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
@@ -129,7 +131,7 @@ class edit_statement extends XMLDBAction {
$b .= '&nbsp;[' . $this->str['viewedited'] . ']';
}
/// The new sentence button
$b .= '&nbsp;<a href="index.php?action=new_sentence&amp;postaction=edit_sentence&amp;statement=' . $statementparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newsentence'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_sentence&amp;postaction=edit_sentence&amp;sesskey=' . sesskey() . '&amp;statement=' . $statementparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newsentence'] . ']</a>';
/// The back to edit xml file button
$b .= '&nbsp;<a href="index.php?action=edit_xml_file&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
$b .= '</p>';
@@ -157,10 +159,10 @@ class edit_statement extends XMLDBAction {
$b .= '<a href="index.php?action=edit_sentence&amp;sentence=' .$key . '&amp;statement=' . urlencode($statement->getName()) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['edit'] . ']</a>';
$b .= '</td><td class="button cell">';
/// The duplicate button
$b .= '<a href="index.php?action=new_sentence&amp;postaction=edit_sentence&amp;basesentence=' . $key . '&amp;statement=' . urlencode($statement->getName()) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['duplicate'] . ']</a>';
$b .= '<a href="index.php?action=new_sentence&amp;postaction=edit_sentence&amp;sesskey=' . sesskey() . '&amp;basesentence=' . $key . '&amp;statement=' . urlencode($statement->getName()) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['duplicate'] . ']</a>';
$b .= '</td><td class="button cell">';
/// The delete button
$b .= '<a href="index.php?action=delete_sentence&amp;sentence=' . $key . '&amp;statement=' . urlencode($statement->getName()) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_sentence&amp;sesskey=' . sesskey() . '&amp;sentence=' . $key . '&amp;statement=' . urlencode($statement->getName()) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '</td>';
/// Print table row
$o .= '<tr class="r' . $row . '"><td class="table cell">' . $p . $sentence . $b . '</tr>';
@@ -35,6 +35,7 @@ class edit_table extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -107,6 +108,7 @@ class edit_table extends XMLDBAction {
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
$o.= ' <input type="hidden" name ="table" value="' . $tableparam .'" />';
$o.= ' <input type="hidden" name ="action" value="edit_table_save" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
/// If the table is being used, we cannot rename it
@@ -134,11 +136,11 @@ class edit_table extends XMLDBAction {
$b .= '&nbsp;[' . $this->str['viewedited'] . ']';
}
/// The new field button
$b .= '&nbsp;<a href="index.php?action=new_field&amp;postaction=edit_field&amp;table=' . $tableparam . '&amp;field=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newfield'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_field&amp;sesskey=' . sesskey() . '&amp;postaction=edit_field&amp;table=' . $tableparam . '&amp;field=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newfield'] . ']</a>';
/// The new key button
$b .= '&nbsp;<a href="index.php?action=new_key&amp;postaction=edit_key&amp;table=' . $tableparam . '&amp;key=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newkey'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_key&amp;sesskey=' . sesskey() . '&amp;postaction=edit_key&amp;table=' . $tableparam . '&amp;key=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newkey'] . ']</a>';
/// The new index button
$b .= '&nbsp;<a href="index.php?action=new_index&amp;postaction=edit_index&amp;table=' . $tableparam . '&amp;index=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newindex'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_index&amp;sesskey=' . sesskey() . '&amp;postaction=edit_index&amp;table=' . $tableparam . '&amp;index=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newindex'] . ']</a>';
/// The back to edit xml file button
$b .= '&nbsp;<a href="index.php?action=edit_xml_file&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
$b .= '</p>';
@@ -185,14 +187,14 @@ class edit_table extends XMLDBAction {
$b .= '</td><td class="button cell">';
/// The up button
if ($field->getPrevious()) {
$b .= '<a href="index.php?action=move_updown_field&amp;direction=up&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_field&amp;direction=up&amp;sesskey=' . sesskey() . '&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
} else {
$b .= '[' . $this->str['up'] . ']';
}
$b .= '</td><td class="button cell">';
/// The down button
if ($field->getNext()) {
$b .= '<a href="index.php?action=move_updown_field&amp;direction=down&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_field&amp;direction=down&amp;sesskey=' . sesskey() . '&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
} else {
$b .= '[' . $this->str['down'] . ']';
}
@@ -200,7 +202,7 @@ class edit_table extends XMLDBAction {
/// The delete button (if we have more than one and it isn't used
if (count($fields) > 1 &&
!$structure->getFieldUses($table->getName(), $field->getName())) {
$b .= '<a href="index.php?action=delete_field&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_field&amp;sesskey=' . sesskey() . '&amp;field=' . $field->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
} else {
$b .= '[' . $this->str['delete'] . ']';
}
@@ -234,21 +236,21 @@ class edit_table extends XMLDBAction {
$b .= '</td><td class="button cell">';
/// The up button
if ($key->getPrevious()) {
$b .= '<a href="index.php?action=move_updown_key&amp;direction=up&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_key&amp;direction=up&amp;sesskey=' . sesskey() . '&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
} else {
$b .= '[' . $this->str['up'] . ']';
}
$b .= '</td><td class="button cell">';
/// The down button
if ($key->getNext()) {
$b .= '<a href="index.php?action=move_updown_key&amp;direction=down&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_key&amp;direction=down&amp;sesskey=' . sesskey() . '&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
} else {
$b .= '[' . $this->str['down'] . ']';
}
$b .= '</td><td class="button cell">';
/// The delete button (if the key hasn't uses)
if (!$structure->getKeyUses($table->getName(), $key->getName())) {
$b .= '<a href="index.php?action=delete_key&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_key&amp;sesskey=' . sesskey() . '&amp;key=' . $key->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
} else {
$b .= '[' . $this->str['delete'] . ']';
}
@@ -274,20 +276,20 @@ class edit_table extends XMLDBAction {
$b .= '</td><td class="button cell">';
/// The up button
if ($index->getPrevious()) {
$b .= '<a href="index.php?action=move_updown_index&amp;direction=up&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_index&amp;direction=up&amp;sesskey=' . sesskey() . '&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
} else {
$b .= '[' . $this->str['up'] . ']';
}
$b .= '</td><td class="button cell">';
/// The down button
if ($index->getNext()) {
$b .= '<a href="index.php?action=move_updown_index&amp;direction=down&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_index&amp;direction=down&amp;sesskey=' . sesskey() . '&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_table' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
} else {
$b .= '[' . $this->str['down'] . ']';
}
$b .= '</td><td class="button cell">';
/// The delete button
$b .= '<a href="index.php?action=delete_index&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_index&amp;sesskey=' . sesskey() . '&amp;index=' . $index->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
/// The readable info
$r = '</td><td class="readableinfo cell">' . $index->readableInfo() . '</td>';
/// Print table row
@@ -35,6 +35,7 @@ class edit_xml_file extends XMLDBAction {
parent::init();
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -107,6 +108,7 @@ class edit_xml_file extends XMLDBAction {
$o.= ' <input type="hidden" name ="postaction" value="edit_xml_file" />';
$o.= ' <input type="hidden" name ="path" value="' . s($structure->getPath()) .'" />';
$o.= ' <input type="hidden" name ="version" value="' . s($structure->getVersion()) .'" />';
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
$o.= ' <table id="formelements" class="boxaligncenter">';
$o.= ' <tr valign="top"><td>Path:</td><td>' . s($structure->getPath()) . '</td></tr>';
$o.= ' <tr valign="top"><td>Version:</td><td>' . s($structure->getVersion()) . '</td></tr>';
@@ -125,15 +127,15 @@ class edit_xml_file extends XMLDBAction {
$b .= '&nbsp;[' . $this->str['viewedited'] . ']';
}
/// The new table button
$b .= '&nbsp;<a href="index.php?action=new_table&amp;postaction=edit_table&amp;table=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newtable'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_table&amp;sesskey=' . sesskey() . '&amp;postaction=edit_table&amp;table=changeme&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newtable'] . ']</a>';
/// The new from MySQL button
if ($CFG->dbfamily == 'mysql') {
$b .= '&nbsp;<a href="index.php?action=new_table_from_mysql&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newtablefrommysql'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_table_from_mysql&amp;sesskey=' . sesskey() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newtablefrommysql'] . ']</a>';
} else {
$b .= '&nbsp;[' . $this->str['newtablefrommysql'] . ']';
}
/// The new statement button
$b .= '&nbsp;<a href="index.php?action=new_statement&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newstatement'] . ']</a>';
$b .= '&nbsp;<a href="index.php?action=new_statement&amp;sesskey=' . sesskey() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['newstatement'] . ']</a>';
/// The back to main menu button
$b .= '&nbsp;<a href="index.php?action=main_view#lastused">[' . $this->str['backtomainview'] . ']</a>';
$b .= '</p>';
@@ -169,14 +171,14 @@ class edit_xml_file extends XMLDBAction {
$b .= '</td><td class="button cell">';
/// The up button
if ($table->getPrevious()) {
$b .= '<a href="index.php?action=move_updown_table&amp;direction=up&amp;table=' . $table->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_table&amp;direction=up&amp;sesskey=' . sesskey() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
} else {
$b .= '[' . $this->str['up'] . ']';
}
$b .= '</td><td class="button cell">';
/// The down button
if ($table->getNext()) {
$b .= '<a href="index.php?action=move_updown_table&amp;direction=down&amp;table=' . $table->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_table&amp;direction=down&amp;sesskey=' . sesskey() . '&amp;table=' . $table->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
} else {
$b .= '[' . $this->str['down'] . ']';
}
@@ -185,7 +187,7 @@ class edit_xml_file extends XMLDBAction {
if (count($tables) > 1 &&
!$structure->getTableUses($table->getName())) {
///!$structure->getTableUses($table->getName())) {
$b .= '<a href="index.php?action=delete_table&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_table&amp;sesskey=' . sesskey() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
} else {
$b .= '[' . $this->str['delete'] . ']';
}
@@ -214,20 +216,20 @@ class edit_xml_file extends XMLDBAction {
$b .= '</td><td class="button cell">';
/// The up button
if ($statement->getPrevious()) {
$b .= '<a href="index.php?action=move_updown_statement&amp;direction=up&amp;statement=' . $statement->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_statement&amp;direction=up&amp;sesskey=' . sesskey() . '&amp;statement=' . $statement->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['up'] . ']</a>';
} else {
$b .= '[' . $this->str['up'] . ']';
}
$b .= '</td><td class="button cell">';
/// The down button
if ($statement->getNext()) {
$b .= '<a href="index.php?action=move_updown_statement&amp;direction=down&amp;statement=' . $statement->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
$b .= '<a href="index.php?action=move_updown_statement&amp;direction=down&amp;sesskey=' . sesskey() . '&amp;statement=' . $statement->getName() . '&amp;postaction=edit_xml_file' . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['down'] . ']</a>';
} else {
$b .= '[' . $this->str['down'] . ']';
}
$b .= '</td><td class="button cell">';
/// The delete button
$b .= '<a href="index.php?action=delete_statement&amp;statement=' . $statement->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '<a href="index.php?action=delete_statement&amp;sesskey=' . sesskey() . '&amp;statement=' . $statement->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>';
$b .= '</td>';
/// Print statement row
$o .= '<tr class="r' . $row . '"><td class="statement cell"><a href="index.php?action=view_statement_xml&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;statement=' . $statement->getName() . '&amp;select=edited">' . $statement->getName() . '</a>' . $b . '</tr>';
@@ -39,6 +39,7 @@ class get_db_directories extends XMLDBAction {
//$this->can_subaction = ACTION_HAVE_SUBACTIONS;
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(
@@ -38,6 +38,7 @@ class load_xml_file extends XMLDBAction {
//$this->can_subaction = ACTION_HAVE_SUBACTIONS;
/// Set own custom attributes
$this->sesskey_protected = false; // This action doesn't need sesskey protection
/// Get needed strings
$this->loadStrings(array(

Some files were not shown because too many files have changed in this diff Show More