Petr Skoda
83bbafaa18
MDL-21712 fixed regression - guest could access any course, sorrry
2010-04-30 15:36:26 +00:00
Martin Dougiamas
4c14885683
MDL-22056 More tidying up of pluginnames for course reports, and more component names tidying
2010-04-22 15:54:20 +00:00
Martin Dougiamas
2f51f0ca1c
MDL-15252 Fixing a bug and improving the display of component names (for role assign page mostly)
2010-04-22 15:37:54 +00:00
Petr Skoda
bac6e62eba
MDL-22054 starting to switch blocks to pluginname
2010-04-11 10:09:59 +00:00
Petr Skoda
e8c2189d78
MDL-21655 marking groupid parameters as unused when assigning/unassigning roles because those were never implemented and are not planned to be ever implemented
2010-04-07 07:07:37 +00:00
Martin Dougiamas
dcc779cca4
lib/accesslib MDL-21655 Added useful function count_enrolled_users() to help counting all participating users in a context
2010-04-05 07:34:50 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Petr Skoda
1209cb5c88
fixed regression in recent commit - context path
2010-03-24 13:10:10 +00:00
Petr Skoda
01a2ce80ec
MDL-21710, MDL-21711 new permissions evaluation and overriding UI
2010-03-07 09:28:54 +00:00
Sam Hemelryk
a881f97099
files MDL-20635 Changed cleanup of files when a context is deleted from the moment it occurs to cron
2009-12-23 01:24:17 +00:00
Andrew Davis
e7a8b69d39
contexts MDL-20211 changed fetch_context_capabilities() to use underscores instead of forward slashes. Made get_child_contexts() return an array as per its doco and as expected by the calling code.
2009-11-25 05:44:15 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Petr Skoda
0ac940b3bf
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
2009-11-04 19:24:12 +00:00
Sam Hemelryk
8432f5e6c5
files MDL-20635 Added support for cleaning up files associated with a context when it is deleted
...
Note: This is a temporary solution until we have a patch to clean them up in a cron run
2009-11-04 06:11:32 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
Petr Skoda
df97c6ee57
MDL-14679 fixing old TODO, get_record now throws exception on error
2009-11-01 09:31:09 +00:00
Martin Dougiamas
7fde45a7e6
accesslib - Remove some notices when user is not logged in
2009-10-27 09:31:46 +00:00
Petr Skoda
b8affd4c8a
MDL-12886 support for ws cap names in core
2009-10-26 19:41:06 +00:00
ericmerrill
4a09658ea8
My Moodle/Courses: MDL-20472 get_my_courses returns 2 more courses then limit. Repairs two off by one errors in get_my_courses and get_user_courses_bycap.
2009-10-08 04:52:33 +00:00
skodak
f1064cca78
MDL-19039 improved default frontpage role capability evealuation, needs to be manually enabled in config.php
2009-10-05 17:08:16 +00:00
mudrd8mz
bf66a674ce
removing deletions from {blog_association} from the core
...
The {blog_association} is not defined but it is still referenced in the
core functions. This seems to be some blog subsystem mess that prevents
the core from removing any activity module and the context. I am sorry
Nico if I break something in your current work...
2009-10-01 14:41:20 +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
nicolasconnault
cae837087a
MDL-19676 Blog improvements
2009-09-04 00:36:43 +00:00
nicolasconnault
aa9a686740
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:20:12 +00:00
dongsheng
68bd9e5e13
"MDL-20024, fixed missing language string and support repository plugins"
2009-08-07 08:59:47 +00:00
skodak
0a127169fe
MDL17980 reverting last commit - other devs agreed, to be explained in tracker
2009-08-03 07:35:41 +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
tjhunt
41e87d30bc
accesslib: MDL-19882 require_capability no longer does an automatic require_login.
2009-07-21 06:24: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
moodler
024f3f9749
accesslib MDL-19730 fixing regression from MDL-19077 where has_capability fails when $USER->id=0 (so they couldn't see blocks etc)
2009-07-07 07:06:19 +00:00
tjhunt
8a9c1c1c2d
Add a warning that require_capabiliy can only be used before output is started.
2009-07-04 14:22:11 +00:00
tjhunt
c84a2dbea2
MDL-19077 - change how $OUTPUT is initialised.
...
Please read the comment at the top of bootstrap_renderer in setuplib.php
2009-06-29 05:00:45 +00:00
tjhunt
31a9987770
install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function.
2009-06-24 09:17: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
stronk7
f59309921b
MDL-19465 accesslib - improve get_user_access_sitewide() performance (~10%)
2009-06-16 15:34:55 +00:00
skodak
a8f3a651c0
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:16:08 +00:00
skodak
bb4b6010f3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:17:10 +00:00
skodak
bf8e93d704
MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings
2009-06-03 20:00:08 +00:00
skodak
56f3599bb9
MDL-19288 fixed limiting cached context - array_shift() was breaking array keys; merged from MOODLE_19_STABLE
2009-05-23 20:08:48 +00:00
samhemelryk
cc3edaa47c
accesslib.php MDL-19236 added phpdocs and copyrights
2009-05-22 02:03:55 +00:00
samhemelryk
d9ff0cc96e
accesslib MDL-19237 corrected non existent fields
2009-05-19 08:02:55 +00:00
samhemelryk
46808d7ccc
accesslib MDL-19236 added phpdocs and copyrights
2009-05-19 07:50:54 +00:00
skodak
5ca3c8386f
MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon
2009-05-16 20:53:21 +00:00
stronk7
0974051307
MDL-18746 get_user_courses_bycap() - avoid ambiguous (repeated) column names ; merged from 19_STABLE
2009-05-11 00:04:18 +00:00
tjhunt
e03c0c1d49
blocklib: MDL-19010 fix editing block config and block roles.
2009-05-08 07:47:50 +00:00
tjhunt
f474a4e583
blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php
2009-05-07 08:55:10 +00:00
tjhunt
9d1d606e0d
blocklib: MDL-19010 fix new install.
...
* Fix the blocks bit of build_context_path
* Replace blocks_repopulate_page
* Make starting_output work during setup
2009-05-07 07:05:22 +00:00
tjhunt
6bf44482c6
pagelib: MDL-12212 eliminate quiz_page
2009-05-06 09:24:45 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00