Commit Graph

79 Commits

Author SHA1 Message Date
Andrew Davis ad3d9452bf MDL-46218 reshuffled access checks in blog and notes 2014-07-10 11:25:15 +08:00
Damyon Wiese df68e73824 Merge branch 'MDL-40040-master' of git://github.com/ankitagarwal/moodle 2013-12-02 12:16:59 +08:00
Ankit Agarwal 6b36411587 MDL-40040 Cleanup some blog methods and replace add_to_log
Cleaned up add_association()
cleaned up add_associations()
Replaced remaining add_to_log() in blogs with events
2013-12-02 12:06:32 +08:00
Ankit Agarwal 1af9063e47 MDL-43005 blogs: Fix issues with blog tags 2013-11-21 13:37:20 +08:00
Rajesh Taneja 9a909b1a35 MDL-37245 Blog: Added permission check for blog comments 2013-05-07 15:02:22 +01:00
Ankit Agarwal f42d2a22bc MDL-27814 blogs: Refactoring code to use proper context and such
Based on the decisions made in the issue, most places in blog should use site context.
There are also minor other refactoring to support all changes made in the issue.
2013-04-12 16:05:05 +08:00
Ankit Agarwal 68fc1cc279 MDL-27814 blogs: Cleaning up contexts in blogs
All blogs pages should be in system context. Blogs are in system context just about various things (course, activity etc)
2013-04-12 16:03:02 +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
Dan Poltawski 19a8646822 MDL-33624 lang - remove incosistent use of placeholder 2012-07-12 13:10:52 +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
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
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
Petr Skoda 8f6c1f3488 MDL-26859 improve blog access control and prevent unnecessary blog includes 2011-03-20 13:34:51 +01:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda b29ce44dde fixed use of undefined $user 2010-09-17 11:25:48 +00:00
Petr Skoda b6859e0eb6 MDL-24079 blog now using new sql_like();?fixed typo 2010-09-04 12:23:18 +00:00
Petr Skoda c014d57c4f MDL-24079 blog now using new sql_like() 2010-09-04 12:04:01 +00:00
Andrew Davis e858c368ff rss MDL-23473 made blog rss feeds work 2010-07-28 02:32:11 +00:00
Sam Hemelryk 2713c6bd7c navigation MDL-22524 Integrated blogs with the settings navigation. 2010-05-20 08:04:20 +00:00
Martin Dougiamas 99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
Dongsheng Cai 36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +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 dfede59d62 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:10:07 +00:00
Nicolas Connault 1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +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 c5dc10ee58 MDL-19676 Started to use new navigation code 2009-09-04 03:40:01 +00:00
nicolasconnault cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault 033e4aff8c MDL-19792 Converted all print_footer() calls 2009-08-06 14:22:50 +00:00
nicolasconnault 16ba76bd1c MDL-19792 Migrated calls to print_heading 2009-08-06 08:26:20 +00:00
skodak 7d961b6888 MDL-19676 removing premature commit 2009-07-03 21:48:06 +00:00
nicolasconnault 856b6fe6d2 MDL-19676 Removed course and group visibility settings for blog 2009-07-01 08:49:47 +00:00
tjhunt 93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt 830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
dongsheng 9afff849e1 MDL-14129, remove 2 error()s in course and blog module 2008-07-24 04:59:29 +00:00
skodak f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
skodak 45df7de3ad MDL-14679 towards /blog conversion 2008-06-01 13:48:12 +00:00
dongsheng d9d16e56a3 "MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE" 2008-04-30 04:46:46 +00:00
dongsheng 8b141784a8 MDL-14129, fix print_error() call, see tracker 2008-04-23 08:00:05 +00:00
moodler dde73b9e69 Merged MDL-8566 from 1.9 2008-04-22 05:56:21 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
moodler 673bc55dc2 Merged blog theme/lang fixes from MDL-10833 2007-10-07 09:27:13 +00:00
skodak ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
skodak 2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
toyomoyo 11993a60b0 merged fix for MDL-9268 2007-04-10 04:26:00 +00:00
toyomoyo 11b03793e7 merged fix for MDL-8908, draft blogs should not be visible 2007-03-15 06:13:12 +00:00
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00