919 Commits

Author SHA1 Message Date
skodak
88af54fac2 MDL-17135 adding more security restrictions for web service users 2009-10-06 20:47:07 +00:00
stronk7
982e45af49 MDL-12922 adding 'moodle/restore:rolldates' cap to control who can roll dates on restore
(defaults to current settings: only course creators (and admins) are able to roll) Merged from 19_STABLE
2009-10-06 01:14:47 +00:00
tjhunt
bf659cf05e blocks upgrade: MDL-19511 Oops. contextid is unsigned, so use 0 as a dummy value, not -1 2009-10-04 18:20:08 +00:00
nicolasconnault
50569ba3ac MDL-15262 Added a two capabilities to prevent certain users from changing a course's fullname and shortname. merged from MOODLE_19_STABLE 2009-10-02 07:05:02 +00:00
skodak
5a529a535c fixing reverting mess 2009-09-21 16:08:26 +00:00
nicolasconnault
9c8c6c29f0 MDL-19754 MDL-19676 Reverted blog tables in install.xml 2009-09-21 03:31:18 +00:00
nicolasconnault
db8b0c852f MDL-19754 MDL-19676 Reverted blog upgrade code 2009-09-21 03:25:25 +00:00
nicolasconnault
20e4b1d344 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Reverting an uninentional table delete from install.xml 2009-09-18 07:49:56 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
skodak
8adaba4258 MDL-12886 the param and return descriptions will be in static methods together with the implementation :-) 2009-09-16 17:44:28 +00:00
moodler
2896b96c49 webservices MDL-12886 Correct services.php function description for create_users 2009-09-16 14:21:28 +00:00
skodak
ef22c1b664 MDL-12886 converting user/external.php to externallib.php - work in progress 2009-09-15 22:52:49 +00:00
skodak
9a0df45a01 MDL-12886 new design of external service functions, groups api improved and known problems fixed - still work in progress with lots of todos - sorry 2009-09-14 23:52:08 +00:00
skodak
c976e271c5 MDL-20274 upgrade and install support for db/services.php 2009-09-13 21:26:51 +00:00
skodak
5b9a70a15a MDL-20273 updated web services and functions description tables , includes indexes and foreign keys - oops forgot unique service name index 2009-09-13 20:05:44 +00:00
skodak
5d820ca273 MDL-20273 updated web services and functions description tables , includes indexes and foreign keys 2009-09-13 19:09:16 +00:00
jerome
4313fa89d9 webservice MDL-12886 fix bad database manual generation by xmleditor generation + update web services database 2009-09-11 09:46:01 +00:00
jerome
9baf682518 webservice MDL-12886 web service administration 2009-09-09 07:55:03 +00:00
rwijaya
b89e4ad8fa tag logs MDL-19604 Add logging for tag editing/updates, merged from MOODLE19_STABLE 2009-09-09 02:43:43 +00:00
nicolasconnault
1918f7e067 MDL-19676 Blog improvements 2009-09-04 01:07:19 +00:00
nicolasconnault
8f07768f21 MDL-19676 Blog improvements 2009-09-04 00:48:49 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
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