Commit graph

1228 commits

Author SHA1 Message Date
tjhunt
49b53f26e0 Elimintate duplicated code and simplify some logic. Ironically, do it twice in two separate places, becuase there is some more large-scale code duplication in this file that I am not even going to attempt to fix. 2007-07-24 10:39:10 +00:00
tjhunt
3a5e1d064e Get rid of pointless 'TODO document' comments. 2007-07-24 10:37:00 +00:00
tjhunt
a7a8973866 MDL-10533 - forum search results were having format_text applied twice, which was breaking things like glossary links. 2007-07-24 09:10:21 +00:00
stronk7
e3fc108e41 Let's use the default (cached) list of fields here. MDL-10571
Merged from MOODLE_18_STABLE
2007-07-23 16:34:41 +00:00
tjhunt
21976af149 Starting work on MDL-10533 - Eliminate one totally evil abuse of $SESSION. Also, document forum_print_post. 2007-07-23 16:00:36 +00:00
moodler
850e7ac564 Merged fix for full link to post in search results , from stable 2007-07-23 09:11:57 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
moodler
4d46304821 Merged "no posts" string fix from stable 2007-07-13 03:05:17 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
skodak
92382b6d02 fixed typo 2007-06-26 13:03:18 +00:00
toyomoyo
e352359420 merged fix for MDL-9051, apply supplied patch to fix $CFG->forum_enabletimedposts 2007-06-26 08:33:03 +00:00
toyomoyo
0e4743c847 adding include_once for gradelib public api function 2007-06-26 06:28:42 +00:00
skodak
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
skodak
d55930f153 MDL-9516 removing include of gradelib.php - now included only when needed 2007-06-11 11:28:42 +00:00
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
skodak
19be539627 MDL-10066 move testmodforumlib.php into mod/forum/simpletest/ 2007-06-09 16:55:31 +00:00
moodler
80974e6a12 Teacher forums are now displayed to admins correctly MDL-9590
Merged from 1.8
2007-06-07 02:45:45 +00:00
skodak
b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak
38bd362af1 MDL-10018 Discussion for all groups not sent when groups used to users without access to all groups 2007-06-04 21:43:57 +00:00
skodak
5980d52f23 MDL-9516 fixed mod_form.php logic + related lib issues 2007-06-03 19:12:55 +00:00
skodak
c3cec42188 MDL-9516 fixed mod_form.php logic 2007-06-03 19:08:14 +00:00
skodak
353228d8f4 MDL-9548 Implement grade_updated event triggers in Forum 2007-06-03 16:24:03 +00:00
skodak
0c5988d7d2 MDL-10011 cleanup xhtml and code in report.php - forum, glossary and data mod 2007-06-03 16:17:39 +00:00
skodak
926d9e5e27 fixed some xhtm strict problems 2007-06-03 15:31:30 +00:00
moodler
87b0b4990b Fix for manual read tracking MDL-9859 2007-05-21 14:43:09 +00:00
poltawski
2ee60b4944 MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:11:58 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
toyomoyo
db76f84627 merged fix for MLD-9727, capability typo 2007-05-07 05:00:22 +00:00
martinlanghoff
0a66585b3d get_my_courses() callers update - check of the $fields param - pass null instead
The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
2007-05-06 05:32:40 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
skodak
a32fa3588a MDL-9387 Message "Adding discussions to this forum requires group membership" if not logged; nerged from MOODLE_18_STABLE 2007-04-17 08:36:58 +00:00
mattc-catalyst
e3f58dfb4e Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:12:29 +00:00
nicolasconnault
ff406a88da MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. 2007-04-13 02:42:49 +00:00
nicolasconnault
1670305df4 Added a few more comments 2007-04-12 05:59:09 +00:00
nicolasconnault
1f11c89751 Typo, sorry 2007-04-12 05:01:09 +00:00
nicolasconnault
0a4ac01b3e Converted all function comments to PHPdoc style, and added stub phpdocs for functions without comments. 2007-04-12 04:25:47 +00:00
nicolasconnault
e2c51b2dfb MDL-9223 Fixed a coding error: $group->id changed to $discussion->groupid 2007-04-12 02:23:28 +00:00
nicolasconnault
632730fdd7 MDL-9213 Corrected $forum->format to $forum->type 2007-04-11 01:05:28 +00:00
nicolasconnault
468f5d6896 MDL-9124 Added a visual notification when group membership doesn't allow adding discussions. 2007-04-04 06:27:50 +00:00
toyomoyo
bcc723bcea merged fixing a warning 2007-03-29 06:34:40 +00:00
sam_marshall
18d6ef01ca Merged MDL-9072 Made forum discussion list not show links to groups if you don't have permission to view them 2007-03-27 12:23:25 +00:00
moodler
e1526d7792 Merged fix for MDL-9052 from 1.8 2007-03-27 05:15:46 +00:00
skodak
ad9ff3d392 MDL-8804 two digests per day - merged from MOODLE_18_STABLE 2007-03-21 22:17:41 +00:00
toyomoyo
a7bb9b8ff2 merged fix for MDL-8981, roles assigned at site level may result in a lot of default subscriptions 2007-03-21 06:07:46 +00:00
nicolasconnault
e9ff8e100a MDL-8832 : Undid the stripslashes and changed calls to s($string) to s($string, true) instead. 2007-03-20 05:21:31 +00:00