scyrma [Wed, 16 Jan 2008 08:17:25 +0000 (08:17 +0000)]
MDL-13020 : deprecates make_table
nicolasconnault [Wed, 16 Jan 2008 07:54:27 +0000 (07:54 +0000)]
Reverting MDL-12974 and MDL-12941 (Urs simple wrapper changes)
nicolasconnault [Wed, 16 Jan 2008 07:44:57 +0000 (07:44 +0000)]
MDL-12941 Added clear:none; to div.user-box css. Also fixed a couple of & with &
scyrma [Wed, 16 Jan 2008 07:39:03 +0000 (07:39 +0000)]
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing
moodler [Wed, 16 Jan 2008 06:12:59 +0000 (06:12 +0000)]
Merged fix for SQL error in JOIN MDL-12990
moodler [Wed, 16 Jan 2008 03:21:22 +0000 (03:21 +0000)]
Automatic installer.php lang files by installer_builder (
20080116)
moodler [Wed, 16 Jan 2008 01:51:18 +0000 (01:51 +0000)]
Merged upgradelib.php fixes from 1.9 MDL-13017
poltawski [Tue, 15 Jan 2008 22:08:20 +0000 (22:08 +0000)]
MDL-12990 - save more needless db queries
merged from MOODLE_19_STABLE
poltawski [Tue, 15 Jan 2008 21:34:12 +0000 (21:34 +0000)]
MDL-12990 - use our user object and we save 2dbq for free on message history page
merged from MOODLE_19_STABLE
poltawski [Tue, 15 Jan 2008 16:10:58 +0000 (16:10 +0000)]
MDL-12990 - Significantly reduce database queries for messaging
search by getting info required by in search sql.
On a site with 1500 users:
Before: 850 dbq
After: 8 dbq
merged from MOODLE_19_STABLE
tjhunt [Tue, 15 Jan 2008 15:25:02 +0000 (15:25 +0000)]
MDL-13011 - Improve import form layout.
thepurpleblob [Tue, 15 Jan 2008 14:52:49 +0000 (14:52 +0000)]
MDL-12016:
Read xml structure correctly to get category path.
Merged from STABLE_19
thepurpleblob [Tue, 15 Jan 2008 14:35:59 +0000 (14:35 +0000)]
Reverting Mike C's change in MDL-12016
poltawski [Tue, 15 Jan 2008 13:48:34 +0000 (13:48 +0000)]
MDL-12990 - clean up message_print_contacts() a lot to:
* Use less DB queries and avoid getting lots of needless data
* Dont do a big php array rearranging loop - database does the work for us instead
* split all the duplicated display code into a single function
merged from MOODLE_19_STABLE
ethem [Tue, 15 Jan 2008 10:16:27 +0000 (10:16 +0000)]
Tidy up
ethem [Tue, 15 Jan 2008 10:03:57 +0000 (10:03 +0000)]
Tidy up
mjollnir_ [Tue, 15 Jan 2008 04:20:12 +0000 (04:20 +0000)]
Merged from MOODLE_19_STABLE:
MDL-13000 Adding support for developers to add their own capabilities to local/db/access.php
This relies on a local/ language pack as well for the capability names.
Notes on implementation are in lib/locallib.php
mjollnir_ [Tue, 15 Jan 2008 01:40:02 +0000 (01:40 +0000)]
Merged from MOODLE_19_STABLE: MDL-13001 - adding support for language files in local/ directory.
mjollnir_ [Tue, 15 Jan 2008 01:10:34 +0000 (01:10 +0000)]
Merged from MOODLE_19_STABLE:
More on MDL-11561 - fixed up path to local/ settings file to be more consistent,
added documentation in lib/locallib.php on how to create new local admin tree item
mjollnir_ [Mon, 14 Jan 2008 23:32:43 +0000 (23:32 +0000)]
Merged from MOODLE_19_STABLE: MDL-11561 - added support for local/localsettings.php
skodak [Mon, 14 Jan 2008 23:29:00 +0000 (23:29 +0000)]
MDL-12822 readding grade_get_course_grade(), alternative to grade_get_course_grades(); merged from MOODLE_19_STABLE
skodak [Mon, 14 Jan 2008 22:46:03 +0000 (22:46 +0000)]
MDL-12912 module idnumber course unique only; merged from MOODLE_19_STABLE
ethem [Mon, 14 Jan 2008 18:01:18 +0000 (18:01 +0000)]
MDL-12958 In the Authorize enrol plug-in when a credit card expiry date (year) is entered, a validate error is generated blocking credit card usage
poltawski [Mon, 14 Jan 2008 16:59:34 +0000 (16:59 +0000)]
MDL-12990 Ensure that displaying message contact list pictures doesn't take a
dbq per contact. Could do with a rewrite, but this saves us dbqs for now
merged from MOODLE_19_STABLE
moodler [Mon, 14 Jan 2008 03:35:31 +0000 (03:35 +0000)]
Automatic installer.php lang files by installer_builder (
20080114)
poltawski [Sun, 13 Jan 2008 18:46:55 +0000 (18:46 +0000)]
MDL-8269 - stats wasn't paying attention to run time settings as the strtotime arguments were the wrong way round. Thanks to Mark Nielsen
urs_hunkler [Sun, 13 Jan 2008 17:53:44 +0000 (17:53 +0000)]
merged from 1.9 :: MDL-12564 :: added font-family to the arrow properties.
poltawski [Sun, 13 Jan 2008 16:34:55 +0000 (16:34 +0000)]
MDL-12560 - layout fixes for tag blocks
merged from MOODLE_19_STABLE
poltawski [Sun, 13 Jan 2008 16:30:09 +0000 (16:30 +0000)]
MDL-12560 - layout fixes for tag blocks
merged from MOODLE_19_STABLE
poltawski [Sun, 13 Jan 2008 12:30:55 +0000 (12:30 +0000)]
further refinement..
poltawski [Sun, 13 Jan 2008 12:28:48 +0000 (12:28 +0000)]
Improving wording
poltawski [Sun, 13 Jan 2008 12:21:47 +0000 (12:21 +0000)]
MDL-7846 - use translatable strings for bulk messaging
merged from MOODLE_19_STABLE
poltawski [Sun, 13 Jan 2008 11:46:20 +0000 (11:46 +0000)]
MDL-12943 - remove old dialogue unused language files
poltawski [Sun, 13 Jan 2008 11:37:26 +0000 (11:37 +0000)]
MDL-12742 - remove duplicated lang files
jamiesensei [Sun, 13 Jan 2008 08:30:39 +0000 (08:30 +0000)]
whitespace clean up, removed all indentation with tabs and trailing white space
moodler [Sun, 13 Jan 2008 03:18:55 +0000 (03:18 +0000)]
Automatic installer.php lang files by installer_builder (
20080113)
stronk7 [Sat, 12 Jan 2008 18:54:54 +0000 (18:54 +0000)]
Minor changes to custom check definition. MDL-12914 ; merged from 19_STABLE
stronk7 [Sat, 12 Jan 2008 18:54:30 +0000 (18:54 +0000)]
Function changed to check for register_globals. MDL-12914 ; merged from 19_STABLE
urs_hunkler [Sat, 12 Jan 2008 18:14:49 +0000 (18:14 +0000)]
merged from 1.9 :: MDL-11154 :: added the missing code and the config line and explanation in config.php for flexible columns.
urs_hunkler [Sat, 12 Jan 2008 16:32:44 +0000 (16:32 +0000)]
merged from 1.9 :: MDL-9306 :: explanation added for hooks as comma separated lists in Chameleon.
urs_hunkler [Sat, 12 Jan 2008 14:52:45 +0000 (14:52 +0000)]
merged from 1.9 :: MDL-11486 :: added width to the adminblock
urs_hunkler [Sat, 12 Jan 2008 14:06:40 +0000 (14:06 +0000)]
merged from 1.9 :: MDL-12910 :: changed top from 2.9em to 3.5em
jamiesensei [Sat, 12 Jan 2008 08:50:32 +0000 (08:50 +0000)]
MDL-12695 Symantec Norton internet security pop up blocker seems to be stopping user starting a quiz attempt - fixed this by using print_single_button which uses an onclick event to trigger a confirm dialogue, should work better even with popup blockers.
jamiesensei [Sat, 12 Jan 2008 08:47:29 +0000 (08:47 +0000)]
MDL-12906 add an optional parameter $jsconfirmmessage parameter to print_single_button
skodak [Fri, 11 Jan 2008 23:22:50 +0000 (23:22 +0000)]
MDL-12914 Register globals trouble; merged from MOODLE_19_STABLE
stronk7 [Fri, 11 Jan 2008 17:21:53 +0000 (17:21 +0000)]
Fixed copy/paste typo. MDL-11341 ;-) ; merged from 19_STABLE
poltawski [Fri, 11 Jan 2008 16:27:15 +0000 (16:27 +0000)]
MDL-11341 - allow users with language editing perms to access language
editing
merged from MOODLE_19_STABLE
poltawski [Fri, 11 Jan 2008 15:44:11 +0000 (15:44 +0000)]
MDL-11074 - incorrect test in page_generic_activity, thanks to Gordon Bateson
merged from MOODLE_19_STABLE
pichetp [Fri, 11 Jan 2008 14:24:10 +0000 (14:24 +0000)]
MDL12932 -Random Short-Answer Matching does not display correctly in Item analysis report
skodak [Fri, 11 Jan 2008 13:09:51 +0000 (13:09 +0000)]
MDL-12926 Discussion list shows all discussion in separate mode if user not member of any group and does not have accessallgroups; merged from MOODLE_19_STABLE
poltawski [Fri, 11 Jan 2008 11:59:31 +0000 (11:59 +0000)]
MDL-12930 - wrong title text on search webpages button, thanks to Mitsuhiro
Yoshida
merged from MOODLE_19_STABLE
poltawski [Fri, 11 Jan 2008 11:46:16 +0000 (11:46 +0000)]
MDL-12400 - superfluous required_param causing problems in upload
assignment user report.
urs_hunkler [Fri, 11 Jan 2008 11:36:08 +0000 (11:36 +0000)]
merged from 1.9 :: typo body#tag-manage table#tag-management-list, th, must be body#tag-manage table#tag-management-list th,
nicolasconnault [Fri, 11 Jan 2008 10:03:32 +0000 (10:03 +0000)]
Fixed intermixed quickgrading and quickfeedback help strings
urs_hunkler [Fri, 11 Jan 2008 09:29:53 +0000 (09:29 +0000)]
merged from 1.9 :: MDL-12221 :: removed the "nocoursepage" hack, which was an attempt to find out if a page has a layout-table. I developed this hack because Martin said, that he does not see any chance to implement a layout-table check. This hack followed several exception hacks because Moodel pages are inconsistently created. All those exceptions I could delete too.
Now I added a JavaScript layout-table check which works great.
moodler [Fri, 11 Jan 2008 03:23:17 +0000 (03:23 +0000)]
Automatic installer.php lang files by installer_builder (
20080111)
stronk7 [Fri, 11 Jan 2008 00:05:55 +0000 (00:05 +0000)]
Adding custom check to test MDL-12914 ; merged from 19_STABLE
stronk7 [Thu, 10 Jan 2008 23:46:28 +0000 (23:46 +0000)]
Added new library to store all core custom checks to be performed
by environmental stuff. MDL-12914
skodak [Thu, 10 Jan 2008 23:13:30 +0000 (23:13 +0000)]
MDL-12921 Using visible groups in Q&A Forums student can't reply to discussions for All participants (including groups code cleanup); merged from MOODLE_19_STABLE
poltawski [Thu, 10 Jan 2008 16:11:10 +0000 (16:11 +0000)]
MDL-12915 - fixed require of removed file
merged from MOODLE_19_STABLE
jmg324 [Thu, 10 Jan 2008 15:43:24 +0000 (15:43 +0000)]
MDL-6216 print_category_info no longer counts invisible courses if the user does't have permission to see them.
tjhunt [Thu, 10 Jan 2008 15:38:48 +0000 (15:38 +0000)]
MDL-12913 - Error messages when doing an XML grade import are not very helpful, include the idnumber that is causing the problem in the error message.
skodak [Thu, 10 Jan 2008 15:09:58 +0000 (15:09 +0000)]
MDL-12911 fixed permission checks; merged from MOODLE_18_STABLE
tjhunt [Thu, 10 Jan 2008 14:17:37 +0000 (14:17 +0000)]
Fix notice when you try to import an empty XML file.
poltawski [Thu, 10 Jan 2008 14:08:19 +0000 (14:08 +0000)]
MDL-12890 - differing values for number of choice responses link to what is
displayed
merged from MOODLE_19_STABLE
tjhunt [Thu, 10 Jan 2008 10:58:16 +0000 (10:58 +0000)]
MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
poltawski [Thu, 10 Jan 2008 10:43:35 +0000 (10:43 +0000)]
MDL-12221 - use theme variables so it doesn't break on my setup ;)
merged from MOODLE_19_STABLE
skodak [Thu, 10 Jan 2008 10:01:06 +0000 (10:01 +0000)]
search cron.php is included from search block, the config.php was already included in admin/cron.php
jmg324 [Thu, 10 Jan 2008 09:47:29 +0000 (09:47 +0000)]
altered require statement for config.
Not sure why, but the referential file path was causing cron to fail because config couldn't be found when running from scheduled cron (running in browser was fine!
It looks tidier anyway to have both require's done the same way, so now both user $dirroot to locate files required and this works with scheduled cron.
moodler [Thu, 10 Jan 2008 06:10:50 +0000 (06:10 +0000)]
Merged parenting fix from 1.9 MDL-12221
moodler [Thu, 10 Jan 2008 03:51:56 +0000 (03:51 +0000)]
Merge MDL-12904 (db support for auth plugins) from 1.9 and 1.8
moodler [Thu, 10 Jan 2008 03:20:21 +0000 (03:20 +0000)]
Automatic installer.php lang files by installer_builder (
20080110)
mjollnir_ [Wed, 9 Jan 2008 23:15:44 +0000 (23:15 +0000)]
MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
also fixed a few typos and a || instead of && bug. This all relates to the CLI installer.
skodak [Wed, 9 Jan 2008 18:19:42 +0000 (18:19 +0000)]
MDL-12822 removing some unused grade functions (obsoleted by format grade function), renaming PUBLIC API to activity communication API and adding new querylib.php with useful functions (requested by other devs); merged from MOODLE_19_STABLE
tjhunt [Wed, 9 Jan 2008 17:23:47 +0000 (17:23 +0000)]
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - and there were also instances in blog.
tjhunt [Wed, 9 Jan 2008 16:46:21 +0000 (16:46 +0000)]
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - this was repeated in other parts of the user profile that I had not noticed when I fixed this before.
urs_hunkler [Wed, 9 Jan 2008 15:52:08 +0000 (15:52 +0000)]
Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.
In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
poltawski [Wed, 9 Jan 2008 12:57:44 +0000 (12:57 +0000)]
MDL-12889 - bad capability check [thanks Tim!] in assignment recent activity report
merged from MOODLE_19_STABLE
poltawski [Wed, 9 Jan 2008 11:04:39 +0000 (11:04 +0000)]
MDL-12888 - remove require to form no longer used
merged from MOODLE_19_STABLE
poltawski [Wed, 9 Jan 2008 10:57:45 +0000 (10:57 +0000)]
MDL-12888 - remove require to form no longer used
merged from MOODLE_19_STABLE
poltawski [Wed, 9 Jan 2008 10:49:59 +0000 (10:49 +0000)]
MDL-10886 - Category edit: use 'save changes', enable cancel button to allow us
to get back from where we came from & refine where we are returned to when cancelled.
merged from MOODLE_19_STABLE
poltawski [Wed, 9 Jan 2008 10:12:31 +0000 (10:12 +0000)]
MDL-12461 - wrong urls for message related log entries
merged from MOODLE_19_STABLE
moodler [Wed, 9 Jan 2008 07:36:29 +0000 (07:36 +0000)]
Fixed missing string MDL-12801
moodler [Wed, 9 Jan 2008 06:50:42 +0000 (06:50 +0000)]
Merged MDL-12801 from MOODLE_18_STABLE (improve roles terminology for system)
scyrma [Wed, 9 Jan 2008 04:10:02 +0000 (04:10 +0000)]
Small documentation fix.
ericmerrill [Wed, 9 Jan 2008 02:13:52 +0000 (02:13 +0000)]
MDL-11674
Changing back an issue that could cause dataloss.
mjollnir_ [Tue, 8 Jan 2008 23:27:45 +0000 (23:27 +0000)]
Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the miscellaneous course category to 1 too (discussion in moodle hq skype chat with Petr)
mjollnir_ [Tue, 8 Jan 2008 23:23:19 +0000 (23:23 +0000)]
MDL-12884: cli installer should create the context for the Miscellaneous course category
martinlanghoff [Tue, 8 Jan 2008 22:36:17 +0000 (22:36 +0000)]
mod/chat:chat_cron() - IS NOT NULL is better - MDL-11674
poltawski [Tue, 8 Jan 2008 22:25:07 +0000 (22:25 +0000)]
MDL-12840 - gradebook CSV import was failing due to newlines with nothing
on them
merged from MOODLE_19_STABLE
martinlanghoff [Tue, 8 Jan 2008 20:58:24 +0000 (20:58 +0000)]
mod/chat:chat_cron() delete stale chat messages with a single query, fast, and portable too! MDL-11674
poltawski [Tue, 8 Jan 2008 20:20:36 +0000 (20:20 +0000)]
MDL-12882 - we were caching empty records which caused clone warnings
merged from MOODLE_19_STABLE
tjhunt [Tue, 8 Jan 2008 18:37:46 +0000 (18:37 +0000)]
MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9.
tjhunt [Tue, 8 Jan 2008 18:29:20 +0000 (18:29 +0000)]
MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph Rézeau. Merged from MOODLE_18_STABLE.
urs_hunkler [Tue, 8 Jan 2008 18:07:47 +0000 (18:07 +0000)]
merged from 1.9 :: MDL-12881 :: added class names "username" and "password" for better login form handling.
sam_marshall [Tue, 8 Jan 2008 17:30:50 +0000 (17:30 +0000)]
MDL-12876 Moved accesshide text further off the screen as it was sometimes visible
poltawski [Tue, 8 Jan 2008 16:47:19 +0000 (16:47 +0000)]
MDL-12464 - refine further so that glossary can't refer to instance from
another course (and cause breakage)
tjhunt [Tue, 8 Jan 2008 15:17:02 +0000 (15:17 +0000)]
MDL-12875 - Hidden courses not in category list not visible to teachers on those courses in the list of courses in a category.
tjhunt [Tue, 8 Jan 2008 15:04:00 +0000 (15:04 +0000)]
Put back DEBUG_DEVELOPER sanity check in has_capability, that makes sure the capabiltiy you are asking about actually exists. I know it takes an extra DB query, but it is DEBUG_DEVELOPER only, and it is worth its weight in gold, because otherwise you get really subtle bugs that take forever to diagnose. I know, I have just been banging my head against the wall for an hour.
poltawski [Tue, 8 Jan 2008 13:40:32 +0000 (13:40 +0000)]
MDL-9372 - only show RSS options in database module when RSS is enabled
merged from MOODLE_19_STABLE