314 Commits

Author SHA1 Message Date
skodak
93caac3a72 MDL-6805 Fix redirects in blog - edit button now properly redirects to self 2006-10-03 21:07:13 +00:00
skodak
db837673df MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks 2006-10-03 20:41:15 +00:00
skodak
290cf2f484 fixed broken table layout in blog MDL-6806 2006-10-03 20:18:58 +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
403ba37a35 fixed has_capability context parameter in blog 2006-10-02 22:06:18 +00:00
skodak
26d038607a moodle/blog:view usage fixed in blog 2006-10-02 21:15:48 +00:00
skodak
11c467d939 some blog problems fixed - non existing capabilitites, pg incompatibilities;
in anycase the blog is still broken :-(
working on some more fixes now...
2006-10-02 20:50:49 +00:00
skodak
03bfaba1fd fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE 2006-09-29 20:54:15 +00:00
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
moodler
0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
toyomoyo
ea8158c118 changing sql calls from user_students table to role_assignments table 2006-09-14 09:08:07 +00:00
toyomoyo
9dcc11eb97 taking out user_student table reference in SQL, replaced with role_assignment 2006-09-14 03:54:37 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +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
toyomoyo
626fddc8f5 merged fix for a bug where user can view site blogs when not logged in 2006-07-18 02:28:25 +00:00
skodak
06622f92fc fixed $site->id warning; merged from MOODLE_16_STABLE 2006-07-04 06:05:25 +00:00
toyomoyo
6c525f490d merged, gives IE a bit more time to print 2006-06-19 03:30:08 +00:00
moodler
c96a3047ec Merged header fixes from stable 1.6 2006-06-18 07:45:22 +00:00
toyomoyo
e3ec7995a7 merged, centering of tabs on blog page issue 2006-06-16 02:59:37 +00:00
skodak
940e39369a fixed block width calculation; merged from MOODLE_16_STABLE 2006-05-19 21:01:26 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +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
b13ee30ead fix for 5385 2006-05-01 05:33:47 +00:00
moodler
b0bc8e3008 More little fixes to links and headers 2006-05-01 03:30:55 +00:00
moodler
44fdf0f301 Some typos 2006-05-01 03:25:07 +00:00
moodler
37610bf9dd FIxed some headers 2006-05-01 03:24:05 +00:00
toyomoyo
5a50c2b2f4 replacing hardcoded url with $CFG->wwwroot 2006-05-01 03:19:13 +00:00
moodler
83fb561f0c Cleaning up the header a bit 2006-05-01 03:12:17 +00:00
moodler
82c8137db9 Added css for blog class audience 2006-05-01 02:21:39 +00:00
toyomoyo
f69f1b498a trying to fix bug 5266 2006-04-27 02:34:16 +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
moodler
a0a6424c75 formatting fix :-) Really I'm just testing the CVS mailing script 2006-04-21 04:10:12 +00:00
toyomoyo
e315e16c68 nothing much here either 2006-04-21 02:47:01 +00:00
toyomoyo
8ae1314c61 nothing much here 2006-04-21 02:37:28 +00:00
toyomoyo
1d27654a19 fixed an issue where when the user has no personal tags defined, he/she sees an empty line in tags page 2006-04-21 02:07:10 +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
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