589 Commits

Author SHA1 Message Date
Dan Poltawski
7bc0f808d3 Merge branch 'wip-MDL-34457-master' of git://github.com/abgreeve/moodle 2012-07-24 15:04:53 +08:00
Aparup Banerjee
acb88dbed3 Merge branch 'wip-mdl-32942' of git://github.com/rajeshtaneja/moodle 2012-07-24 12:14:17 +08:00
Adrian Greeve
41b3836067 MDL-33061 - lib - Replacement of get_context_instance with the new function call (group 3) 2012-07-24 09:52:41 +08:00
Rajesh Taneja
dc9fa9cbb9 MDL-34148 Blog: Fixed variable name used for saving module name
Updated Erik's patch to match coding style
2012-07-23 13:43:52 +08:00
Erik Lundberg
4eaf120a83 MDL-34148: Instead of using the module name from the filesystem, the blog menu now fetches the module name with get_string(). 2012-07-23 13:43:52 +08:00
Rajesh Taneja
405aca3532 MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT 2012-07-19 15:46:10 +08:00
Sam Hemelryk
775d977710 Merge branch 'MDL-33624' of git://github.com/danpoltawski/moodle 2012-07-16 13:51:07 +12:00
Dan Poltawski
19a8646822 MDL-33624 lang - remove incosistent use of placeholder 2012-07-12 13:10:52 +08:00
Frederic Massart
3e0ce6079c MDL-33885 Blog: Added maxlength rule to subject field 2012-07-06 13:14:52 +08:00
Dan Poltawski
cf36df4316 Merge branch 'MDL-33315_blog_rss' of git://github.com/andyjdavis/moodle 2012-05-24 16:49:28 +08:00
Andrew Davis
c53a64449a MDL-33315 blog: fixed up the navigation for when youre viewing another users blog 2012-05-24 09:40:59 +07: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
Eloy Lafuente (stronk7)
7c0d3f4c1d Merge branch 'wip-MDL-26014-master' of git://github.com/phalacee/moodle 2012-04-27 03:15:51 +02:00
Jason Fowler
06aad19cc7 MDL-26014 - blog - improving the label for the URL of an external blog feed 2012-04-26 11:09:44 +08:00
Eloy Lafuente (stronk7)
3e0b0ae59b Merge branch 'wip-MDL-26500' of git://github.com/danpoltawski/moodle 2012-04-24 00:03:36 +02:00
Petr Skoda
f59f03ad2d MDL-32569 drop more core simpletests that were already migrated 2012-04-21 16:27:30 +02:00
Dan Poltawski
285665550d MDL-26500 blog: Rewrite pluginfile urls in RSS 2012-04-17 17:47:11 +08: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
714f3998a8 MDL-32323 rework buggy database reset optimisation and fix blog tests 2012-04-10 15:27:04 +02:00
Dan Poltawski
a98ff41f1a Merge branch 'wip-MDL-27427-master' of git://github.com/phalacee/moodle 2012-04-10 12:04:06 +08:00
Petr Skoda
4b02743182 MDL-32149 improve testcase naming and list in config file 2012-04-03 22:30:57 +02:00
Petr Skoda
814a96edfb MDL-32149 add blog tests 2012-04-03 22:30:55 +02:00
Jason Fowler
4def8463fe MDL-27427 - Blog - Adding ability to delete entries from external blogs 2012-04-03 12:54:25 +08:00
Petr Skoda
caee6e6c26 MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Sam Hemelryk
9fdd4f7dc8 Merge branch 'wip-MDL-30971-master' of git://github.com/phalacee/moodle 2012-02-20 11:37:59 +13:00
Jason Fowler
13d1c9ed55 MDL-30991 - RSS - Doc-block clean up 2012-02-15 15:19:59 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Jason Fowler
ae6313d4a7 MDL-30540 - BLOG - Fixing context problems for single blog entries - Thanks Aparup and Sam for the help 2012-02-03 10:49:52 +08:00
Petr Skoda
ff53a58b65 MDL-30926 fix course and module blog associations 2011-12-28 20:18:10 +01:00
Jason Fowler
43c4f4d103 MDL-30541 - Blog - Fixing the context for RSS Feed headers on the single blog entry pages 2011-12-21 09:30:26 +08:00
Aparup Banerjee
0f4c6067e5 MDL-30386 blog : saved a function call 2011-12-01 12:03:31 +08:00
Jason Fowler
c000545dee MDL-30386 - Blog - Adding RSS Feed link to the User blogs 2011-12-01 09:07:21 +08:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Eloy Lafuente (stronk7)
5169a039c7 MDL-29478 unittest - explicity include blog/lib.php. Was causing "random" errors 2011-09-23 01:36:41 +02:00
Eloy Lafuente (stronk7)
635c65bbd5 MDL-29478 blog - fixed some recent regressions introduced by MDL-29186 2011-09-23 00:03:56 +02:00
Aparup Banerjee
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
Aparup Banerjee
5433da6064 Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Tom Lanyon
5a87c912a2 MDL-28701 Change uses of make_upload_directory(cache) to make_cache_directory(). 2011-09-10 10:44:43 +02:00
Tom Lanyon
365bec4c06 MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir 2011-09-10 10:35:46 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Andrew Davis (andyjdavis)
b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Dongsheng Cai
b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Eloy Lafuente (stronk7)
d1380a3c9a Merge branch 'MDL-27372' of git://github.com/nebgor/moodle 2011-05-09 01:54:46 +02:00
Aparup Banerjee
fce7424beb MDL-27372 moved blog comments to end of body of blog entry. we now see the entire blog entry without comments in the way. 2011-05-05 15:27:38 +08:00
Sam Hemelryk
d045b479f4 Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle 2011-05-05 10:41:53 +08:00
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Aparup Banerjee
20b503841b MDL-25840 blog - fixed broken image file image attachment display 2011-04-27 11:39:01 +08:00
Petr Skoda
9015609696 Revert "MDL-25840 fixed image files link not rendered correctly when attached as file (instead of inline)."
The reason is failed testing. This reverts commit c9b0e31ff29adef113a4adc746bc9169cdddd259.
2011-04-13 15:06:39 +02:00