94 Commits

Author SHA1 Message Date
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
skodak
e96f2a77db Code cleanup in blog.
MDL-6805  Fixed redirects in blog; MDL-6807  partially fixed use of capabilitites - it needs more testing and possibly minor fixing, the commit contains other blog bugfixes too. In general it should work exactly the same. The introduction of roles makes proper setup more difficult :-(

Expect some more fixes soon, no other bigger changes...
2006-10-06 10:11:52 +00:00
skodak
93caac3a72 MDL-6805 Fix redirects in blog - edit button now properly redirects to self 2006-10-03 21:07:13 +00:00
skodak
ab2f17b05b Completely disable all blog scripts when blog system disabled from site preferences MDL-6803 2006-10-03 19:21:35 +00:00
skodak
03bfaba1fd fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE 2006-09-29 20:54:15 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
vyshane
d7bf6d17d9 Fixes for capability checks. 2006-08-14 07:25:18 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
06622f92fc fixed $site->id warning; merged from MOODLE_16_STABLE 2006-07-04 06:05:25 +00:00
toyomoyo
e3ec7995a7 merged, centering of tabs on blog page issue 2006-06-16 02:59:37 +00:00
toyomoyo
92a019ac04 added logging for blog views 2006-05-02 02:44:35 +00:00
toyomoyo
14148bc2db fixing blog logs, also added code to prevent browsing blogs using other user's userid 2006-05-01 06:23:41 +00:00
toyomoyo
9fad492eb5 some small fixes, mostly for 5174 2006-04-24 03:36:02 +00:00
toyomoyo
8c9814f9d8 added a feature that automatically adds 2 default blocks for new blog users. (block_menu and block_tags blocks) 2006-04-20 06:35:39 +00:00
toyomoyo
f4c85f469a various small changes 2006-04-18 01:59:13 +00:00
toyomoyo
c2ee4e8788 various changes and cleaning, removing BlogEntry, BlogInfo, BlogFilter class next, things could be broken 2006-04-12 02:05:46 +00:00
toyomoyo
eccfc1cac0 small fix and cleaning 2006-04-10 07:27:03 +00:00
moodler
ebb73f49b8 RSS should be fully working now
but phew, we need to clean up that old simpblog stuff with all the wierd
variable names.  ;-)
2006-03-20 12:45:36 +00:00
toyomoyo
516194d0e8 made some changes to allow rss feeds 2006-03-17 07:38:08 +00:00
toyomoyo
29e2dd37ea took out rss stuff 2006-03-17 05:54:46 +00:00
toyomoyo
1e1ba8c295 change in publish states 2006-03-17 05:53:52 +00:00
toyomoyo
e17426ca5f more cleaning 2006-03-15 02:17:35 +00:00
toyomoyo
f99fee6c71 more cleaning, filter do not process dates 2006-03-15 02:02:25 +00:00
toyomoyo
61ca5f8dd3 quoting tag string 2006-03-14 09:08:58 +00:00
toyomoyo
b7dc1805f3 fixed a bug where userid is overwritten 2006-03-14 08:07:57 +00:00
toyomoyo
5c625033c0 _params and other cleaning, blogs might be broken 2006-03-13 08:46:13 +00:00
toyomoyo
9154b44000 some cleaning, not very clean yet 2006-03-13 06:05:44 +00:00
toyomoyo
4a173181f4 blog (development code) 2006-03-10 06:53:01 +00:00