19 Commits

Author SHA1 Message Date
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
vyshane
ab6d44896a Added default value for not null. 2006-04-13 02:55:27 +00:00
mjollnir_
fa10cafe61 Fixing blocks upgrade in postgres (my fault) 2006-03-27 04:03:19 +00:00
mjollnir_
c69dbe691e Merged from MOODLE_15_STABLE: (ish, version numbers different): Add an index where we really need it - block_instance.pagetype 2005-09-02 05:00:59 +00:00
martinlanghoff
af08f72b3d Merged from MOODLE_15_STABLE - Blocks upgrade - reduce memory consumption by a few GB and (postgres only) halve database traffic. 2005-08-18 00:04:02 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
patrickslee
dbbbb588a3 Fixed a bug in postgres block upgrade script messing up with block ids (Merged from 15_STABLE) 2005-08-10 05:31:46 +00:00
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
defacer
1654796815 The final touch for block robustness: when upgrading from 1.4, intercept
and disable any incompatible blocks. Print a notice too.

These blocks won't ever be displayed because they are hidden, and the admin
cannot even unhide them until they are fixed because the blocks admin page
won't list them (it will emit a notice instead). Case closed.
2005-04-30 03:25:28 +00:00
defacer
658f6a9ce3 Fix for bug 2711:
Blocks upgrade no longer breaks in Postgres. Also, a "hell why not"
robustness addition to the MySQL upgrade.
2005-03-10 22:48:29 +00:00
mjollnir_
1e62c63b3f Fix for bug 2660 - postgres upgrade breaking mdl_block sequence 2005-03-01 23:39:56 +00:00
defacer
7542a4e574 Dropping the use of MOODLE_PAGE_COURSE <gasp>!
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.

On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
2005-01-31 02:18:15 +00:00
defacer
c8e0b57900 Pages/blocks code updates:
NEW: The code now supports dynamically plugging your own Pages and block position
identifiers into Moodle without messing with the main libraries at all.

UPDATE: Many functions in blocklib now use pass-by-reference for speed.

UPDATE: Class MoodlePage has been made more presentable and robust.
2004-11-12 18:39:25 +00:00
paca70
1b2a38043b Theres no enums in postgresql 7.x. Fix for this. 2004-10-31 14:36:35 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
e02c35b2ae Merged block upgrade fix from stable 2004-08-30 16:26:00 +00:00
paca70
ce24161b7e First versions for postgressql 2004-04-19 04:15:24 +00:00