172 Commits

Author SHA1 Message Date
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
Martin Dougiamas
74fd6b11b6 MDL-22524 Fixed a bad layout (should be general, not standard) 2010-07-09 04:20:12 +00:00
Martin Dougiamas
8397492bd0 MDL-22864 More tidying up of blog display 2010-06-29 03:19:22 +00:00
Sam Hemelryk
2713c6bd7c navigation MDL-22524 Integrated blogs with the settings navigation. 2010-05-20 08:04:20 +00:00
Martin Dougiamas
57513281da blog, fixed a missing parameter to a string 2010-05-14 02:50:43 +00:00
Martin Dougiamas
593270c629 Navigation - Blog and Tags links are now shown/hidden correctly according to settings 2010-05-01 14:33:07 +00:00
Sam Hemelryk
af8fe217ad blog MDL-22161 Fixed minor regression 2010-04-23 04:08:28 +00:00
Sam Hemelryk
27bad0a629 blog MDL-22161 Fixed up blog menu block and added navigation options for users. 2010-04-23 04:05:16 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
5515b53605 MDL-21147 do not use standard "get_x" methods for "magic" $PAGE stuff + fixed incorrect ->get_x uses 2009-12-17 14:04:15 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
samhemelryk
ec7c4f112b blog MDL-19792 Upgraded two deprecate functions 2009-10-16 03:10:33 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
nicolasconnault
b73d1ca4f2 MDL-19676 Put association section in advanced items for edit form, corrected bug in group listing, enabled commenting 2009-09-16 10:05:34 +00:00
nicolasconnault
2367726155 MDL-20219 Deleted external blog block, and preferences link from blog_menu block. Placed these as links in settings block instead 2009-09-15 07:57:54 +00:00
nicolasconnault
4a8b890a1a MDL-19792 Fixed proper display of headers for Site Blog entries page (index.php, no params) 2009-09-11 07:00:43 +00:00