Commit graph

1017 commits

Author SHA1 Message Date
mudrd8mz
8222c59e6c MDL-13449 Fix the problem with displaying aggregation type "Count of ratings". Merged from MOODLE_19_STABLE 2009-01-29 12:40:24 +00:00
tjhunt
853a3eefd4 forum rating: MDL-18044 notice sometimes when a forum is rated, also XHTML strict problems and fix incorrect help text. 2009-01-27 06:35:56 +00:00
moodler
5138378ab3 forum/css MDL-16749 added a div named "posting" around the posting (merged from 1.9) 2009-01-20 07:55:49 +00:00
stronk7
12f6d01610 MDL-17364 forum ajax rating working 2009-01-17 19:14:37 +00:00
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
6bf25708b6 DML 2.0 regression 2009-01-05 23:42:51 +00:00
skodak
e8b7114d5e MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user() 2009-01-03 13:16:59 +00:00
skodak
6648265857 MDL-16262 recovery of broken single simple discussions after old reset 2009-01-01 22:53:43 +00:00
skodak
af53d23f68 MDL-16262 fixed resetting of single simple discussions 2009-01-01 22:43:00 +00:00
moodler
6093af9bc4 MDL-15499 - Spacing fixes only 2008-12-18 02:46:25 +00:00
skodak
48dcaf5892 MDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead of $cm->id; merged from MOODLE_19_STABLE 2008-12-17 18:10:58 +00:00
tjhunt
081cce7325 forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error. 2008-12-15 06:08:51 +00:00
dongsheng
12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
tjhunt
8d8d0bfaae forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.
This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.
2008-12-11 07:01:57 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
poltawski
a07e0af03a forum: Portfolio save button was adding an additional '|' when no plugins
available MDL-17467
2008-12-01 20:40:42 +00:00
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
stronk7
7a8d8f2247 Minor formatting 2008-11-20 13:09:45 +00:00
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00
mjollnir_
62e7195480 MDL-16587 portfolio export formats - support straight file export not just RICHHTML (html + attachments) , it doesn't make sense in things like box.net 2008-11-11 19:54:50 +00:00
stronk7
0e442226f3 MDL-14952 - roles: 'moodle/legacy:guest' was preventing admins to post
new discussions in fron page if $CFG->defaultfrontpageroleid = guest. Merged from 19_STABLE
2008-11-01 00:30:55 +00:00
stronk7
4436a63b64 MDL-14998 - roles: add mod/forum:viewdiscussion protection to forum_get_discussions() ; merged from 19_STABLE 2008-10-31 21:50:08 +00:00
nicolasconnault
ddaf465b57 MDL-16341 Fixed a missing $context in has_capability check for portfolio export, forum lib 2008-10-31 09:54:07 +00:00
skodak
fa6081b3d0 MDL-16903 mod/forum: undefined course context when forum subscription not allowed; merged from MOODLE_19_STABLE 2008-10-16 20:46:45 +00:00
mjollnir_
42579aeeb8 MDL-16587: mod/forum portfolio implementation: fixed warning. 2008-10-13 10:10:14 +00:00
mjollnir_
6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
scyrma
de2047e7a9 Forum/MDL-14558: Prevent users from subscribing or getting subscribed to forums where subscriptions are not allowed. (merge) 2008-10-07 09:28:47 +00:00
skodak
9971cc0ce1 MDL-16617 fixed forum name filtering - thanks Mark Nielsen; merged from mOODLE_19_STABLE 2008-09-25 07:12:27 +00:00
nicolasconnault
274e2947a2 MDL-16486 Only using one test $DB connection. Completed most of the implementation. Tests working well now. 2008-09-22 07:06:08 +00:00
poltawski
83199e454e MDL-16542 - missing global $USER 2008-09-16 21:32:09 +00:00
mjollnir_
b2a9505b22 MDL-16514 - adding format to forum mod_form and fixing regression in single forum type add instance 2008-09-15 15:55:11 +00:00
mjollnir_
37f03ea00b MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin
2008-09-12 11:22:15 +00:00
moodler
81de8d8e64 MDL-16474 Make counts of posts look nicer, and use the scale to show the results, not just a number 2008-09-12 07:26:56 +00:00
mjollnir_
0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
mjollnir_
b4fecea22d MDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML 2008-09-09 11:25:45 +00:00
mjollnir_
d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
skodak
7e55d513a1 MDL-16072 fixed area browsing 2008-09-07 23:22:23 +00:00
skodak
a060b744e8 MDL-16072 adding missing lang strings 2008-09-07 22:37:32 +00:00
skodak
d6f7cbfd98 MDL-16374 support for file browsing in modules 2008-09-06 17:00:43 +00:00
mjollnir_
1e14c62f10 MDL-16360 - better forum implementation 2008-09-05 17:23:22 +00:00
mjollnir_
ea0de12f10 MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_
3bb8a2c75c MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers 2008-09-04 10:38:44 +00:00
scyrma
927ce88759 MDL-15405: Add support for relinking of inline media 2008-09-04 01:56:50 +00:00
mjollnir_
c9e745468f MDL-15758 - added back full forum exports 2008-09-03 12:05:31 +00:00
moodler
ad78615cb3 MDL-15405 Final bit to make forum attachments work with filepicker 2008-09-03 06:07:36 +00:00
dongsheng
94eff36397 "MDL-16284, fix mismatch tracking state title, merged from MOODLE_19_STABLE" 2008-09-03 03:01:09 +00:00
skodak
b229ac31b1 MDL-12224 no more {$CFG->prefix} in HEAD 2008-09-02 22:10:11 +00:00