Commit Graph

734 Commits

Author SHA1 Message Date
martinlanghoff aa910f60b0 Display warning when magic_quotes_gpc=off _and_ register_globals=on -- tidyup wordwrap and center it proper. 2005-11-12 05:30:23 +00:00
martinlanghoff 2193242b48 Display warning when magic_quotes_gpc=off _and_ register_globals=on 2005-11-12 05:25:39 +00:00
mjollnir_ 926a759c71 Performance fix for get_directory_size: new config option for path to du - if we have it, use that instead. MUCH faster on directories with a lot of files 2005-09-05 05:30:53 +00:00
julmis 399d7b3acb Adding escapeshellarg to aspell path. 2005-08-25 07:43:21 +00:00
mjollnir_ 65ebc47636 Backticks are NOT ALLOWED in postgres! 2005-08-23 06:46:35 +00:00
patrickslee 8585ef8726 Removed/added/moved redundant/missing/misplaced page headers/footers 2005-08-03 00:09:33 +00:00
ikawhero c34efb3b8c Don't run the cleanup code if we are upgrading from a version that does
not already have an assignment type field. Bug 3801.
2005-07-23 10:49:50 +00:00
moodler a6c9107b45 Checked in fix for bad version from yesterday 2005-07-22 07:12:31 +00:00
moodler 6be6289f54 Fixes database errors from faulty Journal to Online Assignment upgrade code
from 1.4 to 1.5.1
Script can be run at any time.
(SE)
2005-07-21 10:59:29 +00:00
moodler 0f7f8271ba file oacleanup.php was added on branch MOODLE_15_STABLE on 2005-07-21 10:59:29 +0000 2005-07-21 10:28:30 +00:00
moodler c54473ea39 Merged fix for bug 3181 from head 2005-07-14 16:01:23 +00:00
gustav_delius 79cc5ce839 XHTML compliance 2005-06-24 12:53:45 +00:00
gustav_delius e80ad3b374 quoted two attributes for XHTML compliance 2005-06-24 07:52:26 +00:00
moodler d96c4f3aa9 Some small change in making defaults for fronmt page 2005-06-11 18:58:37 +00:00
thepurpleblob b20337b888 Converted required_variable() to required_param() 2005-06-07 09:43:45 +00:00
ikawhero 5450baa28a Added a 'Save Changes' button to the top of the page for those of us too
lazy to scroll!
2005-06-06 03:35:28 +00:00
moodler 9d39272ded Added support for $CFG->allowobjectembed in the GUI 2005-06-05 05:39:25 +00:00
gustav_delius 8c040068ca Removed the quiz upgrade warning. 2005-06-04 09:07:40 +00:00
martinlanghoff d08c400d31 auth fieldlocks: smarter handling of UI strings for user fields 2005-06-01 08:05:28 +00:00
martinlanghoff 2ba609cc8c config_plugin work
* lang updates and lang-related fixes
 * auth/db uses the new convention
2005-06-01 06:01:29 +00:00
martinlanghoff b50eee807b Almost there with config_plugins work!
* More solid checking for auth GET/POST var.
 * print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * user mapping options have moved to config_plugins table
 * LDAP module has migrated to using new field mapping vars -- simplified config.html a lot
 * strings are mostly resolved
 * a bit of work pending on CAS and DB modules
 * need an upgrade path for field-mapping config entries -- limited to LDAP only
2005-06-01 04:44:17 +00:00
martinlanghoff cdbba24134 First cut of field locks support. functional but missing strings and support for LDAP/DB modules.
- 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.
2005-05-31 05:36:41 +00:00
mudrd8mz a0028106e3 Included fix by Jaime Villate posted Sunday, 8 May 2005, 10:45 PM 2005-05-30 09:31:28 +00:00
defacer 4ac7b06a76 Revisited blocks administration page!
* Incompatible blocks which have been disabled during the upgrade
     from Moodle 1.4 can now be deleted.

   * Incompatible blocks (if any) are presented in a separate table
     and are clearly marked as such.

   * Using the new table class.

   * Improved visuals.

   * Fixed HTML and updated obsolete coding conventions all around.
2005-05-28 18:36:01 +00:00
moodler 192d6a6ea9 A little note for admins looking in the source who might be really annoyed. :-) 2005-05-26 14:44:51 +00:00
moodler 705e3a7f76 Registration is now a bit more in-your-face.
Every six months you get prompted by a slightly annoying button on
the admin page to re-register.  Once you've done so it disappears.
2005-05-26 14:43:31 +00:00
julmis ce2e784b47 Adding buttons:
- nolink
- search and replace
2005-05-24 14:21:00 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
moodler 11921822d5 fixing "default" bug 2006-01-19 05:28:53 +00:00
stronk7 2455eace43 Page finished. Now it's possible to check current and future
moodle versions... PostgreSQL people, check it against your
servers, please.
In 1-2 days I'll merge this changes to 15_STABLE, to allow
moodlers to pre-check their environments...
2006-01-18 23:05:07 +00:00
stronk7 2984a975f9 Just work in progress... 2006-01-18 00:23:57 +00:00
martinlanghoff 1ab3490ec9 admin/uploaduser: fix password update bug, safer renames, optimized execution
This patch bundles 3 changes:

    + password inserts/updates were not being md5()d
    + skip the user altogether when the rename fails, to
      avoid clobbering the existing user account
    + get_courses() has moved outside the main loop so
      it is called only once -- huge difference in
      performance and number of DB queries
2006-01-16 23:54:52 +00:00
stronk7 572f46d3d2 This is going to be the frontend. Just reseting the file
to its minimum for now.
2006-01-16 23:31:05 +00:00
stronk7 9bdc03bc06 Added the higer level check_moodle_environment()
It's the only one to be used from the rest of code.
Changed recommended to optional.
2006-01-16 22:07:59 +00:00
stronk7 36372e0cde Changed recommended to optional. 2006-01-16 22:06:15 +00:00
stronk7 21ee1ca9f7 The logic is now completed and DB, PHP and PHP_EXTENSIONS
can be checked, so I commit this.
Just starting to build the presentation layer of the stuff.
2006-01-16 19:32:14 +00:00
stronk7 302c93aec4 Put some real data about reqs, both for 1.5 and 1.6. 2006-01-16 19:29:50 +00:00
stronk7 5deb5563f5 fit PHP_EXTENSION under PHP_EXTENSIONS container. 2006-01-16 18:08:11 +00:00
stronk7 95e8227bb9 Initial model of Moodle compatibility matrix to be
checked from admin, install and upgrade. Now it includes
one "false" version to be able to test it.
2006-01-16 13:53:30 +00:00
moodler bdebe6c40c this is the db migration script, this is not called at the moment, please do not call this script as it is only in testing stage. 2006-01-16 07:59:04 +00:00
martinlanghoff 1f84d800af admin/uploaduser: missing strings fixups 2006-01-16 03:43:41 +00:00
martinlanghoff d8559098ff admin/uploaduser fixups - lowercase oldusername and fix missing strings 2006-01-16 03:16:08 +00:00
martinlanghoff a2ce7344de admin/uploaduser fixes and enhancements
Several fixes and enhancements:

 + No longer fail due to timeouts or memory limits. And let apache know
   that we're a memory hog so it can clean up after us.

 + Add support for user account updates (optional)

 + Add support for user account renames (optional)

 + Cleaned up the logic that deals with creation and failure

 + More robust error handling

 + Use optional_param() -- no longer depends on register_globals
   -- when do we switch that off?

 + Added the relevant documentation.
2006-01-16 03:15:32 +00:00
martinlanghoff e3b6b2b083 User uploads allow missing password
User upload now has an option to allow missing passwords to be accepted -
if we have an email field available. Cron will pick up those users, and call
setnew_password_and_mail() for them.

Effective way to spam your way through life...
2006-01-16 02:53:19 +00:00
defacer e58e1a9474 XHTML fixes for the administration page, plus a couple assorted styles. 2006-01-13 15:30:24 +00:00
defacer 1198996db6 Some XHTML fixes I had lying around. 2006-01-13 15:15:19 +00:00
moodler ee8c71c235 added array_unique($installedfilters) so that no redundant filter is stored in DB 2006-01-10 04:11:56 +00:00
toyomoyo 6e113a156a formatting etc 2006-01-09 02:06:51 +00:00
stronk7 7d5ab7e2ed Avoid one notice. 2006-01-07 10:44:44 +00:00
toyomoyo 1a71d8074c some changes to lang pack management 2006-01-06 02:14:16 +00:00