tjhunt
38e179a4ed
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
...
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
moodler
c15b86dc95
Pass $modcontext down through the functions so that print_post is more efficient MDL-11606
2007-10-05 07:26:02 +00:00
Martin Langhoff
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12:00
moodler
87a462eadb
Fixed navigation for forums where parents are chosen
2007-08-17 03:35:34 +00:00
skodak
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +00: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
moodler
87b0b4990b
Fix for manual read tracking MDL-9859
2007-05-21 14:43:09 +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
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
toyomoyo
21b89cb43b
allow guests to see the reply link
2007-03-13 04:49:05 +00:00
toyomoyo
9276d74255
merged fix for MDL-8864, users with no replypost capabilitiy can see reply link
2007-03-13 04:37:57 +00:00
skodak
f2d042c4c3
MDL-8765 user preference usage cleanup
2007-03-06 10:45:49 +00:00
moodler
511ec76be0
Merged fixes from stable for MDL-8741
2007-03-05 02:15:32 +00:00
moodler
b5ddfa29c7
Merged MDL-8741 fix from stable
2007-03-04 07:35:29 +00:00
skodak
c718dd57ba
MDL-8578 new capability for adding and replying to news in forum
2007-03-02 19:41:31 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
vyshane
41a220329e
Fix for MDL-7861
2007-01-07 10:19:01 +00:00
moodler
a1857045dc
Tidy up discussion controls using CSS MDL-7861
2007-01-04 15:58:55 +00:00
moodler
c7a049a3e2
More fixes for Strict MDL-7861
2007-01-04 15:31:05 +00:00
Martin Langhoff
f3f7610c90
cvsimport fixups -- cvshead had strayed from upstream
2007-01-04 13:15:04 +13:00
skodak
102a58099a
SC#341 fixed initilaization of navtail variable
2006-12-14 08:14:03 +00:00
skodak
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
moodler
981af8b8e1
Merged guest reply fix for MDL-7393
2006-11-08 09:45:09 +00:00
moodler
f5bf7ea86a
Merged reply link fix from stable
2006-11-05 09:35:01 +00:00
moodler
bf553d9e85
Allow autologin as guest when viewing discussions (come in via link, say)
2006-10-24 15:58:34 +00:00
moodler
7b08a2ea3f
Merged fixes for MDL-7116 from stable
2006-10-20 06:19:22 +00:00
toyomoyo
f0ef40c55f
merged proper fix for MDL-6926
2006-10-17 04:46:34 +00:00
moodler
50e07a4995
Patched login for discussions
2006-10-03 01:19:35 +00:00
vyshane
825d73aa33
Fixed missing separator (MDL-3975).
2006-09-29 07:28:11 +00:00
vyshane
cef1ce6abf
Fixes for MDL-3975
...
Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.
2006-09-28 07:29:50 +00:00
vyshane
83da3d286c
Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums.
2006-09-26 08:37:56 +00:00
skodak
499c621417
fixed quoting error
2006-09-25 14:15:55 +00:00
vyshane
7c900d5d62
Changed to require_capability where possible
2006-09-25 13:14:50 +00:00
vyshane
7fa8296f01
Bug fixes
2006-09-25 13:05:18 +00:00
vyshane
49a0ba9438
Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
...
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
martinlanghoff
5a39def902
re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."
...
Originally by vyshane - got dropped accidentally in one of the biiiiig roles
commits.
2006-09-17 02:27:13 +00:00
vyshane
45c38eef4c
Removed deprecated forum type teacher.
2006-08-22 07:38:01 +00:00
moodler
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
vyshane
0fa18d5a27
Bug fixes + updated capabilities.
2006-08-09 06:59:28 +00:00
vyshane
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
moodler
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
martinlanghoff
c1cda9df45
forum: notification of a moved dicussion (bug#4874)
...
Moving a discussion now leaves a notification message in the
original location with a link to the new location.
Author: Luke Hudson <luke@catalyst.net.nz>
2006-07-31 04:54:44 +00:00
vyshane
4e5e7d54b5
Merged from 1.6 stable. Error message now displays using notify() instead of
...
error() when purging of old RSS feeds fail during a discussion move.
2006-06-26 04:44:41 +00:00
moodler
e6dd6b9a68
No need for error when deleting RSS feed
2006-06-19 16:20:35 +00:00
vyshane
883f4e3dc6
Merged fix from 1.6 for bug:
...
Notice: Undefined property: id in /home/moodle/public_html/certificate/mod/forum/discuss.php on line 38
This happens when the user is not logged in and wants to view a forum of type
news.
2006-06-14 08:47:19 +00:00
vyshane
b134f6a71e
Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions.
2006-06-07 08:19:34 +00:00
moodler
ff1dc0465b
Merged fixes for forum_user_can_view_post from stable
2006-04-07 14:54:52 +00:00
mjollnir_
a4f495bf86
Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
...
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
mjollnir_
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