896 Commits

Author SHA1 Message Date
thepurpleblob
17a99a133e MDL-17048
Suppress display of empty custom profile field categories

Merged from STABLE19
2009-01-07 13:58:41 +00:00
ikawhero
410fc5a24d MDL-17791 Can make a link from user data when adding a new custom user
profile text field
2009-01-06 07:31:26 +00:00
tjhunt
8d89b40183 Preserve multiselect option through ajax calls. 2009-01-06 06:14:37 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak
542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
ikawhero
76727901a6 MDL-17228 Allow admins to view hidden custom profile fields.
Thanks to Alan Barrett for the fix. Merged from MOODLE_19_STABLE
2008-12-24 04:17:56 +00:00
tjhunt
eff819c37a admin tree: MDL-13104 - fix another external page so there are not problems when you click the blocks editing on/off button. 2008-12-22 03:16:57 +00:00
moodler
595a6f221b user tabs MDL-17472 Fixed a regression where the $secondrow variable of forum posts was being wiped out (See also MDLSITE-594) 2008-12-19 01:47:32 +00:00
skodak
351d5250c0 MDL12333 fixed code to use new DML syntax 2008-12-09 22:15:03 +00:00
skodak
d0b2acde4f MDL-17559 user edit: fixed undefined email property warnings; merged from MOODLE_19_STABLE 2008-12-08 20:16:49 +00:00
skodak
53bd22559d MDL-17486 added option to make my courses list in user profile hidden 2008-12-01 22:06:33 +00:00
skodak
5ff311f0b7 MDL-11261 hiddenuserfields/lastaccess now fully respected on participants page 2008-12-01 20:45:46 +00:00
skodak
3c7da16d2d MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport 2008-12-01 19:19:29 +00:00
skodak
358e2a0bd2 MDL-17464 profile reports are now respecting course report caps 2008-11-30 12:04:27 +00:00
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
tjhunt
74f6cf8037 roles / profile: MDL-14937 A the user's roles report from contrib to core.
This is work in progress. I have integrated it into the profile tabs. Now I just need to make it work again.
2008-11-21 08:23:57 +00:00
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00
skodak
979f8aa6cf MDL-17143 $CFG->profilesforenrolledusersonly does not belong into advanced user edit form - it was removing description if user had only create user cap 2008-11-18 21:45:12 +00:00
tjhunt
d559bdc063 Fix typo. 2008-11-18 02:49:09 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +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
6a2e5bf3a3 Kill test file that is no longer needed. 2008-11-13 03:46:04 +00:00
tjhunt
40ab508a7e Fix variable name typo. 2008-11-13 03:06:20 +00:00
tjhunt
a6e7237adc roles explanation: MDL-13538 Make a table showing the result of has_capability for every capabiltiy in a context.
This implements the page showing the table. It is not yet integrated into the tab bar. To try this, go to an Assign roles page (one with URL .../admin/roles/assign.php?contextid=...) and change the 'assign' to 'explain'.
2008-11-12 07:55:09 +00:00
dongsheng
6eaf2e376f "MDL-17143, use record_exists" 2008-11-12 01:51:28 +00:00
stronk7
1ba3293a6b MDL-17143 Some improvements suggested by Petr applied. Merged from 19_STABLE 2008-11-11 19:06:20 +00:00
stronk7
9af010ea4a MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting. Merged from 19_STABLE 2008-11-11 18:39:34 +00:00
tjhunt
deb39f4382 user selector: MDL-16966 Nicer messages when there are too many users to show.
Also, improved the comment that explains to subclassers what they have to do, and fixed get_selected_users, so if the number of selected users is greater than the max number of users to show, it still works.
2008-11-11 02:26:03 +00:00
dongsheng
35f0660ab4 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses, merged and modified from 1.9" 2008-11-10 03:06:27 +00:00
stronk7
6a08c83042 MDL-17151 DB 2.0 syntax: fixed wrong usage in previous commit 2008-11-07 12:49:11 +00:00
ikawhero
35a261eb6d MDL-17151: Missing code to check for uniqueness of values.
Merged from MOODLE_19_STABLE
2008-11-07 05:57:24 +00:00
ikawhero
501ca377a1 MDL-17151: Fix typo. Merged from MOODLE_19_STABLE. 2008-11-07 02:01:19 +00:00
tjhunt
9d07ec29dc user selector: MDL-16966 Nicer handling of the situation where there are no users at all.
A slight improvement of a patch by Dan Poltawski.
2008-11-06 06:09:14 +00:00
danmarsden
f787e10536 MDL-17140 should check if $data->id isn't empty before sending to get_record 2008-11-06 01:04:40 +00:00
tjhunt
1acd8f50f7 user selector: MDL-16966 Work round IE bug. Also, deal with reload case.
Listen you morons in Redmond: getElementById does not mean getElementByIdOrNameOrAnythingElseRandomWeFeelLike. Oh well. I have done a work-around.
2008-11-05 02:16:07 +00:00
tjhunt
2bea836d9b user selector: MDL-16966 Minor code cleanup. 2008-11-04 10:08:37 +00:00
tjhunt
1ae7210784 user selector: MDL-16966 use a JavaScrip event name that works cross-browser for watching the check-boxes. 2008-11-04 09:13:41 +00:00
tjhunt
4099f71f12 user selection: MDL-17073 add options to control the search in a collapsible region - Fix JavaScript error. 2008-11-04 07:51:49 +00:00
tjhunt
cf0a341faf Slight tidy up for how the JS is included and initialised. 2008-11-04 07:25:43 +00:00
tjhunt
cca4c120dd user selection: MDL-17073 add options to control the search in a collapsible region - fix the preserve-selected option. 2008-11-04 07:24:07 +00:00
tjhunt
904998d8f9 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
tjhunt
c9e4326c39 user selection: MDL-17073 Clear button next to the search box 2008-11-03 06:42:41 +00:00
tjhunt
f2eb500238 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference. 2008-11-03 05:04:23 +00:00
tjhunt
71ef682259 user selector: MDL-16996- followup - change optgroup label escaping funciton to keep Nicolas Martignoni happy. I can's say I full understand this issue. 2008-11-03 05:03:00 +00:00
skodak
cb4709dccd MDL-17027: protect user profile images if $CFG->forcelogin enabled; merged from MOODLE_19_STABLE 2008-11-01 22:30:18 +00:00
skodak
25a79c16a1 MDL-17065 user: profile iamges of deleted users are not accessible anymore; merged from MOODLE_19_STABLE 2008-11-01 19:37:07 +00:00