34585 Commits

Author SHA1 Message Date
mjollnir_
ee1efe0b0f MDL-17694: very small stickyblocks improvements (Merged from MOODLE_19_STABLE) 2008-12-19 09:49:33 +00:00
mjollnir_
0e4e1a43f1 MDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields to return. These are used by messaging/emailing. (Merged from MOODLE_19_STABLE) 2008-12-19 08:56:25 +00:00
mjollnir_
a65cfba54d MDL-17692: count_role_users now accepts an int or an array of ints for roleid - this is now consistent with get_role_users. (Merged from MOODLE_19_STABLE) 2008-12-19 08:45:44 +00:00
dongsheng
9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
moodler
595a6f221b 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:47:32 +00:00
moodlerobot
cf061225aa Updated the HEAD build version to 20081219 2008-12-18 23:54:02 +00:00
sam_marshall
00653161b5 MDL-17556: Improve performance of get_fast_modinfo when courses have many activities 2008-12-18 17:52:29 +00:00
moodler
6093af9bc4 MDL-15499 - Spacing fixes only 2008-12-18 02:46:25 +00:00
stronk7
0d125cbe1b MDL-17009 restore of mnet users - order some recently added strings and add 1 more. Merged from 19_STABLE 2008-12-18 00:23:17 +00:00
stronk7
9eaefcf1ee MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. Merged from 19_STABLE 2008-12-18 00:20:51 +00:00
moodlerobot
715f6b942f Updated the HEAD build version to 20081218 2008-12-17 23:55:28 +00:00
stronk7
e34fc6e1c2 MDL-17009 restore of mnet users - New lang strings. Merged from 19_STABLE 2008-12-17 23:39:28 +00:00
stronk7
b1ee0c8690 MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. Merged from 19_STABLE 2008-12-17 23:36:10 +00:00
moodlerobot
32378e7526 Automatic installer.php lang files by installer_builder (20081218) 2008-12-17 23:27:58 +00:00
skodak
48dcaf5892 MDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead of $cm->id; merged from MOODLE_19_STABLE 2008-12-17 18:10:58 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
pilpi
5373887a7c quiz editing: MDL-17398 made question grading field smaller to accommodate a bigger 'save' button in some languages (finnish:Tallenna) 2008-12-17 16:11:49 +00:00
fmarier
588acd0608 MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster) 2008-12-17 02:55:33 +00:00
moodlerobot
549a4da1cf Updated the HEAD build version to 20081217 2008-12-17 00:35:54 +00:00
stronk7
294c03a996 MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE 2008-12-17 00:33:32 +00:00
pilpi
93cc3ea45e quiz editing: MDL-17417 added logging for random question creating 2008-12-16 22:36:29 +00:00
jmg324
3caea5dc63 MDL-17521 shortcuts at top of tag page for each sort of thing that's been tagged 2008-12-16 16:33:30 +00:00
sam_marshall
6c59c9c76b MDL-17667: Added simple XSL-based 'doc' feature to xmldb 2008-12-16 12:55:21 +00:00
pilpi
0b31bfe8c3 quiz editing: MDL-17664 Removed unneeded yui js includes 2008-12-16 11:21:22 +00:00
dongsheng
8fcffd7032 "MDL-14651, hide input box when user doesn't have chat:talk capability" 2008-12-16 05:04:56 +00:00
dongsheng
4314c0bcf5 "MDL-14949, add a new capablity chat:talk to enable readonly chat user, merged from 1.9" 2008-12-16 04:58:40 +00:00
moodlerobot
c964051fee Updated the HEAD build version to 20081216 2008-12-15 23:52:47 +00:00
moodlerobot
98fbff4d36 Automatic installer.php lang files by installer_builder (20081216) 2008-12-15 23:26:14 +00:00
stronk7
c362878ed7 MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions. 2008-12-15 21:41:09 +00:00
stronk7
a243ffeb07 MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE 2008-12-15 21:35:47 +00:00
tjhunt
212235d3e2 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:18 +00:00
tjhunt
081cce7325 forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error. 2008-12-15 06:08:51 +00:00
tjhunt
b1bc126319 unit tests: MDL-17646 Arrgh! edited the wrong file after making testsimpletestlib.php by copying testaccesslib.php! 2008-12-15 03:08:22 +00:00
tjhunt
9e8c801714 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:39 +00:00
tjhunt
821e4ecf16 unit tests: MDL-17646 Helper functions for loading and cleaning up test data. 2008-12-15 02:39:55 +00:00
tjhunt
0e8e23cce6 dml: MDL-17645 New database method delete_records_list. 2008-12-15 02:13:11 +00:00
moodlerobot
464f3d8387 Updated the HEAD build version to 20081215 2008-12-14 23:52:13 +00:00
piers
65478eea3c MDL-16810 - amend upgrade process to preserve config values where possible. thanks for pointer Tim. 2008-12-14 23:45:54 +00:00
moodlerobot
0c2d4e934f Automatic installer.php lang files by installer_builder (20081215) 2008-12-14 23:25:50 +00:00
jonathanharker
078c1134bf MDL-17548 MNET: Fix email links for sites with path component in wwwroot
Where Moodle sites had 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.
2008-12-14 22:50:22 +00:00
jonathanharker
e6e13284f9 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 22:28:39 +00:00
tjhunt
acf149ad15 quiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions. 2008-12-14 13:32:45 +00:00
moodlerobot
fe5612c3c6 Updated the HEAD build version to 20081214 2008-12-13 23:51:36 +00:00
moodlerobot
161f9b5d40 Updated the HEAD build version to 20081213 2008-12-12 23:52:55 +00:00
moodlerobot
54d778ddcd Automatic installer.php lang files by installer_builder (20081213) 2008-12-12 23:26:26 +00:00
skodak
1a5b427e44 MDL-17589 fixed handling of missing caps in admin tree; merged from MOODLE_19_STABLE 2008-12-12 10:50:25 +00:00
tjhunt
83f0fef567 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:11 +00:00
tjhunt
e285b6a8b6 quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI, 2008-12-12 07:24:47 +00:00
tjhunt
7028ab335d 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:07 +00:00
tjhunt
2f37e1083b course categories: fix typo introduced when fixing MDL-10801 2008-12-12 06:19:01 +00:00