80 Commits

Author SHA1 Message Date
skodak
18ff5a61b6 MDL-11230 fixing wrong include for tags library - always use require_once() instead of include() when dealing with library files! 2007-09-16 21:43:08 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
toyomoyo
9133f939e8 rename fetch_entries() to blog_fetch_entries() 2007-08-31 05:46:33 +00:00
toyomoyo
636dbc33a0 fixing a typo, adding a missing string in query 2007-08-31 05:38:46 +00:00
toyomoyo
ebbf8c16c6 tag instance table could be used for other types, itmetype needs to be specified in blog fetch() code 2007-08-31 05:17:35 +00:00
moodler
1f813a5db4 Fixed the tag links on blog posts to go back to the main tags page 2007-08-31 02:25:29 +00:00
toyomoyo
93bbdd5031 making blogs respect global tags flag 2007-08-30 09:13:36 +00:00
toyomoyo
833dcdea9f blog should print rawname instead of name of the tag 2007-08-27 09:21:31 +00:00
toyomoyo
bd1f4559f7 MDL-10956, convert blogs to use the same tags (and convert old tags) 2007-08-27 08:46:00 +00:00
nicolasconnault
d02240f302 MDL-10870 A few more files with old style navigation strings. 2007-08-23 14:58:15 +00:00
toyomoyo
df6d3c66ae merged fix for MDL-10037, hide hidden user's blogs from course view 2007-08-17 08:16:11 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
toyomoyo
6872debcc8 merged fix for MDL-10564, wrong userid used in get_my_courses() for blogs 2007-07-26 02:47:44 +00:00
toyomoyo
1d934d47a0 merged fix for MDL-9165 2007-04-05 06:00:10 +00:00
toyomoyo
fa5278283f merged fix for MDL-8987, guests should not see blogs flagged as site blogs 2007-03-23 01:42:52 +00:00
toyomoyo
2878babdb2 merged fix for MDL-8942, can't delete blog images 2007-03-19 07:52:29 +00:00
toyomoyo
11b03793e7 merged fix for MDL-8908, draft blogs should not be visible 2007-03-15 06:13:12 +00:00
toyomoyo
038bf62143 MDL-8425 related fixes 2007-02-08 03:04:41 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
jmg324
3e7853f0e5 fetch_entries function post table sql needs single not double quotes for blog column value 2007-01-11 14:02:17 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
toyomoyo
2ea7548245 post table will be used for storing comments as well so the type has to be specified when querying blogs 2007-01-04 02:51:21 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
feaf5d06db MDL-8015 improved file uploading
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
2006-12-28 21:21:44 +00:00
toyomoyo
7d0e5a95c3 adding attachment for blogs 2006-11-20 08:31:48 +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
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
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