Commit Graph

86 Commits

Author SHA1 Message Date
3d535996db MDL-13404 - Merge from 1.9 (re-commit, including missing file) 2008-02-25 01:58:17 +00:00
bb06244703 MDL-13404 reverted - missing file and other minor problems 2008-02-22 19:53:48 +00:00
db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
5e9baf929a MDL-13553 - merge from 1.9 2008-02-21 01:50:44 +00:00
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
67ab5a01a9 Merge from 19_STABLE 2008-02-06 03:37:30 +00:00
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
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
9133f939e8 rename fetch_entries() to blog_fetch_entries() 2007-08-31 05:46:33 +00:00
636dbc33a0 fixing a typo, adding a missing string in query 2007-08-31 05:38:46 +00:00
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
1f813a5db4 Fixed the tag links on blog posts to go back to the main tags page 2007-08-31 02:25:29 +00:00
93bbdd5031 making blogs respect global tags flag 2007-08-30 09:13:36 +00:00
833dcdea9f blog should print rawname instead of name of the tag 2007-08-27 09:21:31 +00:00
bd1f4559f7 MDL-10956, convert blogs to use the same tags (and convert old tags) 2007-08-27 08:46:00 +00:00
d02240f302 MDL-10870 A few more files with old style navigation strings. 2007-08-23 14:58:15 +00:00
df6d3c66ae merged fix for MDL-10037, hide hidden user's blogs from course view 2007-08-17 08:16:11 +00:00
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
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
6872debcc8 merged fix for MDL-10564, wrong userid used in get_my_courses() for blogs 2007-07-26 02:47:44 +00:00
1d934d47a0 merged fix for MDL-9165 2007-04-05 06:00:10 +00:00
fa5278283f merged fix for MDL-8987, guests should not see blogs flagged as site blogs 2007-03-23 01:42:52 +00:00
2878babdb2 merged fix for MDL-8942, can't delete blog images 2007-03-19 07:52:29 +00:00
11b03793e7 merged fix for MDL-8908, draft blogs should not be visible 2007-03-15 06:13:12 +00:00
038bf62143 MDL-8425 related fixes 2007-02-08 03:04:41 +00:00
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
3e7853f0e5 fetch_entries function post table sql needs single not double quotes for blog column value 2007-01-11 14:02:17 +00:00
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
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
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
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
7d0e5a95c3 adding attachment for blogs 2006-11-20 08:31:48 +00:00
1fcf39350b Merged blog select fix from stable 2006-11-03 08:43:54 +00:00
2753336a80 merged fixing paging bar problem 2006-11-02 05:54:01 +00:00
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
c345209c19 merged fix for MDL-6549, fix for wrong publish to menu 2006-10-19 06:41:49 +00:00
b3cbe3a333 fixed wrong strip_slashes() when printing blog entry 2006-10-08 08:52:15 +00:00
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
403ba37a35 fixed has_capability context parameter in blog 2006-10-02 22:06:18 +00:00
26d038607a moodle/blog:view usage fixed in blog 2006-10-02 21:15:48 +00:00
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
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
ea8158c118 changing sql calls from user_students table to role_assignments table 2006-09-14 09:08:07 +00:00
9dcc11eb97 taking out user_student table reference in SQL, replaced with role_assignment 2006-09-14 03:54:37 +00:00
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
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
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
626fddc8f5 merged fix for a bug where user can view site blogs when not logged in 2006-07-18 02:28:25 +00:00
14148bc2db fixing blog logs, also added code to prevent browsing blogs using other user's userid 2006-05-01 06:23:41 +00:00
b13ee30ead fix for 5385 2006-05-01 05:33:47 +00:00