1769 Commits

Author SHA1 Message Date
andyjdavis
d8f1412819 message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00
David Mudrak
7e514cd768 MDL-25619 portfolio: exported HTML output can not be cleaned 2010-12-08 23:20:04 +00:00
David Mudrak
d1571da6c8 MDL-25068 forum: fixed error string usage
The string [cannotsubscribe,mod_forum] is supposed to be used for group
membership check only. I have fixed the two other usages of the string.
Note that the condition if (forum_subscribe()) was useless as the
function return true values only now after $DB conversion.
2010-12-07 12:34:35 +00:00
David Mudrak
9a3adb2032 NOMDL forum: fixed the string wording to match the current code condition
Previous string was used together with the legacy:guest capability.
However, the current code checks is_enrolled() instead. This led to a
weird situation when non-enrolled admin or manager could not subscribe
to a forum and the error message was completely confusing for them.
2010-12-07 12:34:11 +00:00
David Mudrak
99eb51d9e4 MDL-22114 forum: fixed PAGE url param set
I am pretty sure Sam overlooked this is in the commit afef965e
2010-12-07 12:33:24 +00:00
Helen Foster
7a35fe4ffd MDL-21250 capital letters removal 2010-12-02 15:42:24 +00:00
Sam Hemelryk
c89fa3fe4c mod-forum MDL-25386 Fixed up the navigation for the forum. 2010-11-29 06:27:22 +00:00
Andrew Davis
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
Sam Hemelryk
653bc47ff2 mod-forum MDL-25299 Fixed up whitespace issue in forum lib 2010-11-19 01:57:23 +00:00
David Mudrak
29ec4d26ff Fixed the anchor of Show parent link in the Forum
The anchor link led to the post itself instead of to the parent.
2010-11-18 12:47:24 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Sam Hemelryk
1d67258eb9 mod-forum-search MDL-25239 Fixed double encoding of the search param during pagination 2010-11-16 09:00:47 +00:00
David Mudrak
b0f5d070e7 MDL-23978 portfolio: do not cleanup images with portfolio URI scheme
The problem was in the order of the content preparing. Now when the
filters are always skipped (they have to) we must always run
format_text() first. That will prepare nice HTML in which we just
rewrite the portfolio URIs.
Note that we are still calling clean_text() so that we do not export
malicious code for portfolios like File download. In the future, this
may be changed, made format specific or even per-export configurable.
As a side product of the patch, I have re-enabled online assignment
portfolio export and switched $options->para to false consistently.
2010-11-15 22:59:06 +00:00
David Mudrak
f3cc571af2 MDL-25225 forum: fixed discussion control layout
The display mode selector is supposed to display in the middle of the
row. Move discussion selector should be on the right, portfolio export
selector on the left. Thanks Sam Marshall for the report and testing the
patches.
2010-11-15 14:18:24 +00:00
Sam Marshall
15e48a1a49 Forum MDL-25170 Discussion move feature should have button so you don't do it by accident (again) 2010-11-15 10:41:26 +00:00
David Mudrak
afe38b79c6 MDL-21657 fixed regression in function call after its API change
The API of the function forum_print_posts_threaded() was changed in
63e87951e6ce93aadc2b891556bf832fe4b5226c but this call was not updated.
This led to not displaying other replies when replying to a forum post.
2010-11-15 10:02:44 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Tim Hunt
d2af10140a forum files MDL-25167 files in the post file area were not moved when the post was moved or deleted.
Also, I refactord some code out of forum_move_post and into a new method file_storage::move_area_files_to_new_context. I hope that is OK.
2010-11-11 18:58:06 +00:00
David Mudrak
d8c4a74e29 Text filters can not be applied on the content exported to the portfolio
Filters can replace text with images (smilies, temporary TeX images
etc.), links to glossaries or databases or embedded media players.
Therefore it is important to disable filter processing during portfolio
export.
2010-11-11 18:47:57 +00:00
David Mudrak
f357d2f8eb Fixed portfolio UI integration in forum thread
There was not enough space to put yet another discussion thread control
widget.
2010-11-11 18:04:43 +00:00
David Mudrak
104c06ac9d Incorrect order of content processing during forum post portfolio export
During the portfolio export, portfolio_rewrite_pluginfile_urls() must be
called before format_text(). Otherwise some filters can interfere with
internal raw record syntax. For example, the Algebra Notation uses @@
for its own purposes and it used to break @@PLUGINFILE@@ placeholder.
2010-11-11 16:42:53 +00:00
Sam Marshall
2380ac57d6 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-10 12:06:24 +00:00
Petr Skoda
72ea011706 MDL-24955 improved add discussion logic for users that are not enrolled yet 2010-11-10 02:49:00 +00:00
Petr Skoda
8e18e1ecdc MDL-24955 improved reply link logic for users that are not enrolled yet 2010-11-10 02:43:56 +00:00
Petr Skoda
45ff8a80d3 MDL-24955 improved detection of available self enrol plugins 2010-11-10 02:14:27 +00:00
Sam Marshall
702a206cd3 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-09 17:09:13 +00:00
Sam Hemelryk
01d0aceb64 mod-forum MDL-25113 Fixed up navigation for forum when browsing a discussion. 2010-11-09 08:59:53 +00:00
Andrew Davis
99fa98899b forum MDL-24850 added ratings to mod/forum/user.php 2010-11-09 08:34:30 +00:00
Sam Hemelryk
8cda6c2a3a mod-forum MDL-25113 Fixed up navbar display for forum threads 2010-11-09 03:43:40 +00:00
Petr Skoda
54ab8769cd MDL-24955 prevent infinite redirect loop when not enrolled and self enrol not available 2010-11-09 01:53:28 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Sam Hemelryk
c48a07c64e mod-forum MDL-24895 Fixed up CSS classes in forum posts 2010-11-05 07:53:08 +00:00
Andrew Davis
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
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Andrew Davis
4ffa1463ec message MDL-24972 made sure all strings in messages are in the message recipient's language 2010-11-02 07:37:25 +00:00
Eloy Lafuente
384437085a MDL-24996 - make forum_print_post() to specify context on format_text() calls 2010-11-02 01:59:20 +00:00
Andrew Davis
7c810d077d rss MDL-24902 made sure that the item title tag has something in it 2010-10-29 03:06:11 +00:00
Dongsheng Cai
fc98c3aecb "MDL-24851, added DISTINCT statements" 2010-10-27 13:16:52 +00:00
Andrew Davis
14a0e7ddff message MDL-24771 another big commit of messaging fixes 2010-10-26 08:00:29 +00:00
Andrew Davis
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
Tim Hunt
9c670df6db forum cron MDL-24843 fix typo in mtrace message.
Fix thanks to Colin Chambers.
2010-10-25 13:11:51 +00:00
Andrew Davis
a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
Eloy Lafuente
41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +00:00
Sam Hemelryk
34563b35e7 mod-forum MDL-24628 Properly setting up course and cm on PAGE 2010-10-22 05:55:36 +00:00
Aparup Banerjee
2e9459108c forum MDL-24638 merged changes from 19 to HEAD 2010-10-22 02:04:42 +00:00
Andrew Davis
6ee2611c63 message MDL-24563 altered messaging so that forum post notifications aren't so overwhelming when viewed on /message/index.php 2010-10-15 06:59:02 +00:00
Andrew Davis
1b2ecaf3b5 forum MDL-23298 made the turn on/off tracking link not display if tracking is being forced 2010-10-14 02:44:39 +00:00
Sam Hemelryk
5da8e7d5eb mod-forum MDLSITE-1073 Fixed up the search highlighting in forum post messages 2010-10-12 01:59:32 +00:00
Sam Hemelryk
241ce9c4b4 mod-forum MDL-24569 Improved forum posts/discussions links within navigation 2010-10-11 06:28:41 +00:00
Sam Hemelryk
c6de9cefc5 ratings MDLSITE-1028 Added additional structure to the ratings renderer output 2010-10-06 05:50:45 +00:00