101 Commits

Author SHA1 Message Date
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
moodler
9cabc6e4af Fixed tag names in blog 2006-04-13 05:55:03 +00:00
toyomoyo
ba63b0ad7e warning for guest when viewing blogs 2006-04-13 02:48:14 +00:00
toyomoyo
3e8398408f fix for #5173 2006-04-13 01:32:10 +00:00
toyomoyo
6524adcffd some more small fixes 2006-04-12 08:58:49 +00:00
toyomoyo
bd70af134d fixing rsslib, and added code to check if rss not enabled, blog rss button will not be printed 2006-04-12 06:04:06 +00:00
toyomoyo
b744c0c3ec took out a print header that was generating a warning 2006-04-12 04:14:45 +00:00
toyomoyo
9ffcd15f3a various small things 2006-04-12 03:02:53 +00:00
toyomoyo
25881d1e2c fixed a bug where non admins can't add blocks to own blog page 2006-04-12 02:27:14 +00:00
toyomoyo
752d035b41 removing some classes 2006-04-12 02:06:57 +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
0dc2e2aefc changed param_alpha to param_notags, otherwise can not support tags in non-lation 2006-04-10 07:29:47 +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