132 Commits

Author SHA1 Message Date
toyomoyo
402d802de4 fixing warning 2006-12-20 01:01:05 +00:00
skodak
574558f0e5 minor blog tag edit page cleanup MDL-7438 2006-11-29 21:49:36 +00:00
skodak
2493fc103c ensure that layout table headers are not marked as th, but by label instead MDL-7438
th should be used only for data tables
2006-11-28 19:25:24 +00:00
skodak
c36f12e145 MDL-7434 all images that convey information should have alt text to convey that information - part 5 2006-11-26 19:00:23 +00:00
skodak
3acdf94569 Ensure all table headers are marked up with 'th' MDL-7438 2006-11-22 22:41:01 +00:00
toyomoyo
7d0e5a95c3 adding attachment for blogs 2006-11-20 08:31:48 +00:00
toyomoyo
91e568534e fix for MDL-7099, do not share user tags (better interface, now using a new text
field with comma separated value). Prevented the same text for both official and
personal tag (tag text is unique). Fixed capability check for removing personal
tags. Changed GUI so that new personal tags will be picked up from the text field.
2006-11-16 03:37:04 +00:00
toyomoyo
507355b107 merged fix for MDL-6788, reformat blog edit page 2006-11-08 05:14:58 +00:00
moodler
1fcf39350b Merged blog select fix from stable 2006-11-03 08:43:54 +00:00
toyomoyo
2753336a80 merged fixing paging bar problem 2006-11-02 05:54:01 +00:00
toyomoyo
649ee916d1 merged fix for MDL-7140 duplicate course name in header 2006-11-02 03:17:44 +00:00
toyomoyo
47b87873e0 merged fix for MDL-7302, tagid lost when turning editting on and off 2006-10-31 08:50:55 +00:00
skodak
fbb8e0c7b6 Blog RSS is not being generated MDL-7256; merged from MOODLE_17_STABLE 2006-10-27 21:42:50 +00:00
stronk7
422770d8cb Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
$limitnum parameters in all the get_recordXXX() functions. MDL-7167

Merged from MOODLE_17_STABLE
2006-10-23 23:00:18 +00:00
toyomoyo
c345209c19 merged fix for MDL-6549, fix for wrong publish to menu 2006-10-19 06:41:49 +00:00
skodak
b3cbe3a333 fixed wrong strip_slashes() when printing blog entry 2006-10-08 08:52:15 +00:00
gustav_delius
1ca20e0272 Don't use stripslashes on data coming from database 2006-10-07 17:18: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
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