647 Commits

Author SHA1 Message Date
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Petr Skoda
caee6e6c26 MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
Sam Hemelryk
ef844d0a15 Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
Petr Skoda
e2bb3c9275 MDL-32094 some more E_STRICT fixes 2012-03-18 20:40:20 +01:00
Petr Skoda
88c48bbfda MDL-32052 use $this->authtype in auth config, this may help with sib classing of plugins 2012-03-17 10:58:43 +01:00
Petr Skoda
351d55b372 MDL-32052 simplify subclassing of auth_email 2012-03-17 10:52:09 +01:00
Petr Skoda
63900cc51e MDL-31494 fix link to adodb driver docs
target="_bank" is valid again in html5, it does help a lot here no matter what legacy accessibility guides say…
2012-03-10 11:04:51 +01:00
Petr Skoda
6f3451e540 MDL-31301 remove all uses of moodle_strtolower() and deprecated it 2012-03-03 11:46:26 +01:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Petr Skoda
a4d25731df MDL-30718 add missing timecraeted and timeupdated, fix user undeleting 2012-01-08 14:51:00 +01:00
Sam Hemelryk
cf6d069afd Merge branch 'MDL-31017' of git://github.com/stronk7/moodle 2012-01-05 11:17:31 +13:00
Eloy Lafuente (stronk7)
fb95ef9ecd MDL-31017 whitespace clean - take1 2012-01-04 16:27:32 +01:00
Petr Skoda
8ef9da055a MDL-30610 standardise empty upgrade script content 2011-12-23 10:38:11 +01:00
Petr Skoda
5ea41be1b3 MDL-30610 remove outdated auth upgrade code 2011-12-23 10:38:10 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda
be974aa7f9 MDL-30007 add/fix version files for all auth plugins 2011-11-29 20:41:21 +01:00
Eloy Lafuente (stronk7)
a0d26f45f7 Merge branch 'MDL-30042-master-1' of git://git.luns.net.uk/moodle 2011-11-23 03:06:18 +01:00
Eloy Lafuente (stronk7)
ff64599f25 Merge branch 'w44_MDL-29897_m22_upgradetxt' of git://github.com/skodak/moodle 2011-11-09 16:35:57 +01:00
Andrew Robert Nicols
2a420f5cd4 MDL-30042: Sanitize httpwwwroot in mnet jump 2011-11-07 14:35:46 +00:00
David Mudrak
10df8657c1 MDL-29977 MNet does not allow to start a remote session when masquerading as another user 2011-11-04 10:02:19 +01:00
Petr Skoda
ee362526f8 MDL-29897 Update upgrade.txt files 2011-11-03 08:11:55 +01:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Petr Skoda
c6bba40392 MDL-29025 fix missing $ espacing 2011-09-15 09:25:30 +02:00
Eloy Lafuente (stronk7)
3afd493065 Merge branch 'w36_MDL-29326_m22_sqlsrv' of git://github.com/skodak/moodle 2011-09-13 17:33:42 +02:00
Aparup Banerjee
af4f1cc722 MDL-26257 Authentication : whitespace/style fixes 2011-09-13 19:10:54 +08:00
Aparup Banerjee
631c9c02ab Merge branch 'MDL-26257' of git://github.com/bostelm/moodle 2011-09-13 19:07:22 +08:00
Petr Skoda
5cc6b84731 MDL-29326 add support for auth and enrol using mssqlnative adodb driver 2011-09-12 09:23:47 +02:00
Sam Hemelryk
f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Petr Skoda
ab6e0848c1 MDL-29025 standardise cli verbose output and general cleanup 2011-09-11 12:43:43 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Henning Bostelmann
f4831673b6 MDL-26257 Shibboleth auth: run logout handler only if logged in via Shibboleth 2011-09-08 12:13:07 +01:00
Iñaki Arenaza
7edcbecad6 MDL-27689 Vague README-LDAP file in auth/ldap
README-LDAP referes to a file that was renamed (to auth.php) in Moodle
1.8 and no longer exists. Make clear what file we are referring to.
2011-09-01 12:43:58 +02:00
Eloy Lafuente (stronk7)
1f03315b18 Merge branch 'wip_MDL-16168_HEAD_CAS_crash_if_no_LDAP' of https://github.com/iarenaza/moodle 2011-08-29 01:30:37 +02:00
Iñaki Arenaza
fa5f5c206f MDL-28402 LDAP configuration values being stored in lower case, causing misconfiguration
It looks like array_change_key_case() does not work recursively, so we
were not actually lowercasing the expiration attribute key. As the
configuration setting is always lowercase they didn't match.
2011-08-29 01:07:30 +02:00
Iñaki Arenaza
ab8b1d15a5 MDL-16168 auth/cas CAS crashes if no LDAP is set up
Fix was pending for master. Credit goes to Ivan Dackiewicz.
2011-08-28 15:31:14 +02:00
David Mudrak
a014e3bcd8 MDL-27107 auth_mnet - consider all incoming roaming users as confirmed
The 'confirmed' field can't be optional. If the identity provider did
not export it, the new remote user would be created with 'confirmed' set
to default zero and as such could be a subject of scheduled deletion.
2011-08-28 02:44:45 +02:00
Petr Skoda
f91f3f63a7 MDL-28182 always use full user object when deleting users 2011-07-22 22:46:32 +02:00
Petr Skoda
0881cb5135 MDL-27889 use new recaptcha google urls in lang packs 2011-07-19 10:27:20 +02:00
Eloy Lafuente (stronk7)
21ba26e814 Merge branch 'w27_MDL-28158_m22_cookies' of git://github.com/skodak/moodle 2011-07-11 15:33:03 +02:00
Petr Skoda
98eaf27e3c MDL-28280 remove obsolete unmaintained $CFG->usesid 2011-07-10 13:44:41 +02:00
Petr Skoda
0342fc3609 MDL-28158 add optional "Remember username" checkbox in login forms 2011-07-10 13:22:55 +02:00
Eloy Lafuente (stronk7)
26635fd7f9 Merge branch 'MDL-28169' of git://github.com/nebgor/moodle 2011-07-07 10:21:32 +02:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Iñaki Arenaza
971db6a110 MDL-24666 sync_users.php can throw db exception on sites upgraded from 1.x
From 2.0 on we lowercase all the settings related to LDAP attributes
to cope with differences in LDAP servers when returning attribute
names as array indices (some lowercase them, some leave them as
specified in the query, some normalize them, etc.).

But we only lowercase them when saving the settings page. So on sites
that have been migrated from 1.x, it may happen that we still have
mixed-case attribute names. And this is fatal for the user_attribute
setting, as we might not detect it in the returned array from LDAP and
it will be empty (and the db layer throws and exception).

So we just make sure the attribute name is lowercased (and trimmed,
in case it's got some white space around it).

Signed-off-by: Iñaki Arenaza <iarenaza@mondragon.edu>
2011-07-04 21:47:43 +02:00
Eloy Lafuente (stronk7)
20d8d5c799 MDL-27148 whitespace fix 2011-04-18 01:38:41 +02: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
c6a074f867 MDL-26795 fix incorrect location of email change strings
AMOS BEGIN
 MOV [auth_emailchangecancel,auth_email],[emailchangecancel,core_auth]
 MOV [auth_emailchangepending,auth_email],[emailchangepending,core_auth]
 MOV [auth_emailupdate,auth_email],[emailupdate,core_auth]
 MOV [auth_emailnowexists,auth_email],[emailnowexists,core_auth]
 MOV [auth_emailupdatemessage,auth_email],[emailupdatemessage,core_auth]
 MOV [auth_emailupdatesuccess,auth_email],[emailupdatesuccess,core_auth]
 MOV [auth_emailupdatetitle,auth_email],[emailupdatetitle,core_auth]
 CPY [auth_emailnoemail,auth_email],[noemail,auth_ldap]
AMOS END
2011-03-27 17:19:23 +02:00
Petr Skoda
ee69d85a1f MDL-26634 LDAP NTLM SSO Multiple subnet separator is not specified and people use a wrong one
Credit goes to Inaki Arenaza.
2011-03-13 10:14:20 +01:00