Commit Graph

451 Commits

Author SHA1 Message Date
skodak 8bb94c53eb fixed bug 3532 - canceling of activity movement thanks to jcodina 2005-11-05 22:05:23 +00:00
skodak e85a6623a1 fix for preferred_width_xx initialization SC#169 2005-10-29 16:33:19 +00:00
mjollnir_ 5ed1a6d692 Now the login block uses the same logic for forgot password as the login page does 2005-10-26 21:18:41 +00:00
dhawes 24f9eb47b1 backported to 1.5 stable from HEAD - bugfix for bug 3980 2005-10-03 14:15:57 +00:00
mjollnir_ 5d8323d57c Login block should be more discerning about offering signup link. Fixed to be more in line with the login page 2005-09-13 22:21:20 +00:00
mjollnir_ c6a37a3185 Add an index where we really need it - block_instance.pagetype 2005-09-02 04:58:57 +00:00
martinlanghoff e2d7747f10 Blocks upgrade - reduce memory consumption by a few GB and (postgres only) halve database traffic. 2005-08-18 00:01:39 +00:00
patrickslee a3c092c96d Mass cleanup of bad postgres upgrade scripts 2005-08-15 22:30:47 +00:00
moodler 347b01bcd9 Merged 1.6 version into 1.5 because bugs were fixed 2005-08-13 16:43:45 +00:00
patrickslee 80729b01d0 Fixed a bug in postgres block upgrade script messing up with block ids 2005-08-10 05:28:46 +00:00
dhawes 40c61f1f01 merging in fix for bug 3478 2005-08-04 02:24:17 +00:00
defacer 3b80afab63 Fix for bug 3793:
Prevent warning message when configuring a glossary_random block in a
course which has no glossaries.
2005-07-23 00:52:47 +00:00
defacer 309ed997b3 Slight "correctness" correction. 2005-07-19 23:43:42 +00:00
defacer 73b60981af Robustness check from Marko Korhonen (bug 3751):
Don't print a warning if $rss->items is empty.
2005-07-16 00:16:26 +00:00
urs_hunkler 6f96b83473 removed padding-top from title, which made the title of the sideblock higher than the other ones. 2005-06-17 06:26:45 +00:00
defacer 85ad80a03f Implementing Dan Marsden's great idea for additional hooks when block
instances are deleted (bug 3446). Going a step further and adding hooks
for when block instances are created.

This probably counts as adding features to a STABLE, but I wanted to
give any future blocks that use this as much back-compat as possible.
2005-06-13 03:29:47 +00:00
defacer 230783ba85 While researching bug 3478:
Consolidated handling of the incoming courseid parameter, as it was easy
to make an error the way this was written before.

In general, this script looks like it needs to be streamlined.
2005-06-13 02:35:38 +00:00
defacer fa62ca18e8 Fix for bug 2925:
When editing is turned on, the Main Menu should always display and give
the option of adding resources/activities in section 0 of the site.

Bad optimization code caused the drop downs to not be shown if there
was no section 0 (i.e., the site never had a news forum or an activity
in the Main Menu block).

FINALLY! :)

PS: Version bump, so that we know if people have the latest version of
the block. I 'm going to bump versions from now on when bugs are fixed.
2005-06-13 01:56:25 +00:00
gustav_delius 5ebe26c7d0 fixed typo 2005-06-04 17:22:00 +00:00
ikawhero 3e41bf36a3 Link to add new courses only shown to course creators when there are no
courses available. Bug 3420.
2005-06-04 10:39:57 +00:00
moodler f3bfb270af Fixed _new with _blank 2005-05-30 18:42:41 +00:00
urs_hunkler bb0ceba26d I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css. 2005-05-27 17:24:27 +00:00
defacer 76e2cb0a9b Backporting changes from HEAD 2005-05-24 18:58:02 +00:00
moodler 1b0649d558 Moved some things from People block to Administration. Each of them
will probably be tweaked a little more still.
2005-05-24 16:55:48 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
mjollnir_ e49c4d3075 Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents 2006-01-17 23:54:14 +00:00
moodler 5d7a2722d5 more bugs 2006-01-16 07:57:56 +00:00
mjollnir_ d5250d2f13 RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages 2006-01-16 03:02:42 +00:00
toyomoyo 85ef664d10 bug fixes 2006-01-16 02:26:54 +00:00
stronk7 cfae73b6b4 [BugFix] Bug #4586 in the moodle bug tracker
Please, dont forget to apply bug fixes to head too. ;-)

Merged from MOODLE_15_STABLE
2006-01-14 11:27:52 +00:00
defacer 42f9b64b80 On second thought, we can be a bit more diplomatic with this one.
The best of both worlds, but a hack is a hack. ;-)
2006-01-13 16:28:19 +00:00
defacer 24acdc993b Fixing a bug, see http://moodle.org/mod/forum/discuss.php?d=37545
Instead of grabbing variables defined by the course format with
global $var; the block now recomputes them itself.

Of course this also introduces a (significant?) performance hit.

I think it's much preferable to "live with" the hit until a good
solution is developed rather than have a hacky solution that could
break anytime for any obscure reason (case in point). Objections?
2006-01-13 16:20:40 +00:00
toyomoyo 153185152a adding new field and bug fix 2006-01-11 03:05:34 +00:00
toyomoyo fb7b685530 adding utf8 support scripts 2006-01-09 06:12:18 +00:00
stronk7 7124cc16e7 Now rss_unhtmlentities() is not used anymore!
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:13:06 +00:00
moodler ef26f27869 Change string name in admin list 2006-01-05 06:30:54 +00:00
toyomoyo 16ee05ad8f merged, limit of students displayed = 20 2006-01-04 05:22:53 +00:00
defacer 8eefd42e7e Oops. Forgot some debug code in there. 2005-12-17 04:53:50 +00:00
defacer 1130633117 NEW FEATURE:
Per-block access controls for creating and editing block instances. Defaults
behave the same as before, and the framework has final say as before.

See relevant discussion at http://moodle.org/mod/forum/discuss.php?d=36444



Other minor changes: Converted "continue" to "break" inside switch statements
(more to the point, although equivalent), change erroneous (but harmless)
"return false" to "break" on failed addition of block instance, removed some
inline comments from block_base (they were duplicated in PHPdoc)
2005-12-17 04:37:55 +00:00
dhawes 0117998b3d got aroundoptional_param problem with PARAM_URL munging rss:// and feed:// urls 2005-12-14 00:51:34 +00:00
defacer ccfa3918de Merge from STABLE:
XHTML fix, pointed out by James Ballard here:
http://moodle.org/mod/forum/discuss.php?d=35830

(Also just found out it's bug 4451)
2005-12-07 15:01:02 +00:00
mjollnir_ 4820a99e87 New report - course participation. Integrated with messaging system, same as participants list. 2005-11-28 20:50:15 +00:00
defacer 13f64465e1 Removing some code which looks _very_ dead to me (traced its origins back
to when the Blocks2 stuff was first committed).

Unless I have forgotten something important and this breaks stuff horribly
somewhere, then it should be taken out from many other standard blocks as well!
2005-11-23 23:40:26 +00:00
defacer a7ef57d4da Making section links point to #section-NNN instead of #NNN 2005-11-23 23:16:24 +00:00
defacer 296c94b134 Begone, evil <font> tag 2005-11-23 22:33:33 +00:00
mjollnir_ e87d42e013 Merged from MOODLE_15_STABLE: Fixing misnamed variable in forgot password link in login block 2005-11-17 02:30:53 +00:00
patrickslee 9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
mjollnir_ bacd847b35 Fixing last commit - mysql upgrade - table_column defaults to 0 for default rather than empty string and mysql doesn't want to allow 0 for defaults for type text columns 2005-11-13 22:58:26 +00:00
mjollnir_ 79598cf025 Fixing bug 4244: length of rss title changed to TEXT in db and truncated to 64+ ... in block content. Also fixed BAD BUG where the function name for rss_client block upgrade was misnamed - this would have meant that db no upgrades ran for this block 2005-11-13 22:50:45 +00:00
dhawes 35ba289440 bug 4244. Replaced rss_edit with rssedit keyword everywhere. Also added string replace for any feed:// or rss:// url strings with http:// 2005-11-10 23:34:28 +00:00