Commit graph

1101 commits

Author SHA1 Message Date
Jody Steele
b770f5363d MDL-33933 mod_forum: fix incorrect capability check 2012-09-26 05:18:01 -07:00
Eloy Lafuente (stronk7)
ed4f7cccc3 MDL-35538 forum: take rid of forum_get_separate_modules()
100% incorrect function and not used in codebase at all.
2012-09-20 10:21:00 +02:00
Eloy Lafuente (stronk7)
b09764da07 MDL-33166 forum: fetch cmid to be used by capability checks. 2012-09-19 21:39:58 +02:00
Eloy Lafuente (stronk7)
a9c31deea8 Merge branch 'wip-mdl-33166' of git://github.com/rajeshtaneja/moodle 2012-09-19 00:38:41 +02:00
Frederic Massart
0da2ae21d1 MDL-30909 Accessibility: Improved access to reply form in forums 2012-09-18 14:54:24 +08:00
Rex Lorenzo
1659b1d1a8 MDL-33166 Forum: Adding capability mod/forum:allowforcesubscribe
Conflicts:

	mod/forum/version.php
2012-09-17 10:06:26 +08:00
Eloy Lafuente (stronk7)
60cb1a5f70 Revert "MDL-32125 mod_forum: updating subscription mode not reflected"
This reverts commit bee9656ca9.
2012-09-14 10:37:10 +02:00
Eloy Lafuente (stronk7)
464df58811 Revert "MDL-32125 mod_forum: updating subscription mode not reflected"
This reverts commit cf3b9054ba.
2012-09-14 10:36:58 +02:00
Sam Hemelryk
36b76c1ff9 Merge branch 'master_MDL-32125_forum_subscription_change_reflected' of git://github.com/kanikagoyal/moodle 2012-09-13 11:25:47 +12:00
Marina Glancy
406f8dd827 MDL-34223 increased performance in forum_get_file_info() for admins 2012-09-07 09:31:22 +08:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Dan Poltawski
d8ae194a37 Merge branch 'MDL-30370_master' of git://github.com/dmonllao/moodle 2012-08-20 11:21:59 +08:00
David Monllao
ce7382c959 MDL-30370 mod_forum - Removing duplicate seleted field in the DB query
Credit to Iñigo Zendegi
2012-08-15 17:03:07 +08:00
Eloy Lafuente (stronk7)
1135ae4908 Merge branch 'MDL-29192' of git://github.com/danpoltawski/moodle 2012-08-15 01:16:48 +02:00
Aparup Banerjee
50f0c35dd3 Merge branch 'master_MDL-34382_add_new_option_to_flag_modules_that_support_plagiarism_plugins' of git://github.com/kanikagoyal/moodle 2012-08-14 15:48:19 +08:00
Rossiani Wijaya
d1881bec56 MDL-34565 accessibility compliance for forum module: Add forform input text and select tag 2012-08-13 15:12:34 +08:00
Kanika Goyal
50da4ddd56 MDL-34382: Plagiarism API - add new option to flag modules that support the use of plagiarism plugins 2012-08-13 11:02:34 +05:30
Sam Hemelryk
e432bf2472 Merge branch 'MDL-34471-master' of git://github.com/ankitagarwal/moodle 2012-08-08 15:05:39 +12:00
Dan Poltawski
f271972817 MDL-29192 - clarify email_to_user call 2012-08-07 10:55:13 +08:00
David Monllao
b53f4d55c8 MDL-34711 mod_forum Calling forum_trigger_content_uploaded_event only with the course module set 2012-08-03 11:05:30 +08:00
Ankit Agarwal
bf0f06b1be MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00
David Monllao
ba4ee840db MDL-32931 mod_forum Polishing patch and taking into account courses without previous accesses 2012-07-27 09:08:23 +08:00
Tom Lanyon
28d638729d MDL-32931 mod_forum Change forum overview to avoid use of (potentially large and slow ) log table. 2012-07-27 09:08:23 +08:00
Sam Hemelryk
7bac687d55 Merge branch 'MDL-34153' of git://github.com/danpoltawski/moodle 2012-07-16 10:44:11 +12:00
Dan Poltawski
2e616b543b MDL-34153 mod_forum: create RFC-2822 compliant message-ids 2012-07-12 14:16:29 +08:00
Kanika Goyal
103e7cba16 MDL-32227: Plagiarism API - add support for plagiarism api to forum module 2012-07-11 23:36:03 +05:30
Marina Glancy
61a339e598 MDL-33948 mod_forum correctly passes files options to file_save_draft_area_files() 2012-07-02 14:11:55 +08:00
Adrian Greeve
35ca63c166 MDL-33297 - forum - workshop - glossary - data - Updated the check for files to allow students to see files they recently uploaded. 2012-06-20 10:49:18 +08:00
Sam Hemelryk
f48de74428 Merge branch 'MDL-33487' of git://github.com/danpoltawski/moodle 2012-06-06 10:06:17 +12:00
Dan Poltawski
92c1f40445 MDL-31460 mod_forum: fix trailing whitespace 2012-06-05 09:34:26 +08:00
Andrew Davis
74a37e1deb MDL-31460 mod_forum: added some controls to mod/forum/unsubscribeall.php to prevent the removal of subscriptions the user shouldnt be able to delete 2012-06-04 09:16:21 +07:00
Dan Poltawski
578d7f3dbd MDL-33487 - mod_forum: incorrect param ordering
Thanks to Garret Gengler for spotting it.
2012-06-01 23:35:26 +08:00
Sam Hemelryk
119e228621 Merge branch 'MDL-26562-23' of git://github.com/vadimonus/moodle 2012-05-24 11:00:09 +12:00
Dan Poltawski
b8644958e3 Merge branch 'w21_MDL-32379_m23_forumcron' of git://github.com/skodak/moodle 2012-05-22 13:05:28 +08:00
Marina Glancy
559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Vadim Dvorovenko
5429460127 MDL-26562 2012-05-20 19:44:32 +07:00
Petr Skoda
103f34d88d MDL-32379 fix forum cron user caching 2012-05-19 18:56:19 +02:00
Dan Poltawski
7e89cbe0ac Merge branch 'MDL-31675-file-browsing' of git://github.com/mudrd8mz/moodle 2012-05-18 10:30:22 +08:00
Sam Hemelryk
3cb5b9ccf6 Merge branch 'MDL-31458' of git://github.com/danpoltawski/moodle 2012-05-16 09:12:17 +12:00
Dan Poltawski
93f11331e4 MDL-31458 forum: email subjects containing ampersand are sent as & 2012-05-11 15:25:26 +08:00
David Mudrak
9a1c075119 MDL-31675 File browsing support for the Forum module
AMOS BEGIN
 CPY [attachments,mod_forum],[areaattachment,mod_forum]
AMOS END
2012-05-09 03:00:16 +02:00
David Mudrak
b75ec1040e MDL-32853 Forum: fixed serving files from posts in a visible group
The previous code was copied from the part where emails are being sent.
In that case, we do not want to send copies of posts from other groups.
But in terms of access control, the user has full read access to posts
in any visible group.
2012-05-08 17:04:27 +02:00
Sam Hemelryk
b1851f4639 Merge branch 'MDL-31946-master' of git://github.com/ankitagarwal/moodle 2012-05-09 11:35:38 +12:00
Ankit Agarwal
ecb6b25b0d MDL-31946 forum: Removing deprecated function folder_get_participants 2012-05-08 14:50:22 +08:00
Petr Skoda
0209f96485 MDL-32762 fix E_STRICT issue in forum 2012-05-06 10:54:37 +02:00
Tim Hunt
df710f84d0 MDL-32357 Try to fix unread post notification for blog-style forums.
I know that showing unread posts is not 100% blog-style, but I think
it is useful functionality, therefore, I chose to fix it, rather than,
say, disable it completely.

I think this fix will only affect blog-style forums since
forum_print_latest_discussions is only called with mode 'plain' in
three places:
1. Blog-style forums - the case we want to fix,
2. Site news forum, and
3. Social course format.

In all cases, having read tracking work properly seems like the
right thing to do.
2012-04-28 18:57:05 +01:00
David Mudrak
261cbbacc1 MDL-32471 preview thumbnails support for activity modules
Activity module's xxx_pluginfile() now accepts the $options parameter
that is to be passed to the send_stored_file() function.
2012-04-24 12:09:45 +02:00
Petr Skoda
6b04fdc0b6 MDL-32400 improve module generators
Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.
2012-04-15 14:16:59 +02:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
2012-04-11 17:18:58 +12:00
Kanika Goyal
cf3b9054ba MDL-32125 mod_forum: updating subscription mode not reflected 2012-04-02 09:55:12 +05:30