Commit Graph

55 Commits

Author SHA1 Message Date
toyomoyo e07f4ac436 fix for MDL-8908, draft blogs should not be visible 2007-03-15 06:14:08 +00:00
moodler 90080d990a FIxed some problems with blog entries when not logged in (eg rss) 2006-11-03 08:37:46 +00:00
toyomoyo b543159952 fixing paging bar problem 2006-11-02 05:53:28 +00:00
stronk7 f0cb717a7e Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
$limitnum parameters in all the get_recordXXX() functions. MDL-7167
2006-10-23 22:56:41 +00:00
toyomoyo 040c22892d fix for MDL-6549, wrong publish to menu problem 2006-10-19 06:41:04 +00:00
skodak b3cbe3a333 fixed wrong strip_slashes() when printing blog entry 2006-10-08 08:52:15 +00: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 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 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +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
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
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 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 9fad492eb5 some small fixes, mostly for 5174 2006-04-24 03:36:02 +00:00
toyomoyo 8ae1314c61 nothing much here 2006-04-21 02:37:28 +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 0b11c2b70f but fix for 5256 2006-04-20 02:20:32 +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 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 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 c2ee4e8788 various changes and cleaning, removing BlogEntry, BlogInfo, BlogFilter class next, things could be broken 2006-04-12 02:05:46 +00:00
moodler d7dfcee179 Tweaking output and layout 2006-03-21 01:35:42 +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
moodler 490201c75c tag support in rss 2006-03-20 05:48:40 +00:00
toyomoyo 516194d0e8 made some changes to allow rss feeds 2006-03-17 07:38:08 +00:00
toyomoyo 1e1ba8c295 change in publish states 2006-03-17 05:53:52 +00:00
toyomoyo 4fc479666f rmoved batchpublish in lib, add new entry link on top 2006-03-16 07:47:37 +00:00
toyomoyo 3daaa61811 more cleaning 2006-03-16 06:16:54 +00:00
toyomoyo 20fc0f2655 took out courseid and groupid 2006-03-15 08:49:33 +00:00
toyomoyo 32a2647e02 took out a form tag 2006-03-15 07:14:39 +00:00
toyomoyo 924f20e221 many functions removed, might have broken a few things 2006-03-15 04:15:09 +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 954cfa1bfa httpclient only used in trackbacks, which is not supported in this version, removed 2006-03-14 02:46:46 +00:00
toyomoyo 752c0c4d29 some cleaning, removed config.html for admin 2006-03-14 02:26:44 +00:00