73 Commits

Author SHA1 Message Date
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Petr Skoda
cec7ffcab9 MDL-24127 fixed incorrect $url variable names 2010-09-07 19:47:08 +00:00
Petr Skoda
20207b827a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:57:00 +00:00
samhemelryk
c5e4f81d9a admin MDL-19787 Added PAGE->set_url calls and removed $Id tags 2009-10-15 02:19:51 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
e8656befac MDL-17942 more session refactoring 2009-01-18 18:00:44 +00:00
skodak
88fdd846f6 MDL-17942 fixed gc regressions, added gc after deleting users and similar cases 2009-01-18 12:20:55 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
thepurpleblob
fcd0ddbfba MDL-11977:
Add an an optional forgotten password handling url

Merged from STABLE_19
2007-11-01 14:37:51 +00:00
stronk7
d660c423fd Support some strings from within the auth plugin lang files added. MDL-10694
Merged from MOODLE_18_STABLE
2007-08-04 17:18:14 +00:00
urs_hunkler
0dc89caf21 added clearfix to class settingsform to correct collapsing 2007-07-18 15:53:07 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
skodak
c7b10b5f67 MDL-9053 - adding new function get_enabled_auth_plugins() - this should make the code simpler and the bug should be gone forever; merged from MOODLE_18_STABLE 2007-03-27 20:26:05 +00:00
skodak
6bc1e5d577 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs 2007-03-22 12:27:52 +00:00
stronk7
7fb2c1bbd0 Fix one small config name.
Merged from MOODLE_18_STABLE
2007-02-23 00:36:17 +00:00
stronk7
aae2743a3a Now the "common settings" form in admin/auth looks like
one standard admin form.

Merged from MOODLE_18_STABLE
2007-02-23 00:29:24 +00:00
stronk7
13abd721f2 Fixing the auth plugins visual. to use the flexible table properly.
Merged from MOODLE_18_STABLE
2007-02-22 23:01:47 +00:00
stronk7
90ea86e9f8 "flexible" is now out from set_attribute() because
flexible tables are adding it automatically.
Point 3.3 of MDL-8419

Merged from MOODLE_18_STABLE
2007-02-22 18:48:38 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +00:00
toyomoyo
038bf62143 MDL-8425 related fixes 2007-02-08 03:04:41 +00:00
toyomoyo
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
skodak
82b9f43e76 MDL-7861xhtml strict fixes 2007-01-08 21:22:57 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
donal72
cd607643dc mnet: Removed hardcoded English strings from some MNET files: MDL-8069 2007-01-05 05:58:39 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
martinlanghoff
d14383e0a0 mnet/multienrol: admin area changes, including test for curl extension 2007-01-04 03:19:49 +00:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
toyomoyo
a0ab421159 fixing broken html 2006-12-14 02:05:33 +00:00
skodak
fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
f21def1f11 fixed collisions in merges, sorry 2006-09-03 15:21:46 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
martinlanghoff
1590773b1c auth: extend API to support auth_validate_form()
Now Auth plugins can register auth_validate_form to get a chance
to validate config form input. Needed on MOODLE_16_STABLE to fix
a bug with auth/db.

The auth API must follow suit with the enrol API, where we can safely
do method_exists().
2006-07-18 01:36:06 +00:00
vyshane
1e9f3edb56 Added $CFG->pagepath for Moodle Doc link. 2006-03-22 04:15:00 +00:00
skodak
1c47adc540 parameter cleaup - round 1 2006-03-06 10:02:59 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
thepurpleblob
7ac15a921a Change password url is now one-per-auth-method rather than just one for
the whole site. Password change help field also added (one per auth too).
This is to support improved lost password handling (ie, multiple authentication)
2005-09-22 15:12:31 +00:00
patrickslee
66590bd8a7 Removed/added/moved some redundant/missing/misplaced page headers/footers, merged from 15_STABLE 2005-08-03 01:24:29 +00:00
thepurpleblob
820a1fde46 Replaced confusing set_default() with real code. 2005-07-07 13:59:35 +00:00
thepurpleblob
993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
martinlanghoff
a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
ikawhero
5b2ae5848c Can provide an alternate page for the login form.
The page must contain a form with an action field set to /login/index.php
and return fields username and password

TODO
It may be worth checking the URL when it's entered at admin/auth.php
to ensure it is at least pointing to a valid page as an incorrect URL
could potentially lock all users out of a site.
2005-04-01 07:39:27 +00:00
gustav_delius
93d34a8c5b some XHTML fixes 2005-03-13 13:55:19 +00:00
moodler
9ca16fd456 Some cleaning up of configuration interfaces 2005-02-09 13:04:04 +00:00
moodler
206483974f Just a little tidying up 2005-02-08 17:33:13 +00:00