Commit graph

2070 commits

Author SHA1 Message Date
Dan Poltawski
dd4502af6b MDL-3971 - mod_forum: contain () in span 2012-06-16 14:21:28 +08:00
Andrew Robert Nicols
8635302e54 MDL-33675 Add updated help texts for modules to appear in activity chooser 2012-06-12 13:38:17 +01:00
Marina Glancy
c469b3963b MDL-33446 Editor form field can filter return types
- Added possibility for editor form field to specify return_types (default FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE)
- For assignment, workshop, quiz essay submissions and form posts do not allow FILE_REFERENCE
- Fixed mod_resource return_types, reset them to default, because filemanager does not know how to work with FILE_EXTERNAL links
2012-06-12 11:03:43 +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
Dan Poltawski
5ab310d5d3 Merge branch 'wip-MDL-32199-master' of git://github.com/abgreeve/moodle 2012-05-28 15:18:51 +08:00
Dan Poltawski
0fe4db6dd1 Merge branch 'MDL-33194-master' of https://github.com/mackensen/moodle 2012-05-28 14:58:56 +08:00
Adrian Greeve
17ec4bf045 Alteration to the code to hide the body of the post / discussion 2012-05-28 13:09:23 +08:00
Andrew Robert Nicols
7ea78d9f28 MDL-32199 Ensure that forum RSS feeds don't leak posts and discussions 2012-05-28 13:09:22 +08:00
Dan Poltawski
2528e8e52f MDL-33139 mod_forum: fix minor whitespace problem 2012-05-25 10:09:09 +08:00
Dan Poltawski
1e448fed27 Merge branch 'MDL-33139-master' of https://github.com/mackensen/moodle 2012-05-25 10:08:33 +08:00
Charles Fulton
c2c071a274 MDL-33139 forum: indicate which user's post was edited 2012-05-24 06:14:21 -07:00
Sam Hemelryk
119e228621 Merge branch 'MDL-26562-23' of git://github.com/vadimonus/moodle 2012-05-24 11:00:09 +12:00
Charles Fulton
4cd5ae4f00 MDL-33194 forum: correct number of parameters for get_record() 2012-05-22 11:33:21 -07: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
Helen Foster
2e6b68f4a8 MDL-32925 lang: Add extended help texts for all modules
Thanks to Mary Cooch & Martin Dougiamas who contributed to this
rewording.

AMOS BEGIN
   REM These module help texts are going to be displayed more prominently in the Moodle interface
AMOS END
2012-05-18 00:27:04 +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
Dan Poltawski
6b445cb17a Merge branch 'w18_MDL-30686_m23_guessurl' of git://github.com/skodak/moodle 2012-05-01 11:27:16 +08:00
Sam Hemelryk
4bbefa1c19 Merge branch 'w18_MDL-32640_m23_forumstrict' of git://github.com/skodak/moodle 2012-05-01 13:26:53 +12: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
Petr Skoda
fffd3703cf MDL-32640 fix E_STRCIT issue when editing somebody post of other user 2012-04-27 13:53:35 +02:00
Petr Skoda
f0202ae9a2 MDL-30686 improve accuracy of qualified_me() by trying PAGE->url first
This should help SSL proxies and returning to current page after require_login().
2012-04-27 13:39:18 +02:00
Eloy Lafuente (stronk7)
d7f84a2962 Merge branch 'MDL-32471-thumbnails' of git://github.com/mudrd8mz/moodle 2012-04-25 15:14:27 +02: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
Eloy Lafuente (stronk7)
3e0b0ae59b Merge branch 'wip-MDL-26500' of git://github.com/danpoltawski/moodle 2012-04-24 00:03:36 +02:00
Dan Poltawski
544cfe962e Merge branch 'MDL-32104-master' of git://github.com/ankitagarwal/moodle 2012-04-23 12:49:56 +08:00
Petr Skoda
cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Ankit Agarwal
33c5202ba2 MDL-32104 forum: Fixing issue with logs during restore 2012-04-20 08:55:40 +08:00
Dan Poltawski
af89cdd43b MDL-26500 mod/forum: Rewrite pluginfile urls in RSS 2012-04-17 17:47:11 +08:00
Eloy Lafuente (stronk7)
bf8086623d Merge branch 'MDL-32359' of git://github.com/timhunt/moodle 2012-04-17 00:16:28 +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
Tim Hunt
f9e41d206d MDL-32359 Forum usability: reduce accidental clicks on mark thread read
I hope this little CSS change does not break anybody's theme. I is a big
usability win, at least as far as I am concerned.
2012-04-14 15:58:39 +01: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
Dan Poltawski
7a1ed64587 Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle 2012-04-11 09:32:58 +08:00
Petr Skoda
9bb2b515ce MDL-32323 fix generator file name typos 2012-04-10 15:27:12 +02:00
Petr Skoda
f8965a3d30 MDL-32323 add basic mod_forum data generator 2012-04-10 15:27:09 +02:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Petr Skoda
b60d21747f MDL-32149 remove empty tests and outdated/disabled portfolio tests 2012-04-03 22:31:02 +02:00