895 Commits

Author SHA1 Message Date
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
stronk7
35554f5045 NOBUG: Added missing savepoint 2009-08-10 17:41:26 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
jerome
ca8874dcee installation MDL-19984 fix SQL error during upgrade process 2009-08-03 04:02:39 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
stronk7
da750a5182 MDL-19701, MDL-19695 ddl stuff - review upgrade to enforce dependencies on every field operation 2009-07-30 18:48:42 +00:00
stronk7
ce11763a23 MDL-19969 standarising plugin names - prevent dupes in case record is already there 2009-07-30 13:40:59 +00:00
tjhunt
d14edf06ee blocks: MDL-19399 proper permissions checks for editing blocks.
In particular for editing sticky blocks. If the admin addes one at site level,
then the teacher should not be able to change its configuration from
the course page, but should be able to set the position on this page.
2009-07-30 03:44:10 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt
e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
tjhunt
13a0d3d3c9 blocks MDL-19536: rename block_instances.contextid to parentcontextid to avoid gross confusion 2009-07-10 05:58:59 +00:00
skodak
edcb15b5c6 fixed whitespace and added TODO for release 2009-07-09 19:58:29 +00:00
skodak
8b6a09680a fixed whitespace 2009-07-09 19:54:54 +00:00
nicolasconnault
4d13d47060 MDL-19677 Reverting prematurely committed blog patch 2009-07-03 05:54:49 +00:00
stronk7
4276a19a78 MDL-19695 field dependencies - before committing the dependency checker, fix all places in upgrade
that will break once running with dependencies enabled
2009-07-02 16:05:47 +00:00
stronk7
fdc391470e Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block. 2009-07-02 15:30:30 +00:00
skodak
c1f58efef7 MDL-19699 fixed blog upgrade trouble and one notice 2009-07-02 15:14:23 +00:00
nicolasconnault
856b6fe6d2 MDL-19676 Removed course and group visibility settings for blog 2009-07-01 08:49:47 +00:00
skodak
adf8f3f9ad MDL-19668 improvements of _with_advanced admin setting classes finished, quiz settings updated too 2009-06-30 16:55:56 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
tjhunt
52902cea23 blocks upgrade: MDL-19511 And repeat the upgrade step, since some poeple will have missed it. 2009-06-16 10:31:33 +00:00
tjhunt
a26146d563 blocks upgrade: MDL-19511 put back important code that Petr commented out!
The actual mistake was the name of the previous column, which is totally irrelevant, but which XMLDB had filled in incorrectly. Grrr!
2009-06-16 10:23:56 +00:00
skodak
b4154c2d64 MDL-14990 implemented query loggin in new native DML drivers 2009-06-13 15:59:55 +00:00
stronk7
a54e16380e MDL-19350 upgrade review - adding missing savepoints to main upgrade. 2009-06-03 15:18:53 +00:00
skodak
1aa01caf90 MDL-16231 reimplemented deleting of files + cron cleanup 2009-06-03 08:10:21 +00:00
skodak
4f12838e3e MDL-17458 moving lib/db/upgradelib.php to upgrade.php in order to maḱe it the the same for all plugins 2009-05-31 17:38:18 +00:00
skodak
1e308b644e MDL-19010 disabling upgrade block which breaks upgrade from 1.9.x 2009-05-26 17:30:23 +00:00
skodak
1deff123aa MDL-15249 towards cli install script 2009-05-25 21:46:28 +00:00
skodak
aa282b10fb MDL-15249 $_SERVER['HTTP_HOST'] not availabel in CLI script, replaced by parsing of wwwroot which should give the same info 2009-05-25 20:55:27 +00:00
stronk7
ba73136eab 2.0 prefixes syntax 2009-05-23 22:51:53 +00:00
stronk7
2b212777b0 Fixing xmldb uses, deleting ENUM parameters. Seem the blocks upgrade
code was written in the middle of the ENUMs drop.
2009-05-23 22:49:46 +00:00
skodak
a5747cf828 MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +00:00
stronk7
6861b6fe33 Adding one more require_once($CFG->dirroot . '/course/lib.php') to another rebuild_course_cache() 2009-05-14 20:42:53 +00:00
stronk7
ecdf5d17a0 MDL-16879 run upgrade_fix_incorrect_mnethostids() in upgrade. Bump. 2009-05-12 00:23:26 +00:00
stronk7
02caf1e799 MDL-16879 fix mnet hosts - upgrade_fix_incorrect_mnethostids() merged to HEAD 2009-05-12 00:21:28 +00:00
tjhunt
35550fd627 blocklib: MDL-19010 re-fix another Nico 'fix' ;-) 2009-05-07 03:02:06 +00:00
tjhunt
3aceb097a2 blocklib: MDL-19010 fix upgrade breakage that Nico caused when he fixed the other problems. 2009-05-07 02:38:12 +00:00
nicolasconnault
a9a0b93de1 MDL-19010 Including courselib where needed during upgrade 2009-05-06 14:19:19 +00:00
nicolasconnault
eb2761f856 MDL-19010 Fixing upgrade code to work with mysql. Also returning false when get_recordset_sql hits a SQL error, instead of crashing during upgrade with a Fatal error: Exception thrown without a stack frame in Unknown on line 0 2009-05-06 10:22:33 +00:00
tjhunt
c045e45a44 blocklib.php: MDL-19010 rearrange lib/db/upgrade.php before commit to CVS 2009-05-06 09:31:23 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
tjhunt
e88462a055 moodle_page: MDL-12212 eliminate the two different interpretations of
pagetype
2009-05-06 08:41:02 +00:00
stronk7
382123a06e 2.0 has lowercase xmldb objects. 2009-05-04 14:33:01 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
skodak
35079f539c MDL-18951 standardised group support in grader report (not complete yet) 2009-04-30 08:07:43 +00:00
tjhunt
dc740f9788 MDL-18132 - fix upgrade SQL for MS SQL. 2009-04-28 09:55:46 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
stronk7
6bdf4c99b3 MDL-16824 messaging - move unread messages from deleted users to message_read.
Pending to commit changes to uploaduser.php. Credit goes to Anthony Borrow. Thanks!
Merged from 19_STABLE
2009-04-26 22:56:56 +00:00
sam_marshall
0f9534c121 MDL-18297: Forgot that course cache needs rebuilding for upgraded dates 2009-04-17 16:21:15 +00:00