Commit Graph

113 Commits

Author SHA1 Message Date
90f4745c22 MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE 2008-04-13 19:15:02 +00:00
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
6023354bf7 Merged MDL-12634 - fixed back link 2008-02-26 08:43:31 +00:00
2f3f505f78 MDL-13625 improve perf and fixed groups code on forum index page; merged from MOODLE_19_STABLE 2008-02-24 20:15:12 +00:00
a90e92a538 MDL-13565 Tracking forum fixes; merged from MOODLE_19_STABLE 2008-02-24 10:54:21 +00:00
c5eb407be4 Added a more robust check to avoid a notice 2008-02-21 06:02:16 +00:00
150be0dfd0 MDL-13542 Merged return checking from stable 1.9 2008-02-20 06:16:07 +00:00
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
1c0d9b6677 MDL-12226 forum index page not always displaying forum links or subscription buttons as expected 2007-11-16 17:03:06 +00:00
52ca1e737e MDL-12055 Tweaked forum subscribe 'continue' address 2007-11-07 17:33:12 +00:00
a365ee56cf Fix for subscription and tracking buttons to remove links and improve accessibility and reduce crawler problems http://tracker.moodle.org/browse/MDLSITE-263 2007-09-21 02:52:51 +00:00
14237364b0 MDL-10888: groupings - mod/forum - bugfix, missing $currentgroup 2007-08-30 21:01:57 +00:00
56c2ef2533 Fixed obvious typo causing notice 2007-08-30 16:09:13 +00:00
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
40ce63cbb7 MDL-10588 - refactor the code for printing the 'subscribe/unsubscribe from this forum' link into one place. 2007-07-24 17:06:29 +00:00
962d013395 Oops, typo in one half of the previous commit. See, that is why duplicated code is bad for maintenance! 2007-07-24 10:43:23 +00:00
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
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
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
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
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
511ec76be0 Merged fixes from stable for MDL-8741 2007-03-05 02:15:32 +00:00
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
3df151627c More forum tidying up, less tables 2007-01-08 07:16:48 +00:00
edebb94faa MDL-7434 all images that convey information should have alt text to convey that information - part 8 2006-11-26 19:30:39 +00:00
2f8d5316a1 Forums index page, add table headers for section/week MDL-7480
and fixed section_links block for weekscss format
2006-11-22 07:48:35 +00:00
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
aad6c6c222 merged fixing capabilities 2006-10-24 04:26:46 +00:00
4067b96821 Merged missing </span> from stable 2006-10-22 08:25:51 +00:00
583b57b42d Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now? 2006-09-24 14:01:50 +00:00
1febf1a77a Replaced isteacher & co. Fixed some issues. 2006-09-22 06:29:40 +00:00
b32c8ddadd Fixed typos in capability names 2006-09-21 14:05:58 +00:00
9222e72167 Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead. 2006-09-21 08:32:05 +00:00
9fa3350862 Upgrade now works. Needs more testing. 2006-08-22 05:45:43 +00:00
f0da6b858e Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
9af1611a06 Replaced capability mod/forum:viewdiscussionsfromallgroups by
moodle/site:accessallgroups in code. Removed former from mod/forum/db/access.php.
2006-08-08 06:56:09 +00:00
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
03877b049e Users can now subscribe/unsubscribe to all forums in a course from the forum list 2005-11-28 03:11:05 +00:00
91121c8904 shorten_text() AFTER format properly. See bug 4355.
(http://moodle.org/bugs/bug.php?op=show&bugid=4355)

Merged from MOODLE_15_STABLE
2005-11-21 15:42:19 +00:00
70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
a9022f9e9b Generate properly RSS column. It was breaking styled (colored) rows.
Merged from MOODLE_15_STABLE
2005-06-10 09:04:59 +00:00
c39748f4b4 Re: Bug 3033 - fixed incorrect arguments in markposts for the forum index
screen.
2005-04-28 19:49:01 +00:00
630bd96bd9 Fixing read tracking link when tracking is forced. 2005-04-26 22:02:26 +00:00
eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
c246882469 Now it behaves properly when tracking is turned off 2005-04-25 18:36:32 +00:00
6de6cd5a27 Fixed forum index, removed "mark read" links .... 2005-04-25 17:45:15 +00:00
20a3dad574 Added the ability to mark discussions read. 2005-04-25 15:00:27 +00:00
45293cd330 More robust personal forum tracking logic. Added personal forum tracking
option setting to forum view page.
2005-04-25 14:02:00 +00:00