3949 Commits

Author SHA1 Message Date
toyomoyo
9b52161279 some small fix 2006-01-18 08:02:16 +00:00
toyomoyo
816039b5fa adding back up and restore functionality, but the user back up and restore part is not working yet 2006-01-18 06:58:50 +00:00
moodler
f7de547886 Guests can no longer submit an online assignment (Bug 4604) 2006-01-18 04:45:12 +00:00
patrickslee
cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +00:00
mjollnir_
5aa23eead3 Cache strings for my moodle, don't call get_string over and over again 2006-01-17 22:03:48 +00:00
mjollnir_
454be164a3 My moodle forum overview small bugfix, counting new posts should not count adding discussions 2006-01-17 20:59:19 +00:00
mjollnir_
185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
gbateson
c5e66883ed use clean_filename for filename of text file download 2006-01-17 13:24:13 +00:00
gbateson
47edd30ca7 uses 4-spaces (Moodle standard) instead of tabs for code indenting 2006-01-17 13:15:16 +00:00
gbateson
43b4804860 micro increment version number to 2.1.8 2006-01-17 12:49:25 +00:00
gbateson
6ed5989c4a in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only) 2006-01-17 12:48:37 +00:00
gbateson
8d4632772a mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions 2006-01-17 12:46:26 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
gbateson
20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
gbateson
747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +00:00
gbateson
f78640f467 fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells 2006-01-17 04:16:37 +00:00
mjollnir_
b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
mjollnir_
460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
mjollnir_
abfd14da26 Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) 2006-01-16 08:59:20 +00:00
mjollnir_
a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
moodler
5d7a2722d5 more bugs 2006-01-16 07:57:56 +00:00
ikawhero
89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
mjollnir_
325a76ead3 Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit 2006-01-16 05:36:33 +00:00
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
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
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
gbateson
ff4fad2701 improved readability of "foreign key could not be updated" error message 2006-01-15 02:08:34 +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
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
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
michaelpenne
6ef1c83de6 [Fixed] Display error in Windows IE. Slideshow div would move on link rollover. This is now fixed. 2006-01-13 21:24:52 +00:00
michaelpenne
aeb8148a57 [Changed] Now when a teacher edits a page with the "Edit page contents" button and then saves or cancels, s/he gets redirected back to the lesson navigation. This will help to streamline the editing
[Fixed] The cancel button on the edit page now works.
2006-01-13 18:41:37 +00:00
gbateson
49b67b7be1 corrected the spelling of "Potatatoes" to "Potatoes" in the comments of several tables 2006-01-13 08:44:40 +00:00
gbateson
e42fa8c5da add questions_name_idx and strings_stirng _idx 2006-01-13 08:37:10 +00:00
gbateson
abe2308eab if starttime and endtime are empty, set them to zero 2006-01-13 07:57:50 +00:00
gbateson
729b2dfad2 remove unused microreportid field from postgre7 database 2006-01-13 07:56:33 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
gbateson
85e537d4f9 add, delete and rename certain fields and indexes that were not correctly setup by postgres7.sql 2006-01-13 06:08:27 +00:00
mjollnir_
20258a2e43 Added in a check for php5 before including uni_soap.php5 - for some reason it was getting through and being included in my php 4.3 something 2006-01-13 04:51:39 +00:00
mjollnir_
3ccbb6eb9d Preventing fatal errors from libraries getting included more than once. Please remember to use require_once ! 2006-01-13 04:35:21 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
mjollnir_
0f4e83c173 Fixing up a problem in chat login - ip address is lastip not lastIP - member variables are case sensitive 2006-01-13 03:09:24 +00:00
mjollnir_
be2ae09442 Replaced mysql specific comments with generic ones in hotpot sql 2006-01-12 23:28:20 +00:00
mjollnir_
b44a6e5a04 Fixed a fatal error in scorm locallib 2006-01-12 20:05:34 +00:00
bobopinna
810390bcf2 Fixed some theme skinning bugs.
Now every theme can modify scorm's icons.
2006-01-12 11:29:16 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
stronk7
f4ba785b13 Solved one problem with frames and activitynames filter.
(http://moodle.org/mod/forum/discuss.php?d=28382)

Merged from MOODLE_15_STABLE
2006-01-11 15:22:13 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00