1804 Commits

Author SHA1 Message Date
Sam Hemelryk
74cf2d0015 MDL-26704 Fixed up variable typo 2011-05-18 15:32:40 +08:00
Eloy Lafuente (stronk7)
94a74f549a MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
Eloy Lafuente (stronk7)
dcc26efb70 Merge branch 'MDL-26704_user_outline_report_master' of git://github.com/andyjdavis/moodle 2011-05-17 11:55:04 +02:00
Andrew Davis (andyjdavis)
6ac149dce3 MDL-27387 rating: prevent the submission of ratings outside of the range allowed by the current scale 2011-05-11 11:29:31 +08:00
Andrew Davis (andyjdavis)
4433f871f2 MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report 2011-05-10 11:14:16 +08:00
Sam Hemelryk
2c82d0eeb0 Merge branch 'MDL-26838_ratings_bad_data_master4' of git://github.com/andyjdavis/moodle 2011-05-05 10:18:39 +08:00
Andrew Davis (andyjdavis)
778361c330 MDL-26838 rating: multiple fixes after a review of rating validation code 2011-05-04 15:43:30 +08:00
Sam Hemelryk
870815faed Merged MDL-25805 Renamed property and function to be a little more descriptive 2011-05-03 15:41:34 +08:00
Aparup Banerjee
b9bcad24db MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node. 2011-05-02 20:08:08 +08:00
Andrew Davis (andyjdavis)
2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
sam marshall
6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Dan Marsden
6d64106306 Forum Overview MDL-26957 add classes to allow better control by theme 2011-03-24 14:42:57 +13:00
Petr Skoda
72650054f4 MDL-26833 send forum notifications to active enrolled users only 2011-03-16 23:26:00 +01:00
Dongsheng Cai
67fc4f0025 MDL-9376, disallow student to see the other users posts in max editing time, credits to Vlas Voloshin and Charles Fulton 2011-03-11 11:22:13 +08:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
18ff4d427e MDL-25944 fix broken images in forum emails and fix invalid $group variable name 2011-02-18 11:00:43 +01:00
Eloy Lafuente (stronk7)
76b7e2d1d6 Merge branch 'w07_MDL-26389_20_profile' of git://github.com/skodak/moodle 2011-02-14 15:58:26 +01:00
Petr Skoda
81b58cc227 MDL-26389 improve profile and search engine privacy 2011-02-14 15:42:26 +01:00
Petr Skoda
b1d5d0155b MDL-26271 fix borked sql parameters in forum_search_posts and add missing modinfo field
This is the perfect example why there must not be duplicate parameter names in SQL queries.
2011-02-12 10:11:27 +01:00
Eloy Lafuente (stronk7)
cd03ecce8e Merge branch 'MDL-24870_rss_error' of git://github.com/andyjdavis/moodle 2011-02-08 10:21:55 +01:00
Eloy Lafuente (stronk7)
195a0848ec MDL-26272 ratings - fix uses breaking after last modinfo changes 2011-02-04 17:30:51 +01:00
andyjdavis
3ad3f24808 rss MDL-24870 fixed the capability checks to access module rss feeds 2011-02-04 10:27:52 +08:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Eloy Lafuente (stronk7)
56d1c48f24 MDL-25708 recordsets - forum module 2011-01-25 19:59:01 +01:00
Eloy Lafuente (stronk7)
a9af868943 Merge branch 'MDL-24561_forum_subscribe_sesskey' of git://github.com/mudrd8mz/moodle 2011-01-10 21:38:13 +01:00
Petr Skoda
2f1b1abc83 Merge branch 'MDL-25232' of git://git.luns.net.uk/moodle 2011-01-10 14:35:38 +01:00
Dan Poltawski
ed4a7e4b07 forum MDL-25232 - fix unbalanced divs 2011-01-09 21:11:01 +00:00
Dan Poltawski
065bee4b70 forum MDL-25909 - Fix undefined variable 2011-01-08 15:19:41 +00:00
David Mudrak
c56ed7bb85 MDL-24561 forum: require sesskey for the course-wide subscriptions
mod/forum/index.php allows to subscribe to and unsubscribe from all
forums in the course. However, sesskey was not checked here.
2011-01-05 13:01:46 +01:00
David Mudrak
6f7d65c724 MDL-24561 forum subscription checks sesskey
The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
I also polished $mode parameter handling a bit because the check
against empty string was not correct as the value is cast to PARAM_INT.
2011-01-05 13:01:46 +01:00
Petr Skoda
1310964bb3 Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
Conflicts:
	mod/lesson/version.php
2010-12-27 13:39:20 +01:00
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
Petr Skoda
c35ae13691 MDL-25674 forum must send full user record when setting up different session user in cron 2010-12-20 14:41:17 +01: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