Simon Coggins
db77228155
MDL-45623: Fix assigned users count on role delete confirmation page
2014-05-26 10:00:51 +12:00
Rajesh Taneja
a7524e354b
MDL-40044 Roles: Added role_deleted event and replaced related add_to_log
2013-08-09 17:59:54 +08:00
Petr Škoda
06a0a2955e
MDL-40337 cleanup role manage UI
2013-06-27 22:17:45 +02:00
Petr Škoda
bc7b53fb49
MDL-40337 use class loader for admin/roles/*
2013-06-27 22:17:44 +02:00
Petr Škoda
5e72efd498
MDL-17081 add role export/import
...
This includes improved role creation, allowed roles are editable and other improvements.
2013-06-24 12:40:59 +02:00
Rossiani Wijaya
6fc61f2d08
MDL-36554 Admin settings: make tables class consistent throughout admin settings
2013-01-14 10:10:54 +08:00
Frederic Massart
bf006d2c15
MDL-34455 Libraries: Replaced deprecated get_context_instance()
2012-07-23 14:33:02 +08:00
Petr Skoda
c52551dc3c
MDL-8249 localise standard role names and descriptions if empty
2012-07-06 08:22:34 +02:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01: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
Petr Skoda
155ef38baa
MDL-24761 we can safely reset all roles now
2010-10-19 10:22:59 +00:00
Petr Skoda
a226a972f7
MDL-24321 switching to stdClass in /admin/ and /
2010-09-21 08:44:02 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +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
849c94bed8
Fixing a typo in get_string() component
2010-05-13 13:40:56 +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
61ef8f9f88
MDL-20204 removing deprecated admin headers
2010-03-31 08:05:53 +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
jerome mouneyrac
bc5048f640
role admin MDL-21920 missing moodle_url() into single_button call
2010-03-25 08:47:25 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +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
dc6896efe0
MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-)
2010-01-03 20:47:13 +00:00
Petr Skoda
5c2ed7e215
MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements
2010-01-03 15:46:14 +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
Andrew Davis
994cc719a6
role administration MDL-20413 up arrow next to top-most role in admin -> users -> permissions -> define roles
2009-11-25 06:03:25 +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
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
73d6f52f6a
MDL-19787 Converted all print_footer() calls
2009-08-06 14:12:46 +00:00
tjhunt
5d3b999468
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:26:02 +00:00
tjhunt
a792ac1d7a
define roles: MDL-16966 etc. more UI polishing
...
* Remove inconistently placed and unnecessary heading, moving help icon.
2008-11-21 06:19:01 +00:00
tjhunt
ad5616a934
manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks!
2008-11-18 10:18:00 +00:00
tjhunt
a7476c6bbd
manage roles: MDL-8313 improve wording.
2008-11-18 07:53:26 +00:00
tjhunt
bbdb7070ca
manage roles: MDL-8313 Provide a basic mode for the manage roles page.
...
* New basic define roles mode, with just an Allow checkbox for each capability.
* Button to toggle this form to/from advanced mode.
* Also, a separate mode for viewing a role definition, rather than just showing disabled checkboxes.
* Now duplicating a role just takes to you a pre-populated add role form, so you can double-check things before saving the new role.
* Deleting a role is now logged.
* Role reordering code cleaned up.
* You can now no longer delete the last role that has admin permissions.
* This includes a general refactor of manage.php, which eliminates manage.html, and splits of define.php.
2008-11-18 07:10:00 +00:00
tjhunt
1e8e46879c
roles interface: Code reorganisation and adding boilerplate comments.
...
I have collected code that used to be in lib/adminlib.php, lib/accesslib.php and user/selector/lib.php into a new admin/roles/lib.php file.
And I added standard GPL and Moodle comments to all the files in admin/roles.
2008-11-13 04:07:01 +00:00
tjhunt
01a80f51e5
role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
...
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.
Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
tjhunt
faf75fe715
role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.
...
Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets
MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.
2008-11-05 08:17:30 +00:00
tjhunt
1b63d34db7
MDL-16605 Add an ajaxy search box on the define/override roles screen to help find the capability you want
2008-09-26 06:50:31 +00:00
scyrma
2a68c5d9b9
MDL-16318: remove a few calls use_html_editor() (more to come)
2008-09-03 03:09:56 +00:00
skodak
bed7993115
MDL-15897 deprecated PARAM_CLEANFILE - we now support unicode everywhere
2008-07-31 23:03:50 +00:00
skodak
172dd12c63
MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906
2008-07-31 22:15:30 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
a5d424df7c
MDL-14679 converted some get/set_field()
2008-06-02 21:39:23 +00:00
skodak
9bec527490
MDL-14679 towards /admin/roles conversion
2008-05-31 10:30:30 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
dongsheng
6848005374
MDL-14129, creating error string
2008-04-10 06:19:07 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00