72 Commits

Author SHA1 Message Date
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
7d00c7bc1a MDL-19792 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:52 +00:00
nicolasconnault
033e4aff8c MDL-19792 Converted all print_footer() calls 2009-08-06 14:22:50 +00:00
skodak
2a7eff41ad MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:37:28 +00:00
tjhunt
fc23301ced blog / tags: MDL-17900 Use the new tags field type to tag blog posts. 2009-01-16 07:08:58 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
scyrma
e7134583d7 MDL-14237: Removing all remaining tag-related uses of html_entity_decode (merge from 1.9) 2008-07-07 07:45:51 +00:00
scyrma
47a2c30b67 MDL-15310: removing unused variable, old commented code and adding a small adjustment to the tag code. 2008-06-19 09:21:45 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak
45df7de3ad MDL-14679 towards /blog conversion 2008-06-01 13:48:12 +00:00
dongsheng
d9d16e56a3 "MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE" 2008-04-30 04:46:46 +00:00
dongsheng
fae11dca56 MDL-14129, fix print_error call 2008-04-24 02:24:49 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma
55eddacead MDL-13728 - Removing old code, this is now in the tag management interface. (merge) 2008-02-29 07:10:00 +00:00
moodler
8479c2e0dd Merged MDL-13725 Remove tag_get_tag_by_id completely. I also re-ordered tag/lib.php a bit 2008-02-29 06:26:21 +00:00
scyrma
537aa65c5d MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9) 2008-02-26 06:43:54 +00:00
scyrma
3d535996db MDL-13404 - Merge from 1.9 (re-commit, including missing file) 2008-02-25 01:58:17 +00:00
skodak
bb06244703 MDL-13404 reverted - missing file and other minor problems 2008-02-22 19:53:48 +00:00
scyrma
db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
scyrma
16bf93e94f MDL-13553 - merge from 1.9 2008-02-21 01:41:55 +00:00
toyomoyo
f23aee73d0 MDL-11770, broken userid in add_to_log 2007-10-17 03:02:17 +00:00
toyomoyo
cccd44e2b7 MDL-11779, blog tagging code broken 2007-10-17 02:55:16 +00:00
moodler
673bc55dc2 Merged blog theme/lang fixes from MDL-10833 2007-10-07 09:27:13 +00:00
moodler
3a81da563b Blog entries publish state now defaults to site if possible, to avoid all those drafts! (yuk) 2007-09-03 09:13:56 +00:00
toyomoyo
474373aa96 MDL-11017, changed blog edit page to use modified get_item_tags() 2007-08-28 08:32:38 +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
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
toyomoyo
2878babdb2 merged fix for MDL-8942, can't delete blog images 2007-03-19 07:52:29 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00: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
jamiesensei
1d284fbd85 fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
jamiesensei
f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +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
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
ab2f17b05b Completely disable all blog scripts when blog system disabled from site preferences MDL-6803 2006-10-03 19:21:35 +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
6c525f490d merged, gives IE a bit more time to print 2006-06-19 03:30:08 +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
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
toyomoyo
e315e16c68 nothing much here either 2006-04-21 02:47:01 +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