86 Commits

Author SHA1 Message Date
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
ab2f17b05b Completely disable all blog scripts when blog system disabled from site preferences MDL-6803 2006-10-03 19:21:35 +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
toyomoyo
6c525f490d merged, gives IE a bit more time to print 2006-06-19 03:30:08 +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
skodak
fea68f909e fixed undefined $error in error message 2006-04-22 16:02:49 +00:00
toyomoyo
7218c216b9 another try 2006-04-21 05:43:17 +00:00
toyomoyo
28498a3558 just a line for testing 2006-04-21 05:35:46 +00:00
toyomoyo
e315e16c68 nothing much here either 2006-04-21 02:47:01 +00:00
toyomoyo
2f5196e720 fix for 5256 2006-04-20 02:26:23 +00:00
toyomoyo
d174882071 fix for 5256 2006-04-20 02:25:09 +00:00
toyomoyo
0b11c2b70f but fix for 5256 2006-04-20 02:20:32 +00:00
toyomoyo
48e79fd146 some clean up 2006-04-20 02:14:17 +00:00
toyomoyo
f4c85f469a various small changes 2006-04-18 01:59:13 +00:00
toyomoyo
6524adcffd some more small fixes 2006-04-12 08:58:49 +00:00
toyomoyo
9ffcd15f3a various small things 2006-04-12 03:02:53 +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
gustav_delius
a488b9325c Replace require_variable() by required_param() 2006-04-06 12:56:37 +00:00
ikawhero
976982d3e2 Corrected variable reference - was causing problems with SQL inserts/updates. 2006-03-22 09:16:08 +00:00
moodler
2d642a137c Add timemodified to blog_tag_instance records and some clean up 2006-03-20 07:45:55 +00:00
toyomoyo
1e1ba8c295 change in publish states 2006-03-17 05:53:52 +00:00
toyomoyo
60534cfc9c more cleaning for filter class 2006-03-16 04:33:47 +00:00
toyomoyo
91366ca7dd more cleaning 2006-03-16 04:21:13 +00:00
toyomoyo
20fc0f2655 took out courseid and groupid 2006-03-15 08:49:33 +00:00
toyomoyo
b2cda3d13a taking out extendedbody 2006-03-15 02:32:46 +00:00
toyomoyo
1a3f39f1c6 added sesskey and confirmation for deletion of blog entries 2006-03-14 06:56:58 +00:00
toyomoyo
7ffb7e9cc7 more cleaning 2006-03-14 06:36:51 +00:00
toyomoyo
3a90f3896a housekeeping 2006-03-14 04:23:00 +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
ikawhero
fa80db235c Minor change to language string 2006-03-10 08:42:08 +00:00
toyomoyo
4a173181f4 blog (development code) 2006-03-10 06:53:01 +00:00