Commit Graph

61 Commits

Author SHA1 Message Date
bc4c7337e1 MDL-22077 forum: Add forum private replies
This patch adds new capabilities:
'mod/forum:postprivatereply'   - whether a user is able to post private replies; and
'mod/forum:readprivatereplies' - whether a user is able to read private replies.

Private replies are only visible to the intended recipient (the author of
the parent post), the author of the private reply, and those with the
ability to read private replies.

If a post is private then it cannot be replied to further.
2019-04-04 11:25:29 +08:00
82b50d3187 MDL-62543 forum: Switched the usage of the deleted flag for rss
The deleted flag was introduced through the Privacy API and was used
for post selection for the rss feed. In there it was used in the
wrong way, which lead to the exclusion of all non deleted posts instead
of excluding all deleted ones.
This commit fixes this problem.
2018-05-23 14:05:28 +02:00
3e95e09b67 MDL-61309 mod_forum: Implement privacy deletion 2018-05-09 14:04:13 +08:00
098f4337d2 MDL-61068 mod_forum: Round timed posts to nearest 60 seconds
This slightly reduces the effectiveness of the DB query cache, but gives
us correct results every time.
2018-01-05 16:43:02 +08:00
01030f1be6 MDL-44157 mod_forum: unified @package use 2014-02-18 11:15:10 +13:00
8f6e47d9c7 MDL-42607 mod_forum:fixed some inefficiencies in forum RSS generation 2013-12-31 12:28:09 +08:00
5450ed4347 MDL-42599 forum rss: Update the sql statements to return all user name fields. 2013-10-30 11:25:59 +08:00
54eb02a45c MDL-26170 RSS: fixed RSS cache clearing when items are deleted 2013-10-22 10:29:05 +07:00
941294ef43 MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists 2013-01-10 17:59:40 +08:00
5fe65fd438 MDL-36741 mod_forum: fixed SQL that was generated when either timed posts or groups were enabled 2012-11-23 17:01:50 +08:00
17ec4bf045 Alteration to the code to hide the body of the post / discussion 2012-05-28 13:09:23 +08:00
7ea78d9f28 MDL-32199 Ensure that forum RSS feeds don't leak posts and discussions 2012-05-28 13:09:22 +08:00
af89cdd43b MDL-26500 mod/forum: Rewrite pluginfile urls in RSS 2012-04-17 17:47:11 +08:00
13d1c9ed55 MDL-30991 - RSS - Doc-block clean up 2012-02-15 15:19:59 +08:00
3ad3f24808 rss MDL-24870 fixed the capability checks to access module rss feeds 2011-02-04 10:27:52 +08:00
da8ae44ead rss MDL-25319 adding a check to avoid some work if the same rss feed is requested repeatedly 2010-11-19 06:33:38 +00:00
cc7719396e rss MDL-25076 made forum rss feeds that are displaying discussions instead of posts correctly set the item titles 2010-11-05 06:13:31 +00:00
7c810d077d rss MDL-24902 made sure that the item title tag has something in it 2010-10-29 03:06:11 +00:00
a5d2a7495c rss MDL-24532 made rss item title be the post subject rather than the discussion title 2010-10-26 01:33:08 +00:00
e65ce4c1d0 rss MDLSITE-1007 fixed a security problem 2010-10-04 07:22:39 +00:00
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
46d39cf3bc variable initialisation 2010-09-18 12:56:54 +00:00
43b92251be rss MDL-23391 made lib/rsslib.php more generic 2010-07-21 02:11:53 +00:00
4df5322391 rss MDL-23391 rerefactored rss feed generation 2010-07-20 08:36:22 +00:00
274f98409a rss MDL-23391 refactored rss feeds to make them standard across components 2010-07-20 07:49:34 +00:00
d5f25d957e rss MDL-23383 moved the RSS cache to /dataroot/cache/rss 2010-07-19 06:46:23 +00:00
fcce139aa3 RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php 2010-05-02 11:43:57 +00:00
17e5633cab MDL-21876 fixed incorrect uses of bound parameters - patch by Ashley Holman, thanks! 2010-03-20 11:49:48 +00:00
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +00:00
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
4ba2221a09 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:46:04 +00:00
e2d7687fc4 MDL-18902 reimplemented trusstext support in forum + standardising format column for text fields 2009-04-20 11:36:01 +00:00
0faf6791f4 MDL-16072 File storage conversion Forum 2008-08-16 21:24:05 +00:00
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
4e44535526 MDL-15108 Upgrade finished, preliminary tests successful. Please continue testing. 2008-06-05 20:16:09 +00:00
09164d709e Fixes to make forum RSS generation more efficient MDLSITE-244 2007-08-22 07:38:38 +00:00
72da35d536 Add support for multilang titles in forum->posts
Merged from MOODLE_17_STABLE
2006-12-20 16:41:11 +00:00
ec41cb3c52 Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS discussion feed type too; merged from MOODLE_17_STABLE 2006-10-21 21:05:44 +00:00
318f210074 Merged fix for notice from stable 2006-10-21 16:00:43 +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
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +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
895a45e231 Bug #5944 - error message when moving thread; merged from MOODLE_16_STABLE 2006-06-29 08:01:48 +00:00
b134f6a71e Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions. 2006-06-07 08:19:34 +00:00
ee1e1a3b99 fixed warning and removed ugly hack in attachment path; merged from MOODLE_16_STABLE 2006-06-02 06:49:08 +00:00
2ebc8a57bd RSS feed based on modified date, not created date 2006-04-14 04:53:45 +00:00
fbec0acb3e Strip tags from final RSS feed name 2006-04-12 08:58:20 +00:00
95a86f752b Fixes to rsslib to ensure the output is valid RSS 2.0 2006-03-17 07:44:22 +00:00
410a24c09e Merged Hannes Gassert's code for podcasting support more or less without changes.
http://opensource.mediagonal.ch/moodle/patches/podcasting/
2005-12-02 07:07:44 +00:00