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
moodler
714d08d1d7
Merged MDL-13475 from 1.9: treat shortname fields as 100 chars
2008-03-02 15:03:33 +00:00
mjollnir_
d4564cf018
merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc. Fixes MDL-12621
2007-12-18 20:51:07 +00:00
toyomoyo
cb8cb8bf88
MDL-11241, adding logs for roles management
2007-10-18 05:53:14 +00:00
martinlanghoff
b3dc845cab
admin/roles: sitewide role changes mark site context as dirty
...
And will force a reload of $USER->access for all logged-in users
on their next request.
We will have to tell admins of large sites to avoid making role changes
at busy times, as it does generate extra load.
2007-09-19 07:10:37 +00:00
skodak
1ae083e424
MDL-9647 simplify dealing with headers/footers in admin sections
2007-04-30 17:08:34 +00:00
skodak
9d200a16d7
MDL-8522 better label for role reset button and confirmation text; merged from MOODLE_18_STABLE
2007-03-14 22:07:59 +00:00
skodak
d67de0ca05
MDL-7633 legacy capabilities now have special menu
2007-03-06 22:01:22 +00:00
skodak
b357ed13f3
MDL-8522 fixed role reset warnings + only one legacy cap type allowed now in each role
2007-03-06 19:19:19 +00:00
skodak
efe12f6c22
MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes
2007-03-05 11:27:01 +00:00
skodak
a83addc5e5
MDL-8522 Add role reset button into role definition form; fixed single button css
2007-03-03 22:30:35 +00:00