8b79a625b6
MDL-13936 forum reply refactoring and bugfixing - the forum_user_can_post() did not have discussion parameter which was a problem because the login depends on discussion group - there was a hack in discussion.php and view.php working around this, but it was not present in cron; sorry for the change of API, but it was required; merged from MOODLE_19_STABLE
2008-04-19 10:49:53 +00:00
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
7214101bd5
MDL-10990 forum perf revisited - reply and post discussion buttons now back for guests; merged from MOODLE_19_STABLE
2008-03-18 17:08:15 +00:00
525041df91
MDL-10990 5) eliminated reply related cap queries for guests and not-logged-in users because they can not post anyway, removed reply link for guests from news posts, they did not see Add discussion link already; merged from MOODLE_19_STABLE
2008-02-26 21:36:48 +00:00
b9973acc4e
MDL-13559 discussion moving; merged from MOODLE_19_STABLE
2008-02-21 10:31:55 +00:00
a5f77de6b9
Merged fixes from MDL-13476
2008-02-15 00:51:44 +00:00
65bcf17b95
MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE
2008-02-13 17:03:25 +00:00
c57da11991
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
2008-01-10 23:13:30 +00:00
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
c15b86dc95
Pass $modcontext down through the functions so that print_post is more efficient MDL-11606
2007-10-05 07:26:02 +00:00
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12:00
87a462eadb
Fixed navigation for forums where parents are chosen
2007-08-17 03:35:34 +00:00
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +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
87b0b4990b
Fix for manual read tracking MDL-9859
2007-05-21 14:43:09 +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
21b89cb43b
allow guests to see the reply link
2007-03-13 04:49:05 +00:00
9276d74255
merged fix for MDL-8864, users with no replypost capabilitiy can see reply link
2007-03-13 04:37:57 +00:00
f2d042c4c3
MDL-8765 user preference usage cleanup
2007-03-06 10:45:49 +00:00
511ec76be0
Merged fixes from stable for MDL-8741
2007-03-05 02:15:32 +00:00
b5ddfa29c7
Merged MDL-8741 fix from stable
2007-03-04 07:35:29 +00:00
c718dd57ba
MDL-8578 new capability for adding and replying to news in forum
2007-03-02 19:41:31 +00:00
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
41a220329e
Fix for MDL-7861
2007-01-07 10:19:01 +00:00
a1857045dc
Tidy up discussion controls using CSS MDL-7861
2007-01-04 15:58:55 +00:00
c7a049a3e2
More fixes for Strict MDL-7861
2007-01-04 15:31:05 +00:00
f3f7610c90
cvsimport fixups -- cvshead had strayed from upstream
2007-01-04 13:15:04 +13:00
102a58099a
SC#341 fixed initilaization of navtail variable
2006-12-14 08:14:03 +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
981af8b8e1
Merged guest reply fix for MDL-7393
2006-11-08 09:45:09 +00:00
f5bf7ea86a
Merged reply link fix from stable
2006-11-05 09:35:01 +00:00
bf553d9e85
Allow autologin as guest when viewing discussions (come in via link, say)
2006-10-24 15:58:34 +00:00
7b08a2ea3f
Merged fixes for MDL-7116 from stable
2006-10-20 06:19:22 +00:00
f0ef40c55f
merged proper fix for MDL-6926
2006-10-17 04:46:34 +00:00
50e07a4995
Patched login for discussions
2006-10-03 01:19:35 +00:00
825d73aa33
Fixed missing separator (MDL-3975).
2006-09-29 07:28:11 +00:00
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
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
499c621417
fixed quoting error
2006-09-25 14:15:55 +00:00
7c900d5d62
Changed to require_capability where possible
2006-09-25 13:14:50 +00:00
7fa8296f01
Bug fixes
2006-09-25 13:05:18 +00:00
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
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
45c38eef4c
Removed deprecated forum type teacher.
2006-08-22 07:38:01 +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
0fa18d5a27
Bug fixes + updated capabilities.
2006-08-09 06:59:28 +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