Andrew Davis (andyjdavis)
017c440bb4
MDL-27460 roles: now closing a record set that wasnt being closed
2011-05-10 17:01:08 +08:00
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Petr Skoda
c102060deb
MDL-26951 fix removing of archetype from role
2011-03-27 16:04:33 +02:00
David Mudrak
29cbe43189
MDL-13481 Strings fullname and shortname are now deprecated
...
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.
AMOS BEGIN
CPY [fullname,core],[outcomefullname,core_grades]
CPY [shortname,core],[outcomeshortname,core_grades]
CPY [name,core],[rolefullname,core_role]
CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Sam Marshall
6397deaec8
Roles MDL-23986 Added help to role archetype
2010-11-09 12:41:29 +00:00
Petr Skoda
01beeae993
MDL-24505 limit max number of admin candidates
2010-10-04 07:50:12 +00:00
Sam Hemelryk
87b4981b4a
enrolments MDL-24317 Permission filter now remembers what you type into it.
2010-09-21 06:09:14 +00:00
Petr Skoda
eab8ed9fb7
fixed a few spelling errors in /admin/
2010-09-17 10:27:26 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +00:00
Petr Skoda
cc1eebbb34
MDL-23184 role description accepts any HTML, we have to trust people that can edit roles anyway
2010-09-02 17:55:22 +00:00
Petr Skoda
d44df69b23
MDL-23774 only local users can be admins - more security and fewer "lost admin account" problems
2010-08-12 08:20:59 +00:00
Petr Skoda
be42eca7a4
MDL-23444 fixed missing file include in user selector ajax
2010-07-21 07:44:10 +00:00
aparup
da904f85e1
administration MDL-23445 fixed broken sql query
2010-07-21 03:54:26 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
David Mudrak
52236f053b
MDL-21695 Permissions and overrides help strings
...
AMOS BEGIN
HLP overrides.html,[overridepermissions_help,core_role]
HLP permissions.html,[permission_help,core_role]
AMOS END
2010-05-17 12:43:02 +00:00
David Mudrak
27d1a27c21
MDL-21695 Migrating the usage of root help files so far re-worded
...
AMOS BEGIN
HLP forcepasswordchange.html,[forcepasswordchange_help,core]
HLP interestslist.html,[interestslist_help,core]
HLP newpassword.html,[newpassword_help,core]
HLP permissions.html,[permissions_help,core_role]
HLP picture.html,[newpicture_help,core]
HLP picture.html,[newpicture_help,core_group]
HLP roles.html,[roles_help,core_role]
AMOS END
2010-05-06 21:27:58 +00:00
Petr Skoda
596509e431
MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help
2010-04-13 20:34:27 +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
01a2ce80ec
MDL-21710, MDL-21711 new permissions evaluation and overriding UI
2010-03-07 09:28:54 +00:00
Petr Skoda
75015e5fc1
MDL-20204 converting link to html_writer or action_link
2010-02-11 16:27:53 +00:00
Petr Skoda
2b8c3f8c1a
MDL-21435 api changes and simplification needed for JS caching and compression
2010-01-26 08:33:21 +00:00
Petr Skoda
9786fbfac4
MDL-21400 migrated roles JS to YUI3 and new modular structure
2010-01-24 19:37:46 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
d776d59ee2
MDL-21235 fixed select method name
2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b
MDL-21235 more conversion to new select
2010-01-16 18:25:51 +00:00
Petr Skoda
4bcc51185c
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
2009-12-30 15:19:55 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Petr Skoda
0df0df23f4
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 10:55:31 +00:00
Petr Skoda
11b749ca90
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 10:32:02 +00:00
samhemelryk
fac052675a
admin-roles MDL-19787 Fixed regression in recent upgrades of link_to_popup_window
2009-10-01 02:39:37 +00:00
nicolasconnault
04eb4d1ebb
MDL-19787 Upgraded calls to link_to_popup_window()
2009-08-20 13:13:50 +00:00
nicolasconnault
414a4a91b1
MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:39:07 +00:00
nicolasconnault
8fbce1c8c8
MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 04:28:40 +00:00
nicolasconnault
b324b47e36
MDL-19787 Upgraded calls to choose_from_menu
2009-08-17 15:15:20 +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
5d3b999468
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:26:02 +00:00
tjhunt
cf6155226c
ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
...
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.
There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.
get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.
Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.
All that remains is to update all the places in core code that are
still using require_js.
(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
9c3ea65295
XHTML strict
2009-04-23 06:25:51 +00:00
tjhunt
c468795ce9
switch roles: MDL-18132 New Role allow switches page finished.
...
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
91eb445ca0
switch roles: MDL-18132 Convert allow override page to use the shared code.
2009-03-25 02:17:14 +00:00
tjhunt
9654643e88
switch roles: MDL-18132 Refactor role allow assign page
...
This is ready to eliminate the duplication between this and role allow override, and the soon-to-be-written role allow switch page.
2009-03-25 01:50:55 +00:00
tjhunt
bb0e7937ec
roles admin: Fix notice when creating a role with no legacy type.
2009-03-04 02:46:48 +00:00
skodak
19a4a32e53
MDL-17942 fixed some incorrect uses of exceptions and typos
2009-01-17 23:24:31 +00:00
tjhunt
a90d7cf93d
roles ui: Fix notices and XHTML strict.
2008-12-11 09:08:20 +00:00
tjhunt
e494fbf171
override roles: MDL-8313 followup - don't show capabilities you can't change the override of in basic mode.
2008-11-24 08:19:33 +00:00
tjhunt
abfc0304e1
role assign: Don't get duplicate records in potential_assignees_below_course user selector
2008-11-24 04:55:57 +00:00
tjhunt
e6a3587c59
role assign: MDL-17323 Show users from parent contexts ... Refine group labels again.
2008-11-21 06:26:42 +00:00
tjhunt
490740d6cb
role assign: MDL-17323 Show users from parent contexts ... Refine group labels.
2008-11-21 06:19:52 +00:00
tjhunt
698ae7eb24
role assign: MDL-17323 Show users with the role in a parent context as disabled opitons in the existing users box
2008-11-21 05:46:45 +00:00