190 Commits

Author SHA1 Message Date
Petr Škoda
d958e6bd70 MDL-34222 import simplepie 1.3.1 2013-04-07 15:35:27 +02:00
Jason Fowler
46a710e998 MDL-34713 - Blog - Fixing undefined index for blog menu block 2013-03-08 13:46:27 +08:00
Eloy Lafuente (stronk7)
717cabb7a4 Merge branch 'MDL-25347_master' of git://github.com/dmonllao/moodle 2012-08-15 02:03:52 +02:00
David Monllao
1b30a9fac6 MDL-25347 blog Checking association capability at course and module levels instead of system level 2012-08-10 08:48:05 +08:00
Dan Poltawski
850d2db82a MDL-25012 - blogs: introduce a specific 'enabled' config setting
Rather than overloading the $CFG->bloglevel setting which had a
confusing UI in the appearance subsystem.

In order to achieve this we modify take the defaults from the existing
bloglevel setting and set that for $CFG->enableblogs. Note that in order
to prevent a bad default settings from being set we also set
$CFG->bloglevel to a valid 'enabled' setting.
2012-08-06 11:25:22 +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
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01: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
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
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
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
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
Petr Skoda
5b183f51a8 MDL-26859 do not show "my blog" link to guests and not-logged-in users 2011-03-20 12:34:41 +01:00
David Mudrak
ed79b89b85 MDL-26010 Reformatting SQL of the previous Andrew's fix
I have reformatted the SQL according to the style used in Moodle code to
improve readability of the query. Added sql_compare_text() to the right
side of the comparison, even though the current callers provide integers
here (just in case).
2011-02-18 17:33:37 +01:00
Andrew Davis
42291c6161 MDL-26010 External blog synchronization removes non-relevant post records 2011-02-18 17:19:41 +01:00
Eloy Lafuente (stronk7)
a537e50725 MDL-24898 external blogs - strip html and truncate subject 2011-02-13 23:03:55 +01:00
Sam Hemelryk
78f0f64d47 blog MDL-25981 PULL-162 Removed typehinting in blog after changed from stdClass to cm_info 2011-02-02 10:37:33 +08:00
Eloy Lafuente (stronk7)
e5137f247e MDL-25341 blogs import - unused vars and mktime() fix 2010-12-27 16:20:39 +01:00
Eloy Lafuente (stronk7)
b7c1da93ec MDL-25341 blogs import - minor whitespace clean 2010-12-27 15:56:58 +01:00
andyjdavis
2948757873 blog MDL-25341 fixed 2 more whitespace issues 2010-12-24 09:31:58 +08:00
andyjdavis
694fb770b9 blog MDL-25341 removed another whitespace 2010-12-22 13:29:01 +08:00
andyjdavis
c484c852f4 blog MDL-25341 removed some whitespaces inserted by netbeans 2010-12-22 13:27:46 +08:00
andyjdavis
bb8a75e72d blog MDL-25341 fixed some whitespace issues 2010-12-22 13:24:55 +08:00
andyjdavis
50ff50daaa blog MDL-25341 added removal of deleted external blog posts 2010-12-20 14:58:02 +08:00
andyjdavis
cc52e53dd1 blog MDL-20617 adding checking for deleted blog posts 2010-12-20 11:16:11 +08:00
andyjdavis
afce96f07b blog MDL-25341 updated external blog syncing code after peer review 2010-12-17 09:46:46 +08:00
andyjdavis
9829e3d8fa blog MDL-25341 made external blog syncronization not delete all previously retreieved blog posts 2010-12-16 16:21:41 +08:00
David Mudrak
cfa11fd610 Fixed a string usage - no placeholder is expected here 2010-11-26 09:42:02 +00:00
Eloy Lafuente
a742eb1f8b MDL-25340 external blog - fix sql_compare_text() use 2010-11-19 21:57:15 +00:00
Andrew Davis
f8df6aebcf blog MDL-25318 fixed an sql error in blog_delete_external_entries() 2010-11-19 07:38:29 +00:00
Andrew Davis
99cd408f81 blog MDL-25217 now checking for null creation and modified timestamps when importing external blog entries 2010-11-15 03:56:12 +00:00
Sam Hemelryk
ca824b38ce blogs MDL-24875 Fixed typo... whoops 2010-10-27 05:59:31 +00:00
Sam Hemelryk
3b59524d31 blogs MDL-24875 Increased uniquehash field size to 255 and added a str length check to external blog syncing. 2010-10-27 05:25:00 +00:00
Petr Skoda
e463f508cb MDL-24321 switching to stdClass in /blog/ 2010-09-21 08:11:06 +00:00
Petr Skoda
4fb35be36a fixed object initialization 2010-09-17 11:30:10 +00:00
Petr Skoda
d91181dc67 commenting out unfinished function implementation 2010-09-17 11:22:51 +00:00
Petr Skoda
2c27b6aeac fixed function name typo 2010-09-17 11:21:36 +00:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;improved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Andrew Davis
451f1e3844 blog MDL-23574 fixed filter problem with user blog rss feeds 2010-07-30 03:16:14 +00:00
Petr Skoda
897aa80c05 MDL-23310 fixed undefined page layouts 2010-07-15 18:09:11 +00:00