422 Commits

Author SHA1 Message Date
Dan Poltawski
b6df9f8f55 Merge branch 'wip-mdl-42560' of git://github.com/rajeshtaneja/moodle 2013-10-29 13:09:23 +08:00
Rajesh Taneja
045d913d11 MDL-42560 Events: Removed use of role->name
role->name is usually empty or localized, so should not be used in events
2013-10-28 11:06:47 +08:00
Petr Škoda
d5814f4e22 MDL-41811 simplify the admin tree detection logic and fix navigation in multiple areas 2013-10-21 14:17:55 +08:00
Rajesh Taneja
b92adf24a4 MDL-41811 navigation: Fixed navigation issues on pages
Few admin pages don't add navigation node and hence they should
not show site admin
2013-10-21 14:17:54 +08:00
Dan Poltawski
e9091a28f5 Merge branch 'wip-MDL-42089-master' of git://github.com/abgreeve/moodle 2013-10-09 10:54:24 +08:00
Sam Hemelryk
5dc361e16e MDL-31830 core_course: new course category management interface
* Implemented a new course and category management page.
* Deprecated the old management interface.
* Unit tests to cover the new API and core functions.
* Behat tests to cover the new interface.
2013-10-07 10:21:41 +13:00
Adrian Greeve
4d83abd052 MDL-42089 - Administration: Update to sql to include alternate name fields. 2013-10-03 10:34:07 +08:00
Petr Škoda
0aa535bf1d MDL-20045 add support for custom context levels 2013-08-31 11:47:44 +02:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Rajesh Taneja
35e4eb42c0 MDL-40044 Roles: Updated role_assigned and role_unassigned event to remove add_to_log 2013-08-09 18:02:02 +08:00
Rajesh Taneja
1613ffa55f MDL-40044 Roles: Added role_allow_*_updated events to replace add_to_log on role allow page
Added events:
1. role_allow_assign_updated
2. role_allow_override_updated
3. role_allow_switch_updated
2013-08-09 17:59:54 +08:00
Rajesh Taneja
82ddcad0a3 MDL-40044 Roles: Added role_capabilites_updated event and replaced related add_to_log 2013-08-09 17:59:54 +08: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
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Frederic Massart
a439b2f9b4 MDL-40465 libraries: Deprecate fetch_context_capabilities() 2013-07-11 14:33:25 +08:00
Mark Nelson
6c89d4e1c0 MDL-40431 libraries: deprecated get_context_url() 2013-07-11 13:23:45 +08:00
Adrian Greeve
329846f198 MDL-40430 - Libraries: Deprecate print_context_name(). 2013-07-09 16:11:55 +08:00
Rajesh Taneja
7f5b51c4e6 MDL-40404 Libraries: Deprecated get_parent_contextid() 2013-07-09 14:33:21 +08:00
Petr Škoda
1415127ebc MDL-40337 fix some more deprecated calls in role code 2013-06-27 22:41:14 +02:00
Petr Škoda
5089cca0b4 MDL-40337 use full frankenstyle in get_string() calls 2013-06-27 22:17:46 +02:00
Petr Škoda
07364397cd MDL-40337 fix remaining code checker troubles in admin/roles/* 2013-06-27 22:17:45 +02:00
Petr Škoda
282ed3e5d9 MDL-40337 cleanup users roles code 2013-06-27 22:17:45 +02:00
Petr Škoda
72de139a6e MDL-40337 cleanup role permissions code 2013-06-27 22:17:45 +02:00
Petr Škoda
d7797b7924 MDL-40337 cleanup role override code 2013-06-27 22:17:45 +02:00
Petr Škoda
06a0a2955e MDL-40337 cleanup role manage UI 2013-06-27 22:17:45 +02:00
Petr Škoda
bb061951a0 MDL-40337 cleanup role definition code 2013-06-27 22:17:45 +02:00
Petr Škoda
aac13d6728 MDL-40337 cleanup role assign pages 2013-06-27 22:17:45 +02:00
Petr Škoda
67ab75e521 MDL-40337 cleanup role allow pages 2013-06-27 22:17:45 +02:00
Petr Škoda
d6c4544d63 MDL-40337 cleanup admin select UI 2013-06-27 22:17:44 +02:00
Petr Škoda
bc7b53fb49 MDL-40337 use class loader for admin/roles/* 2013-06-27 22:17:44 +02:00
Petr Škoda
4dd680c74e MDL-17081 allow role reset to self
The use case is importing of incomplete XML preset - keep current + preset changes. This also discards any pending changes.
2013-06-25 15:15:46 +02:00
Petr Škoda
8c6b980803 MDL-17081 fix invalid role XML schema 2013-06-25 10:18:22 +02:00
Petr Škoda
fcd75b6e6d MDL-17081 store also CAP_INHERIT in role export files 2013-06-25 00:24:55 +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
Marina Glancy
a5f82c5b21 MDL-38309 Substitute usage of print_tabs() with renderable tabtree 2013-04-15 12:13:13 +10:00
Rajesh Taneja
9a51c3d95c MDL-36395: Converted hard-coded MAX_USER_PER_PAGE to config setting
course, cohort, enrol, role, groups and forum used to use hard-coded
MAX_USERS_PER_PAGE=100 for rendering user list. This has been converted
to $CFG->maxusersperpage.
2013-03-12 17:14:53 +08:00
Sam Hemelryk
502e785311 Merge branch 'w04_MDL-37638_m25_rolecloning' of git://github.com/skodak/moodle 2013-01-28 18:00:07 +13:00
Sam Hemelryk
682a1c0108 Merge branch 'w04_MDL-37728_m25_roledef' of git://github.com/skodak/moodle 2013-01-28 17:25:51 +13:00
Petr Škoda
ba4b17dc55 MDL-37728 show role risks 2013-01-27 14:55:06 +01:00
Petr Škoda
c7e2e4d5d1 MDL-37728 list only relevant capabilities when reviewing role permissions 2013-01-27 14:29:27 +01:00
Petr Škoda
3b00599bb6 MDL-37728 show allow matrix info in role overview 2013-01-27 14:14:32 +01:00
Petr Škoda
019b77cd7e MDL-37638 fix name of duplicate role 2013-01-25 19:35:40 +01:00
Rossiani Wijaya
6fc61f2d08 MDL-36554 Admin settings: make tables class consistent throughout admin settings 2013-01-14 10:10:54 +08:00
Eloy Lafuente (stronk7)
e24d97f944 MDL-35381 added consistent sorting to the new selector (MDL-34657) 2012-11-06 00:44:42 +01:00
Petr Škoda
9f7b195fe6 MDL-35381 limit teachers to do permissions checks of enrolled users only 2012-11-06 00:08:13 +01:00
Tim Hunt
d0577078fa MDL-34657 system admins: main admin mis-identified in the UI. 2012-10-04 11:44:50 +01:00
Tim Hunt
a957e97f2f MDL-34657 user sorting: minor niggles found while testing. 2012-09-27 17:44:38 +01:00
Tim Hunt
6dde374acf MDL-34657 admin user selector: options were lost for ajax searches.
The subclass constructor must pass through the pass through any name or
options.
2012-09-27 16:32:54 +01:00
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00