17846 Commits

Author SHA1 Message Date
mjollnir_
098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
moodler
e746e4dd99 added missing semicolon in &nbsp (bug#4592) 2006-01-16 04:29:41 +00:00
martinlanghoff
2037106308 Merged from MOODLE_15_STABLE - readfile_chunked() - do not timeout on slow (dial up) clients, and flush buffers explicitly to avoid hogging memory when ob is on 2006-01-16 04:02:28 +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
mjollnir_
950c35a96c Changing the limit for drop down menus on the log page to something reasonable (1000) 2006-01-16 03:15:48 +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
5f8ca5dfb6 enrol/db: Better warning when the user record is missing. 2006-01-16 03:12:55 +00:00
martinlanghoff
6ee745f7ec enrol/database: Fix for stupid SQL escaping error. 2006-01-16 03:12:10 +00:00
martinlanghoff
2642328505 enrol/database -- course autocreation now follows new configuration variables 2006-01-16 03:11:46 +00:00
martinlanghoff
32d9287f89 enrol/database -- added options to control course autocreation 2006-01-16 03:10:39 +00:00
martinlanghoff
e1c1a4a88f enrol/database - added some headers to the config page 2006-01-16 03:09:32 +00:00
martinlanghoff
491651f448 enrol/database - now with added sync and course autocreation
Added an external script to invoke automatic enrol-unenrol. It also
will autocreate courses based on a template.
2006-01-16 03:08:50 +00:00
martinlanghoff
061fb2e7c3 datalib: teach moodle to pull an array from a column
the new get_fieldset_sql() gets around the nastiness in get_recordset()
that treats the first column as the unique key of the recordset. You can
now request a column from a table, or a set of values as a set of 1 field
records.
2006-01-16 03:07:23 +00:00
martinlanghoff
92ab8e50d4 enrol/database tidyup: cleanup mysql hack if connect errors out 2006-01-16 03:04:31 +00:00
martinlanghoff
3e353d3622 enrol/database tidyup: wrap one line 2006-01-16 03:03:59 +00:00
martinlanghoff
388cbbfb8e enrol/database: split out db connection/disconnection to separate methods
Split them out in preparation for a sync method -- encapsulates the
nasty MySQL hack.
2006-01-16 03:03:21 +00:00
mjollnir_
d5250d2f13 RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages 2006-01-16 03:02:42 +00:00
martinlanghoff
33a9fd4745 Added auth_db_sync_users.php 2006-01-16 03:02:30 +00:00
moodler
7b0b5c14be added missing semicolon in &nbsp (bug#4592) 2006-01-16 03:01:28 +00:00
martinlanghoff
6e45da59d1 auth/db and password-generation - required strings. 2006-01-16 02:54:56 +00:00
martinlanghoff
ae57432404 auth/db now support internal passwords and sync_users() 2006-01-16 02:54:16 +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
martinlanghoff
99a14a54e8 setnew_password_and_mail() gives users a tmp passwords and emails a notice. 2006-01-16 02:51:02 +00:00
mjollnir_
a9e1e4c850 Backup xml tags now support attributes and a new function for xml content to be safe utf-8. Eloy can you please review this patch? 2006-01-16 02:37:19 +00:00
toyomoyo
85ef664d10 bug fixes 2006-01-16 02:26:54 +00:00
toyomoyo
f9952852b1 adding more xmls 2006-01-16 01:56:21 +00:00
mjollnir_
a94baeaf20 Abstracted all the stuff that gets backup prefs from request, and put
it into session. This makes it easier to add a new stages
	and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
mits
11c8a91aeb polished. 2006-01-15 23:29:47 +00:00
mits
a464f013ea modified expression of "time limit".
meaning is same.
2006-01-15 23:11:33 +00:00
mjollnir_
9f23133b04 Add instances to info/mods in scheduled backup so they can be granularly restore from 2006-01-15 22:46:51 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mits
f16021da64 polished. 2006-01-15 20:57:38 +00:00
mits
202d709875 polished. 2006-01-15 19:09:15 +00:00
stronk7
c34855c2ed Now ewiki supports initial load of contents from course file area.
Original preg_match() was a bit strange so I've replaced it with
clean_filename() + !is_dir() check. Bug 3830.
(http://moodle.org/bugs/bug.php?op=show&bugid=3830)

Merged from MOODLE_15_STABLE
2006-01-15 11:58:46 +00:00
defacer
ce432524ee Changing the naming scheme for auto-generated HTML ids here; due to copy/paste
this might have resulted in non-unique ids in the same page.

REALLY small print issue... isn't it unbelievable what you might find when
digging into CVS for a completely unrelated reason? :-)
2006-01-15 02:32:04 +00:00
gbateson
ff4fad2701 improved readability of "foreign key could not be updated" error message 2006-01-15 02:08:34 +00:00
defacer
85e0be2aaa Seems I got the only remaining instance of set_default(),
so it's time to draw the curtains.
2006-01-15 01:52:07 +00:00
gbateson
249daa5d3c if foreign keys are missing, backup will not abort, but record will not be restored 2006-01-15 01:47:08 +00:00
defacer
3ce130eac5 When creating/editing events, it seems that the current/existing timestart
is not pre-filled in the forms. This is a regression, no idea how and when
it happened. Investigating...

First of all let's get rid of this "HACK! Don't use!" function...
2006-01-15 01:44:08 +00:00
mits
57e7a07902 polished. 2006-01-14 16:12:04 +00:00
mits
113b2a6af7 polished. 2006-01-14 16:07:00 +00:00
mits
cc3ed06824 polished. 2006-01-14 13:43:21 +00:00
stronk7
cfae73b6b4 [BugFix] Bug #4586 in the moodle bug tracker
Please, dont forget to apply bug fixes to head too. ;-)

Merged from MOODLE_15_STABLE
2006-01-14 11:27:52 +00:00
gbateson
1a4969431c optimzed SQL query in hotpot_get_participants to return only user ids (not whole user record) 2006-01-14 04:04:57 +00:00
mits
dbddead152 polished. 2006-01-14 01:37:25 +00:00
mits
9d54253970 translated a new string for lesson. 2006-01-13 23:39:25 +00:00
mits
589f8f75f1 making expression soften, changed "when" from Kanji character to Japanese syllabary characters.
meaning is same.
2006-01-13 23:30:40 +00:00
gbateson
b84defd2ad corrected spelling of "Potatatoes" to "Potatoes" on some table comments 2006-01-13 23:07:47 +00:00
michaelpenne
b4f4f09ca8 [Fixed] Fails gracefully when no course modules are found.
[Fixed] Does not remove other modules from the activity link options due to same ids.
2006-01-13 21:57:42 +00:00